Hi
 
I'm trying to call an EJB running on OC4J from a servlet. I want to use a ejb-ref 
element in web.xml like:

<ejb-ref>
    <ejb-ref-name>ejb/MyEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>test.MyEJBHome</home>
    <remote>test.MyEJB</remote>
    <ejb-link>ormi://localhost:23791/ejb/MyEJB</ejb-link>
</ejb-ref>

How do I configure Tomcat to use an URLContextFactory of my own making to handle the 
'ormi:' schema ?

(I vaguely suspect that it has something to do with <resource-ref> elements,  but that 
seems to only apply to stuff bound beneath the java: schema..)

Any hints would be appreciated

best regards Christian Surlykke

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to