Bugs item #1066186, was opened at 2004-11-14 17:56 Message generated for change (Comment added) made by kimerinn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1066186&group_id=22866
Category: JBossCMP Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Maxim (kimerinn) Assigned to: Alexey Loubyansky (loubyansky) Summary: MySqlDS not bound Initial Comment: An exception occured when I trying to use JBoss 3.2.6 with MySQL. On JBoss 3.2.5 this works. Here is configuration: SuSE linux 9.1 (kernel 2.6.4-52) JRE 1.4.1, Sun Microsystems MySQL 4.0.18-Max MySQL JDBC driver 3.0.8 Stack trace: 15:55:11,713 ERROR [STDERR] javax.naming.NameNotFoundException: MySqlDS not bound 15:55:11,716 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:490) 15:55:11,716 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:498) 15:55:11,717 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:504) 15:55:11,717 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:277) 15:55:11,717 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530) 15:55:11,718 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) 15:55:11,718 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:347) 15:55:11,718 ERROR [STDERR] at ru.narod.kimerinn.galaxy.earth.core.ServerInit.perform(ServerInit.java:52) 15:55:11,719 ERROR [STDERR] at org.jboss.varia.scheduler.Scheduler$Listener.handleNotification(Scheduler.java:1222) 15:55:11,719 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) 15:55:11,719 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:55:11,720 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) 15:55:11,720 ERROR [STDERR] at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138) 15:55:11,720 ERROR [STDERR] at $Proxy9.handleNotification(Unknown Source) 15:55:11,721 ERROR [STDERR] at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:104) 15:55:11,721 ERROR [STDERR] at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:87) 15:55:11,721 ERROR [STDERR] at javax.management.timer.Timer.sendNotifications(Timer.java:442) 15:55:11,722 ERROR [STDERR] at javax.management.timer.Timer.access$000(Timer.java:31) 15:55:11,722 ERROR [STDERR] at javax.management.timer.Timer$RegisteredNotification.doRun(Timer.java:613) 15:55:11,723 ERROR [STDERR] at org.jboss.mx.util.SchedulableRunnable.run(SchedulableRunnable.java:164) 15:55:11,723 ERROR [STDERR] at org.jboss.mx.util.ThreadPool$Worker.run(ThreadPool.java:240) ---------------------------------------------------------------------- >Comment By: Maxim (kimerinn) Date: 2004-11-15 23:54 Message: Logged In: YES user_id=500469 I have explored this problem and here is new info. In fact, cmp-engine is not a source of troubles. Troubles are in deployment order - it is changed from JBoss 3.2.5 to 3.2.6. For unknown reason class org.jboss.deployment.DeploymentSorter now deploys file mysql-ds.xml after file scheduler-service.xml. In scheduler-service.xml here is invocation of MySqlDs datasource, and now this invocation happened before datasource is deployed. Anyway, server log is attached. ---------------------------------------------------------------------- Comment By: Alexey Loubyansky (loubyansky) Date: 2004-11-14 18:30 Message: Logged In: YES user_id=543482 Have you tried user forums first? Show your -ds.xml file and log for deploying MySql datasource. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1066186&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
