You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Mehrle <mi...@datasaur.com> on 2002/03/08 02:46:25 UTC

HELP! Problems with HTTPS extension for struts

I'm running into problems running the http extension at http://home1.gte.net/ditling/struts/

Below the error I get trying to launch index.jsp - anyone running into similar problems? BTW, after some research online, I replaced xerces.jar with crimson.jar in my WEB-INF/lib directory and I'm getting the indentical error. And yes, I'm running the lastest version of Tomcat and Struts, as well as JDK1.3 (don't want to touch JDK1.4 for now). Anyway, any good ideas would be appreciated...


type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:215)
	at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
	at java.lang.Thread.run(Thread.java:484)


root cause 

java.lang.ClassCastException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
	at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:139)
	at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
	at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:165)
	at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
	at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:345)
	at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:215)
	at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
	at java.lang.Thread.run(Thread.java:484)


RE: live progress...

Posted by Tim Sawyer <ts...@nildram.co.uk>.
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg23602.html

hth,

Tim.

-----Original Message-----
From: Keith Chew [mailto:keith.chew@jungledrum.co.nz]
Sent: Friday, March 08, 2002 2:02 AM
To: Struts Users Mailing List
Subject: live progress...


Hi

I would like to implement a live progress on a JSP, something like:

time = 0s
*********
Synchronizing database...

time = 5s
*********
Synchronizing database... DONE!
Sending mail to keith...

time =10s
*********
Synchronizing database... DONE!
Sending mail to keith... DONE!

Essentially, I need to flush the ouput to the page correct? Can I do this
from the Action class? I doubt this can be achieved because the MVC
architecture forces you to prepare the entire data for view. So, you cannot
flush part of the view from the Action.

Anyone done this kind of thing?

Keith


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


live progress...

Posted by Keith Chew <ke...@jungledrum.co.nz>.
Hi

I would like to implement a live progress on a JSP, something like:

time = 0s
*********
Synchronizing database...

time = 5s
*********
Synchronizing database... DONE!
Sending mail to keith...

time =10s
*********
Synchronizing database... DONE!
Sending mail to keith... DONE!

Essentially, I need to flush the ouput to the page correct? Can I do this
from the Action class? I doubt this can be achieved because the MVC
architecture forces you to prepare the entire data for view. So, you cannot
flush part of the view from the Action.

Anyone done this kind of thing?

Keith


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>