Hello,
I'd like to use SAPDB with JBoss 3.2.2. but I didn't success to connect SAPDB.
I copy the sample file called "sapdb-ds.xml" with my specified values in the directory "deploy".
I copy the jdbc driver of SAPDB "sapdb.jar" in the directory $JBOSS_HOME/server/all/lib/".
When I deploy an EJB CMP using this datasource I get the following error :
"16:49:31,406 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.j2ee:jndiName=HumainBean,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
source: SapdbDS; - nested throwable: (javax.naming.NameNotFoundException: Sapdb
DS not bound)]"
Any idea ? Have somebody succeed to connect Jboss and SapDB ?
That are my "sapdb-ds.xml" file :
<local-tx-datasource>
<jndi-name>SapdbDS</jndi-name>
<connection-url>jdbc:sapdb://127.0.0.1/TEST</connection-url>
<driver-class>com.sap.dbtech.jdbc.DriverSapDB</driver-class>
<user-name>admin</user-name>
admin
</local-tx-datasource>
Thanks for your help
Xavier MOGHRABI
Ok that's topic is done because I've found the problem. In fact, the last example works but the jndi to call the datasource is : j'ava:/SapdbDS' and not 'SapdbDS'
Xavier