solomon_13000 (34) [Avatar] Offline
I created an EJB project using Spring toolkit Suite. The JDK is version 7 and the JBOSS application server version 7. However I keep getting the following error message:

17:57:35,015 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
17:57:35,140 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
17:57:35,202 INFO [] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
17:57:35,795 INFO [org.xnio] XNIO Version 3.0.3.GA
17:57:35,795 INFO [] JBAS015888: Creating http management service using socket-binding (management-http)
17:57:35,795 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
17:57:35,796 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
17:57:35,827 INFO [] JBAS011502: Removing bootstrap log handlers
17:57:35,827 INFO [] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
17:57:35,827 INFO [] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
17:57:35,827 INFO [] (ServerService Thread Pool -- 3smilie JBAS011800: Activating Naming Subsystem
17:57:35,827 INFO [] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
17:57:35,827 INFO [] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
17:57:35,843 INFO [] (ServerService Thread Pool -- 4smilie JBAS015537: Activating WebServices Extension
17:57:35,843 INFO [] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
17:57:35,858 INFO [] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
17:57:35,936 INFO [] (MSC service thread 1-5) JBAS011802: Starting Naming Service
17:57:35,967 INFO [] (MSC service thread 1-5) JBAS015400: Bound mail session [java:jboss/mail/Default]
17:57:35,967 INFO [] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.2.GA
17:57:35,999 INFO [] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
17:57:36,170 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5) Starting Coyote HTTP/1.1 on http-localhost-
17:57:36,217 INFO [] (MSC service thread 1-3) JBAS017100: Listening on /
17:57:36,217 INFO [] (MSC service thread 1-4) JBAS017100: Listening on localhost/
17:57:36,217 INFO [] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory Csmilierogram Files (x86)jboss-as-7.1.1.Finalstandalonedeployments
17:57:36,217 INFO [] (DeploymentScanner-threads - 1) JBAS015003: Found JBossTest.ear in deployment directory. To trigger deployment create a file called JBossTest.ear.dodeploy
17:57:36,279 INFO [] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
17:57:36,311 INFO [] (MSC service thread 1-1) JBAS015876: Starting deployment of "JBossTest.ear"
17:57:36,342 INFO [] (MSC service thread 1-7) JBAS015876: Starting deployment of "EJB.jar"
17:57:36,342 INFO [] (MSC service thread 1-smilie JBAS015876: Starting deployment of "WEB.war"
17:57:36,420 INFO [] (MSC service thread 1-3) JNDI bindings for session bean named Hello in deployment unit subdeployment "EJB.jar" of deployment "JBossTest.ear" are as follows:


17:57:36,545 INFO [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /WEB
17:57:36,545 INFO [] (MSC service thread 1-1) JBAS015951: Admin console listening on
17:57:36,545 INFO [] (MSC service thread 1-1) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 1717ms - Started 222 of 303 services (80 services are passive or on-demand)
17:57:36,576 INFO [] (DeploymentScanner-threads - 2) JBAS018559: Deployed "JBossTest.ear"
17:57:51,493 INFO [stdout] (http-localhost-

17:57:51,494 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/WEB].[jsp]] (http-localhost- Servlet.service() for servlet jsp threw exception: javax.naming.NameNotFoundException: EJB/Hello -- service
at javax.naming.InitialContext.lookup( [rt.jar:1.7.0]
at org.apache.jsp.index_jsp._jspService(
at org.apache.jasper.runtime.HttpJspBase.service( [jbossweb-7.0.13.Final.jar:]
at javax.servlet.http.HttpServlet.service( [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.jasper.servlet.JspServletWrapper.service( [jbossweb-7.0.13.Final.jar:]
at org.apache.jasper.servlet.JspServlet.serviceJspFile( [jbossweb-7.0.13.Final.jar:]
at org.apache.jasper.servlet.JspServlet.service( [jbossweb-7.0.13.Final.jar:]
at javax.servlet.http.HttpServlet.service( [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter( [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke( [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke( [jbossweb-7.0.13.Final.jar:]
at [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke( [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke( [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke( [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service( [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process( [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( [jbossweb-7.0.13.Final.jar:]
at$ [jbossweb-7.0.13.Final.jar:]
at [rt.jar:1.7.0]

You may download and review the project at

Thank You.