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: > > <mbean code="org.jboss.jdbc.JdbcProvider" > name="DefaultDomain:service=JdbcProvider"> > <attribute > name="Drivers">oracle.jdbc.driver.OracleDriver</attribute> > </mbean> > > <mbean code="org.jboss.jdbc.XADataSourceLoader" > name="DefaultDomain:service=XADataSource,name=OracleDS"> > <attribute name="PoolName">OracleDS</attribute> > <attribute > name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</ > attribute> > <attribute > name="URL">jdbc:oracle:thin:@localhost:1521:jbossb</attribute> > <attribute name="JDBCUser">xxx</attribute> > <attribute name="Password">yyy</attribute> > </mbean> > > 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: > > <!--PostgreSQL connection pool --> > > <mbean code="org.jboss.jdbc.XADataSourceLoader" > name="DefaultDomain:service=XADataSource,name=PostgreSQLDS"> > > <attribute name="PoolName">PostgreSQLDS</attribute> > > <attribute > name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</ > attribute> > > <attribute > name="URL">jdbc:postgresql://localhost:5432/play_with_ejbs</attribute> > > <attribute name="JDBCUser">tog</attribute> > > <attribute name="Password">secret</attribute> > > </mbean> > > -----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
