This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Classloader problem in Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Classloader problem in Websphere" Watch "Classloader problem in Websphere" New topic

Classloader problem in Websphere

bob bobby

Joined: Oct 07, 2008
Posts: 1
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

- application.xml
- was.policy


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

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

Joined: May 26, 2003
Posts: 32633

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?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Classloader problem in Websphere
It's not a secret anymore!