我们有一个在秘书长特别代表内部运作的框架。 我们的les子之一在JMS pub/sub based式通知中使用活性MQ。 这一障碍将活性q积在dle(私人)内。
Bundle-ClassPath: ., .... lib/activemq-all.jar, ....
所有这一切都对所有假想进行罚款(只有1例除外——嵌入案>)。
我们的DONOT通过我们的碎块出口任何与活性木材有关的产品,因此,在我们的les子中,不应看到活性木板的班级,但似乎正在出现。
Caused by: java.lang.ClassCastException: org.apache.activemq.transport.tcp.TcpTransportFactory cannot be cast to org.apache.activemq.transport.TransportFactory at org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:201) ... 24 more
We tried setting/resetting ContextClassLoader before/after creating ActiveMQ connections which seemed to have solved this issue but breaking a lot of other stuff (around Apache Tuscany SDO that we use) so it is NOT a viable option.
Question: How come ActiveMQ classes are conflicting between app classpath and bundle classpath when they are completely disconnected? How to solve this problem?