JBoss Messaging and JBossESB integration
kadlecp Sep 19, 2007 8:08 AMHello,
I have tried integration JBoss Messaging1.4.0.CR2 and JBossESB4.2.GA without success. I have installation problems. I have read Administration Guide and I think the guide is not updated. I have followed installation instruction of JBoss Messaging and then tried to setup JBossESB. According to Administration Guide I shall follow http://wiki.jboss.org/wiki/attach?page=JBossESBDocumentation%2FJBESBJBM.pdf
There is written to replace code in jbossesb.sar/META-INF/service.xml, but there is no service.xml, only jboss-service.xml. When I replace content of jboss-service.xml with the code, then it does not work.
14:01:29,895 INFO [TomcatDeployer] deploy, ctxPath=/contract, warUrl=.../tmp/deploy/tmp6656contract-exp.war/
14:01:30,199 INFO [TomcatDeployer] deploy, ctxPath=/esbconfig, warUrl=.../tmp/deploy/tmp6657jbossesb-config-editor-exp.war/
14:01:30,499 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
14:01:31,144 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@c54709d0 { url=file:/home/pavlos/jboss-4.2.1.GA/server/default/deploy/jbossesb.esb/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/home/pavlos/jboss-4.2.1.GA/server/default/deploy/jbossesb.esb/
altDD: null
lastDeployed: 1190203291132
lastModified: 1189076268000
mbeans:
org.jboss.deployment.DeploymentInfo@48ebd358 { url=file:/home/pavlos/jboss-4.2.1.GA/server/default/deploy/jbpm.esb/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/home/pavlos/jboss-4.2.1.GA/server/default/deploy/jbpm.esb/
altDD: null
lastDeployed: 1190203291134
lastModified: 1189076268000
mbeans:
org.jboss.deployment.DeploymentInfo@b16412c2 { url=file:/home/pavlos/jboss-4.2.1.GA/server/default/deploy/soap.esb/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/home/pavlos/jboss-4.2.1.GA/server/default/deploy/soap.esb/
altDD: null
lastDeployed: 1190203291140
lastModified: 1189076270000
mbeans:
.....
14:01:31,357 INFO [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
14:01:32,034 INFO [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
14:01:32,346 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 57s:10ms
When I do no changes to jboss-service.xml then I have these errors like this one
13:56:40,532 ERROR [MainDeployer] Could not create deployment: file:/home/pavlos/jboss-4.2.1.GA/server/default/deploy/jbossesb.esb/jbmq-queue-service.xml
org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.mq.server.jmx.Queue; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mq.server.jmx.Queue)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
.......
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mq.server.jmx.Queue
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
.....
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
... 80 more
How shall install JBoss Messaging correctly?