Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958382

Prashant_Basawa
stranger


Reged: 04/24/05
Posts: 1
Issue loading properties file in an EAR
      01/22/07 10:45 AM

Hi,

My ear contain several ejb jar files. An EJB is trying load a properties file which outside the jar file which contains the EJB. But its in ear itself.

EAR.ear
|
|-----EJB.jar
|
|-----properties
``````````|-----my.properties

I'm using this.getClassLoader().getResourceAsStream() method. Still its not able to find the properties file.

Please help me.

Rgds
Prashant

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Issue loading properties file in an EAR Prashant_Basawa 01/22/07 10:45 AM

Extra information
0 registered and 2 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 11436

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5