RE: Servlet POST results in 404 error

2002-02-26 Thread John Wadkin
keith, Yeah - Randy Layman solved it. The servlet mapping was setup to servletname/ instead of servletname/* The answer's obvious now! Whenever the servlet created a URL like: /servletname/stringofnumbers It stopped working cos that particular URL pattern wasn't mapped. It just so happens

Re: mySQL/JDBC/Tomcat4 documentation

2002-02-26 Thread
The installation process is very simple.you simply copy the mm.mysql-2.0.4-bin.jar to somewhere in your computer, and add that JAR file into system's CLASSPATH. I think your problem is not caused by CLASSPATH, maybe it's the problem of initilizing the MYSQL JDBC driver. - Original

Re: mySQL/JDBC/Tomcat4 documentation

2002-02-26 Thread DingHui
The following code demonstrate how to initilize MYSQL JDBC driver. try { Class.forName(org.gjt.mm.mysql.Driver); } catch (ClassNotFoundException e) { System.out.println(e); } try { Connection con = DriverManager.getConnection(jdbc:mysql://localhost/mydata, username,

Re: J2EE, JSP, SERVLETS

2002-02-26 Thread Cathy Ooi
Quite right. As I'm involved in both development, deployment and maintenance, portability and security are key issues. Apache does support ASP, I think, but I don't quite trust that if I can help it. What about Perl? I still like to use it for small, quick jobs. - Original Message -

RE: 2 instance of tomcat within 1 machine

2002-02-26 Thread JBrawner
John, Could you please post the contents of you server.xml? I'm trying to do exactly what you've done with only 2 tomcat instances and am having difficulty. Also, I'm confused at which tomcat subdirectories needed to be present in each CATALINA_BASE directory. The running.txt file mentions

tomcat and iis integration!

2002-02-26 Thread ravi
- Original Message - From: Klosa Uwe [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 6:59 PM Subject: SV: tomcat and iis integration! Hi Ravi, it's better to create a context to the jsp directory. If you are using as name so it will be the

Simple web.xml causes URL not to work

2002-02-26 Thread K Br
I am using Tomcat 4.0.2 standalone on Win2k Prof. I have just a JSP file in my context in webapps\Book\MySend.jsp Without any web.xml, the URL http://localhost/Book/MySend.jsp yields the page correctly. But when I insert a web.xml under webapps\Book\WEB-INF with the following

Re: Problem in starting up TOMCAT, please help.

2002-02-26 Thread Bill Barnhill
You can also cd to your tomcat bin directory and type catalina start That will start tomcat in the same window, so that if it bombs you will see any messages. - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 25,

ClassNotFoundException

2002-02-26 Thread Ken Ramirez
Hope someone can help: I have a TOMCAT app containing a servlet as follows: TOMCAT_HOME/webapps/MyApp/WEB-INF/classes/com/mycomp/MyServletClass.cl ass This class extends a base class that provides common functionality for all of my apps, and is stored in:

Trouble with IMG tag, servlets, and JSPs

2002-02-26 Thread Ken Ramirez
Hope someone can help: I'm having a problem loading images from a JSP page when the page is called from a servlet. I'm performing a forward from the servlet to the JSP, which then loads the images from a subdirectory in the app's directory as follows: TOMCAT_HOME/webapps/MyApp/*.jsp

TC4.0.2 ignoring servlet.jar classpath. what the...

2002-02-26 Thread Satoshi Okamoto
even if i set servlet.jar to classpath, i get compiling error saying import.javax.http not found or any servlet.jar related classes. now i compiled with "javac -classpath" option then it compiles fine. why is tomcat ignoring my classpath environment? where do you guys locate this jar? original

Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread tomcat
Hi, there is any way to limit the Memory usage in tomcat 3.2.2? I'm getting troubles with 2 GB RAM server, tomcat eat almost all the resources, and now the server its in swap. -- Best regards, Jorge Catena -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

Re: TC4.0.2 ignoring servlet.jar classpath. what the...

2002-02-26 Thread Craig R. McClanahan
On Wed, 27 Feb 2002, Kurt Kurniawan wrote: Date: Wed, 27 Feb 2002 17:04:01 +1100 From: Kurt Kurniawan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: TC4.0.2 ignoring servlet.jar classpath. what the... try to put

Re: TC4.0.2 ignoring servlet.jar classpath. what the...

2002-02-26 Thread Craig R. McClanahan
On Wed, 27 Feb 2002, Kurt Kurniawan wrote: Date: Wed, 27 Feb 2002 17:04:01 +1100 From: Kurt Kurniawan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: TC4.0.2 ignoring servlet.jar classpath. what the... try to put

RE: Tomcat4 standalone keystore - existing private key problem

2002-02-26 Thread Chris Campbell
To answer my own question and perhaps help someone searching archives on similar problems, the page at http://www.cs.indiana.edu/~chiuk/security/ssl/jsse/certificates/ tells me "Though sufficient for some tasks, a major deficiency of the keytool utility is its inability to import a private key."

help in include file tag.

2002-02-26 Thread Kurt Kurniawan
hi everyone! Need help with tis one I have this %@ include file=CheckLoggedIn.jsp, getPool.jsp% which doesn't work in tomcat4 but works well in Resin, say couldn't find the file anybody can tell me how to include multiple files in Tomcat? It doesn't accept as well if I put like

AW: Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread Ralph Einfeldt
The default for the ibm and sun jdk is that the memory is limited to some extend. The limitation can be set through the option -Xms -Xmx for the jvm. This just limits the heap size. What you can't restrict is the memory for the code and data segments. (To be honest I don't have a clear idea

Re: AW: Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread tomcat
Hello I saw that the problem its that tomcat created more than 200 process of 0.8 MB each, there is anyway to limit the quantity of threads? Sorry, maybe its a dumb question :P, but I'll apreciate any help. -- Best regards, RE The default for the ibm and sun jdk is that the memory is limited

AW: AW: Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread Ralph Einfeldt
If you are using linux that's not right. What you see are threads not processes. Threads share the same memory, so the memory is just used once. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. Februar 2002 08:33 An: Tomcat Users

RE: 2 instance of tomcat within 1 machine

2002-02-26 Thread Keith Ng
John would u pls send me yr copy of the bat file? Thank... -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 9:49 PM To: 'Tomcat Users List' Subject: RE: 2 instance of tomcat within 1 machine Hi Keith (response inline) This is

Re: AW: AW: Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread tomcat
Hello Again, sorry if i'm wrong, but if I do killall java I got instantly 200 MB of memory free. And yes, I'm running RH 7.2 -- Best regards, RE If you are using linux that's not right. What you see are threads RE not processes. Threads share the same memory, so the memory is RE just used

AW: AW: AW: Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread Ralph Einfeldt
Then verify if that are independend processes: Have a look at ps ax --forest to see if you have more than one parent process that spans vm's. Kill single pid's and see if other processes/thread die to. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

<    1   2