Hi,
1) make sure your Driver is loaded by serching a line like [JDBC provider]
Loaded JDBC-driver:org.postgresql.Driver
2) provide a password, some Drivers don't work without one, or try making it
a "real" empty one: <attribute name="Password"> < /attribute>
3) tripple check your URL to the db.
Burkhard

----- Original Message -----
From: "Allan Kamau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 11:31 AM
Subject: Re: [JBoss-user] Problems to install JDBC driver


> I am facing the same problem. I am trying to load a
> postgresql driver. I have copied the driver to the
> /lib/ext/ directory, configured the jboss.jcml file to
> include.
>
>   <!-- JDBC -->
>   <mbean code="org.jboss.jdbc.JdbcProvider"
> name="DefaultDomain:service=JdbcProvider">
>      <attribute
>
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,org.
postgresql.Driver</attribute>
>   </mbean>
>
>
>   <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=postgresqlPool">
>     <attribute
> name="PoolName">postgresqlPool</attribute>
>     <attribute
>
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l</attribute>
>     <attribute name="Properties"></attribute>
>     <attribute
> name="URL">jdbc:postgresql:diary1</attribute>
>
>     <attribute name="JDBCUser">alex</attribute>
>     <attribute name="Password" />
>   </mbean>
>
>
> I modified the jboss.properties to read.
>
>
jdbc.drivers=org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,org.po
stgresql.Driver
>
>
> On starting JBoss-2.2.2 I got the following error.
> [postgresqlPool] Initializing
> [postgresqlPool] Initialized
> ..
> ..
>
> [postgresqlPool] Starting
> [postgresqlPool] XA Connection pool postgresqlPool
> bound to java:/postgresqlPool
> [postgresqlPool] Stopped
> [postgresqlPool] java.lang.NullPointerException
> [postgresqlPool]        at
>
org.opentools.mineva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource
.java:165)
> ..
>
>
>
> --- Arnaud TAVARD <[EMAIL PROTECTED]> wrote:
> >
> > you need to put your jdbc driver in the
> > jboss.properies file as well
> >
> > >From: "Marie Rajon" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: [JBoss-user] Problems to install JDBC
> > driver
> > >Date: Mon, 11 Jun 2001 15:28:54 +0200
> > >
> >
> >
> _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com.
> >
>
> > ATTACHMENT part 2 message/rfc822
> > From: "Marie Rajon" <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] Problems to install JDBC
> > driver
> > Reply-to: [EMAIL PROTECTED]
> > Date: Mon, 11 Jun 2001 15:28:54 +0200
> >
>
> <HR>
> <html><DIV>Hi,</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>I am using JBOSS with Cloudscape and I have
> difficulties to install the JDBC Drivers. I copied the
> RmiJdbc.jar file in the lib/ext directory of JBOSS and
> I add COM.cloudscape.core.RmiJdbcDriver in the
> jboss.jcml configuration file, but jboss doesn't want
> to load it when it starts ...</DIV>
> <DIV>Could you help me and tell me what I did
> wrong?</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>Thank you very much</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>Marie</DIV><br clear=all><hr>Get Your Private,
> Free E-mail from MSN Hotmail at <a
> href="http://www.hotmail.com";>http://www.hotmail.com</a>.<br></p></html>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to