You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/07/10 21:40:02 UTC
Re: Struts throws ServletException when parsing in Borland Enterprise Server 5.0 - works great in Tomcat
Subject: Re: Struts throws ServletException when parsing in Borland Enterprise Server 5.0 - works great in Tomcat
From: "mark" <ma...@theswindellscouk.nospam>
===
I had a similar problem running the struts examples under BES 5.0. When
investigating the root cause I found that the problem was resolving DTDs
beginning besjar. In the installation docs Borland App Server 4.5 needs no
further steps for Struts applications. For Borland Enterprise Server 5+ it
seems the following additional step is required :-
Add the following VM parameter (eg add to commandline for your partition)
-Djava.protocol.handler.pkgs=com.borland.enterprise.protocol
HTH
Mark
"Karim D. Saloojee" <ka...@hotpop.com> wrote in message
news:mailman.1021395061.19726.struts@basebeans.com...
> Hi
>
> This is the exception that is written out when I migrate my app from
Tomcat
> 4 to BES 5.
>
> The struts-config.xml file is ok cause I test my app in standalone Tomcat
> and it works. Only the controller servlet will not come up in BES, which
btw
> also uses Tomcat.
>
> TIA,
> Karim
>
> [Mon May 13 16:36:35 CAT 2002] stdout: resolveEntity('-//Apache Software
> Foundation//DTD Struts Configuration 1.0//EN',
> 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
> [Mon May 13 16:36:35 CAT 2002] stdout: Resolving to alternate DTD
>
'besjar:C|\BorlandEnterpriseServer\var\servers\ChrisN\partitions\standard\tm
>
p\tmpbes_61182struts.jar#org/apache/struts/resources/struts-config_1_0.dtd'
> [Mon May 13 16:36:35 CAT 2002] stdout: StandardContext[/struts1]: Servlet
> /struts1 threw load() exception: javax.servlet.ServletException: Parsing
> error processing resource path /WEB-INF/struts-config.xml
> [Mon May 13 16:36:35 CAT 2002] stdout: javax.servlet.ServletException:
> Parsing error processing resource path /WEB-INF/struts-config.xml
> [Mon May 13 16:36:35 CAT 2002] stdout: at
>
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337)
> [Mon May 13 16:36:35 CAT 2002] stdout: at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
<snip>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>