Freeman Fang created AMQ-4064:
---------------------------------

             Summary: split package in different activemq bundle
                 Key: AMQ-4064
                 URL: https://issues.apache.org/jira/browse/AMQ-4064
             Project: ActiveMQ
          Issue Type: Bug
            Reporter: Freeman Fang


both both activemq-pool and activemq-spring has package 
org.apache.activemq.pool, this split package issue is a big problem in OSGi 
world.

You can run into exception like
Caused by: java.lang.ClassNotFoundException: 
org.apache.activemq.pool.PooledConnectionFactoryBean not found by 
org.apache.activemq.activemq-pool 67
at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:852)org.apache.felix.framework-3.0.9-fuse-09-15.jar:
at 
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:74)org.apache.felix.framework-3.0.9-fuse-09-15.jar:
at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1846)org.apache.felix.framework-3.0.9-fuse-09-15.jar

In OSGi different bundle should use different package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to