David,
I know that other drivers have been registered because I have checked the
following:
1) the server.log file generated by jBoss; and
2) I have made a call to DriverManager.setLogStream() to get a trace on
what the DriverManager is doing. From the stream I can see the
DriverManager is skipping the other drivers.
Cheers,
Craig.
> Why do you think drivers other than yours should be registered?
> david jencks
> On 2001.09.27 10:04:17 -0400 Craig Munday wrote:
> > All,
> >
> > I'm using jBoss 2.2.2 with Java 1.3.1 and have a question
concerning the
> > behavior of the DriverManager.
> >
> > Essentially I've provided a simple implementation of the
java.sql.Driver
> > interface. At the moment one of the things it does is try to
obtain a
> > list
> > of other registered drivers by calling
DriverManager.getDrivers(). This
> > works fine when I try it from Forte however when I use the
driver in
> > jBoss
> > the DriverManager skips all drivers except for my own driver.
> >
> > Does anyone know why this is happening? I have a feeling it has
> > something
> > to do with a SecurityManager but I'm not sure how the two are
related.
> >
> > There is a bug that is kind of related but is suppose to have
been fixed
> > in
> > the JDK1.2 final release.
> >
> >
http://developer.java.sun.com/developer/qow/archive/11/index.html
> >
> > Any help would be greatly appreciated.
> >
> > Regards,
> > Craig.
- [JBoss-dev] DriverManager is skipping Drivers - How come? Craig Munday
- Craig Munday