After configuring the datasources in the jboss 5.0 AS, I deployed the jbpm web application.
Im getting the the exception.
java.lang.RuntimeException: mapped-name is required for simpleds of deployment webapple.war
at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceEnvRefs(WebResourceHand
at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:325)
The web.xml configuration is
simpleds
javax.sql.DataSource
The mysql-ds.xml configuration is
simpleds
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
jdbc:mysql://localhost:3306/testdb
abc
abc
解决方案
While deploying a web application in JBoss 5AS, We have to define the datasource in jboss-web.xml in web-inf.
java:simpleds
javax.sql.DataSource
java:simpleds