-
1. Re: java.lang.ClassNotFoundException: org.jbossmq.server.JBo
gburroughs Sep 20, 2001 4:06 PM (in response to gburroughs)I specified the wrong mbean code in jboss.jcml when moving from 2.4.0 to 2.4.1
-
2. Re: java.lang.ClassNotFoundException: org.jbossmq.server.JBo
willievu Sep 26, 2001 1:30 AM (in response to gburroughs)I encounter the same problem. Can you provide the setup fragment in jboss.jcml to show me how to setup JBossMQ in JBoss 2.4.1?
Thanks. -
3. Re: java.lang.ClassNotFoundException: org.jbossmq.server.JBo
willievu Sep 26, 2001 1:38 AM (in response to gburroughs)I got pass the ClassNotFoundException. However, I have a new problem. TopicManager is not started. Here is an excerpt of my jboss.jcml:
------------
<!-- For Message Driven Beans -->
DefaultJMSProvider
org.jboss.jms.jndi.JBossMQProvider
java:/INVMXAQueueConnectionFactory
java:/INVMXATopicConnectionFactory
StdJMSPool
org.jboss.jms.asf.StdServerSessionPoolFactory
------------
The following is the error when starting JBoss:
--------------------
[JBossMQService] Initializing
[JBossMQService] Initialized
[JMSProviderLoader] Initializing
[JMSProviderLoader] Initialized
[ServerSessionPoolLoader] Initializing
[ServerSessionPoolLoader] Initialized
[TopicManager] Initializing
[TopicManager] Initialization failed
javax.management.InstanceNotFoundException: JBossMQ:service=Server
at com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522)
at org.jboss.mq.server.TopicManager.initService(TopicManager.java:62)
at org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.java:82)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.jav
a:836)
at $Proxy0.init(Unknown Source)
at org.jboss.util.ServiceControl.init(ServiceControl.java:55)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.Main.(Main.java:209)
at org.jboss.Main$1.run(Main.java:116)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:112)
[Configuration] javax.management.InstanceNotFoundException: JBossMQ:service=Server
[Configuration] at com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678
)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522)
[Configuration] at org.jboss.mq.server.TopicManager.initService(TopicManager.java:62)
[Configuration] at org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.java:82)
[Configuration] at java.lang.reflect.Method.invoke(Native Method)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Configuration] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configur
ationService.java:836)
[Configuration] at $Proxy0.init(Unknown Source)
[Configuration] at org.jboss.util.ServiceControl.init(ServiceControl.java:55)
[Configuration] at java.lang.reflect.Method.invoke(Native Method)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Configuration] at org.jboss.Main.(Main.java:209)
[Configuration] at org.jboss.Main$1.run(Main.java:116)
[Configuration] at java.security.AccessController.doPrivileged(Native Method)
[Configuration] at org.jboss.Main.main(Main.java:112)
-------------------- -
4. Re: java.lang.ClassNotFoundException: org.jbossmq.server.JBo
hchirino Sep 26, 2001 9:37 PM (in response to gburroughs)The order that the MBeans are in the configuration file is IMPORTTANT!
place the:
Section next to the other TopicManager section in the config file. -
5. Re: java.lang.ClassNotFoundException: org.jbossmq.server.JBo
willievu Sep 27, 2001 7:36 AM (in response to gburroughs)I found the problem. In jboss.jcml, the line documented in the manual to configure JBossMQ server is incorrect. Instead of
It should be