0 Replies Latest reply on Dec 21, 2006 8:15 PM by Simon Kuang

    EmbeddedEJB3 issue

    Simon Kuang Newbie

      I want to use jboss-EJB-3.0_Embeddable_ALPHA_8-patch1 in tomcat5.5.17

      I puted embedded-war standalone in tomcat when it start up it shows this

      WARN 22-12 09:04:08,795 (BeanSchemaBinding.java:init:227) -You should use the
      2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
      WARN 22-12 09:04:36,185 (Log4JLogger.java:warn:104) -Persistence provider call
      er does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempCl
      assLoader() is null.

      and then I accessed the http://127.0.0.1:8082/standalone/EmbeddedEJB3.jsp

      ERROR 22-12 09:12:51,427 (Log4JLogger.java:error:119) -Servlet.service() for se
      rvlet jsp threw exception
      javax.naming.NameNotFoundException: org.jboss.tutorial.embeddedwar.CustomerDAOLo
      cal not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at org.apache.jsp.EmbeddedEJB3_jsp._jspService(EmbeddedEJB3_jsp.java:143
      )
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
      .java:332)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
      14)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
      lowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:684)
      at java.lang.Thread.run(Unknown Source)