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

[cobalt-users] Java of RAQ550



I'm sorry if I'm reposting this.  My last post went out just when the list went down.  Even if people got it, I was afraid any responses might have been lost.  I've responded to the questions sent by Bas
 
 
>>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.
>
posted below:
 

<?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>

 


Set yourself up for fun at home! Get tips on home entertainment equipment, video game reviews, and more here.