RE: [JBoss-user] NPE: org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl - Oracle8i and JBoss2.4.0
It may be a problem with the db not jboss. I would uncomment out the following line in conf\default\log4j.properties log4j.category.org.jboss.ejb.plugins=TRACE#org.jboss.logging.log4j.TracePrio rity Among other debugging messages, this will give you the oracle SQLExceptions if there are any via the console. HTH, Tom -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 7:51 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] NPE: org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl - Oracle8i and JBoss2.4.0 This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] NPE: org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl - Oracle8i and JBoss2.4.0
Title: Paul, I've seen this error before, it usually indicates that the connection to the databasecannot be made for one reason, so check your database setup and you password/username -> configuration looks alright. Joost. -Original Message-From: Paul McLachlan [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 19, 2001 2:08 AMTo: [EMAIL PROTECTED]Subject: [JBoss-user] NPE: org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl - Oracle8i and JBoss2.4.0 Thanks Dragos, I wish that were enough . My setup is currently: oracle.jdbc.driver.OracleDriver OracleDS org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:oracle:thin:@localhost:1521:jbossb xxx yyy I have the drivers in classes12.zip in lib/ext I still get an NPE at [XADataSourceLoader] Stoppedjava.lang.NullPointerException at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178) I cannot afford to spend anymore time on this, I never thought at this stage of the project I would run into an issue like this. Unbelievable. Luckily I have convinced my boss that HypersonicDB will suffice for now until a future release. Paul. -Original Message-From: Dragos Haiduc [mailto:[EMAIL PROTECTED]]Sent: Monday, 17 September 2001 6:14 PMTo: [EMAIL PROTECTED]Subject: AW: [JBoss-user] Class Not Found Exception: org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl I am using JBoss2.4.0_Jetty-3.1RC8-1, but as DB i'm using Postgre, not Oracle8. This is my jboss.jcml entry for my DB connection pool:PostgreSQLDSattribute> org.jboss.pool.jdbc.xa.wrapper.XADataSourceImplattribute> jdbc:postgresql://localhost:5432/play_with_ejbsattribute> togattribute> secretattribute> mbean> -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Paul McLachlanGesendet: Montag, 17. September 2001 09:10An: [EMAIL PROTECTED]Betreff: RE: [JBoss-user] Class Not Found Exception: org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl Yes, it is. What version of JBoss are you using. I am using 2.4.0 Paul. -Original Message-From: Dragos Haiduc [mailto:[EMAIL PROTECTED]]Sent: Monday, 17 September 2001 4:41 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] Class Not Found Exception: org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl Paul, i was getting this NPE when trying to connect from JBoss to a stopped DB system(Postgre). Is ur Oracle up and running? -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Paul McLachlanGesendet: Montag, 17. September 2001 01:17An: [EMAIL PROTECTED]Betreff: RE: [JBoss-user] Class Not Found Exception: org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl Thanks Dragos, this answer looked promising but I get a NPE! [XADataSourceLoader] Stoppedjava.lang.NullPointerException at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178) Surely someone out there must know how to use JBoss 2.4 and Oracle8! This is the class you should use in the jboss.jcml file in JBoss 2.4 for DataSource creation , not the one mentioned by you:org.jboss.pool.jdbc.xa.wrapper.XADataSourceImplBest, Dragos
Re: [JBoss-user] NPE: org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl- Oracle8i and JBoss2.4.0
Can I ask a possibly stupid question. Are you able to get a connection from a standalone jdbc client using the same url, user an dpassword? cheers dim On Wed, 19 Sep 2001, Paul McLachlan wrote: > Thanks Dragos, I wish that were enough . > > My setup is currently: > >name="DefaultDomain:service=JdbcProvider"> > name="Drivers">oracle.jdbc.driver.OracleDriver > > >name="DefaultDomain:service=XADataSource,name=OracleDS"> > OracleDS > name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl attribute> > name="URL">jdbc:oracle:thin:@localhost:1521:jbossb > xxx > yyy > > > I have the drivers in classes12.zip in lib/ext > > I still get an NPE at > > [XADataSourceLoader] Stopped > java.lang.NullPointerException > at > org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.j > ava:178) > > I cannot afford to spend anymore time on this, I never thought at this > stage of the project I would run into an issue like this. Unbelievable. > Luckily I have convinced my boss that HypersonicDB will suffice for now > until a future release. > > Paul. > > -Original Message- > From: Dragos Haiduc [mailto:[EMAIL PROTECTED]] > Sent: Monday, 17 September 2001 6:14 PM > To: [EMAIL PROTECTED] > Subject: AW: [JBoss-user] Class Not Found Exception: > org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl > > > I am using JBoss2.4.0_Jetty-3.1RC8-1, but as DB i'm using Postgre, not > Oracle8. > > This is my jboss.jcml entry for my DB connection pool: > > > > name="DefaultDomain:service=XADataSource,name=PostgreSQLDS"> > > PostgreSQLDS > > name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl attribute> > > name="URL">jdbc:postgresql://localhost:5432/play_with_ejbs > > tog > > secret > > > > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im Auftrag von Paul > McLachlan > Gesendet: Montag, 17. September 2001 09:10 > An: [EMAIL PROTECTED] > Betreff: RE: [JBoss-user] Class Not Found Exception: > org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl > > > Yes, it is. > > What version of JBoss are you using. I am using 2.4.0 > > Paul. > > -Original Message- > From: Dragos Haiduc [mailto:[EMAIL PROTECTED]] > Sent: Monday, 17 September 2001 4:41 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Class Not Found Exception: > org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl > > > Paul, i was getting this NPE when trying to connect from JBoss to a > stopped DB system(Postgre). > Is ur Oracle up and running? > > > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im Auftrag von Paul > McLachlan > Gesendet: Montag, 17. September 2001 01:17 > An: [EMAIL PROTECTED] > Betreff: RE: [JBoss-user] Class Not Found Exception: > org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl > > > Thanks Dragos, this answer looked promising but I get a NPE! > > > [XADataSourceLoader] Stopped > java.lang.NullPointerException > at > org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.j > ava:178) > > Surely someone out there must know how to use JBoss 2.4 and Oracle8! > > > This is the class you should use in the jboss.jcml file in JBoss 2.4 for > DataSource creation , not the one mentioned by you: > org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl > Best, > > Dragos > > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user