Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Problem getting transaction manager
Problem getting transaction manager [message #573416] Fri, 22 August 2008 22:37
Jose Carlos de Missias is currently offline Jose Carlos de Missias
Messages: 41
Registered: July 2009
Member
Hi Guys,

After Integrate EasyBeans with Eclipse proceed
http://ekkes-corner.blogspot.com/2008/06/easybeans-und-equin ox.html

I’m getting this error on OSGI. It’s possible to fix this?

22/08/08 19:15:28 (S) NamingManager.createEnvironmentContext : Cannot
lookup UserTransaction.
javax.naming.NameNotFoundException: javax.transaction.UserTransaction
[Root exception is java.rmi.NotBoundException:
javax.transaction.UserTransaction]
at
org.ow2.carol.jndi.registry.AbsRegistryWrapperContext.lookup (AbsRegistryWrapperContext.java:99)
at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:142 )
at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:152 )
at javax.naming.InitialContext.lookup(Unknown Source)
at org.ow2.carol.jndi.spi.MultiContext.lookup(MultiContext.java :117)
at javax.naming.InitialContext.lookup(Unknown Source)
at
org.ow2.easybeans.naming.NamingManager.createEnvironmentCont ext(NamingManager.java:121)
at
org.ow2.easybeans.deployment.helper.JavaContextHelper.build( JavaContextHelper.java:76)
at
org.ow2.easybeans.container.JContainer3.createBeanFactories( JContainer3.java:425)
at org.ow2.easybeans.container.JContainer3.start(JContainer3.ja va:340)
at
org.ow2.easybeans.osgi.ejbjar.Activator.startContainer(Activ ator.java:147)
at
org.ow2.easybeans.osgi.ejbjar.EmbeddedServiceListener.servic eChanged(EmbeddedServiceListener.java:67)
at
org.eclipse.osgi.framework.internal.core.FilteredServiceList ener.serviceChanged(FilteredServiceListener.java:91)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1248)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEventPrivileged(Framework.java:1563)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEvent(Framework.java:1538)
at
org.eclipse.osgi.framework.internal.core.ServiceRegistration Impl.register(ServiceRegistrationImpl.java:122)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c reateServiceRegistration(BundleContextImpl.java:666)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:617)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:685)
at
org.ow2.easybeans.osgi.core.EZBCoreService.start(EZBCoreServ ice.java:138)
at
org.ow2.easybeans.osgi.core.EZBCoreService.activate(EZBCoreS ervice.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activ ate(ServiceComponent.java:118)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.a ctivate(ServiceComponentProp.java:149)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.b uild(ServiceComponentProp.java:290)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone nt(InstanceProcess.java:578)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone nts(InstanceProcess.java:195)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolve r.java:317)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SC RManager.java:213)
at
org.eclipse.osgi.framework.internal.core.FilteredServiceList ener.serviceChanged(FilteredServiceListener.java:91)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1248)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEventPrivileged(Framework.java:1563)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEvent(Framework.java:1538)
at
org.eclipse.osgi.framework.internal.core.ServiceRegistration Impl.register(ServiceRegistrationImpl.java:122)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c reateServiceRegistration(BundleContextImpl.java:666)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:617)
at
org.ow2.easybeans.osgi.component.EZBComponentServiceFactory. updateMapsAndRegisterService(EZBComponentServiceFactory.java :219)
at
org.ow2.easybeans.osgi.component.EZBComponentServiceFactory. updated(EZBComponentServiceFactory.java:198)
at
org.eclipse.equinox.internal.cm.ManagedServiceFactoryTracker $2.run(ManagedServiceFactoryTracker.java:177)
at
org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(Se rializedTaskQueue.java:36)
Caused by: java.rmi.NotBoundException: javax.transaction.UserTransaction
at
org.ow2.carol.jndi.registry.jrmp.ManageableRegistry.lookup(M anageableRegistry.java:126)
at
org.ow2.carol.jndi.registry.AbsRegistryWrapperContext.lookup (AbsRegistryWrapperContext.java:97)
... 47 more
22/08/08 19:15:28 (S) ContextImpl.unbind : CompNamingContext nothing to
unbind
!SESSION 2008-08-22 19:15:21.656
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Command-line arguments: -dev
file:C:/dsbi/plataform/osgi_temp/configuration_area/easybean s_launch_config/dev.properties
-os win32 -ws win32 -arch x86 -console -clean -consoleLog

