-
1. Re: DeploymentException: expected one true-mapping tag
aloubyansky Oct 12, 2002 12:08 PM (in response to jlruizr)The DeploymentException says that in standardjbosscmp-jdbc.xml for MySql or in your jbosscmp-jdbc.xml type-mapping element has two true-mapping elements while must have only one. Check it and post your findings.
That MBeanException says that connection factory wasn't deployed correctly. Probably, you used the configuration from the previous version. Try to use the template from the version you are upgrading to. -
2. Re: DeploymentException: expected one true-mapping tag
jlruizr Oct 14, 2002 2:39 PM (in response to jlruizr)I couldn't find the two true-mapping elements in the standardjbosscmp-jdbc.xml.
Instead, I refreshed the standardjbosscmp-jdbc.xml from my downloaded jboss-3.0.3xxx.zip file and copied it down to the conf folder and modified this one to use MySQL. This worked.
I did the same thing for the mysql-service.xml, which was giving the MBean error and it worked.
Thanks.
PS. If you want a copy of the standardjbosscmp-jdbc.xml that is not working, let me know. -
3. Re: DeploymentException: expected one true-mapping tag
jlruizr Oct 14, 2002 2:40 PM (in response to jlruizr)I couldn't find the two true-mapping elements in the standardjbosscmp-jdbc.xml.
Instead, I refreshed the standardjbosscmp-jdbc.xml from my downloaded jboss-3.0.3xxx.zip file and copied it down to the conf folder and modified this one to use MySQL. This worked.
I did the same thing for the mysql-service.xml, which was giving the MBean error and it worked.
Thanks.
PS. If you want a copy of the standardjbosscmp-jdbc.xml that is not working, let me know. -
4. Re: DeploymentException: expected one true-mapping tag
aloubyansky Oct 15, 2002 2:58 AM (in response to jlruizr)Did come with JBoss? Didn't you modify it? Post it, please.