tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Hamel" <sylv...@webnet.qc.ca>
Subject Re: <context-param><param-value> question
Date Fri, 04 Jan 2002 20:08:41 GMT
hmm...
I would have betted good money that this was a clear case of "case
sensitiveness" in your params.
Well if you are sure that each path is written properly in respect to case
then the only thing it could be is a difference in configuration between
your windows machine and your linux one. Sorry I cant help you more.

----- Original Message -----
From: "Roman Mikhailov" <roman@tugboatmedia.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, January 04, 2002 3:03 PM
Subject: Re: <context-param><param-value> question


> I know that
> I just don't think it's the problem in this particular case
>
> Roman
>
> On Friday, January 4, 2002, at 11:57 AM, Guido Medina wrote:
>
> > In Linux (or any UNIX Based system)/usr/jdk is not the same as /usr/JDK
> > the
> > case makes a big different...
> >
> > -----Original Message-----
> > From: Roman Mikhailov [mailto:roman@tugboatmedia.com]
> > Sent: Friday, January 04, 2002 3:58 PM
> > To: Tomcat Users List
> > Subject: Re: <context-param><param-value> question
> >
> >
> > nothing is wrong with the "path case sensitiveness " as far as I can see
> > could you explain ....please
> >
> > Roman
> >
> >
> > On Friday, January 4, 2002, at 11:40 AM, Sylvain Hamel wrote:
> >
> >> You have a "path case sensitiveness" problem. ;-)
> >>
> >> Linux is case sensitive but Windows is not.
> >>
> >> Sylvain Hamel
> >>
> >> ----- Original Message -----
> >> From: "Roman Mikhailov" <roman@tugboatmedia.com>
> >> To: <tomcat-user@jakarta.apache.org>
> >> Sent: Friday, January 04, 2002 1:58 PM
> >> Subject: <context-param><param-value> question
> >>
> >>
> >>> Hi guys,
> >>> the following piece of code from the web.xml file always gives me
> >>> "Apache Tomcat/4.0.1-HTTP Status 404 - /chat/servlet/ChatAdminServlet"
> >>> error
> >>> when I run it on Linux and (?!) works fine on Windows
> >>> How can I fix it ? Can anyone give me advice how can I make it work on
> >>> Linux?
> >>> Thanks in advance
> >>>
> >>> Roman Mikhailov
> >>>
> >>> ***********************
> >>>
> >>> <context-param>
> >>>      <param-name>ADMIN_PATH</param-name>
> >>>
> >>> <param-value>/chat/servlet/ChatAdminServlet</param-value>
> >>>    </context-param>
> >>>
> >>>    <context-param>
> >>>      <param-name>LISTROOMS_PATH</param-name>
> >>>
> >>> <param-value>/chat/servlet/ListRoomsServlet</param-value>
> >>>    </context-param>
> >>>
> >>>    <context-param>
> >>>      <param-name>CHATROOM_PATH</param-name>
> >>>
> >>> <param-value>/chat/servlet/ChatRoomServlet</param-value>
> >>>    </context-param>
> >>>
> >>>
> >>> ******************
> >>>   ChatAdminServlet.class
> >>>
> >>>
> >>>
> >>> import javax.servlet.*;
> >>> import javax.servlet.http.*;
> >>>
> >>> import java.io.*;
> >>> import java.util.*;
> >>>
> >>> public class ChatAdminServlet extends HttpServlet {
> >>>
> >>>    String chatRoomPath;
> >>>    String listRoomsPath;
> >>>    String chatAdminPath;
> >>>
> >>>    public void init() {
> >>>      ServletContext context = getServletContext();
> >>>
> >>>
> >>> ------->>> I guess it breaks somewhere here
> >>>
> >>>      chatRoomPath = context.getInitParameter("CHATROOM_PATH");
> >>>      listRoomsPath = context.getInitParameter("LISTROOMS_PATH");
> >>>      chatAdminPath = context.getInitParameter("ADMIN_PATH");
> >>>    }
> >>>
> >>>
> >>> --
> >>> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> >>> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> >>> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >>>
> >>>
> >>
> >>
> >> --
> >> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> >> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> >> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >>
> >
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message