Re: Auto start scripts
Robin Rigby wrote: Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin Try this... http://archive.apache.org/dist/jakarta/tomcat-4/archive/v4.1.24/rpms/ -- Tomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java Upgrade Messed Up Tomcat
Jeremy Whitlock wrote: Tomcat-List, I just upgraded my Java version to 1.4.2_02 from 1.4.1_01 and now, Tomcat doesn't work. Anyone know why this would happen? Thanks, You could tell us what OS or how You start Tomcat. I suppose You are using Windows and running Tomcat as a service... -Reinstall Tomcat. if that is not an issue... -In the registry search for tomcat and correct the path for the jdk... two occurrences i think... Jeremy Whitlock --- MCP/MCSA IT Manager for Star Precision, Inc. Phone: (970) 535-4795 Metro: (303) 926-0559 Fax: (970) 535-0780 Metro Fax: (303) 926-8557 http://www.starprecision.com -- Tomas I used to think I was indecisive, but now I'm not so sure. [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error while adding another servlet to web.xml
Mattias Carlehäll wrote: Hi. If I try to add more than one servlet to my web.xml file I get an error while starting up tomcat. I have tried to make my other servlet very plain but still I get errors. Unfortunately I can't se the entire error either, and I don't se it in the log files either. This is my web.xml file: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameFranvaro pa Fornby/display-name description Vem har varit borta, nar har dom varit borta och vem har sagt det? /description !--Login servlet-- servlet servlet-nameStartServlet/servlet-name servlet-classStartServlet/servlet-class init-param param-nameproperties/param-name param-value/WEB- INF/conf/velocity.properties/param-value /init-param /servlet servlet-mapping servlet-nameStartServlet/servlet-name url-pattern/absence/url-pattern /servlet-mapping !--Admin servlet-- servlet servlet-nameAdminServlet/servlet-name servlet-classAdminServlet/servlet-class init-param param-nameproperties/param-name param-value/WEB- INF/conf/velocity.properties/param-value /init-param /servlet servlet-mapping servlet-nameAdminServlet/servlet-name url-pattern/admin/url-pattern /servlet-mapping resource-ref descriptionDB Connection/description res-ref-namejdbc/AbsenceDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app And this is what I can se of my error: eSupport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext 567) at org.apache.catalina.core.ContainerBase.start(ContainerBase.jav at org.apache.catalina.core.StandardHost.start(StandardHost.java: at org.apache.catalina.core.ContainerBase.start(ContainerBase.jav at org.apache.catalina.core.StandardEngine.start(StandardEngine.j ) at org.apache.catalina.core.StandardService.start(StandardService 97) at org.apache.catalina.core.StandardServer.start(StandardServer.j 0) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400 at org.apache.catalina.startup.Catalina.process(Catalina.java:180 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) /Regards Mattias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The tag-order in web.xml is important. In your case you have servlet - servlet-mapping - servlet ... ALL servlet-mapping should come after ALL servlet ---8--- web-app ... servlet servlet-nameenter/servlet-name servlet-classStoreServlet/servlet-class /servlet servlet servlet-namecatalog/servlet-name servlet-classCatalogServlet/servlet-class /servlet ... servlet-mapping servlet-nameenter/servlet-name url-pattern/enter/url-pattern /servlet-mapping servlet-mapping servlet-namecatalog/servlet-name url-pattern/catalog/url-pattern /servlet-mapping /web-app ... --8--- Search the Net for examples... :-) -- Tomas Health is merely the slowest possible rate at which one can die. ~ [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: load-on-startup order
Mayne, Peter wrote: Tomcat 4.1.18 I have two applications, A and B, where a servlet in B depends on a servlet in A being up, so I have in A's web.xml: servlet ... load-on-startup1/load-on-startup /servlet in B's web.xml: servlet ... load-on-startup5/load-on-startup /servlet which should make A start first. However, when Tomcat starts, B's init() is called first. B's init() attempts to make a connection to A's servlet, but A hasn't started yet, so everything hangs. Am I doing this correctly? Thanks. PJDM With your setup/solution you realy can´t tell if application A will load before B. Load-on-startup orders the servlets in each application (web.xml) -- Tomas Health is merely the slowest possible rate at which one can die. ~ [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Shutdown.bat problem on Windows 2000
Joel Hughes wrote: Hi all, This is my first post to this group so apologies if I'm breaking any conventions. I have installed TC 4.1.18 on Windows 2000 server. JDK 1.4 is present as well. TC seems to run fine and I can hit it on the 8080 etc. However, when I try to run SHUTDOWN.BAT I get the following error: ERROR removed /ERROR Any ideas? I can shutdown and restart TC from the Services menu but I am more interested in fixing this error. I have had a similar problem with TC on other Windows boxes. Any ideas appreciated. Regards Joel Hughes Jojet 35 Farm Road Hove East Sussex +44 (0)1273 324771 http://www.jojet.com/ You can't use shutdown.bat when you run Tomcat as service use service-console or command 'net start/stop Apache Tomcat 4.1' -- Tomas Health is merely the slowest possible rate at which one can die. ~ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]