• Post Reply Bookmark Topic Watch Topic
  • New Topic

FileNotFoundException - ejb.properties not found wihle doing JNDI lookup

 
Neeraj Vij
Ranch Hand
Posts: 315
  • 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
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • 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
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!