[jbdevstudio-users] Setting up datasource in JBoss

Swetal Parikh jbdevstudio-users at lists.jboss.org
Tue Apr 22 14:12:29 EDT 2014


Hi Burr,
Thanks for the reply. I tried to create data source using the tool you mentioned. It created following XML (New_MySQL-ds.xml) :
*<?xml version="1.0" encoding="UTF-8"?>*
*<datasources xmlns="http://www.jboss.org/ironjacamar/schema">*
*<datasource jndi-name="java:jboss/datasources/New_MySQL" enabled="true"*
*     use-java-context="true" pool-name="New_MySQL">*
*  <connection-url>jdbc:mysql://localhost:3306/addressbook</connection-url>*
*  <driver>mysql-connector-java-5.1.30-bin.jar</driver>*
*  <pool></pool>*
*  <security>*
*   <user-name>root</user-name>*
*   <password>test1102</password>*
*  </security>*
*</datasource>*
*</datasources>*

But I am still getting following error when I bring up the application server:
*13:06:01,920 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report*
*JBAS014777:   Services which failed to start:      service jboss.deployment.unit."TestFrontEnd.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."TestFrontEnd.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "TestFrontEnd.war"*
*      service jboss.deployment.unit."mysql-ds.xml".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."mysql-ds.xml".PARSE: JBAS018733: Failed to process phase PARSE of deployment "mysql-ds.xml"*

Posted by forums
Original post: https://community.jboss.org/message/869815#869815



More information about the jbdevstudio-users mailing list