Hi,
i have a maven web project developed with Hibernate 4.3.5.Final and Spring 4.3.7.RELEASE.
i want to run this project with Jboss EAP-6.4.0
i added the datasource in the file standalone.xml
<subsystem xmlns="urn:jboss:domain:datasources:1.2">
<datasources>
<datasource jndi-name="java:jboss/MySqlMP" pool-name="MPDatasource" enabled="true">
<connection-url>jdbc:mysql://localhost:3306/marketplace</connection-url>
<driver>mysql</driver>
<pool>
<min-pool-size>0</min-pool-size>
<max-pool-size>20</max-pool-size>
</pool>
<security>
<user-name>root</user-name>
<password>Welcome01</password>
</security>
<validation>
<valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker"/>
<exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter"/>
</validation>
</datasource>
<drivers>
<driver name="mysql" module="com.mysql">
<xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
</driver>
</drivers>
</datasources>
</subsystem>
how can i add my maven module under jboss so that i can deploy it? (I want to manually add without using an IDE)
Thanks.
Comments