"PeterJ" wrote : It appears that you did not install JBoss Messaging properly.
How did you install it? (I asked this before, you never answered.) Did you run the
installation script that comes with it?
|
| Yes, I ran the command:
|
| ant -f release-admin.xml -Dmessaging.config.source=all -Dmessaging.config.name=jms
|
| The error you are getting is due to pieces of JBossMQ still being present.
|
| To install JBoss Messaging and convert it to use MySQL, you need to:
|
| 1) Run the install script, [jboss_messaging]/util/release-admin.xml, it will remove
JBossMQ and copy all the files to support JBoss Messaging. (I tried to find the notes for
how to run this but did not see them, they are not in the readme.html but they might be on
the wiki.)
|
| Did that.
|
| 2) Create a *-ds.xml file for MySQL (instructions are in the wiki, I already gave you
the link). Do NOT use "DefaultDS" as the JNDI name unless you want to make a lot
of other configuration changes; use amother name such as "MessagingDS".
|
| Did that.
|
| 3) Replace the deploy/jboss-messaging.sar/hsqldb-persistence-service.xml file (I hope
I got this directory name correct) with the mysql-persistence-service.xml file from the
[jboss_messaging]/examples/config directory. Edit this file to use the JNDI name you chose
in step 2. The name appears several time, you will have to change it in every location.
|
| Did that. I can see the jbm_* tables created in the database.
|
| I still see the following error:
|
| 10:25:44,501 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA'
| to JNDI name 'java:JmsXA'
| 10:25:44,597 ERROR [MainDeployer] Could not create deployment:
file:/C:/jboss-4.2.3.GA/server/jms/deploy/jms-ds.xml
| org.jboss.deployment.DeploymentException: Trying to install an already registered
mbean: jboss.messaging:service=ServerSessionPoolMB
| ean,name=StdJMSPool
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
| at
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
| at org.jboss.system.ServiceController.install(ServiceController.java:226)
|
| in addition to the socket warnings in my previous message.
|
| Would you recommend that I reinstall JBoss and do it all over?
| Thanks a lot.
|
| Dan
|
|
|
| I think that is it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174392#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...