[jboss-user] [JBoss Messaging] - Re: Make Messaging server talk to MySQL DB

vvd do-not-reply at jboss.com
Mon Jan 15 13:43:18 EST 2007


after copying the mysql related file in the respective directories
ie. mysql-persistence-service.xml into <jboss-installdir>/server/standalone-messaging/deploy/jboss-messaging

and mysql-ds.xml into <jboss-installdir>/server/standalone-messaging/deploy directory.

Only common change I made was to change the from 'DefaultDS' to 'msgq'.

In 'mysql-ds.xml' file I mentioned the machine and port, userid and password.

when I start the server I see the following error outputed to screen
13:32:20,213 INFO  [Catalina] Server startup in 212 ms
13:32:20,341 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
13:32:20,782 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
13:32:21,781 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
13:32:22,223 INFO  [[/web-console]] J2EEFolder: Failed to init plugin, bsh/Interpreter
13:32:22,236 INFO  [[/web-console]] SystemFolder: Failed to init plugin, bsh/Interpreter
13:32:22,656 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
13:32:22,971 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:name=msgq,service=DataSourceBinding' to JNDI name 'java:msgq'
13:32:23,019 WARN  [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: com.mysql.jdbc.Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: com.mysql.jdbc.Driver))
        at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)



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

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



More information about the jboss-user mailing list