This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Don't see properties files after deployment from Jdeveloper 11g Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Don Watch "Don New topic
Author

Don't see properties files after deployment from Jdeveloper 11g

Ong Vua
Ranch Hand

Joined: Jan 24, 2008
Posts: 59
I created a web project with several properties files and deployed it as a WAR file onto Weblogic 11g. When I opened up the WAR file, I can see the properties files in the WEB-INF\classes folder.

After I deployed it using Jdeveloper 11g, I searched for these properties files on the Weblogic server but I couldn't find any. Do you know where Weblogic puts the properties files after it deployed a WAR file? Or it does not explode the WAR file but uses it as it is.

Thanks
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Why would you need to know this ? Why not put the properties file inside a common folder across all environments ? If the properties file is in the classpath it can be loaded into your code with mmm.. now what is that method name... getResourceAsStream() if I am not mistaken


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
 
subject: Don't see properties files after deployment from Jdeveloper 11g
 
Similar Threads
Struts Validation framework error
not using tomcat using weblogic
Struts And Weblogic
java.sql.SQLException: No suitable driver
URGENT (plz): Strange exception when deploying to WebLogic 6.1