File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FileNotFoundException - ejb.properties not found wihle doing JNDI lookup

 
Neeraj Vij
Ranch Hand
Posts: 315
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And yes, please use a better subject line

I'll change the subject line from "ejb.properties" to something better.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic