I reversed the XADataSources and then second one listed failed. Is there any known bugs for this. I use a JDBC Type 3 driver from J-netdirect. Could it be their XADataSourceLoader class.
Ryan Conover [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pitt.edu/~rscst25/ -----Original Message----- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 11:40 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JDataConnect, JBoss 2.4.4 Problems That usually means there is something wrong with the configuration of the XADataSource. With jdbc 1 wrapped drivers usually it is the wrong url. If you reverse the order of the mbeans in jboss.jcml (auth before time) which one fails? If it's auth still, there's something wrong with its config. If its then time (the second one) that fails, there's something wrong with XADataSourceLoader. BTW I recommend setting Blocking to true. On 2002.06.25 11:09:36 -0400 "Conover, Ryan" wrote: > I get the following error during start-up. > > [10:46:22,004,ABMTime] Starting > [10:46:22,114,ABMTime] XA Connection pool ABMTime bound to java:/ABMTime > [10:46:22,114,ABMTime] Started > [10:46:22,114,AuthDB] Starting > [10:46:22,145,AuthDB] XA Connection pool AuthDB bound to java:/AuthDB > [10:46:22,145,AuthDB] Stopped > java.lang.NullPointerException > at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(Unknown > Source) > at > org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:412) > at > org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > at > org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configurati > onService.java:967) > at $Proxy0.start(Unknown Source) > at org.jboss.util.ServiceControl.start(ServiceControl.java:79) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > at org.jboss.Main.<init>(Main.java:208) > at org.jboss.Main$1.run(Main.java:110) > at java.security.AccessController.doPrivileged(Native Method) > at org.jboss.Main.main(Main.java:106) > [10:46:22,239,ConfigurationService] Unexpected error > java.lang.NullPointerException > at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(Unknown > Source) > at > org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:412) > at > org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > at > org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configurati > onService.java:967) > at $Proxy0.start(Unknown Source) > at org.jboss.util.ServiceControl.start(ServiceControl.java:79) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > at org.jboss.Main.<init>(Main.java:208) > at org.jboss.Main$1.run(Main.java:110) > at java.security.AccessController.doPrivileged(Native Method) > at org.jboss.Main.main(Main.java:106) > [10:46:22,317,ServerDataCollector] Starting > [10:46:22,317,ServerDataCollector] JBoss Management Service > 'servercollector' bound to servercollector > [10:46:22,333,ServerDataCollector] Started > [10:46:22,333,ContainerFactory] Starting > > Ryan Conover > [EMAIL PROTECTED] > [EMAIL PROTECTED] > http://www.pitt.edu/~rscst25/ > > > > -----Original Message----- > From: David Jencks [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 25, 2002 11:04 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] JDataConnect, JBoss 2.4.4 Problems > > > How about a clue about what the error is? > > david jencks > > On 2002.06.25 10:51:35 -0400 "Conover, Ryan" wrote: > > I am having trouble configuring more than 1 XADataSource. Here is the > > config > > from the jboss.jcml file under JDBC Section. > > > > <mbean code="org.jboss.jdbc.XADataSourceLoader" > > name="DefaultDomain:service=XADataSource,name=Time"> > > <attribute name="PoolName">Time</attribute> > > <attribute name="DataSourceClass">com.NetDirect.Jdbc.JXADataSource > > </attribute> > > <attribute > > name="URL">jdbc:JDataConnect://localhost:1150/Time</attribute> > > <attribute name="JDBCUser">User</attribute> > > <attribute name="Password">Path</attribute> > > <attribute name="IdleTimeoutEnabled">true</attribute> > > <attribute name="MinSize">1</attribute> > > <attribute name="MaxSize">15</attribute> > > </mbean> > > > > The above pool works fine, but when I add the bottom one it errors > > out. > > > > <mbean code="org.jboss.jdbc.XADataSourceLoader" > > name="DefaultDomain:service=XADataSource,name=Auth"> > > <attribute name="PoolName">Auth</attribute> > > <attribute name="DataSourceClass">com.NetDirect.Jdbc.JXADataSource > > </attribute> > > <attribute > > name="URL">jdbc:JDataConnect://localhost:1150/Auth</attribute> > > <attribute name="JDBCUser">User</attribute> > > <attribute name="Password">Pass</attribute> > > <attribute name="IdleTimeoutEnabled">true</attribute> > > <attribute name="MinSize">1</attribute> > > <attribute name="MaxSize">15</attribute> > > </mbean> > > > > Any help would be appreciated. > > > > Ryan Conover > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > http://www.pitt.edu/~rscst25/ > > > > > > > > -----Original Message----- > > From: Scott M Stark [mailto:[EMAIL PROTECTED]] > > Sent: Monday, June 24, 2002 8:21 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [JBoss-user] New to the list and New to JBoss 3.0 > > > > > > Look at the server/default/deploy/properties-service.xml and either > > the URLList or Properties attributes that allow for setting system > > properties. > > > > xxxxxxxxxxxxxxxxxxxxxxxx > > Scott Stark > > Chief Technology Officer > > JBoss Group, LLC > > xxxxxxxxxxxxxxxxxxxxxxxx > > ----- Original Message ----- > > From: "Conover, Ryan" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, June 24, 2002 1:42 PM > > Subject: [JBoss-user] New to the list and New to JBoss 3.0 > > > > > > > Hello All, > > > > > > I am currently running JBoss 2.4.4 with no problems. Clients connect > > fine. > > > I am trying to migrate to JBoss 3.0, but all my clients are having > > trouble > > > connecting to the JBoss 3.0 Server. In Jboss 2.4.4 I had to set > > > > > > java.rmi.server.hostname=myservername > > > > > > in my jboss.properties file on the server. What is the equivalent in > > JBoss > > > 3.0 and is there any changes needed on my clients. > > > > > > Ryan Conover > > > [EMAIL PROTECTED] > > > [EMAIL PROTECTED] > > > http://www.pitt.edu/~rscst25/ > > > > > > > > > > ------------------------------------------------------- > > Sponsored by: > > ThinkGeek at http://www.ThinkGeek.com/ > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ------------------------------------------------------- > > Sponsored by: > > ThinkGeek at http://www.ThinkGeek.com/ > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user