File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with external properties file in WebSphere 7

 
Arka Mitra
Greenhorn
Posts: 16
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to WebSphere Application Server and want to know a point regarding deployment of web application in WebSphere 7. I have developed a sample web application which will read the data from an external properties file. The properties file is located in a different path in my system and is not included inside the war file. The path for the properties file path is hardcoded in the code.

When I am trying to deploy and run the application using Tomcat, no problem is occurring but if I try to deploy the same application in WebSphere 7, an error is throwing as properties file path not found. Please give me some clue to fix this issue. Please suggest if I need to add anything in the deployment descriptor to fix this. Thanks.
 
Arka Mitra
Greenhorn
Posts: 16
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to use only WebSphere 7 and not any other application servers. Hence please provide me any clues so that the web application (war) can be deployed in WebSphere 7 successfully.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic