Bugs item #668736, was opened at 2003-01-15 21:14 Message generated for change (Settings changed) made by ejort You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=668736&group_id=22866
Category: JBossCX Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: Steve Hayward (shayward) >Assigned to: Adrian Brock (ejort) Summary: Cannot tokenize withOracle Net8 JDBC connection descriptions Initial Comment: If you define a Oracle datasource in oracle-xa-service.xml using Net8 connection descriptions like: <config-property name="XADataSourceProperties" type="java.lang.String">URL=jdbc:oracle:thin:@ (DESCRIPTION=(ADDRESS_LIST=(ADDRESS= (PROTOCOL=TCP)(PORT=1521)(HOST=10.1.1.1))) (connect_data=(server=dedicated)(sid=foo_database))) </config-property> ==== when you use this datasource, Jboss gets the following exception: 2003-01-15 14:58:31,590 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.0.4 Date:200211021607] Started in 0m:15s:462ms 2003-01-15 14:59:08,583 WARN [org.jboss.resource.adapter.jdbc.xa.XAManagedConnecti onFactory] Unable to create and initialize XADataSource: java.util.NoSuchElementException at java.util.StringTokenizer.nextToken (StringTokenizer.java:235) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnecti onFactory.parseProperties (XAManagedConnectionFactory.java:491) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnecti onFactory.getXADS (XAManagedConnectionFactory.java:455) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnecti onFactory.createManagedConnection (XAManagedConnectionFactory.java:368) at org.jboss.resource.connectionmanager.InternalManaged ConnectionPool.createConnection (InternalManagedConnectionPool.java:259) at org.jboss.resource.connectionmanager.InternalManaged ConnectionPool.getConnection (InternalManagedConnectionPool.java:106) at org.jboss.resource.connectionmanager.JBossManagedC onnectionPool$BasePool.getConnection (JBossManagedConnectionPool.java:323) at org.jboss.resource.connectionmanager.BaseConnection Manager2.getManagedConnection (BaseConnectionManager2.java:467) at org.jboss.resource.connectionmanager.BaseConnection Manager2.allocateConnection (BaseConnectionManager2.java:532) at org.jboss.resource.connectionmanager.BaseConnection Manager2$ConnectionManagerProxy.allocateConnection (BaseConnectionManager2.java:814) at org.jboss.resource.adapter.jdbc.JDBCDataSource.getCo nnection(JDBCDataSource.java:110) ==== I found that XAManagedConnectionFactory uses: StringTokenizer tokens = new StringTokenizer (xaDataSourceProperties, ";="); and Oracle JDBC allows Net8 (name=value) type connection descriptors, but with this code JBOSS does not. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=668736&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development