-
1. Re: Using other datasources than DefaultDS in JBoss 3
ibruell Apr 26, 2002 7:52 AM (in response to stitzl)you have to create a oracle-service.xml file like hsqldb-service.xml in the deploy directory.
In cvs are more some examples -
2. Re: Using other datasources than DefaultDS in JBoss 3
shogun Apr 26, 2002 7:58 AM (in response to stitzl)I had the same problem, because I had a wrong tag in my mysql-srvice.xml. Check, if your LocalTxCM for your DS is started. Therefor you can use a browser and connect to your jboss over port 8082. You can find the entry under jboss.jca.
Shogun -
3. Re: Using other datasources than DefaultDS in JBoss 3
ibruell Apr 26, 2002 8:12 AM (in response to stitzl)Oooh, it seems that i haven't read the whole letter.
I had this error too. I have copied the hsqldb-service.xml and changed the required attributes.
After i have removed
<depends>jboss:service=SAPDB</depends>
it worked. -
4. Re: Using other datasources than DefaultDS in JBoss 3
stitzl Apr 26, 2002 8:46 AM (in response to stitzl)Shogun,
thanks a lot, that did it. As you proposed, the LocalTX*-services were not running for the datasource, so I dumped the downloaded example oracle-service.xml - which is WRONG and DOES NOT WORK with the current JBoss 3.0.0RC1 (but how should one figure this one out without the help of such competent advisors? ;)
After that I copied, adjusted and renamed the provided hsqldb-service.xml, as mentioned by ibruell. Now at last the jar deploys fine, but I still have some issues with the JDBC-SQL-mappings...
Thank you all for your quick help - it's always good if other people stumbled over the same errors before.
Cheers, Lars