That's right - I forgot...been 4 years since I coded anything on Unix. -----Original Message----- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 2:04 PM To: Struts Users Mailing List Subject: Re: Parsing error processing resource path /WEB-INF/struts-config .xml
Actually, from a (Unix) filesystem perspective, "/" is *the* root (the directory all others live under). Your "home" directory probably lives at "~". If what you are asking is how to represent the path to your struts-config.xml file, I can say I always list mine as "/WEB-INF/conf/struts-default.xml" for my default application. Tomcat does fine with this. Check that your case is right - and that you haven't made a typographical error somewhere. Failing that, I'd be tempted to say there's something special about WebLogic that's causing the error. ... don't use an absolute path :-) That's very non-portable. Verify that you do, in fact, have a file named "struts-config.xml" that is in the path you have specified. Make sure the case matches and everything. I think this error can also be thrown if you have a really messed up struts-config file. If it worked under windows I'd think it'd work under Unix though. Galbreath, Mark wrote: >I am no Unix guru, but it seems to me your path is not Unix-enough. A "/" >in Unix is your root (home) directory, not relative unless interpretted by a >web server. Try an absolute path to WEB-INF. > >Mark > >-----Original Message----- >From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]] >Sent: Friday, October 04, 2002 1:20 PM >To: 'Struts Users Mailing List' >Subject: RE: Parsing error processing resource path >/WEB-INF/struts-config .xml > > >Can any body help me? > >-----Original Message----- >From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]] >Sent: Friday, October 04, 2002 12:09 PM >To: 'Struts Users Mailing List' >Subject: Parsing error processing resource path >/WEB-INF/struts-config.xml > > >Hello All, > I am getting the following exception with Weblogic 6.1 SP3 in UNIX. >My applciation is working fine in WINDOWS 2000, Just I copied the >application to the Unix platform, I am getting the following error. Does >anybody know what would be the problem? > >Thanks for the Help! > >-Manju > >javax.servlet.UnavailableException: Parsing error processing resource path >/WEB-INF/struts-config.xml > at >org.apache.struts.action.ActionServlet.initApplicationConfig(ActionServlet. j >ava:780) > at >org.apache.struts.action.ActionServlet.init(ActionServlet.java:417) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at >weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.jav a >:713) > at >weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.j a >va:656) > at >weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.ja v >a:601) > at >weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServlet C >ontext.java:2272) > at >weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServle t >Context.java:2216) > at >weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:495) > at >weblogic.servlet.internal.WebService.preloadServlets(WebService.java:450) > at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49) > -- Eddie Bush -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>