• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classloader problem in Websphere

 
bob bobby
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

Please excuse me if this question is trivial - I am new to java web development.

okay - I have a war file that is being deployed onto websphere v6.

I have had to package this all up into an ear file. This is a spring/hibernate application.

The structure of my applicaiton is

EAR
META-INF
- application.xml
- was.policy

WAR FILE

Now - my war file looks for an external properties file which has our application startup properties. It is located in D:/data/config/myprops.properties

When deploying the ear file to WAS - I have made sure that D:/data/config is on the server classpath - however - when I start my application - I get a FileNotFoundException - even htough the file is there. Does anyone have any ideas? I beleive this could be a classpath issue - if so - how do I go about fixing this??? Is there some config I am missing?

Cheers all.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by bob bobby:
my war file looks for an external properties file

Can you shows the code (or XML property) that refers to this file?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic