Hello,
Could someone help or advice me : I'm trying to test my EJB from a java
application but do not succeed at all.
I'm working with Eclipse 3.1.1 (WTP conf) and JBoss server 4.0.3(SP1).
I succeed in building my EJB deploying it on the server through an 'ear' file.
Everything works fine when I put some servlet and html file in my deployed
application, I can get interface of my EJB and use it.
But when I just deploy my EJB (no servlet, no web archive in my application),
I'm unable to test it from a simple Java application, I get the following error
:
java.lang.RuntimeException: Need to specify class name in environment or system
property, or as an applet parameter, or in an application resource file:
java.naming.factory.initial
at TestSimpleMonEJB.main(TestSimpleMonEJB.java:41)
Do I miss something in the configuration ? do I use a bad JNDI name ? sth else ?
In advance thanks for your help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935758#3935758
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935758
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user