[jboss-user] [Beginners Corner] - Datasource not deployed or type mapping not initialized
AJanz
do-not-reply at jboss.com
Mon Sep 22 06:47:32 EDT 2008
I tried to add a datasource to a jboss 4.2.2 server
datasource is:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <datasources>
|
| <local-tx-datasource>
| <jndi-name>JbpmDS</jndi-name> <!-- look it up with "java:/JbpmDs" -->
| <connection-url>jdbc:oracle:thin:@server:1521:dms</connection-url>
| <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
| <user-name>user</user-name>
| <password>pass</password>
| <min-pool-size>1</min-pool-size>
| <max-pool-size>15</max-pool-size>
| <idle-timeout-minutes>0</idle-timeout-minutes>
| <track-statements>true</track-statements>
| <meta-data>
| <type-mapping>Oracle9i</type-mapping>
| </meta-data>
| </local-tx-datasource>
| </datasources>
|
in standardjbosscmp-jdbc.xml the type mapping oracle9i is defined.
but i still got the error
type-mapping is not initialized: java:JbpmDS was not deployed or type-mapping was not configured
any idea why ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177998#4177998
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177998
More information about the jboss-user
mailing list