This content has been marked as final.
Show 3 replies
-
1. Re: DataSource to MySQL with Axis2 and JBoss
zolv Jun 14, 2007 8:53 AM (in response to zolv)"zolv" wrote:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/dw</jndi-name>
<connection-url>jdbc:mysql://myserver:3306/db</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>user</user-name>
<password>password</password>
</local-tx-datasource>
</datasources>
Forum-software erased <password_> and </password_> tags around password (without underscores), of course it must be there
zolv -
2. Re: DataSource to MySQL with Axis2 and JBoss
ciaciapek Jun 18, 2007 7:54 AM (in response to zolv)I am not sure if that will solve Your problem but since you are trying to access the datasource configured inside JBoss from bundled Tomcat context You have to configure datasource as:
<use-java-context>false</use-java-context>
so if You haven't yet added this line to your mysql-ds.xml file, do so and give it a shot.
i hope it helps
b.r.
ciapek -
3. Re: DataSource to MySQL with Axis2 and JBoss
zolv Jun 19, 2007 4:15 AM (in response to zolv)"ciaciapek" wrote:
...
<use-java-context>false</use-java-context>
...
Thx, It works!
zolv