[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Java on Raq550



>From: "Bas van Ecke"
>Reply-To: cobalt-users@xxxxxxxxxxxxxxx
>To:
>Subject: Re: [cobalt-users] Java on Raq550
>Date: Tue, 11 Nov 2003 09:11:22 +0100 (CET)
>
> >I am trying to transfer some sites from a RAQ3 that had the Sun Cobalt
> >JDK package installed over to a RAQ550. I'm using the pre-installed
> >Tomcat/Java on the RAQ550.
> >JSP and servlets seem to work okay, though I'm having problems with a few
> >sites. I'm not an expert in this area, but it appears the web.xml
> >file is not being loaded. I have a feeling there is rather simple
>solution, >but I cannot find any
> >help on this issue anywhere. If anyone can suggest anything I'd
>appreciate >it.
>
>Could be a few things.
>1) If you restart tomcat manually, /etc/init.d/tomcat.init restart , do
>you get any errors?

No.


>2) What is in the log-files? /usr/java/jakart.../logs

Nothing there either


>3) Can you post the web.xml? I guess there is a servlet that has a mapping
>to urls that end on .do for example. But the raq 550, or better apache,
>only passes requests to tomcat that end on .jsp or have /servlet/ in the
>url.

You are correct.  I've pasted below one of the web.xml in question.  Is there another way this mapping should be done on the 550?

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">

<web-app>

<servlet>

<servlet-name>ActionServlet</servlet-name>

<servlet-class>strand.actions.ActionServlet</servlet-class>

<load-on-startup/>

</servlet>

<servlet-mapping>

<servlet-name>ActionServlet</servlet-name>

<url-pattern>*.do</url-pattern>

</servlet-mapping>

</web-app>



Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage!