-
1. Re: Accessing adapter through servlet
davidjencks Sep 10, 2002 6:16 PM (in response to guru)As long as you are running tomcat integrated in the jboss vm it is possible, look it up as java:/jndiname where jndiname is specificed in the *-service.xml file deploying your adapter.
The java:/context is not accessible outside the jboss vm and jca adapters are not intended to be accessible outside the vm in which they are deployed. -
2. Re: Accessing adapter through servlet
guru Sep 11, 2002 5:21 AM (in response to guru)Hi David,
i accept ur argument,
i have deployed the adapter in JBOSS along with *-servive.xml file.
im deploying my (.war) file in Tomcat webapps directory.
how will i configure my web.xml file ?
how will i be able to lookup the adapter .... is it through resource-reference or direct JNDI lookup ..
coz, we used to lookup the adapter only thrugh its reference configured in web.xml file.... and JNDI Name
Tomocat doesn't comeup with anyof its xml file for .war configuration.... it gives only server.xml file ....
i would like to know how to confgure my JNDI name and give it reference .. so that in my web.xml, i can have resource-ref to the adapter ....
please let me know if i understood anything wrong.
regards,
Gurumurthy R. -
3. Re: Accessing adapter through servlet
davidjencks Sep 12, 2002 1:07 PM (in response to guru)You'll probably get better info asking on the servlet forum, this is really a servlet container config question.