tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OPENEJB-1717) When openejb-osgi bundle is restarted, we get an exception (ServiceManager is already initialized)
Date Tue, 06 Dec 2011 15:27:39 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Charles Moulliard resolved OPENEJB-1717.
----------------------------------------

    Resolution: Fixed
    
> When openejb-osgi bundle is restarted, we get an exception (ServiceManager is already
initialized)
> --------------------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1717
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1717
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 4.0-beta-2
>            Reporter: Charles Moulliard
>         Attachments: openejb-1715-2.patch
>
>
> 2011-12-06 15:23:36,075 | ERROR | l Console Thread | Activator                      
 | openejb.core.osgi.impl.Activator   92 | 208 - org.apache.openejb.core-osgi - 4.0.0.beta-2-SNAPSHOT
| can't start OpenEJB services
> java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_29]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_29]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_29]
> 	at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_29]
> 	at org.apache.openejb.core.osgi.impl.Activator.invoke(Activator.java:132)[208:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.core.osgi.impl.Activator.start(Activator.java:87)[208:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:30)[17:org.apache.karaf.shell.osgi:2.2.4]
> 	at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)[17:org.apache.karaf.shell.osgi:2.2.4]
> 	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[23:org.apache.karaf.shell.console:2.2.4]
> 	at org.apache.karaf.shell.console.jline.Console.run(Console.java:218)[23:org.apache.karaf.shell.console:2.2.4]
> 	at java.lang.Thread.run(Thread.java:680)[:1.6.0_29]
> Caused by: java.lang.IllegalStateException: ServiceManager is already initialized
> 	at org.apache.openejb.server.osgi.ServiceManagerExtender.init(ServiceManagerExtender.java:64)
> 	... 24 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message