-
1. Re: jboss 3.0.0 & Mysql
rsal Apr 19, 2002 2:28 PM (in response to showyou)Hi,
Actually the configuration has changed now. Use the 2.0.11 driver for it to work. I have attached how the new config file for mysql-service.xml looks now.
You will need to include something like this in $JBOSS_DIST/server/default/deploy/login-conf.xml:
<application-policy name = "MySqlDbRealm">
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
flag = "required">
<module-option name = "principal">foo</module-option>
<module-option name = "userName">foo</module-option>
<module-option name = "password">mysql</module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=warmwinterDS</module-option>
</login-module>
</application-policy>
That should do the trick :)
HTH,
/rick -
2. Re: jboss 3.0.0 & Mysql
feeling Apr 22, 2002 2:46 PM (in response to showyou)Thank you for sharing your knowledge. I have been struggling for a few days now with the mysql configuration problems and after using your file, everything works great.
Fee -
3. Re: jboss 3.0.0 & Mysql
rsal Apr 22, 2002 3:29 PM (in response to showyou)No problem. Glad to help. :)
/rick -
4. Re: jboss 3.0.0 & Mysql
adtran May 6, 2002 8:28 PM (in response to showyou)Hello,
I download the file "mysql-service.xml" but can not VI it. Is this file encrypted ? can you help out.
Thank alots,
PS. this is my email address dauaitran@excite.com or kleung@wlwa.com -
5. Re: jboss 3.0.0 & Mysql
adtran May 6, 2002 10:07 PM (in response to showyou)Hi,
I downloaded the mysql-service.xml and created the login-conf.xml. After I started JBoss 3.0RC1, I found alots of WARNING messages. I attached these WARNING in a file named jboss.log for you to look at. Is this the same WARN that you had or I did something very smart that causes this WARN. By the way, thank you for your file which was great help to me. If you know how to fix these WARNING(s) please tell me so.
Ai Tran -
6. Re: jboss 3.0.0 & Mysql
benw May 7, 2002 12:09 PM (in response to showyou)I am guessing you downloaded the latest configuration file from SourceForge. If so, it will only work with RC2. The configuration files have changed from RC1 to RC2. Try using it with RC2. You should upgrade anyway as RC1 is no longer supported by the powers that be.
-
7. Re: jboss 3.0.0 & Mysql
adtran May 18, 2002 4:35 PM (in response to showyou)Where is Jboss RC2? I could not find it. Could you tell me where it is?
Thank you
Adtran -
8. Re: jboss 3.0.0 & Mysql
davidjencks May 18, 2002 10:07 PM (in response to showyou)http://sourceforge.net/project/showfiles.php?group_id=22866
What would make this easier to find? Eliminating links to individual downloads from the jboss web site download page and just referring to this page? Any other ideas?