re: [JBoss-user] Why can not I use my mySQL data source?

2001-04-05 Thread Sam Liu

thanks to Scott M Stark, I see.


Because jboss.conf is parsed by the javax.management.loading.MLet and
this class does not accept an xml document. It has its own file format that
looks like xml but is not.

> 
> in addition:
>Perhaps it is a silly problem.
>I want to know why  the file "jboss.conf" and other likewise ***.conf  files
> use the format of  XML? but when I comment this line in jboss.conf like this:
> 
> CODEBASE="../../lib/ext/">
>   
>   
>   
> 
> 



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user  
‹,ºÇ«™¨¥Šx%ŠËI‹,ºÇ«–+-²Ê.­ÇŸ¢¸ëa¶ÚþX¬¶Ë(º·~Šàzw­þX¬¶ÏåŠËbú?º,²ë


Re: [JBoss-user] Why can not I use my mySQL data source?

2001-04-05 Thread Scott M Stark

Because jboss.conf is parsed by the javax.management.loading.MLet and
this class does not accept an xml document. It has its own file format that
looks like xml but is not.

> 
> in addition:
>Perhaps it is a silly problem.
>I want to know why  the file "jboss.conf" and other likewise ***.conf  files
> use the format of  XML? but when I comment this line in jboss.conf like this:
> 
> CODEBASE="../../lib/ext/">
>   
>   
>   
> 
> 



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



re: [JBoss-user] Why can not I use my mySQL data source?

2001-04-05 Thread Sam Liu

thanks to danch, when I use Jboss2.1 beta, all of things are OK.
thanks to Ken Jenks.



in addition:
   Perhaps it is a silly problem.
   I want to know why  the file "jboss.conf" and other likewise ***.conf  files
use the format of  XML? but when I comment this line in jboss.conf like this:


  
  
  


i found that jboss can not start up tomcat. 
that is to say ***.conf do NOT support XML parsering.

when I correct it like this:
   

 
  

  
  


it is OK.


So, if all of the files of "***.conf" can be parsered on html or xml format, 
perhaps is it better?  

--- origional info--

First, I assume you're running JBoss 2.0? If you're running 2.1/2.2, the
config is a little different.
...


‹,ºÇ«™¨¥Šx%ŠËI‹,ºÇ«–+-²Ê.­ÇŸ¢¸ëa¶ÚþX¬¶Ë(º·~Šàzw­þX¬¶ÏåŠËbú?º,²ë


Re: [JBoss-user] Why can not I use my mySQL data source?

2001-04-05 Thread danch

First, I assume you're running JBoss 2.0? If you're running 2.1/2.2, the
config is a little different.

> Sam Liu wrote:
> 
> Hi, all
> 
> I am configing mySQL data source with my cmp ejb,
> according to the instructions on the jboss manual,
> I have done all of the steps, but I can't yet use
> my datasource.
> 

> 
> 2 In standardjaws.xml
> I commented java:/DefaultDS and added java:/mySQLDS
> 
> 
> java:/mySQLDS
> mySQL
You should have only one  and  here. If you
like you can create a file 'jaws.xml' in the META-INF directory of your
ejb-jar that contains:
java:/mySQLDS
mySQL

This will override JAWS' datasource for those beans only.
Confidential e-mail for addressee only.  Access to this e-mail by anyone else is 
unauthorized.
If you have received this message in error, please notify the sender immediately by 
reply e-mail 
and destroy the original communication.


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