RE: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Galbreath, Mark

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.java
:713)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:656)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:601)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:2272)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
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)

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Eddie Bush

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.java
:713)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:656)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:601)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:2272)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
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]




RE: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Taylor, Jason

I use WLS 6.1 sp3 no problem.  I use the plain vanilla ActionServlet from a
nightly build in May (don't ask).  

I specify the init-param to the servlet in web.xml like this:
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param

I *don't* use Windoze to develop-- but the stack trace looks like you've got
a valid path?  Smart money is with Eddie and says you forgot to put a valid,
correctly-named and readable xml file in WEB-INF...

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 11:04 AM
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]



RE: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Galbreath, Mark

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]




RE: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Ramu, Manjukumar [PRDUS]

I checked the file name and path, both are correct.

-Original Message-
From: Taylor, Jason [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 2:33 PM
To: 'Struts Users Mailing List'
Subject: RE: Parsing error processing resource path
/WEB-INF/struts-config .xml


I use WLS 6.1 sp3 no problem.  I use the plain vanilla ActionServlet from a
nightly build in May (don't ask).  

I specify the init-param to the servlet in web.xml like this:
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param

I *don't* use Windoze to develop-- but the stack trace looks like you've got
a valid path?  Smart money is with Eddie and says you forgot to put a valid,
correctly-named and readable xml file in WEB-INF...

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 11:04 AM
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]



Re: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Eddie Bush

Why do I have a voice in the back of my head saying Didn't someone have 
to revert to sp1 to get things going??

If that's an option, you might explore it.  If it's not an option - I 
don't know what to say.  I can't say where the above thought comes from, 
but I seem to have some vague recollection that someone had to do that. 
 Don't quote me!  I could be wrong!  I have no problem associated with 
that fix, so I can't even begin to claim with any certainty this is 
the solution to your problem - looks like you're grasping for straws 
though, so here's one more for you ...

Ramu, Manjukumar [PRDUS] wrote:

I checked the file name and path, both are correct.


-- 
Eddie Bush




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]