Tomcat Section Index | Page 4
Tomcat 4.0.x with AOLserver 3.4.2. Does anyone have any information on how to integrate Tomcat 4.0.x with AOLserver 3.4.2?
Tomcat 4.0.x with AOLserver 3.4.2 Does anyone have any information on how to integrate Tomcat 4.0.x with AOLserver 3.4.2?
Additional info: I'd like to organize my webapps in subdirectories of the tomcat/webapps/ directory. I have right now a setup like: /tomcat/webapps/<client>/application The problem that I ...more
Check out this document: How To Setup TOMCAT 4.0.1 on Windows 2000 with IIS and NT Service This great documents shows how to get Tomcat 4.0.x to work as an NT service. The creator has used the To...more
I put my JAR file inside WEB-INF/lib, but my classes are not getting found. However, when i unzipped classes into WEB-INF/classes/, it works. What's up?
Some old versions of Tomcat do not include WEB-INF/lib/*.jar in WebApp classpath. You may handle it updating to a newer version of tomcat or (as you did) unpacking jars into WEB-INF/classes/. [G...more
As far as I know, there is no user that is assigned the 'admin' role after an installation of tomcat. (For security reasons I assume). You can assign this role to a username/password combination o...more
It's probably a server bug. Make sure you are using the latest version of your servlet container, and check the bug reports. Also, try running your code on a different server (e.g. standalone To...more
In Tomcat 4.0.x, all jsp pages are running as part of the org.apache.jsp package. If you use any class that hasn't been imported, the jsp compiler is expecting it to be in the same org.apache.jsp ...more
Additional info from the log 2002-02-01 15:18:12 UserDatabaseRealm[Standalone]: Exception looking up UserDatabase under key catalina/UserDatabase javax.naming.NamingException: Stopping after fata...more
The Servlet 2.3 specification states (12.8 Specifying Security Constraints): [...] In most cases, the presence of the INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is required. [...more
You may want to look into HttpUnit for doing unit testing, esp. the ServletUnit section. It's integrated with JUnit and allows you to do programmatic testing of servlets in-process or remotely -- ...more
Why do I get the error. org.xml.sax.SAXParseException : Element type "web-app" must be declared. when starting my web application? It has a web-app element already!
Why do I get the error org.xml.sax.SAXParseException : Element type "web-app" must be declared when starting my web application? It has a web-app element already!
Additional Information We have configured Apache as a reverse proxy, to connect one of our internal application and database servers to the internet. Now we have problems with JSP-based applicati...more
Additional info I created a very simple jsp page and put it in examples/jsp directory. This jsp page includes the following line of code: <jsp:useBean id='clock' scope='page' class='JspCalendar...more
Additional info As I read myself through the documentation (tomcat 4.0) the only possible upgrade for a webapp is to replace the old war file and delete the webapp's folder and restart tomcat. But...more
Regarding Tomcat 4 and XML parsers, the documentation states: If you wish to make the JAXP/1.1 reference implementation parser available to all web applications, simply move the "jaxp.jar" and "c...more