Not quite it, Donald.

Here's what we did: I took "ourapp" as created by the TDK from the 
/webapps directory in the TDK and deployed it
to Tomcat 4.0 /webapps running on a Redhat 6.2 machine at home. No 
problem. We did lot's of development work like that and every thing 
worked well.
At this point everything was using JDK1.3.

So I copied "ourapp" to the /webapps dir at our hosting service running 
Tomcat 4.0.1 and some other linux (slackware ?), and when Tomcat was 
started the errors noted appeared.  The hosting service is using JKD1.4.
 
I didn't try making a war file. But Tomcat found the webapp and was 
trying to launch it apparently when it hit the error in xerces.

Thanks for the comment,
Randy

[EMAIL PROTECTED] wrote:

> You are running a similar setup to me.  I am using Stormix Linux (Hail).
> What Linux are you running (brand).  The TDK includes tomcat 4.0, but 
> calls
> It "catalina"... Not sure but maybe you are trying to execute a tomcat 
> servlet
> Engine and the Catalina servelet engine at the same time.  Tomcat 
> should only
> Be running on you production machine(box).  Your developmental 
> machine(box) should
> Rely on the catalina and tdk to develop with.  If this does not make 
> much since
> Let me know.  I would be happy to hear how your Linux server is 
> working out.  I
> Have a server already in place and I do all my developmental work via 
> a telnet..ssh
> Connection to the server from a window workstation.  I have only set 
> up the developmental
> box so far since I am in that phase of construction.  Once you have 
> developed the application
> You can create a *.war files and move it to the production (server) 
> box and allow tomcat to
> Execute it on that server. 
>
> Donald Duquaine
> Analyst / Network Administrator
> STL Tampa
> (813) 885-7427
> [EMAIL PROTECTED]
>
>
>
> -----Original Message-----
> From: Randall G. Alley [ mailto:[EMAIL PROTECTED] ]
> Sent: Thursday, March 14, 2002 5:25 PM
> To: [EMAIL PROTECTED]
> Subject: Errors deploying Webapp to new server running JDK1.4
>
>
> Hello everyone,
>
> We've got a working turbine webapp developed under using TDK2.1, JDK1.3
> and tested on Linux, which we are trying to deploy to a remote linux
> server running JDK1.4 and Tomcat 4.0.1. Now we're seeing the following
> ClassCastException from DocumentBuilderFactoryImpl.
>
> 2002-03-14 13:51:00 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)
> ...
> ----- Root Cause -----
> java.lang.ClassCastException:
> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
>
> The full Tomcat log is attached.
>
> Does anyone have any insight into this ?
>
> Thanks,
> Randy
>
>
>------------------------------------------------------------------------
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

Reply via email to