Subject: Re: Struts throws ServletException when parsing in Borland Enterprise Server 5.0 - works great in Tomcat From: "mark" <[EMAIL PROTECTED]> === 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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

