[jboss-user] [EJB 3.0] - Embeddable EJB3 and WebSphere 6.1

ikuleshov do-not-reply at jboss.com
Fri May 25 10:26:10 EDT 2007


Guys,

I am trying to run the JBoss Embeddable EJB3 Container version Alpha RC9 on WebSphere 6.1 since WAS support for EJB3 is in early alpha too. I am stuck in the following error that occurs while registering a JBoss TransactionManager in JNDI:

anonymous wrote : 
  | [5/25/07 18:20:42:559 YEKST] 00000013  3 UOW= source=com.ibm.ws.naming.ipbase.NameSpace org=IBM prod=WebSphere component=Application Server thread=[server.startup : 2]
  |           getParentContext parm0=nsID=17, currCtx=java:, name=/TransactionManager, ctxID=ROOT CONTEXT
  | [5/25/07 18:20:42:560 YEKST] 00000013  > UOW= source=com.ibm.ws.naming.ipbase.NameSpace method=getParentCtxInternal org=IBM prod=WebSphere component=Application Server thread=[server.startup : 2]
  |           Entry
  | [5/25/07 18:20:42:560 YEKST] 00000013  3 UOW= source=com.ibm.ws.naming.java.javaURLContextRoot org=IBM prod=WebSphere component=Application Server thread=[server.startup : 2]
  |           getNameInNamespace()-->>java:
  | [5/25/07 18:20:42:560 YEKST] 00000013  3 UOW= source=com.ibm.ws.naming.ipbase.NameSpace org=IBM prod=WebSphere component=Application Server thread=[server.startup : 2]
  |           getParentCtxInternal parm0=nsID=17, currCtx=java:, name=/TransactionManager, ctxID=ROOT CONTEXT
  | [5/25/07 18:20:42:560 YEKST] 00000013  3 UOW= source=com.ibm.ws.naming.java.javaURLContextRoot org=IBM prod=WebSphere component=Application Server thread=[server.startup : 2]
  |           getNameInNamespace()-->>java:
  | [5/25/07 18:20:42:560 YEKST] 00000013  < UOW= source=com.ibm.ws.naming.ipbase.NameSpace method=getParentCtxInternal: NameNotFoundException org=IBM prod=WebSphere component=Application Server thread=[server.startup : 2]
  |           Exit parm0=javax.naming.NameNotFoundException: Name  not found in context "java:".
  | 	at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1767)
  | 	at com.ibm.ws.naming.ipbase.NameSpace.getParentContext(NameSpace.java:1644)
  | 	at com.ibm.ws.naming.urlbase.UrlContextImpl.getParentBindingData(UrlContextImpl.java:1639)
  | 	at com.ibm.ws.naming.urlbase.UrlContextImpl.bind(UrlContextImpl.java:205)
  | 	at com.ibm.ws.naming.urlbase.UrlContextImpl.bind(UrlContextImpl.java:344)
  | 	at javax.naming.InitialContext.bind(InitialContext.java:371)
  | 	at org.jboss.tm.TransactionManagerInitializer.bindRef(TransactionManagerInitializer.java:690)
  | 	at org.jboss.tm.TransactionManagerInitializer.start(TransactionManagerInitializer.java:145)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | 	at java.lang.reflect.Method.invoke(Method.java:615)
  | 	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  | 	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107)
  | 	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  | 	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:75)
  | 	at org.jboss.kernel.plugins.dependency.LifecycleAction.installAction(LifecycleAction.java:115)
  | 	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:100)
  | 	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:274)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:177)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
  | 	at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95)
  | 	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:373)
  | 	at org.jboss.seam.core.Ejb.startup(Ejb.java:42)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | 	at java.lang.reflect.Method.invoke(Method.java:615)
  | 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  | 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  | 	at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
  | 	at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
  | 	at org.jboss.seam.Component.newInstance(Component.java:1746)
  | 	at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
  | 	at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:145)
  | 	at org.jboss.seam.init.Initialization.init(Initialization.java:504)
  | 	at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | 	at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:621)
  | 	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:274)
  | 	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:273)
  | 	at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
  | 	at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
  | 	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
  | 	at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
  | 	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
  | 	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
  | 	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1312)
  | 	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
  | 	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
  | 	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
  | 	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:965)
  | 	at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2131)
  | 	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
  | 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
  | 


According to this trace, everything is actually fine, TransactionManager is being registered under the java:/TransactionManager name. Then, for some unknown reason, WAS throws an obscuring 'Name  not found in context "java:"' error. It seems that WAS is trying to lookup an empty (null) name in the java: context but I have no idea why it tries to do so.

Any help will be appreciated. And, btw, are there any sources of EJB3 container available? I had no luck to find them. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048693#4048693

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048693



More information about the jboss-user mailing list