Hi,
I am trying to execute a dos command which calls a class which then uses some EJB's in it's processing.
I keep getting errors at the line jndiContext.lookup("java:comp/env/ejb/" + ejbName); in my class
I have added the fscontext.jar and providerutil.jar files to my lib folder, and added them to my classpath's in my dos command, but this still has not resolved my problem.
My EJB jar files are stored under the deploy folder under my JRun server.
Do you know what I do if I am to replace the line ("java:comp/env/ejb/" + ejbName); in my class. Do I use somew other line of code to reference my EJB's or do I need to add somethign to make them accessible using the line above.
Any help on this would be greatly appreciated.
Note: My EJB's worked fine when i used them from servlets and JSP. It just seems to be a problem i am getting through Dos.
[ January 27, 2003: Message edited by: Fergus Red ]
I am trying to execute a dos command which calls a class which then uses some EJB's in it's processing.
I keep getting errors at the line jndiContext.lookup("java:comp/env/ejb/" + ejbName); in my class
I have added the fscontext.jar and providerutil.jar files to my lib folder, and added them to my classpath's in my dos command, but this still has not resolved my problem.
My EJB jar files are stored under the deploy folder under my JRun server.
Do you know what I do if I am to replace the line ("java:comp/env/ejb/" + ejbName); in my class. Do I use somew other line of code to reference my EJB's or do I need to add somethign to make them accessible using the line above.
Any help on this would be greatly appreciated.
Note: My EJB's worked fine when i used them from servlets and JSP. It just seems to be a problem i am getting through Dos.
[ January 27, 2003: Message edited by: Fergus Red ]