-
1. Re: jboss-client.xml - where do I put it.
starksm64 Feb 2, 2005 1:09 PM (in response to peake)
... in the META-INF/jboss-client.xml descriptor of the application client jar ... -
2. Re: jboss-client.xml - where do I put it.
peake Feb 2, 2005 2:26 PM (in response to peake)Sorry for the unclear question.
That is good information and I appreciate it but I guess I did not ask a clear question: I am doing that, but how in the world would that register a JNDI environment??
I'm getting this:
javax.naming.NameNotFoundException: importer-client not bound
So, it is finding it on client side, but cannot resolve it.
Isn't that correct?
So, my jboss-client.xml names it 'importer-client'. But that is the client asking for something that is 'registered' how?????
Example:
<jboss-client>
<jndi-name>importer-client</jndi-name>
<!-- EJB References -->
<ejb-ref>
<ejb-ref-name>ejb/UserInfoSession</ejb-ref-name>
<jndi-name>ejb/UserInfoSession</jndi-name>
</ejb-ref>
<ejb-ref>
<ejb-ref-name>ejb/WorkplaceSessionBean</ejb-ref-name>
<jndi-name>ejb/WorkplaceSessionBean</jndi-name>
</ejb-ref>
............................. more
The same same article/wiki says this:
" defined in the standard application-client.xml"
I have ears and ejb jars.
Do I need to have some other deployment descriptor to register this?
I am guessing yes.
any article doc would be appreciated.