Problem running Hello World quickstart - jbossesb-4.2MR1
ldimaggio Mar 30, 2007 1:40 PMHey everyone,
I think that I'm close to getting this work work - but I'm missing something basic - can anyone suggest what's wrong?
Many thanks,
Len DiMaggio
ldimaggi@redhat.com
So far, I've:
1) Installed jbossesb-4.2 (from src: jbossesb-4.2MR1-src.zip) into /opt/jbossesb-4.2
2) Installed jboss-4.0.5.GA (from src: jboss-4.0.5.GA-src.tar.gz) into /opt/jboss-4.0.5.GA-src, built server
3) Created /opt/jbossesb-4.2/product/install/deployment.properties and set:
org.jboss.esb.dist.lib=../build/jbossesb/lib
4) In /opt/jbossesb-4.2/product, ran ant dist
5) Verifed that ESB standalone started up - /opt/jbossesb-4.2/product/build/jbossesb-server-4.2.MR1/bin/run.sh -c default then shut it down
6) Started jboss-4.0.5.GA - /opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/bin/run.sh -c default
7) Copied jbossesb.sar to jboss-4.0.5.GA
cp -pR /opt/jbossesb-4.2/product/build/jbossesb/lib/jbossesb.sar /opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/server/default/deploy/
8) Modified /opt/jbossesb-4.2/product/samples/quickstarts/quickstarts.properties and set:
esb.product.lib.dir=../../../../product/build/jbossesb/lib/
jbosshome.dir=/opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/
9) Copied /opt/jbossesb-4.2/product/samples/quickstarts/esb-quickstart-jbmq-service.xml to /opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/server/default/deploy/ - no errors - saw this in the server log:
12:00:10,402 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=juddiDB' to JNDI name 'java:juddiDB'
12:00:10,406 INFO [DatabaseInitializer] Initializing java:/juddiDB from listed sql files
12:00:10,558 INFO [JuddiRMIService] starting juddi RMI service
12:00:11,782 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JBossESBDS' to JNDI name 'java:JBossESBDS'
12:00:11,784 INFO [DatabaseInitializer] Initializing java:/JBossESBDS from listed sql files
10) Ran ant in /opt/jbossesb-4.2/product/samples/quickstarts/helloworld - saw these results - and Quickstart_helloworld.esb in opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/server/default/deploy
Buildfile: build.xml
clean:
[delete] Deleting directory /opt/jbossesb-4.2/product/samples/quickstarts/helloworld/build
compile:
[mkdir] Created dir: /opt/jbossesb-4.2/product/samples/quickstarts/helloworld/build/classes
[javac] Compiling 3 source files to /opt/jbossesb-4.2/product/samples/quickstarts/helloworld/build/classes
runtest:
[echo] Runs Test JMS Sender
[java] Connection Started
BUILD SUCCESSFUL
11) Saw same results with ant runtest
12) Tried ant deploy - saw these errors in server log:
13:05:48,318 ERROR [MainDeployer] Could not create deployment: file:/opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/server/default/tmp/deploy/tmp30414Quickstart_helloworld.esb-contents/jbm-queue-service.xml
org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.jms.server.destination.QueueService; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.server.destination.QueueService)
14) Tried to clear up class not found by - thrashing, basically:
cp -p /opt/jbossesb-4.2/product/build/jbossesb/lib/ext/jboss-messaging-client.jar /opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/server/default/lib
cp -p /opt/jbossesb-4.2/product/build/jbossesb/lib/ext/jboss-jmx.jar /opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/server/default/lib
cp -p /opt/jbossesb-4.2/product/build/jbossesb/lib/ext/jbossall-client.jar /opt/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/server/default/lib
15) Hit this exception:
Deployment FAILED reason: no protocol: xmdesc/Queue-xmbean.xml; - nested throwable: (java.net.MalformedURLException: no protocol: xmdesc/Queue-xmbean.xml)
16) Out of ideas - Do I need the JBoss Messaging Server to run the samples?