aspose file tools*
The moose likes JSP and the fly likes get a error compiling  jsp in jbuilder6,but it is right under weblogic. what's wrong Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "get a error compiling  jsp in jbuilder6,but it is right under weblogic. what Watch "get a error compiling  jsp in jbuilder6,but it is right under weblogic. what New topic
Author

get a error compiling jsp in jbuilder6,but it is right under weblogic. what's wrong

Tom long
Greenhorn

Joined: Apr 23, 2002
Posts: 7
I create a jsp file just for out print hello.
the jsp can work under weblogic.
but it will get an error under jbuilder6. I use the tomcat4.0 ships with jbuilder.
-------------------------------------------------
-------------------------------------------------
the exception is:
type Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception javax.servlet.ServletException: Servlet.init() for servlet debugjsp threw exception
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
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:2344)
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:163)
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.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:536)
root cause java.lang.ClassCastException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:103)
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:324)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
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:2344)
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:163)
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.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:536)
-------------------------------------------------
-------------------------------------------------
I have run some servlets under jbuilder with tomcat4.0, I think it is working right. but when compile jsp file, it is error.
any help?
thank you


scjp2
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
No clue...
I hope this helps
JohnJohn SmithSmith
Greenhorn

Joined: Aug 11, 2002
Posts: 7
Originally posted by Tom long:
I create a jsp file just for out print hello.
the jsp can work under weblogic.
but it will get an error under jbuilder6. I use the tomcat4.0 ships with jbuilder.
-------------------------------------------------
-------------------------------------------------
the exception is:
type Exception reportmessage Internal Server Errordescription The server encountered an internal root cause java.lang.ClassCastException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
at
-------------------------------------------------
-------------------------------------------------
I have run some servlets under jbuilder with tomcat4.0, I think it is working right. but when compile jsp file, it is error.
any help?
thank you

Instead of a completely unhelpful reply like the last person gave, how about one that might help.
It looks like you might not have the right version of the crimson XML package. Make sure the proper one is in your classpath.
Jay
Tre Quest
Greenhorn

Joined: Oct 28, 2002
Posts: 1
Hi all,
I am using JBuilder 7 and I am experiencing the same problem. The problems only occurs on a Windows2000 machine. I have JBuilder 7 Ent installed on Windows NT and the error message doesn't occur. Now if I run the same web application on a machine using JBuilder 7 Ent. on a Windows 2000 platform, I will recieve the error message above.
Is it possible to upgrade the crimson.jar file for the JBuilder jdk1.3.1 installation.
Example <jbuilder-home>\<jdk>\lib\ext
Is this a valid to upgrade JBuilder JDK with out messing up any of JBuilder's functionality.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: get a error compiling jsp in jbuilder6,but it is right under weblogic. what's wrong