Hello Im using getRealPath() to acces config files within my web app structure, but Weblogic does not extract the .war file but works directly from then, so the proper directories are not being made. This results in that getRealPath returns null. Is there any way to configure Weblogic 6.1 to extract the .war files ? My .war file works perfectly with e.g tomcat 3.x & 4.x. I also tryed Jrun, worked fine aswell.
I have read somewhere in the documentation that it always return null, when it cannot find a valid path info. I faced the same problem using Weblogic 5.1. Hold on ... I'll see if I can find the document
Actually i read that to, and the thing is that it cant finnd the valid path info only because Weblogic does not extract the war file but works within it. If you use e.g Tomcat it extracts your war file and everything works fine. Is there maybe a way to modify Weblogic server to extract war files ?? I have to read curtain conf files within the structure and also upload files
Welcome to the JavaRanch! Please adjust your displayed name to meet the JavaRanch Naming Policy. You can change it here. Thanks! and welcome to the JavaRanch! [ June 14, 2002: Message edited by: Paul Stevens ]