These files are no longer there in JBoss 3.x
Instead have a look at jbossmq-service.xml and jbossmq-destination-service.xml...
> I downloaded jboss-3.2.0RC1.zip in
> http://sourceforge.net/projects/jboss/. In JBoss
> online doc
> doc/ch08s07.html), it says that there are 2 files
> (jbossmq.xml and jboss.jcml) in conf/default.
> However, I can't find that. Actually, where are
Is that I should modify it in ~\jboss-3.2.0RC1\server\default\deploy\ ?
Besides, the doc (http://wwwswt.fzi.de/~christo/praktikum/j2eeapi/jboss/doc/ch08s07.html) I read is for version 3.x.x. But why still not uptodate? Any updated doc about JBoss3?
Thx a lot!
First...I don't know why the documentation is not updated, I am learning JBoss on my own.
Second...let me know what exactly why you want to edit these files.
If you are want to create some Topic/Queue then that you can do by adding new entries in jboss-destination-service.xml file.
You can start JBoss, open http://localhost:8080/jmx-console
Then in Agent View, go to jboss.mq, then click on DestinationManager.
The DestinationManager is a MBean, and you can use the listed methods to add new destinations(Topic/Queue) using the MBean view.
!!!! Remember: The Queue/Topic will remain alive as long as the server is up !!!
> Is that I should modify it in
> ~\jboss-3.2.0RC1\server\default\deploy\ ?
> Besides, the doc
> doc/ch08s07.html) I read is for version 3.x.x. But
> why still not uptodate? Any updated doc about
> Thx a lot!
I have some simple JMS program which can be run on Sun J2sdkee, but I fail to run it on JBoss. The following is the error message:
JNDI API lookup failed: javax.naming.CommunicationException: Can't find SerialContextProvider
I already added my queue in "...\jboss-3.2.0RC1\server\default\deploy\jbossmq-destinations-service.xml" like that:
(Is it same as "j2eeadmin -addJmsDestination MyQueue queue" in J2sdkee?)
Moreover, Should I run my program using JBoss library? I run my code using this way:
java -Djava.endorsed.dirs=%J2EE_HOME%\lib\endorsed -classpath %J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\system\jmsra.jar;. SimpleAsynchConsumer MyQueue queue
Besides, I can't find any error/message in the prompt that is used to start the JBoss. So whether I use JBoss wrongly or my code cannot be used in JBoss?
Thx for you help!