Hi guys...
First of all, I wanna thanks all that help me with the another question, very
thanks, here is another simple one......
I create a simple client to access my session bean (using a web client
everything is work properly, but when I try to use a simple java application
client I am get an error).
| //My JNDI file has the follow client
| j2ee.Client=ConverterClient
|
| //My jboss-client.xml
| <jndi-name>ConverterClient</jndi-name>
| <ejb-ref>
| <ejb-ref-name>ejb/SimpleConverter</ejb-ref-name>
| <jndi-name>ClientConverter</jndi-name>
| </ejb-ref>
|
| //My application-client.xml
| //...
| <ejb-ref>
| <ejb-ref-name>ejb/SimpleConverter</ejb-ref-name>
| </ejb-ref>
| //...
| </ejb-ref>
|
My application was packaged into a JAR file as follow:
META-INF/
MANIFEST.MF
jboss-client.xml
application-client.cml
jndi.properties
client/
ConverterClient
When I try to run with java -jar ConverterClient.jar I am getting an
javax.naming.NameNotFoundException: ConverterClient not bound
could anyone help me?!?! Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880869#3880869
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880869
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user