So here's a step by step

1) Installed Jboss 4.0.3SP1 on my local C: (Windows)
2) Test Server installation .. Works fine. Shutdown server.
3) Download JBOSS Messaging and follow the automatic configuration step
from the user manual
4) Ran one of your samples from the user manual and got SUCCESS there.
5) put the following xml file ( messaging-service.xml ) in 
C:\jboss-4.0.3SP1\server\messaging\deploy


  <?xml version="1.0" encoding="UTF-8" ?> 
  | - <server>
  | - <loader-repository>
  |   jboss.messaging:loader=ScopedLoaderRepository 
  |   
<loader-repository-config>java2ParentDelagation=false</loader-repository-config>
 
  |   </loader-repository>
  | - <mbean code="org.jboss.jms.server.destination.Queue" 
name="jboss.messaging.destination:service=Queue,name=NCBIQueue" 
xmbean-dd="xmdesc/Queue-xmbean.xml">
  |   <depends 
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
 
  |   </mbean>
  |   </server>

6) Start the server with run -c messaging > debug.txt
7) Try to send a message to this queue using the client code posted before
8) So once I do that I got a ClassNotFoundException on one of the jboss server 
files and hence I had to put the jboss messaging jar file in there.


In my deploy directory (messaging configuration) I have a directory 
C:\jboss-4.0.3SP1\server\messaging\deploy\jboss-messaging.sar.

does that help you identify what might be wrong?

Thanks for your time,
Anuj





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937756#3937756

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937756


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to