Subject: Re: Help with Struts1.1b and IPlanet 6.0 SP1
From: Ka-Wai Chan <[EMAIL PROTECTED]>
 ===
Struts 1.1b requires a jaxp1.1 compliant xml parser,  I solved this problem by going 
into
Iplanet's webadmin's JVM config and adding the xerces.jar directly there.   The parser 
that
comes with Iplanet 6 is jaxp.jar which is only jaxp1.0 compliant...

I have ran into a different problem, I am using log4j for logging.  My IPlanet starts 
up
fine, but as soon as I try to access any resources I get the error below.  My app 
works fine
with Tomcat 4.03.  It seems like that the struts code using commons-logging can't find 
my
log4j configuration and instances?  Anyone have this problem? and a solution?  I have a
servlet which starts up and initializes log4j with a log4j.properties file and log4j 
messages
are working fine.

Thanks
Ka-Wai Chan

01/May/2002:13:59:46] failure ( 9794): Internal error: Unexpected error condition 
thrown
(unknown exception,no description), stack:
java.lang.ExceptionInInitializerError: 
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: No suitable Log constructor
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:494)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:285)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:255)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
        at 
org.apache.struts.util.MessageResourcesFactory.(MessageResourcesFactory.java:135)
        at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:557)
        at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:989)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:411)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98)
        at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317)
        at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170)
        at 
com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:675)




Vlad Levin wrote:

> Some help would be greatly appreciated for the
> following problem:
>
> We cannot get an application developed using struts
> 1.1 (milestone release) working with IPlanet 6.0
> Service Pack 1.
>
> If we use Struts 1.0, we can get things running.
> It seems as though there is a problem loading the
> struts-config.xml file.
>
> The following error shows up in the log:
>
> [01/May/2002:09:09:32] info (25705):
> vs(https-ris_dev_7306)servlet 'action' class =
> 'org.apache.struts.action.ActionServlet'
> loaded in context = '/ris'
> [01/May/2002:09:09:32] info (25705): action: init
> [01/May/2002:09:09:33] warning (25705):
> vs(https-ris_dev_7306)ServletException thrown in
> servlet.init; context = /ris, servlet
> = 'action'; stack tace:
> javax.servlet.UnavailableException: Parsing error
> processing resource path
> /WEB-INF/struts-config.xml
>  at
> org.apache.struts.action.ActionServlet.initApplicationConfig(ActionServlet.java:780)
>
>  at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:417)
>
>  at
> javax.servlet.GenericServlet.init(GenericServlet.java:258)
>
>  at
> 
>com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98)
>
>  at
> com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317)
>
>  at
> com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170)
>
>  at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:675)
>
> ______________________________________________________________________
> Find, Connect Date! http://personals.yahoo.ca
>
> --
> 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]>

Reply via email to