Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

FileNotFoundException - ejb.properties not found wihle doing JNDI lookup

 
Ranch Hand
Posts: 315
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic