RE: JSP pages will not work for me. Please help

2003-04-02 Thread Donie Kelly
Hi

I was using JDK 1.4 and Tomcat 4.0.1 and this seems to be the problem.

Upgrading to Tomcat 4.0.2 solved the problem. We've now decided to move to
Tomcat 4.0.6 which also works fien in this case.
Can anybody explain what changed between 4.0.1 and 4.0.1 as it's not obvious
from the README in each version, which fixes would have repaired this
problem.

Regards
Donie

-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 07:33
To: [EMAIL PROTECTED]
Subject: Re: JSP pages will not work for me. Please help

It looks like you've got a stray XML parser lying around somewhere.  My
first guess would be $JAVA_HOME/jre/lib/ext, but you should check all of the
usual suspects.

Donie Kelly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi all, I posted this earlier and no response and I've been looking at it
 ever since to no avail. I have two machines behind a load balancer ant he
 jsp pages work on one and not the other. Both machine use the same release
 of software for both jdk and tomcat and our application is identical on
both
 machine.

 Something is obviously different on the non-working machine but as you can
 see the exception is not too helpful.

 Please cast an over it if you have time and maybe you can see something
I'm
 missing.

 StandardContext[]: Servlet  threw load() exception
 javax.servlet.ServletException: Servlet.init() for servlet jsp threw
 exception
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
 at

org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
 3267)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
 at
 org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
 )
 at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
 - Root Cause -
 java.lang.ClassCastException
 at

javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
 java:93)
 at

org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
 at

org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa
 che.java:165)
 at

org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:1
 38)
 at

org.apache.jasper.EmbededServletOptions.init(EmbededServletOptions.java:32
 4)
 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.StandardContext.loadOnStartup(StandardContext.java:
 3267)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:612)

 Thanks
 Donie





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JSP pages will not work for me. Please help

2003-04-01 Thread Donie Kelly
Hi all, I posted this earlier and no response and I've been looking at it
ever since to no avail. I have two machines behind a load balancer ant he
jsp pages work on one and not the other. Both machine use the same release
of software for both jdk and tomcat and our application is identical on both
machine.
 
Something is obviously different on the non-working machine but as you can
see the exception is not too helpful.
 
Please cast an over it if you have time and maybe you can see something I'm
missing.
 
StandardContext[]: Servlet  threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3267)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -
java.lang.ClassCastException
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
java:93)
at
org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
at
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa
che.java:165)
at
org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:1
38)
at
org.apache.jasper.EmbededServletOptions.init(EmbededServletOptions.java:32
4)
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.StandardContext.loadOnStartup(StandardContext.java:
3267)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
 
Thanks
Donie


Re: JSP pages will not work for me. Please help

2003-04-01 Thread Bill Barker
It looks like you've got a stray XML parser lying around somewhere.  My
first guess would be $JAVA_HOME/jre/lib/ext, but you should check all of the
usual suspects.

Donie Kelly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi all, I posted this earlier and no response and I've been looking at it
 ever since to no avail. I have two machines behind a load balancer ant he
 jsp pages work on one and not the other. Both machine use the same release
 of software for both jdk and tomcat and our application is identical on
both
 machine.

 Something is obviously different on the non-working machine but as you can
 see the exception is not too helpful.

 Please cast an over it if you have time and maybe you can see something
I'm
 missing.

 StandardContext[]: Servlet  threw load() exception
 javax.servlet.ServletException: Servlet.init() for servlet jsp threw
 exception
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
 at

org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
 3267)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
 at
 org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
 )
 at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
 - Root Cause -
 java.lang.ClassCastException
 at

javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
 java:93)
 at

org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
 at

org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa
 che.java:165)
 at

org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:1
 38)
 at

org.apache.jasper.EmbededServletOptions.init(EmbededServletOptions.java:32
 4)
 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.StandardContext.loadOnStartup(StandardContext.java:
 3267)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:612)

 Thanks
 Donie





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]