If you change the console logging filter to include ",Debug" what output
do you get from the classpath extension MBeans at startup?
/Rickard
Wes Mckean wrote:
>
> Let's back up a bit further with this question. Why, if I add a JAR file to
> jBoss' lib\ext directory, are the classes in that JAR file not made
> available to my EJBs? This is in BETA PROD 4. Are they not added to the
> class path? Also, why are the standard jBoss classes, like
> org.jboss.minerva.datasource.PoolDriver not available to the EJBs in BETA
> PROD 4?
>
> Wes
>
> -----Original Message-----
> From: Wes Mckean
> Sent: Monday, November 13, 2000 2:13 PM
> To: 'jBoss'
> Subject: RE: [jBoss-User] Minerva Question
>
> I have configured the jboss.conf and jboss.jcml properly. However, when I
> try to open a connection via the connection pool, I am getting a
> ClassNotFoundException as follows:
>
> Class.forName("org.jboss.minerva.datasource.PoolDriver");
>
> When I leave this out, the DriverManager.getConnection throws a no suitable
> driver exception.
>
> The jboss.properties file is loading the drivers correctly, because I can
> see the confirmation when jboss starts.
>
> As a minimum, I don't understand why org.jboss.minerva.datasource.PoolDriver
> is not available as a class to my EJB, since I can see the JAR file being
> added to the CLASSPATH when jboss loads. I also don't understand why my
> vendor's driver isn't available to my EJB since I put the JAR file in the
> lib\ext directory.
>
> Wes
>
> -----Original Message-----
> From: Scot Bellamy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 13, 2000 1:48 PM
> To: jBoss
> Subject: Re: [jBoss-User] Minerva Question
>
> Make sure you specify the fully qualified class name (including the
> package) of your JDBC driver in the jdbc.Driver= property of
> jboss.properties file.
>
> Also, make sure that your MLET entry in the jboss.conf includes the name
> of the jar file containing your JDBC driver.
>
> Hope this helps.
>
> Scot.
>
> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
>
> On 11/13/00, 12:37:31 PM, Wes Mckean <[EMAIL PROTECTED]> wrote regarding
> [jBoss-User] Minerva Question:
>
> > I am stumped. I added my vendors JAR file to the lib/ext directory.
> When I
> > try to load the driver, I get a class not found exception. I created a
> > connection pool using the driver. As far as I can tell, the connection
> pool
> > loads fine. There are no errors on start up, and I can see it being
> bound
> > properly. When I try to create a connection using the PoolDriver (
> > org.jboss.minerva.datasource.PoolDriver), am again getting a
> > ClassNotFoundException.
>
> > Can anyone point me in the right direction as to what I am doing wrong?
>
> > Wes
>
> > --
> > --------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Problems?: [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]