Hi, I'm doing my very first EJB helloworld example. i have successfully compile and deployed ejbs using ant build.xml file. but when i try to run helloworld client from ant build.xml it gives the following error. client: [java] java.io.FileNotFoundException: G:\jboss-3.2.1\config\security.proper ties (The system cannot find the path specified) can someone help me out. thanks! PRADEEP
Two things to check: 1 - Does your JBoss log show any problems? Look specifically for JNDI related things in this case. 2 - Are you sure you are picking up the right jndi.properties and have the JBoss j2ee.jar and not another one like sun's?
Joined: Jun 14, 2001
Hi norman , thanks for the reply. do i have to set j2ee.jar or jboss-j2ee.jar into the classpath? thank you! Pradeep
Joined: Jul 21, 2003
Use the one provided by jboss. I don't know the exact filename as I don't have JBoss on the machine I'm responding from...