I had a similar experience with jboss/tomcat. Seems that in newer 
releases of jb/tc there are two directories in ./conf, default and 
tomcat. The tomcat directory is the one that jboss really uses while 
default is ignored. (except for this one bug...) Is there a "jetty" 
directory in conf? Try editing files there. When JBoss statrs up it 
usually prints as one of it's very first lines, "using configuration 
tomcat" or default or whatever. That seems to correspond to the name of 
the directory in conf that is used. YMMV.

Darrin

On 4/13/01, 3:31:56 AM, Steve Lewis <[EMAIL PROTECTED]> wrote 
regarding Re: [JBoss-user] Basic JDBC config question:


> Hmmm.  I did that just now, and it didn't seem to change anything.  Any
> other ideas?  Thanks for that first tip, though.  Also, I'm running the
> jboss2.2/jetty on Win2000, with JDK 1.3.0_02.
> Thanks,
> Steve

> ----- Original Message -----
> From: "Guy Rouillier" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 13, 2001 10:36 AM
> Subject: Re: [JBoss-user] Basic JDBC config question


> > See if there is a jboss.jcml-auto file in your conf/default directory.  I
> > don't know how this file is getting generated, but I've found if it is
> > present that any additions I make to jboss.jcml won't get picked up.  You
> > can just delete the jboss.jcml-auto file while jboss is shut down.
> >
> > ----- Original Message -----
> > From: "Steve Lewis" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, April 12, 2001 7:43 PM
> > Subject: [JBoss-user] Basic JDBC config question
> >
> >
> > > I'm trying to set up a JDBC driver, but when I update jboss.jcml nothing
> > is
> > > changed.  I try to add the Oracle driver by putting the classes12.zip in
> > > lib/ext, and then I add "oracle.jdbc.driver.OracleDriver" like so, along
> > > with the mysql driver:
> > >
> > > <mbean code="org.jboss.jdbc.JdbcProvider"
> > > name="DefaultDomain:service=JdbcProvider">
> > > <attribute
> > >
> >
> 
name="Drivers">oracle.jdbc.driver.OracleDriver,org.gjt.mm.mysql.Driver</at
tr
> > > ibute>
> > > </mbean>
> > >
> > > The weird thing is, in the documentation, it says that there will be
> > output
> > > saying that the driver will show up in output when you restart the jboss
> > > server.  But all I get is
> > >
> > > [JDBC provider] Initializing
> > > [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver
> > > [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
> > > [JDBC provider] Initialized
> > >
> > > And as you can see above, I've taken out the hsql and enhydra references
> > in
> > > the mbean tag.
> > > Any ideas?  I don't expect my driver to work yet, because I still have
> to
> > do
> > > the other steps listed in the docs, but I'm just wondering why it
> doesn't
> > > show up in the driver list on startup.  It looks like to me that it's
> not
> > > even re-reading the jboss.jcml file at all.
> > >
> > > Thanks,
> > > Steve
> > >
> > >
> > > _______________________________________________
> > > 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


> _______________________________________________
> 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