[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
[31 May 1:11pm] Mark Matthews This is a known issue which was solved in 3.0.14 which was posted the same day as the release of 3.0.13 BTW, in review of dozens of responses in THIS forum, I'd say I'm not the one with the attitude problem...Look at your responses to users who are just asking honest/valid questions. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837005#3837005 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837005 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
You missed the adjectives repeated and incomplete. Read READ THIS FIRST or the FAQ in the JBossMQ forum if you are in any doubt about my attitude towards lazy users. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837009#3837009 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837009 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
Uhh, well, what I want to know is whether there is a bug in Connector/J 3.0.13 or is there another NEW feature in jboss 3.2.4FC2 that causes the connections to fail?? With Connector/J 3.0.13 I get a connection errors...If I stop the server, and replace it with 3.0.11 everything works fine Here's my datasource config: local-tx-datasource jndi-nameICSRegDS/jndi-name connection-urljdbc:mysql://localhost/icsboomerang?useUnicode=trueamp;characterEncoding=UTF8/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-nameicsbisadmin/user-name 1sqlmgr min-pool-size50/min-pool-size max-pool-size100/max-pool-size blocking-timeout-millis1/blocking-timeout-millis idle-timeout-minutes15/idle-timeout-minutes /local-tx-datasource View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836830#3836830 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836830 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
I think from the error message (it is hard to tell since you don't post the full stacktrace) that the mysql driver is trying to parse localhost as a number. So either: 1) you have the url wrong 2) it is a bug in their driver View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836831#3836831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836831 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
1). I doubt it. 2). Possibly. I have submitted a bug to Mark Mathews at mysql.org View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836833#3836833 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836833 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
I had the same problem. Mark released 3.0.14 yesterday and the problem was solved. (See the change log). Jack tbauer wrote: Uhh, well, what I want to know is whether there is a bug in Connector/J 3.0.13 or is there another NEW feature in jboss 3.2.4FC2 that causes the connections to fail?? With Connector/J 3.0.13 I get a connection errors...If I stop the server, and replace it with 3.0.11 everything works fine --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
Here's some more detailed informationHopefully someone can actually look into the code rather than just post terse(snippy) comments: Here's my datasource configuration: works with Connector/J 3.0.11 local-tx-datasource jndi-nameICSRegDS/jndi-name connection-urljdbc:mysql://localhost/icsboomerang?useUnicode=trueamp;characterEncoding=UTF8/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-nameicsbisadmin/user-name 1sqlmgr min-pool-size50/min-pool-size max-pool-size100/max-pool-size blocking-timeout-millis1/blocking-timeout-millis idle-timeout-minutes15/idle-timeout-minutes /local-tx-datasource Here's the errors throw using Connector/J 3.0.13 2004-05-29 09:10:51,529 DEBUG [class org.jboss.cache.invalidation.InvalidationManager$InvalidationGroupImpl.CorpTZLocalesBean] Counter reference value (++): 1 2004-05-29 09:10:52,393 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: localhost'.) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:504) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:214) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:532) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:442) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:312) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:494) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:885) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:128) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:147) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:428) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:365) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:186) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:466) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) at $Proxy16.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:186) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:466) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174) at $Proxy49.start(Unknown Source) at
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
If you post terse/snippy/incomplete questions you get terse/snippy/incomplete answers. http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums Yes, the problem is in the mysql driver: Caused by: java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: localhost'. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:409) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:158) I bet you it works if you use 127.0.0.1 :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836836#3836836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836836 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user