Sorry, didn't read your question carefully enough. I need to wake up more before trying to answer questions.
The browser response doesn't give you much of a clue as to what happened in the server. You should get better information from the CATALINA_HOME/logs/localhost_log*.txt file. Do you see any clues there? Larry > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 8:21 AM > To: [EMAIL PROTECTED] > Subject: RE: servlet not working on tomcat 4.1.18 - help please!!! > > > I thought the "intranettv" is a path default (an alias) whereas the > IntranetTV is a classname and also the name that you are calling the > servlet. > Hence if i was to call a function in the servlet, would look > something like: > http://localhost:8080/intranettv/IntranetTV?func=CreateEmbedVi > deoWindow&arg= > 942 > > Where intranettv is the path and IntranetTV is the servlet. > (that was the > way it worked in tomcat 3.2.1. Please tell me if that is wrong!) > > -----Original Message----- > From: Larry Isaacs [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 1:17 PM > To: Tomcat Users List > Subject: RE: servlet not working on tomcat 4.1.18 - help please!!! > > > Is it a typo that "localhost:8080/intranettv" doesn't match the > case in "<url-pattern>/IntranetTV</url-pattern>"? It needs > to in order to work. > > Cheers, > Larry > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, February 11, 2003 8:08 AM > > To: [EMAIL PROTECTED] > > Subject: servlet not working on tomcat 4.1.18 - help please!!! > > > > > > Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18. > > > > Basically, Ive got the tomcat 4.1.18 to start up and the > > localhost:8080 runs > > as do the examples such as jsp pages and servlet examples. > > > > Ive added context to the server.xml like: > > <!--derrick added this line --> > > <Context path="/intranettv" > > docBase="D:\internettv\admin\public_site" > > debug="0" > > reloadable="true" > > crossContext="false"> > > </Context> > > > > In the folder public_site, i have a Web-inf folder with a > > web.xml in it. > > My web.xml looks like this: > > <!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> > > > > <display-name>IntranetTV</display-name> > > <description> > > This is the IntranetTV application with a source code > > organization > > based on the recommendations of the Application > > Developer's Guide. > > </description> > > > > <servlet> > > <servlet-name>IntranetTV</servlet-name> > > > > <servlet-class>com.bt.intranettv.view.IntranetTV</servlet-class> > > <init-param> > > <param-name>root</param-name> > > > > <param-value>D:\intranettv\admin\public_site\</param-value> > > </init-param> > > <load-on-startup>-100</load-on-startup> > > </servlet> > > > > <servlet-mapping> > > <servlet-name>IntranetTV</servlet-name> > > <url-pattern>/IntranetTV</url-pattern> > > </servlet-mapping> > > </web-app> > > > > My problem is that when i then go to url localhost:8080/intranettv > > the browser displays a 404 error - intranet. > > The requested resource (/intranet) is not available. > > > > what have I done wrong, or what can i do to put it right?? > > > > (PS I have compiled the classes with java 1.2 but the tomcat > > is running with > > java 1.4 - will this cause any problems - it should be > > backwards compatible) > > > > > --------------------------------------------------------------------- > > 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] > > > --------------------------------------------------------------------- > 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]