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-1721) Cannot determine a provider for Container(id=null, type=MANAGED, provider=null).
Date Tue, 13 Dec 2011 12:11:30 GMT

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

Charles Moulliard resolved OPENEJB-1721.
----------------------------------------

    Resolution: Fixed

Problem solved when META-INF.org\.apache\.openejb is exported by openejb-core and imported
by openejb-osgi
                
> Cannot determine a provider for Container(id=null, type=MANAGED, provider=null).
> --------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1721
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1721
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: osgi
>            Reporter: Charles Moulliard
>
> 2011-12-09 18:03:31,470 | ERROR | FelixStartLevel  | config                         
 | ache.openejb.util.Slf4jLogStream   46 | 112 - org.apache.openejb.core - 4.0.0.beta-2-SNAPSHOT
| Failed Configuring Service(id=null)
> org.apache.openejb.config.NoSuchProviderException: Cannot determine a provider for Container(id=null,
type=MANAGED, provider=null).
> Possible valid configurations might be: 
>   <Container id="null" type="CMP_ENTITY"/>
>   <Container id="null" type="BMP_ENTITY"/>
>   <Container id="null" type="STATELESS"/>
>   <Container id="null" type="SINGLETON"/>
>   <Container id="null" type="STATEFUL"/>
>   <Container id="null" type="MESSAGE"/>
> 	at org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:822)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:750)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:989)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:798)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:174)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:692)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:567)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:371)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:339)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:318)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:130)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:63)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.OpenEJB.init(OpenEJB.java:276)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.OpenEJB.init(OpenEJB.java:255)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	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.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)[89:org.apache.openejb.loader:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.core.osgi.impl.Activator.start(Activator.java:63)[117: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.Felix.setActiveStartLevel(Felix.java:1163)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)[org.apache.felix.framework-3.0.9.jar:]
> 	at java.lang.Thread.run(Thread.java:680)[:1.6.0_29]
> 2011-12-09 18:03:31,472 | WARN  | FelixStartLevel  | config                         
 | ache.openejb.util.Slf4jLogStream   76 | 112 - org.apache.openejb.core - 4.0.0.beta-2-SNAPSHOT
| Jar not loaded. /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4/apps/remote-tests-1.0.jar.
 Failed Configuring Service(id=null): Cannot determine a provider for Container(id=null, type=MANAGED,
provider=null).
> Possible valid configurations might be: 
>   <Container id="null" type="CMP_ENTITY"/>
>   <Container id="null" type="BMP_ENTITY"/>
>   <Container id="null" type="STATELESS"/>
>   <Container id="null" type="SINGLETON"/>
>   <Container id="null" type="STATEFUL"/>
>   <Container id="null" type="MESSAGE"/>
> org.apache.openejb.OpenEJBException: Failed Configuring Service(id=null): Cannot determine
a provider for Container(id=null, type=MANAGED, provider=null).
> Possible valid configurations might be: 
>   <Container id="null" type="CMP_ENTITY"/>
>   <Container id="null" type="BMP_ENTITY"/>
>   <Container id="null" type="STATELESS"/>
>   <Container id="null" type="SINGLETON"/>
>   <Container id="null" type="STATEFUL"/>
>   <Container id="null" type="MESSAGE"/>
> 	at org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:894)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:750)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:989)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:798)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:174)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:692)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:567)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:371)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:339)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:318)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:130)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:63)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.OpenEJB.init(OpenEJB.java:276)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.OpenEJB.init(OpenEJB.java:255)[112:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
> 	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.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)[89:org.apache.openejb.loader:4.0.0.beta-2-SNAPSHOT]
> 	at org.apache.openejb.core.osgi.impl.Activator.start(Activator.java:63)[117: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.Felix.setActiveStartLevel(Felix.java:1163)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)[org.apache.felix.framework-3.0.9.jar:]
> 	at java.lang.Thread.run(Thread.java:680)[:1.6.0_29]

--
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