You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Auradkar, Rajendra V." <RV...@stthomas.edu> on 2004/02/18 20:30:37 UTC
Help needed in parser errors
I have been working under Tomcat so far with Tapestry and had no problems.
Now I am moving the application to Resin and I get the followin error. I
tried storing the jar files both in the common libs directory as well as
webapp specific lib directory and get the same problem. ANY HELP WILL BE
APPRECIATED AS I AM DESPERATE.
org.apache.tapestry.ApplicationServlet: init
[2004/02/18 13:27:09] Unable to parse application specification
context:/WEB-INF/Evolve.application.
org.apache.tapestry.util.xml.DocumentParseException: Error at (7, 0:
Document context:/WEB-INF/Evolve.application has an unexpected public id of
'http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd'.
at
org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser.java
:693)
at
org.apache.tapestry.parse.SpecificationParser.parseApplicationSpecification(
SpecificationParser.java:765)
Thanks in advance,
Raj Auradkar
Re: Help needed in parser errors
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
Could you provide your complete Evolve.application file?
Did you try an XML validator on it? I suspect something fundamental is
invalid with your .application file. Try using Ant's <xmlvalidate>
task or an IDE that validates the .application file.
Erik
On Feb 18, 2004, at 2:30 PM, Auradkar, Rajendra V. wrote:
> I have been working under Tomcat so far with Tapestry and had no
> problems.
> Now I am moving the application to Resin and I get the followin error.
> I
> tried storing the jar files both in the common libs directory as well
> as
> webapp specific lib directory and get the same problem. ANY HELP WILL
> BE
> APPRECIATED AS I AM DESPERATE.
>
> org.apache.tapestry.ApplicationServlet: init
> [2004/02/18 13:27:09] Unable to parse application specification
> context:/WEB-INF/Evolve.application.
> org.apache.tapestry.util.xml.DocumentParseException: Error at (7, 0:
> Document context:/WEB-INF/Evolve.application has an unexpected public
> id of
> 'http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd'.
> at
> org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser
> .java
> :693)
> at
> org.apache.tapestry.parse.SpecificationParser.parseApplicationSpecifica
> tion(
> SpecificationParser.java:765)
>
>
> Thanks in advance,
> Raj Auradkar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Help needed in parser errors
Posted by Marilen Corciovei <le...@nemesisit.rdsnet.ro>.
I had some similar problems and I could only blaim resin xml parser.
Everything worked ok under tomcat but not under resin. The following
solved the problem:
./httpd.sh -classpath /${TOMCAT}/common/endorsed/xmlParserAPIs.jar:
/${TOMCAT}/common/endorsed/xercesImpl.jar. This added Tomcat parsers
before the default resin parsers.
Len
On Wed, 2004-02-18 at 21:30, Auradkar, Rajendra V. wrote:
> I have been working under Tomcat so far with Tapestry and had no problems.
> Now I am moving the application to Resin and I get the followin error. I
> tried storing the jar files both in the common libs directory as well as
> webapp specific lib directory and get the same problem. ANY HELP WILL BE
> APPRECIATED AS I AM DESPERATE.
>
> org.apache.tapestry.ApplicationServlet: init
> [2004/02/18 13:27:09] Unable to parse application specification
> context:/WEB-INF/Evolve.application.
> org.apache.tapestry.util.xml.DocumentParseException: Error at (7, 0:
> Document context:/WEB-INF/Evolve.application has an unexpected public id of
> 'http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd'.
> at
> org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser.java
> :693)
> at
> org.apache.tapestry.parse.SpecificationParser.parseApplicationSpecification(
> SpecificationParser.java:765)
>
>
> Thanks in advance,
> Raj Auradkar
>
>
>
> ______________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org