!ENTRY org.eclipse.osgi 4 0 2008-08-22 19:15:28.203
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.IllegalStateException: Cannot remove java:comp/UserTransaction
object
at
org.ow2.easybeans.deployment.helper.JavaContextHelper.build( JavaContextHelper.java:99)
at
org.ow2.easybeans.container.JContainer3.createBeanFactories( JContainer3.java:425)
at org.ow2.easybeans.container.JContainer3.start(JContainer3.ja va:340)
at
org.ow2.easybeans.osgi.ejbjar.Activator.startContainer(Activ ator.java:147)
at
org.ow2.easybeans.osgi.ejbjar.EmbeddedServiceListener.servic eChanged(EmbeddedServiceListener.java:67)
at
org.eclipse.osgi.framework.internal.core.FilteredServiceList ener.serviceChanged(FilteredServiceListener.java:91)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1248)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEventPrivileged(Framework.java:1563)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEvent(Framework.java:1538)
at
org.eclipse.osgi.framework.internal.core.ServiceRegistration Impl.register(ServiceRegistrationImpl.java:122)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c reateServiceRegistration(BundleContextImpl.java:666)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:617)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:685)
at
org.ow2.easybeans.osgi.core.EZBCoreService.start(EZBCoreServ ice.java:138)
at
org.ow2.easybeans.osgi.core.EZBCoreService.activate(EZBCoreS ervice.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activ ate(ServiceComponent.java:118)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.a ctivate(ServiceComponentProp.java:149)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.b uild(ServiceComponentProp.java:290)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone nt(InstanceProcess.java:578)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone nts(InstanceProcess.java:195)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolve r.java:317)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SC RManager.java:213)
at
org.eclipse.osgi.framework.internal.core.FilteredServiceList ener.serviceChanged(FilteredServiceListener.java:91)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1248)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEventPrivileged(Framework.java:1563)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEvent(Framework.java:1538)
at
org.eclipse.osgi.framework.internal.core.ServiceRegistration Impl.register(ServiceRegistrationImpl.java:122)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c reateServiceRegistration(BundleContextImpl.java:666)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:617)
at
org.ow2.easybeans.osgi.component.EZBComponentServiceFactory. updateMapsAndRegisterService(EZBComponentServiceFactory.java :219)
at
org.ow2.easybeans.osgi.component.EZBComponentServiceFactory. updated(EZBComponentServiceFactory.java:198)
at
org.eclipse.equinox.internal.cm.ManagedServiceFactoryTracker $2.run(ManagedServiceFactoryTracker.java:177)
at
org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(Se rializedTaskQueue.java:36)
Caused by: javax.naming.NameNotFoundException: UserTransaction
at
org.ow2.easybeans.naming.context.ContextImpl.unbind(ContextI mpl.java:309)
at
org.ow2.easybeans.deployment.helper.JavaContextHelper.build( JavaContextHelper.java:97)
... 40 more

!ENTRY br.com.cgsys.easybeans.demo 4 0 2008-08-22 19:15:28.203
!MESSAGE
!STACK 0
java.lang.IllegalStateException: Cannot remove java:comp/UserTransaction
object
at
org.ow2.easybeans.deployment.helper.JavaContextHelper.build( JavaContextHelper.java:99)
at
org.ow2.easybeans.container.JContainer3.createBeanFactories( JContainer3.java:425)
at org.ow2.easybeans.container.JContainer3.start(JContainer3.ja va:340)
at
org.ow2.easybeans.osgi.ejbjar.Activator.startContainer(Activ ator.java:147)
at
org.ow2.easybeans.osgi.ejbjar.EmbeddedServiceListener.servic eChanged(EmbeddedServiceListener.java:67)
at
org.eclipse.osgi.framework.internal.core.FilteredServiceList ener.serviceChanged(FilteredServiceListener.java:91)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1248)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEventPrivileged(Framework.java:1563)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEvent(Framework.java:1538)
at
org.eclipse.osgi.framework.internal.core.ServiceRegistration Impl.register(ServiceRegistrationImpl.java:122)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c reateServiceRegistration(BundleContextImpl.java:666)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:617)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:685)
at
org.ow2.easybeans.osgi.core.EZBCoreService.start(EZBCoreServ ice.java:138)
at
org.ow2.easybeans.osgi.core.EZBCoreService.activate(EZBCoreS ervice.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activ ate(ServiceComponent.java:118)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.a ctivate(ServiceComponentProp.java:149)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.b uild(ServiceComponentProp.java:290)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone nt(InstanceProcess.java:578)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone nts(InstanceProcess.java:195)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolve r.java:317)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SC RManager.java:213)
at
org.eclipse.osgi.framework.internal.core.FilteredServiceList ener.serviceChanged(FilteredServiceListener.java:91)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1248)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEventPrivileged(Framework.java:1563)
at
org.eclipse.osgi.framework.internal.core.Framework.publishSe rviceEvent(Framework.java:1538)
at
org.eclipse.osgi.framework.internal.core.ServiceRegistration Impl.register(ServiceRegistrationImpl.java:122)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c reateServiceRegistration(BundleContextImpl.java:666)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:617)
at
org.ow2.easybeans.osgi.component.EZBComponentServiceFactory. updateMapsAndRegisterService(EZBComponentServiceFactory.java :219)
at
org.ow2.easybeans.osgi.component.EZBComponentServiceFactory. updated(EZBComponentServiceFactory.java:198)
at
org.eclipse.equinox.internal.cm.ManagedServiceFactoryTracker $2.run(ManagedServiceFactoryTracker.java:177)
at
org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(Se rializedTaskQueue.java:36)
Caused by: javax.naming.NameNotFoundException: UserTransaction
at
org.ow2.easybeans.naming.context.ContextImpl.unbind(ContextI mpl.java:309)
at
org.ow2.easybeans.deployment.helper.JavaContextHelper.build( JavaContextHelper.java:97)
... 40 more
Previous Topic:Eclipse Magazin Artikel
Next Topic:Example of integration Riena Client + Riena Service + EasyBeans
Goto Forum:
  


Current Time: Tue Sep 30 21:59:52 GMT 2014

Powered by FUDForum. Page generated in 0.10026 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software