[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JBM Examples in JBoss 5.x
gaohoward
do-not-reply at jboss.com
Wed Dec 31 06:00:20 EST 2008
Here are what I'm doing for the examples:
In JBoss 5 trunk, I put the examples under messaging/src/etc/examples
Also I change the build scripts to let jb5 build to include the examples.
I also change each example's build.xml to deploy and undeploy the needed destinations for the example, so that the examples don't reply on a pre-deployed destinations-service.xml.
The clustered examples is slightly different from the non-clustered ones in that the clustered destinations deployment is done by deploying the destination's xml file, while the non-clustered ones use ServerPeer mbean interface to deploy and undeploy queues and topics.
So far the JBoss 5 trunk version is JBoss-5.1.0.beta, all non-clustered examples can run successfully, but I still have problem starting clustered node. The error is that when I copy the hajndi-jms-ds.xml to the node and start it, it gives me such error message:
18:39:46,944 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfsfile:/home/howard/apps/jboss-5.1.0.Beta1/server/messaging-node0/deploy/messaging/hajndi-jms-ds.xml -> java.lang.ClassNotFoundException: org.jboss.jms.asf.ServerSessionPoolLoader from BaseClassLoader at a48d59{VFSClassLoaderPolicy at 13c03bb{name=vfsfile:/home/howard/apps/jboss-5.1.0.Beta1/server/messaging-node0/deploy/messaging/hajndi-jms-ds.xml domain=ClassLoaderDomain at 185ad79{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader at 183f74d} roots=[MemoryContextHandler at 18411456[path= context=vfsmemory://3j011-mwezny-fpduvira-1-fpduvz0u-26 real=vfsmemory://3j011-mwezny-fpduvira-1-fpduvz0u-26]] delegates=null exported=[] <IMPORT-ALL>NON_EMPTY}}
I found a fresh build of JB5 now hasn't hajndi-jms-ds.xml. Did I miss something? I'll look further into it, maybe ask JBoss guy to help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199027#4199027
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199027
More information about the jboss-dev-forums
mailing list