Re: [JBoss-dev] Problems with 'jboss-mq' and autodeployer
It looks to me as if you are deploying a jboss-service.xml file different from the one in the full checkout. In any case it appears to have the old jmx domain names ("JBOSS-SYSTEM" etc instead of jboss.system). As a result the startup deployer dependencies are not getting satisfied. Where did this file come from? david jencks On 2002.01.14 09:16:52 -0500 Brian Weaver wrote: > Ok, I'm at a loss as to what's going on in the JBossMQ module of > CVS. I've been making changes to the underlying OIL transport module > of JBoss and I still need to propagate those changes to the UIL > transport code. I've been working by checking out the 'jboss-all' > module from CVS so that I could run the testsuite code before I checked > in any changes. Everything seems to work fine when JBoss is checked out > as a whole. > > However, when I check out the 'jboss-mq' module from CVS anonymously, > build > it, and then run the server it doesn't deploy! No TCP/IP ports (or UDP/IP > > for that matter) are opened. So there's no endpoints for RMI to provide > access > to JNDI or the messaging transports. > > I'm going to try to blunder my way around the code, but if someone could > provide some useful insight on where to look I would greatly appreciate > it. I'm using a vanilla checkout of the jboss-mq module. > > Also, if you do a checkout of jboss-mq and then build, be sure to link > the > thirdparty/gnu/getopt/lib/getopt.jar into the lib directory or it will > not > run. Somethings amiss with the build.xml so that getopt.jar is not being > added to the lib directory. I've sent an e-mail to the two individuals > that > built and modified the file asking for direction/help in that matter > already. > > Below is the last few lines of the server log. Prehaps it will be of use > to > those who understand the autodeployer code better than I. > > Thanks > > Weave > > -- truncated server.log - > 2002-01-14 08:27:40,215 TRACE [org.jboss.system.ServiceLibraries] > Libraries adding URLClassLoader 956609115 key URL > >file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/lib/ext/jnpserver.jar > 2002-01-14 08:27:40,215 DEBUG [org.jboss.deployment.ServiceDeployer] > deployed classes for >file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/lib/ext/jnpserver.jar > 2002-01-14 08:27:40,216 DEBUG [org.jboss.deployment.ServiceDeployer] > about to copy 0 local directories > 2002-01-14 08:27:40,216 DEBUG [org.jboss.deployment.ServiceDeployer] > addMBeans: url >file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/conf/default/jboss-service.xml > 2002-01-14 08:27:40,219 DEBUG [org.jboss.deployment.ServiceDeployer] > deploying with ServiceController mbean code="org.jboss.deployment.AutoDeployer" > name="JBOSS-SYSTEM:service=AutoDeployer"> > > JBOSS-SYSTEM:service=ServiceDeployer; > > > ../deploy/lib, > ../deploy > > > 3000 > > > 2002-01-14 08:27:40,225 DEBUG [org.jboss.system.ServiceCreator] About to > create bean: JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,266 DEBUG [org.jboss.system.ServiceCreator] Created > bean: JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,274 DEBUG [org.jboss.system.ServiceConfigurator] > Deployers set to JBOSS-SYSTEM:service=ServiceDeployer; in > JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,277 DEBUG [org.jboss.system.ServiceConfigurator] URLs > set to ../deploy/lib, > ../deploy in JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,277 DEBUG [org.jboss.system.ServiceConfigurator] > Timeout set to 3000 in JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,278 DEBUG [org.jboss.system.ServiceConfigurator] > found 0 depends elements > 2002-01-14 08:27:40,279 INFO [org.jboss.deployment.AutoDeployer] > Initializing > 2002-01-14 08:27:40,281 INFO [org.jboss.deployment.AutoDeployer] > Initialized > 2002-01-14 08:27:40,282 INFO [org.jboss.deployment.AutoDeployer] > Starting > 2002-01-14 08:27:40,285 DEBUG [org.jboss.deployment.AutoDeployer] > Deployer 'JBOSS-SYSTEM:service=ServiceDeployer' isn't yet registered > files for this deployer will not be deployed until it is deployed. > 2002-01-14 08:27:40,287 DEBUG [org.jboss.deployment.AutoDeployer] > Watching dir: >/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/deploy/lib > 2002-01-14 08:27:40,290 DEBUG [org.jboss.deployment.AutoDeployer] > Watching dir: >/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/deploy > 2002-01-14 08:27:40,295 INFO [org.jboss.deployment.AutoDeployer] Started > 2002-01-14 08:27:40,296 INFO [org.jboss.system.Server] Started in > 0m:2s:124ms > 2002-01-14 08:53:28,291 INFO [org.jboss.system.Server] Shutting down all > services > 2002-01-14 08:53:28,293 INFO [Default] Shutting down > 2002-01-14 08:53:28,294 INFO [org.jboss.system.ServiceController] > Stopping 2 servi
Re: [JBoss-dev] Problems with 'jboss-mq' and autodeployer
The name space has changed. It is now jboss.system not JBOSS-SYSTEM. Brian Weaver wrote: > Ok, I'm at a loss as to what's going on in the JBossMQ module of > CVS. I've been making changes to the underlying OIL transport module > of JBoss and I still need to propagate those changes to the UIL > transport code. I've been working by checking out the 'jboss-all' > module from CVS so that I could run the testsuite code before I checked > in any changes. Everything seems to work fine when JBoss is checked out > as a whole. > > However, when I check out the 'jboss-mq' module from CVS anonymously, build > it, and then run the server it doesn't deploy! No TCP/IP ports (or UDP/IP > for that matter) are opened. So there's no endpoints for RMI to provide access > to JNDI or the messaging transports. > > I'm going to try to blunder my way around the code, but if someone could > provide some useful insight on where to look I would greatly appreciate > it. I'm using a vanilla checkout of the jboss-mq module. > > Also, if you do a checkout of jboss-mq and then build, be sure to link the > thirdparty/gnu/getopt/lib/getopt.jar into the lib directory or it will not > run. Somethings amiss with the build.xml so that getopt.jar is not being > added to the lib directory. I've sent an e-mail to the two individuals that > built and modified the file asking for direction/help in that matter > already. > > Below is the last few lines of the server log. Prehaps it will be of use to > those who understand the autodeployer code better than I. > > Thanks > > Weave > > -- truncated server.log - > 2002-01-14 08:27:40,215 TRACE [org.jboss.system.ServiceLibraries] Libraries adding >URLClassLoader 956609115 key URL >file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/lib/ext/jnpserver.jar > 2002-01-14 08:27:40,215 DEBUG [org.jboss.deployment.ServiceDeployer] deployed >classes for >file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/lib/ext/jnpserver.jar > 2002-01-14 08:27:40,216 DEBUG [org.jboss.deployment.ServiceDeployer] about to copy 0 >local directories > 2002-01-14 08:27:40,216 DEBUG [org.jboss.deployment.ServiceDeployer] addMBeans: url >file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/conf/default/jboss-service.xml > 2002-01-14 08:27:40,219 DEBUG [org.jboss.deployment.ServiceDeployer] deploying with >ServiceController mbean name="JBOSS-SYSTEM:service=AutoDeployer"> > > JBOSS-SYSTEM:service=ServiceDeployer; > > > ../deploy/lib, > ../deploy > > > 3000 > > > 2002-01-14 08:27:40,225 DEBUG [org.jboss.system.ServiceCreator] About to create >bean: JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,266 DEBUG [org.jboss.system.ServiceCreator] Created bean: >JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,274 DEBUG [org.jboss.system.ServiceConfigurator] Deployers set >to JBOSS-SYSTEM:service=ServiceDeployer; in JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,277 DEBUG [org.jboss.system.ServiceConfigurator] URLs set to >../deploy/lib, > ../deploy in JBOSS-SYSTEM:service=AutoDeployer Looking for JBOSS-SYSTEM:service=ServiceDeployer > 2002-01-14 08:27:40,277 DEBUG [org.jboss.system.ServiceConfigurator] Timeout set to >3000 in JBOSS-SYSTEM:service=AutoDeployer > 2002-01-14 08:27:40,278 DEBUG [org.jboss.system.ServiceConfigurator] found 0 depends >elements > 2002-01-14 08:27:40,279 INFO [org.jboss.deployment.AutoDeployer] Initializing > 2002-01-14 08:27:40,281 INFO [org.jboss.deployment.AutoDeployer] Initialized > 2002-01-14 08:27:40,282 INFO [org.jboss.deployment.AutoDeployer] Starting > 2002-01-14 08:27:40,285 DEBUG [org.jboss.deployment.AutoDeployer] Deployer >'JBOSS-SYSTEM:service=ServiceDeployer' isn't yet registered files for this deployer >will not be deployed until it is deployed. > 2002-01-14 08:27:40,287 DEBUG [org.jboss.deployment.AutoDeployer] Watching dir: >/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/deploy/lib > 2002-01-14 08:27:40,290 DEBUG [org.jboss.deployment.AutoDeployer] Watching dir: >/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/deploy > 2002-01-14 08:27:40,295 INFO [org.jboss.deployment.AutoDeployer] Started > 2002-01-14 08:27:40,296 INFO [org.jboss.system.Server] Started in 0m:2s:124ms > 2002-01-14 08:53:28,291 INFO [org.jboss.system.Server] Shutting down all services > 2002-01-14 08:53:28,293 INFO [Default] Shutting down > 2002-01-14 08:53:28,294 INFO [org.jboss.system.ServiceController] Stopping 2 >services > 2002-01-14 08:53:28,297 DEBUG [org.jboss.system.ServiceController] removing service: >jboss.system:service=ServiceDeployer See removing it here as jboss.system:service=ServiceDeployer > 2002-01-14 08:53:28,297 DEBUG [org.jboss.system.ServiceController] removing >jboss.system:service=ServiceDeployer fr
[JBoss-dev] Problems with 'jboss-mq' and autodeployer
Ok, I'm at a loss as to what's going on in the JBossMQ module of CVS. I've been making changes to the underlying OIL transport module of JBoss and I still need to propagate those changes to the UIL transport code. I've been working by checking out the 'jboss-all' module from CVS so that I could run the testsuite code before I checked in any changes. Everything seems to work fine when JBoss is checked out as a whole. However, when I check out the 'jboss-mq' module from CVS anonymously, build it, and then run the server it doesn't deploy! No TCP/IP ports (or UDP/IP for that matter) are opened. So there's no endpoints for RMI to provide access to JNDI or the messaging transports. I'm going to try to blunder my way around the code, but if someone could provide some useful insight on where to look I would greatly appreciate it. I'm using a vanilla checkout of the jboss-mq module. Also, if you do a checkout of jboss-mq and then build, be sure to link the thirdparty/gnu/getopt/lib/getopt.jar into the lib directory or it will not run. Somethings amiss with the build.xml so that getopt.jar is not being added to the lib directory. I've sent an e-mail to the two individuals that built and modified the file asking for direction/help in that matter already. Below is the last few lines of the server log. Prehaps it will be of use to those who understand the autodeployer code better than I. Thanks Weave -- truncated server.log - 2002-01-14 08:27:40,215 TRACE [org.jboss.system.ServiceLibraries] Libraries adding URLClassLoader 956609115 key URL file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/lib/ext/jnpserver.jar 2002-01-14 08:27:40,215 DEBUG [org.jboss.deployment.ServiceDeployer] deployed classes for file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/lib/ext/jnpserver.jar 2002-01-14 08:27:40,216 DEBUG [org.jboss.deployment.ServiceDeployer] about to copy 0 local directories 2002-01-14 08:27:40,216 DEBUG [org.jboss.deployment.ServiceDeployer] addMBeans: url file:/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/conf/default/jboss-service.xml 2002-01-14 08:27:40,219 DEBUG [org.jboss.deployment.ServiceDeployer] deploying with ServiceController mbean JBOSS-SYSTEM:service=ServiceDeployer; ../deploy/lib, ../deploy 3000 2002-01-14 08:27:40,225 DEBUG [org.jboss.system.ServiceCreator] About to create bean: JBOSS-SYSTEM:service=AutoDeployer 2002-01-14 08:27:40,266 DEBUG [org.jboss.system.ServiceCreator] Created bean: JBOSS-SYSTEM:service=AutoDeployer 2002-01-14 08:27:40,274 DEBUG [org.jboss.system.ServiceConfigurator] Deployers set to JBOSS-SYSTEM:service=ServiceDeployer; in JBOSS-SYSTEM:service=AutoDeployer 2002-01-14 08:27:40,277 DEBUG [org.jboss.system.ServiceConfigurator] URLs set to ../deploy/lib, ../deploy in JBOSS-SYSTEM:service=AutoDeployer 2002-01-14 08:27:40,277 DEBUG [org.jboss.system.ServiceConfigurator] Timeout set to 3000 in JBOSS-SYSTEM:service=AutoDeployer 2002-01-14 08:27:40,278 DEBUG [org.jboss.system.ServiceConfigurator] found 0 depends elements 2002-01-14 08:27:40,279 INFO [org.jboss.deployment.AutoDeployer] Initializing 2002-01-14 08:27:40,281 INFO [org.jboss.deployment.AutoDeployer] Initialized 2002-01-14 08:27:40,282 INFO [org.jboss.deployment.AutoDeployer] Starting 2002-01-14 08:27:40,285 DEBUG [org.jboss.deployment.AutoDeployer] Deployer 'JBOSS-SYSTEM:service=ServiceDeployer' isn't yet registered files for this deployer will not be deployed until it is deployed. 2002-01-14 08:27:40,287 DEBUG [org.jboss.deployment.AutoDeployer] Watching dir: /home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/deploy/lib 2002-01-14 08:27:40,290 DEBUG [org.jboss.deployment.AutoDeployer] Watching dir: /home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/deploy 2002-01-14 08:27:40,295 INFO [org.jboss.deployment.AutoDeployer] Started 2002-01-14 08:27:40,296 INFO [org.jboss.system.Server] Started in 0m:2s:124ms 2002-01-14 08:53:28,291 INFO [org.jboss.system.Server] Shutting down all services 2002-01-14 08:53:28,293 INFO [Default] Shutting down 2002-01-14 08:53:28,294 INFO [org.jboss.system.ServiceController] Stopping 2 services 2002-01-14 08:53:28,297 DEBUG [org.jboss.system.ServiceController] removing service: jboss.system:service=ServiceDeployer 2002-01-14 08:53:28,297 DEBUG [org.jboss.system.ServiceController] removing jboss.system:service=ServiceDeployer from server 2002-01-14 08:53:28,299 INFO [org.jboss.deployment.ServiceDeployer] Stopping 2002-01-14 08:53:28,309 WARN [org.jboss.deployment.ServiceDeployer] Unable to recursively delete the temp directory '/home/weave/OpenNMS/jboss/jboss-mq.pserver/build/output/jbossmq-1.0.0Beta/tmp/deploy/ServiceDeployer' - it should be cleaned up when the server is next restarted. 2002-01-14 08:53:28,311 INFO [org.j