I've just made my SAP to JBOSS3.0 connection reference to the issue jboss 3.0.2 and oracle 8.1.7 .http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ works quite well as you follow these steps:
3.copy sapdbc.jar to $JBOSS/server/default/lib.
4.copied sapdb-service.xml to $JBOSS/server/default/deploy and edited it.
<config-property name="ConnectionURL" type="java.lang.String">jdbc:sapdb://127.0.0.1/TST</config-property>
<config-property name="DriverClass" type="java.lang.String">com.sap.dbtech.jdbc.DriverSapDB</config-property>
<!--set these only if you want only default logins, not through JAAS -->
<config-property name="UserName" type="java.lang.String">test</config-property>
<config-property name="Password" type="java.lang.String">test</config-property>
5.edit jbosscmp-jdbc.xml that among your project deploy xml files.
now you will work well with SAPDB in JBoss3.0.
Could you please tell what version of SAP JDBC driver you are using?
I am able to connect to SAPDB from JBoss3.0 and execute SQL statements from my EJBs. However, once I have delay of 15 minutes, the subsequent SQLs start failing.
It did not appear stable to me.
From your message it appears you are using JBoss 3.2?
What is your version of SAP JDBC driver?
Is the environment stable?
one of our production sapdb databases just hit a gig of data (all inputs) and hasn't even needed to be restarted in about a years worth of up-time. (running on various jboss versions).
This has been with a couple of different drivers too, but mostly 21a.
If you get it set up, which can be a problem, then it is well worth your time