• Post Reply Bookmark Topic Watch Topic
  • New Topic

where to put the properties file in WebLogic10 server web & Hibernate application  RSS feed

 
Vijay Gadde
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rancee's, this is regarding properties file where I will have properties for my SMTP server etc. In my Hibernate class I am using this File class to read properties and its working as a stand alone java code but when I deploy this code on WebLogic10 server as a WAR file and run application I am getting File not found exception.
Any suggestions where to keep the Properties file in a webapplication, I tested the same by keeping in src root folder still same problem.


Any suggestions please, that would be great help.
Thanks,VIJAY
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!