Re: [JBoss-user] Adding JDBC-driver

2001-05-16 Thread Bas Cancrinus

Ivan wrote:

>I am assuming that you actually put the class for your driver not
>[MyDriverClass]
>
>also you dont want 2 tags like below just 1 that lists all your drivers.  I
>am assuming you adding to or edited the existing tag and did not create a
>second one
>
>  name="DefaultDomain:service=JdbcProvider">
> name="Drivers">org.gjt.mm.mysql.Driver,org.hsql.jdbcDriver,org.enhydra.insta
>ntdb.jdbc.idbDriver
>  
>
>Ivan
>
Out of possibilities I reinstalled JBoss and guess what: it works fine!
I have no idea what went wrong with my previous install. Thanks again 
for your help.

Regards,
Bas

-- 
Bas E. Cancrinus<[EMAIL PROTECTED]>
Product Manager RepTrack (TM)   
Developer Cancrinus Search  




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



Re: [JBoss-user] Adding JDBC-driver

2001-05-15 Thread Ivan

I am assuming that you actually put the class for your driver not
[MyDriverClass]

also you dont want 2 tags like below just 1 that lists all your drivers.  I
am assuming you adding to or edited the existing tag and did not create a
second one

  
 org.gjt.mm.mysql.Driver,org.hsql.jdbcDriver,org.enhydra.insta
ntdb.jdbc.idbDriver
  

Ivan
- Original Message -
From: "Bas Cancrinus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 1:05 PM
Subject: Re: [JBoss-user] Adding JDBC-driver


> Dovan Nguyen wrote:
>
> >I believe you need to add your jdbc driver class in the mbean entry
attribute
> >name="Drivers" in the jboss.jcml
> >
> >dovan
> >
> I added
>
> 
>  [MyDriverClass]
> 
>
> just like in the manual. Any suggestions?
>
>
> Bas
>
> --
> Bas E. Cancrinus <[EMAIL PROTECTED]>
> Product Manager RepTrack (TM) <http://www.reptrack.nl>
> Developer Cancrinus Search <http://www.csearch.nl>
>
>
>
>
> ___
> 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



Re: [JBoss-user] Adding JDBC-driver

2001-05-15 Thread Bas Cancrinus

Dovan Nguyen wrote:

>I believe you need to add your jdbc driver class in the mbean entry attribute
>name="Drivers" in the jboss.jcml
>
>dovan
>
I added


 [MyDriverClass]


just like in the manual. Any suggestions?   


Bas

-- 
Bas E. Cancrinus<[EMAIL PROTECTED]>
Product Manager RepTrack (TM)   
Developer Cancrinus Search  




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



Re: [JBoss-user] Adding JDBC-driver

2001-05-15 Thread Bas Cancrinus

Ivan wrote:

>If you are using embedded tomcat there will be 2 jboss.jcml files. 1 in
>conf\default and 1 in conf\tomcat
>
>are you sure that you checked the same file each time and that if you
>started jboss with tomcat that you are using the jboss.jcml file inside the
>conf\tomcat directory
>
>Ivan
>
I'm using the stand-alone release, which only has a conf/default. Do you 
have any idea what else could be wrong?

Bas

-- 
Bas E. Cancrinus<[EMAIL PROTECTED]>
Product Manager RepTrack (TM)   
Developer Cancrinus Search  




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



Re: [JBoss-user] Adding JDBC-driver

2001-05-15 Thread Toby Allsopp

On Tue, May 15, 2001 at 05:12:03PM +0200, Bas Cancrinus wrote:
> Hi,
> 
> I'd like to connect JBoss 2.2.1 to a MySQL server.
> According to the manual (chapter 3 - Introduction) I copied the 
> driver-JAR to the lib/ext directory and I added an mbean-entry to 
> jboss.jcml. When I start JBoss my entry is ignored (no extra [JDBC] 
> output in log) and JBoss erases it from jboss.jcml.

If JBoss is modifying your jboss.jcml then you must be using an old
version.  This behaviour was removed before the release of 2.2.

