• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Classloader problem in Websphere

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic