Compile JSP with Tomcat/IBM JDK 1.2.2/AIX4.3.3

2001-08-02 Thread Klaas van der Ploeg
Hi All, I managed to install Tomcat 3.2.3 on AIX with IBM's JDK 1.2.2. I also deployed my application on it using a .war file. But, when I request a jsp page, I get an exception "sun.tools.javac.Main" etc Of course, this is related to the fact that I'm not using sun's jdk. My question: - C

RE: HTTP 404 Error

2001-08-03 Thread Klaas van der Ploeg
try this: http://localhost:8080/servlet/ServletTest Rgrds, Klaas -Original Message- From: Apache Java [mailto:[EMAIL PROTECTED]] Sent: donderdag 2 augustus 2001 20:15 To: [EMAIL PROTECTED] Subject: Re: HTTP 404 Error Use following url http://localhost:8080/ServletTest/ServletTest Je

RE: Compile JSP with Tomcat/IBM JDK 1.2.2/AIX4.3.3

2001-08-06 Thread Klaas van der Ploeg
a/tomcat/archive/view?mesg=35737 > > I have not tested the steps on the AIX platform, but they are tested > on the Windows platform. > > Gautam > > -Original Message- > From: Klaas van der Ploeg [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 1:35 AM

RE: all those *-auto files

2001-08-06 Thread Klaas van der Ploeg
It is not yet optional (at least not in 3.2.3), but it is marked in the source with XXX to make it optional. You can comment it out and recompile Tomcat.java if you really want to get rid of those files. Rgrds, Klaas > -Original Message- > From: Jacek Prucia [mailto:[EMAIL PROTECTED]] >

RE: How do you change the "base URL" for your servlets in Tomcat?

2001-08-06 Thread Klaas van der Ploeg
Lars, Why don't you use .war files? They can be deployed in the webapps directory, and will be extracted as Tomcat starts. You can find out how this works with Ant in the docs ($TOMCAT_HOME\doc\appdev\index.html). BTW: didn't you try to add a new directory to webapps/ ?? I added "bla" as directo

RE: Deploying .war file

2001-08-08 Thread Klaas van der Ploeg
Check the tomcat docs on howto create a .war file using Ant ($TOMCAT_HOME/docs/appdev/index.html). Put the .war in the webapps directory. You don't have to (but you can if you want to override the default settings) add a specific context for your webapp, as it will be added automatically when tomc

RE: Number of Tomcat users ...

2001-08-08 Thread Klaas van der Ploeg
Lars, Tomcat users will do request via HTTP. So, a user will _not_ keep a Tomcat thread busy while his browser is open. You can set the threading settings in the server.xml for your connector(s) (check $TOMCAT_HOME/doc/uguide/tomcat_ug.html). The default settings are suitable for 10-40 concurren

RE: Compile JSP with Tomcat/IBM JDK 1.2.2/AIX4.3.3

2001-08-08 Thread Klaas van der Ploeg
> > I wrote a class around the javac from IBM,... > > Is this "javac from IBM" freely redistributable? I believe > the "javac" that > comes with Sun's JDK is not. That is the main reason for substituting > javac with Jikes for many of us. I don't quitte get that question, as everyone is able

global naming resource not available in webapp

2002-12-20 Thread Klaas van der Ploeg
Hi, I have multiple webapps which must share the same dataresource (DBCP to Oracle DB). Currently I'm using this resource from the element, it works fine there. But, I was wondering if I can make it 'globally' available in the element. The docs say that it should be possible, but I'm not get

Re: global naming resource not available in webapp

2002-12-23 Thread Klaas van der Ploeg
link in each Context that needs access to the database. Here is the link to the documentation about Global Resources. I read this documentation for a few hours when I setup mine originally. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/globalresources.html Hope this helps, Ej "Klaa

Re: DataSource error (DBCP)

2002-12-23 Thread Klaas van der Ploeg
Put your .class files in $CATALINA_HOME/webapps/$YOUR_APP/WEB-INF/classes (preferably in packages under this directory) Use an import statement to include a class in the top of your jsp: <%@ page language="java" import="some.package.DBTest" %> Rgrds. Klaas From: [EMAIL PROTECTED] Reply-To: "To

login error: direct reference to form login page

2002-12-24 Thread Klaas van der Ploeg
Hi All, I'm using Tomcat 4.1.12/JDK1.4.0_01/Struts I have multiple webapps where one of the webapps is the main entry point for the other webapps (contains menu, etc...). I use security constraints and form-based login to control access to the applications with SingleSignOn. Customers requirem

coyote connector timeout in seconds or milliseconds?

2003-10-30 Thread Klaas van der Ploeg
Hi All, Using tomcat4.1.12 (but seen in other versions too). According to the documentation the connection timeout for the coyote connector is set in milliseconds (in server.xml, http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html). However, the implementation in org.apache.coyo