Home » Archived » Riena » Problem getting transaction manager
|
Re: Problem getting transaction manager [message #7874 is a reply to message #7849] |
Sat, 23 August 2008 09:08 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
hi missias,
the stacktrace isn't enough to see what went wrong.
at the moment I'm on vacation and have not much time to look into it.
but I'll place soon a new blog entry about integration of Easybeans
1.1.0 + Riena M3 (or upcoming M4) + Eclipse / Equinox 3.4
this works great, but there are some pitfalls to watch.
ekke
Missias schrieb:
> 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
>
|
|
| | | |
Re: Problem getting transaction manager [message #8866 is a reply to message #8846] |
Mon, 25 August 2008 12:49 |
Jose Carlos de Missias Messages: 41 Registered: July 2009 |
Member |
|
|
Hi! Christian campo,
I am from Brazil, my project is a system for accounting and finances, an
environment for interactive visual analysis, with objective of decision
support. He Is back-end sits on top of existing information systems,
legacy infrastructure, and proprietary sources and data feeds.
I want to use Riena and EJB in this project , I need help to decide which
the best solution: EasyBeans embedded in the OSGi environment or solution
based on JBoss.
I am thankful for any help and a basic example "if possible", something
as, very basic application contains a stateless bean, demonstrate:
Riena-Client -> Riena Server -> EJB (EasyBeans or JBoss).
|
|
|
Re: Problem getting transaction manager [message #8886 is a reply to message #8866] |
Mon, 25 August 2008 13:00 |
Christian Campo Messages: 596 Registered: July 2009 |
Senior Member |
|
|
Missias schrieb:
> Hi! Christian campo,
>
> I am from Brazil, my project is a system for accounting and finances, an
> environment for interactive visual analysis, with objective of decision
> support. He Is back-end sits on top of existing information systems,
> legacy infrastructure, and proprietary sources and data feeds.
>
> I want to use Riena and EJB in this project , I need help to decide
> which the best solution: EasyBeans embedded in the OSGi environment or
> solution based on JBoss.
>
> I am thankful for any help and a basic example "if possible", something
> as, very basic application contains a stateless bean, demonstrate:
> Riena-Client -> Riena Server -> EJB (EasyBeans or JBoss).
>
>
Hi Jose,
as I said I havnt used EasyBeans, so I cant give you an example on how to use it neither without Riena or with Riena.
There are multiple samples UI, remote Services, security about the pieces in Riena that we already have. None of them
currently is linked to EasyBeans. Maybe there are others like Ekke who has experience with Easybeans and Riena.
Maybe there is someone who has used it with JBoss too.
christian campo
|
|
|
Re: Problem getting transaction manager [message #8906 is a reply to message #8866] |
Mon, 25 August 2008 14:02 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
hi missias,
....think I can help you
but this week I'm on vacation
ekke
Missias schrieb:
> Hi! Christian campo,
>
> I am from Brazil, my project is a system for accounting and finances, an
> environment for interactive visual analysis, with objective of decision
> support. He Is back-end sits on top of existing information systems,
> legacy infrastructure, and proprietary sources and data feeds.
>
> I want to use Riena and EJB in this project , I need help to decide
> which the best solution: EasyBeans embedded in the OSGi environment or
> solution based on JBoss.
>
> I am thankful for any help and a basic example "if possible", something
> as, very basic application contains a stateless bean, demonstrate:
> Riena-Client -> Riena Server -> EJB (EasyBeans or JBoss).
>
>
|
|
|
Re: Problem getting transaction manager [message #573466 is a reply to message #7849] |
Sat, 23 August 2008 09:08 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
hi missias,
the stacktrace isn't enough to see what went wrong.
at the moment I'm on vacation and have not much time to look into it.
but I'll place soon a new blog entry about integration of Easybeans
1.1.0 + Riena M3 (or upcoming M4) + Eclipse / Equinox 3.4
this works great, but there are some pitfalls to watch.
ekke
Missias schrieb:
> 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
>
|
|
| | | |
Re: Problem getting transaction manager [message #573657 is a reply to message #8846] |
Mon, 25 August 2008 12:49 |
Jose Carlos de Missias Messages: 41 Registered: July 2009 |
Member |
|
|
Hi! Christian campo,
I am from Brazil, my project is a system for accounting and finances, an
environment for interactive visual analysis, with objective of decision
support. He Is back-end sits on top of existing information systems,
legacy infrastructure, and proprietary sources and data feeds.
I want to use Riena and EJB in this project , I need help to decide which
the best solution: EasyBeans embedded in the OSGi environment or solution
based on JBoss.
I am thankful for any help and a basic example "if possible", something
as, very basic application contains a stateless bean, demonstrate:
Riena-Client -> Riena Server -> EJB (EasyBeans or JBoss).
|
|
|
Re: Problem getting transaction manager [message #573677 is a reply to message #8866] |
Mon, 25 August 2008 13:00 |
Christian Campo Messages: 596 Registered: July 2009 |
Senior Member |
|
|
Missias schrieb:
> Hi! Christian campo,
>
> I am from Brazil, my project is a system for accounting and finances, an
> environment for interactive visual analysis, with objective of decision
> support. He Is back-end sits on top of existing information systems,
> legacy infrastructure, and proprietary sources and data feeds.
>
> I want to use Riena and EJB in this project , I need help to decide
> which the best solution: EasyBeans embedded in the OSGi environment or
> solution based on JBoss.
>
> I am thankful for any help and a basic example "if possible", something
> as, very basic application contains a stateless bean, demonstrate:
> Riena-Client -> Riena Server -> EJB (EasyBeans or JBoss).
>
>
Hi Jose,
as I said I havnt used EasyBeans, so I cant give you an example on how to use it neither without Riena or with Riena.
There are multiple samples UI, remote Services, security about the pieces in Riena that we already have. None of them
currently is linked to EasyBeans. Maybe there are others like Ekke who has experience with Easybeans and Riena.
Maybe there is someone who has used it with JBoss too.
christian campo
|
|
|
Re: Problem getting transaction manager [message #573698 is a reply to message #8866] |
Mon, 25 August 2008 14:02 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
hi missias,
....think I can help you
but this week I'm on vacation
ekke
Missias schrieb:
> Hi! Christian campo,
>
> I am from Brazil, my project is a system for accounting and finances, an
> environment for interactive visual analysis, with objective of decision
> support. He Is back-end sits on top of existing information systems,
> legacy infrastructure, and proprietary sources and data feeds.
>
> I want to use Riena and EJB in this project , I need help to decide
> which the best solution: EasyBeans embedded in the OSGi environment or
> solution based on JBoss.
>
> I am thankful for any help and a basic example "if possible", something
> as, very basic application contains a stateless bean, demonstrate:
> Riena-Client -> Riena Server -> EJB (EasyBeans or JBoss).
>
>
|
|
|
Goto Forum:
Current Time: Sun Dec 22 04:03:04 GMT 2024
Powered by FUDForum. Page generated in 0.04558 seconds
|