aspose file tools*
The moose likes Other Java Products and Servers and the fly likes FileNotFoundException - ejb.properties not found wihle doing JNDI lookup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "FileNotFoundException - ejb.properties not found wihle doing JNDI lookup " Watch "FileNotFoundException - ejb.properties not found wihle doing JNDI lookup " New topic
Author

FileNotFoundException - ejb.properties not found wihle doing JNDI lookup

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
Hi,

We are using pramati 5.0 server. We have included a jar file in our project which invokes the ejb. We have instantiated a class from .jar file. We have called a static method on the instantiated class which internally invokes the deployed ejb. We are getting the following exception. please suggest some pointers.


[Edited by Jaikiran - Changed subject line]
[ November 25, 2008: Message edited by: Jaikiran Pai ]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166


java.io.FileNotFoundException: E:\PServer\server\nodes\TEST\archives\public_html\config\security.properties (The syst
em cannot find the path specified)
......

java.io.FileNotFoundException: E:\PServer\server\nodes\TEST\archives\public_html\config\ejb.properties (The system ca
nnot find the path specified)
....
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:133)
at javax.naming.InitialContext.lookup(InitialContext.java:347)

Looks like the Pramati server expects these files while doing the lookup. I'll move this to an appropriate forum where you might be a better response.


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

And yes, please use a better subject line

I'll change the subject line from "ejb.properties" to something better.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FileNotFoundException - ejb.properties not found wihle doing JNDI lookup