Toby.

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



Re: [JBoss-user] Adding JDBC-driver

2001-05-15 Thread Ivan

If you are using embedded tomcat there will be 2 jboss.jcml files. 1 in
conf\default and 1 in conf\tomcat

are you sure that you checked the same file each time and that if you
started jboss with tomcat that you are using the jboss.jcml file inside the
conf\tomcat directory

Ivan


- Original Message -
From: "Bas Cancrinus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 8:12 AM
Subject: [JBoss-user] Adding JDBC-driver


> Hi,
>
> I'd like to connect JBoss 2.2.1 to a MySQL server.
> According to the manual (chapter 3 - Introduction) I copied the
> driver-JAR to the lib/ext directory and I added an mbean-entry to
> jboss.jcml. When I start JBoss my entry is ignored (no extra [JDBC]
> output in log) and JBoss erases it from jboss.jcml.
> Because this approach didn't work, I added my JDBC driver-class to the
> "jdbc.drivers"-value in jboss.properties. After starting JBoss, my log
> contained the output "[JDBC] Loaded
> JDBC-driver:org.gjt.mm.mysql.Driver", which is the added JDBC
driver-class.
>
> I have the following questions about the above:
> - Why does JBoss behave like this towards the manual approach?
> - Does my approach have any consequences for the functioning of JBoss
> compared to the manual approach?
>
> Thanks in advance,
> Bas
>
> --
> Bas E. Cancrinus <[EMAIL PROTECTED]>
> Product Manager RepTrack (TM) <http://www.reptrack.nl>
> Developer Cancrinus Search <http://www.csearch.nl>
>
>
>
> ___
> 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



Re: [JBoss-user] Adding JDBC-driver

2001-05-15 Thread Dovan Nguyen

I believe you need to add your jdbc driver class in the mbean entry attribute
name="Drivers" in the jboss.jcml

dovan

Bas Cancrinus wrote:

> Hi,
>
> I'd like to connect JBoss 2.2.1 to a MySQL server.
> According to the manual (chapter 3 - Introduction) I copied the
> driver-JAR to the lib/ext directory and I added an mbean-entry to
> jboss.jcml. When I start JBoss my entry is ignored (no extra [JDBC]
> output in log) and JBoss erases it from jboss.jcml.
> Because this approach didn't work, I added my JDBC driver-class to the
> "jdbc.drivers"-value in jboss.properties. After starting JBoss, my log
> contained the output "[JDBC] Loaded
> JDBC-driver:org.gjt.mm.mysql.Driver", which is the added JDBC driver-class.
>
> I have the following questions about the above:
> - Why does JBoss behave like this towards the manual approach?
> - Does my approach have any consequences for the functioning of JBoss
> compared to the manual approach?
>
> Thanks in advance,
> Bas
>
> --
> Bas E. Cancrinus<[EMAIL PROTECTED]>
> Product Manager RepTrack (TM)   
> Developer Cancrinus Search  
>
> ___
> 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] Adding JDBC-driver

2001-05-15 Thread Bas Cancrinus

Hi,

I'd like to connect JBoss 2.2.1 to a MySQL server.
According to the manual (chapter 3 - Introduction) I copied the 
driver-JAR to the lib/ext directory and I added an mbean-entry to 
jboss.jcml. When I start JBoss my entry is ignored (no extra [JDBC] 
output in log) and JBoss erases it from jboss.jcml.
Because this approach didn't work, I added my JDBC driver-class to the 
"jdbc.drivers"-value in jboss.properties. After starting JBoss, my log 
contained the output "[JDBC] Loaded 
JDBC-driver:org.gjt.mm.mysql.Driver", which is the added JDBC driver-class.

I have the following questions about the above:
- Why does JBoss behave like this towards the manual approach?
- Does my approach have any consequences for the functioning of JBoss 
compared to the manual approach?

Thanks in advance,
Bas

-- 
Bas E. Cancrinus<[EMAIL PROTECTED]>
Product Manager RepTrack (TM)   
Developer Cancrinus Search  



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