RE: Running Tomcat 4.1.27 without Jasper (or a JDK)?

2003-09-03 Thread Jon Skeet
Actually, removing Jasper from 3.3.1(a) is about the same as for 4.1.x: You just comment out the JspInterceptor element in server.xml, and voila: you've got a JSP-less Servlet-Container. I tried that at the time - I can't remember which version, I'm afraid - and if I didn't have Jasper

Re: javax.servlet.http.HttpSession.getId() returns null

2003-09-03 Thread Johann Uhrmann
Johann Uhrmann wrote: Hello, I am writing a single-sign-on filter that uses cookies and a request-wrapper in order to fake a form-based login in case the user is already authenticated in another web application. The filter needs some internal structures to perform the single-sign-on process, e.g.

Re: permissions for Tomcat+Apache integration

2003-09-03 Thread Sonja Löhr
With the users: I thought of this strategy (one usr for both), too. Then one must be able to log-in or su to the apache-user to start tomcat, which I disallowed (book-advice ;-) by now. Or is there a way let apache start tomcat? Could you clarify? I hardly have any JSPs by now. We unfortunately

restart tomcat everytime I make change to servlet -- after experiment

2003-09-03 Thread Clive Luk
OK. seems i am asking a hard question here. But I did some experiment myself. just to give out more hints to the list to help solving my problem and I am hoping someone maybe able to help. I am sure someone in the world will have the same problem and been solved. here is what i have done.

Vedr.: restart tomcat everytime I make change to servlet -- afterexperiment

2003-09-03 Thread Thomas Nybro Bolding
There was a thread the other day about the same issue I think. Two persons answered: Tim Funk replied: YOu mean this? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096 -Tim And John Wigfield replied: Have you applied the hotfix?

Interesting (?) classloader problem

2003-09-03 Thread Jon Skeet
As observant readers will have noticed, I'm migrating a webapp or two from Tomcat 3.2.3 to Tomcat 4.1. Now, our apps have a very specific version of Xerces that they currently need to use (although I'm hoping this requirement will go away). I believe the version is Xerces-J 1.4.4 (at least

Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?

2003-09-03 Thread Bill Barker
Yeah, well, it won't work with 3.3.0 (it will exhibit the intestinal behavior that you describe :). After the 3.3.0 release the Velocity people lobbied for a non-JSP Servlet-container, so with 3.3.1, we (with non-default options) gave it to them. Jon Skeet [EMAIL PROTECTED] wrote in message

$CATALINA_BASE/temp

2003-09-03 Thread Samuel Le Berrigaud
Hi everybody, I'm using tomcat 4.1.27 on a Linux system. It works very well ! But I had a little problem of disk space because of the $CATALINA_BASE/temp that grows up very fast in size. In that folder I found some file s like jar_cahe*tmp. Does someone know how to limit the size of this

Re: Any contractors from HK, S.E.Asia or India in this forum ?

2003-09-03 Thread aprw00
I will GO to SE-Asia if the $$$ is right! Quoting unplug [EMAIL PROTECTED]: I am exactly from HK. engp0510 wrote: From PR. China studying in Singapore. - Original Message - From: Clive Luk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday,

Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?

2003-09-03 Thread Thomas Kellerer
Jon Skeet schrieb: Just out of curiosity: I'm wondering why you want to do that? The overhead of the JDK over JRE isn't that big and disk space isn't usually a problem. We distribute the JRE in our installation. I know these days you're allowed to distribute tools.jar (and javac.exe?) but the

Problem in tomcat-5.0-doc/setup.html

2003-09-03 Thread Damien
Hi, I've downloaded tomcat (jakarta-tomcat-5.0.9.tar.gz) and I'm following the instructions found in this page : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html There is a little error that might confuse beginners : cd $CATALINA_HOME/bin tar xvfz jsvc.tar.gz cd jsvc

Re: Problem in tomcat-5.0-doc/setup.html

2003-09-03 Thread Remy Maucherat
Damien wrote: Hi, I've downloaded tomcat (jakarta-tomcat-5.0.9.tar.gz) and I'm following the instructions found in this page : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html There is a little error that might confuse beginners : cd $CATALINA_HOME/bin tar xvfz jsvc.tar.gz cd

Problem with my first webapp

2003-09-03 Thread Damien
Hi, I'm following the instrutions found in : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html I'm trying to install my first webapp in tomcat but a problem occurs : [EMAIL PROTECTED] tomcat-test]$ ant install Buildfile: build.xml prepare: compile: install: [install]

Re: javax.servlet.http.HttpSession.getId() returns null

2003-09-03 Thread Tim Funk
Johann Uhrmann wrote: Johann Uhrmann wrote: Hello, I am writing a single-sign-on filter that uses cookies and ... after reviewing my logs, it seems that session objects are being recycled by the server and the id is set to null while they are not in use. Is that correct? I think so. But in

RE: Interesting (?) classloader problem

2003-09-03 Thread Cox, Charlie
There is a typo in the documentation - you can not override the Xerces parser used. You can replace the one in /common/endorsed and see if it works - I don't recall which version tomcat requires. Have you tried your app with the version that tomcat supplies? you can't guarantee the order in which

RE: Interesting (?) classloader problem

2003-09-03 Thread Jon Skeet
There is a typo in the documentation - you can not override the Xerces parser used. Aha. That at least explains my confusion :) You can replace the one in /common/endorsed and see if it works - I don't recall which version tomcat requires. Have you tried your app with the version that

Antwort: Problem with my first webapp

2003-09-03 Thread erik . itter
are you sure your build.xml is correct, my builds do not output the file contents... Mail von Extern Damien [EMAIL PROTECTED] 03.09.2003 12:44 Bitte antworten an Tomcat Users List An: [EMAIL PROTECTED] Kopie: Thema: Problem with my first webapp Hi, I'm

RE: Interesting (?) classloader problem

2003-09-03 Thread Shapira, Yoav
Howdy, I saw from the other messages you already have a workaround, but here's another suggestion anyways: take the xerces that comes with tomcat and put it in $CATALINA_HOME/server/lib. Take the one your app needs and put it in the endorsed directory. See what happens ;) But as you yourself

tomcat migration problem

2003-09-03 Thread Shanta B
[EMAIL PROTECTED] Hi I have an application siefriend..it had apache,jrun configuration.No w i am migrating to apache ,tomcat4.1.18 ...now i am getting following error. pl find my web.xml and catalina.out(sorry its big one). Thanks in advance shanta.B ?xml version=1.0 encoding=ISO-8859-1

RE: tomcat migration problem

2003-09-03 Thread Shapira, Yoav
Howdy, As the parsing error clearly says, you have the wrong order of elements in your servlet tags in web.xml. You can't have description after servlet-class, for example. Use an XML editor or whatever you like to validate your web.xml against the DTD. It's also a better idea to use the

Can not get SSL Client Certificate

2003-09-03 Thread Elif Akten
Hi, I have been trying to get SSL client certificate during a client authenticated SSL session. I am using Apache 2.0 with Tomcat 4.1.27. Everything works succesfully: when I want to open a SSL protected JSP page my browser asks for my client certificate and verifies it. But when I try to get

RE: restart tomcat everytime I make change to servlet

2003-09-03 Thread Mike Curwen
Did you apply the hotfix, that is specifically for class reloading issues in 4.1.27 ? -Original Message- From: Clive Luk [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 9:13 PM To: [EMAIL PROTECTED] Subject: RE: restart tomcat everytime I make change to servlet

Re: Antwort: Problem with my first webapp

2003-09-03 Thread Damien
Le mer 03/09/2003 à 14:50, [EMAIL PROTECTED] a écrit : are you sure your build.xml is correct, my builds do not output the file contents... I have downloaded an example build.xml, so I think it is correct. - To unsubscribe,

RE: restart tomcat everytime I make change to servlet -- after experiment

2003-09-03 Thread Mike Curwen
Don't pull out your hair, check my reply to your first post... (class reloading is buggy in Tomcat 4.1.27) -Original Message- From: Clive Luk [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 2:07 AM To: Tomcat Users List Subject: restart tomcat everytime I make change

Re: Can not get SSL Client Certificate

2003-09-03 Thread John Turner
First thing I would try is putting your LoadModule line ABOVE every line that uses Jk*, such as: JkExtractSSL On JkHTTPSIndicator HTTPS JkSESSIONIndicator SSL_SESSION_ID JkCIPHERIndicator SSL_CIPHER JkCERTSIndicator SSL_CLIENT_CERT As positioned in your post, the lines shown above would have no

Counting active sessions if server restarts very often

2003-09-03 Thread Christian Hauser
Hello list I implemented a session counter to count all active sessions. Now I have the problem that because the server is being restarted very often, my static variable activeSessions is always set to 0. Is there an other way to implement this? Maybe by saving the variable activeSessions to

Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread Jon Skeet
I'm running into a problem when I try to run shutdown.bat (or use the stop parameter directly). I get an exception in the main Tomcat process: java.net.BindException: Cannot assign requested address: connect snip I've had a look in Bugzilla, and this seems to be bug 17193. The process is

RE: tomcat migration problem

2003-09-03 Thread Bodycombe, Andrew
Hi Shanta, The order of your elements is important: (icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),ini t-param*,load-on-startup?,security-role-ref*) Your servlet-class tags must appear before your init-param tags. display-name and description must appear before

RE: Antwort: Problem with my first webapp

2003-09-03 Thread Shapira, Yoav
Howdy, Le mer 03/09/2003 à 14:50, [EMAIL PROTECTED] a écrit : are you sure your build.xml is correct, my builds do not output the file contents... I have downloaded an example build.xml, so I think it is correct. That's not always a good assumption ;) Where's the build file from? Yoav

Antwort: Re: Antwort: Problem with my first webapp

2003-09-03 Thread erik . itter
and you are sure you have a web application (structure and web.xml)? perhaps you should post some additional information (files of you webapp and build.xml) Mail von Extern Damien [EMAIL PROTECTED] 03.09.2003 15:48 Bitte antworten an Tomcat Users List An: Tomcat Users List

Re: $CATALINA_BASE/temp

2003-09-03 Thread Fred Kreek
At 10:46 03/09/03, you wrote: Hi everybody, I'm using tomcat 4.1.27 on a Linux system. It works very well ! But I had a little problem of disk space because of the $CATALINA_BASE/temp that grows up very fast in size. In that folder I found some file s like jar_cahe*tmp. Does someone know how

RE: Counting active sessions if server restarts very often

2003-09-03 Thread Shapira, Yoav
Howdy, Is there an other way to implement this? Maybe by saving the variable activeSessions to a session (which is restored when the server has restarted)? This is not a bad idea, and might be the easiest way. A DB write on shutdown/read on startup is also an option. Yoav Shapira This

RE: Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread Shapira, Yoav
Howdy, I think a jk2 release (v1.2.5 I believe) is very close, and has this bug fixed. Check the recent jk2 release thread on tomcat-dev archives for more information. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jon Skeet [mailto:[EMAIL PROTECTED] Sent: Wednesday,

j_security_check gets a 404 error

2003-09-03 Thread Louise Pryor
Hi I'm having a problem using form-based authentication. It all works fine with standalone Tomcat, but goes pear shaped on Apache with Tomcat. It seems to be the same problem that is described in http://www.mail-archive.com/[EMAIL PROTECTED]/msg43091.html (but I think it's more a Tomcat thing

Re: Counting active sessions if server restarts very often

2003-09-03 Thread Jon Wingfield
When the session is created add an attribute that implements HttpSessionActivationListener. When the server stops the sessionWillPassivate method will be called. When the server restarts the sessionDidActivate method will be called. Use those methods in conjunction with your

exception in deploying webapp in tomcat4.1

2003-09-03 Thread Shailesh Modi
Hi All, I just upgraded to tomcat 4.1 from tomcat 3. I have installed setup Tomcat 4.1 and its running fine with sample web applications. When i put my web application's war file into webapps folder and try to start tomcat, it gives me following error. Sep 3, 2003 7:19:09 PM

RE: exception in deploying webapp in tomcat4.1

2003-09-03 Thread Shapira, Yoav
Howdy, You need to make sure your web.xml file is compliant with the Servlet Specification v2.3 DTD. Post your web.xml and we can help you migrate it. In addition, I recommend you use the latest stable tomcat 4.1, which is 4.1.27, not 4.1.10 which you're using now. Yoav Shapira Millennium

Old fasion question - Encoding!

2003-09-03 Thread Janis_Olekss
Okey guys! I have problems with Tomcat 4.1.x (27) I am using struts 1.1 tiles and Co. to make my app. The first and pretty big problem is with encoding. I have one of tiles which reads menu names from property file which contains texts with special chars. They are correct and that's prooved.

RE: Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread Jon Skeet
I think a jk2 release (v1.2.5 I believe) is very close, and has this bug fixed. That's excellent news. When it's released, will I be able to just dump a new tomcat-jk2.jar in server/lib, and everything should spring to life, or is there more to it than that? Check the recent jk2 release

File upload Bug?

2003-09-03 Thread Tom Lyle
Hi All, I'm using the o'reilly mutipart request classes to upload files using a servlet and its happily working using Tomcat 4.1.18. However, i've upgraded to the tomcat 4.1.27 and a certain file (just a jpg) causes the upload to fail with an java.io.IOException: unexpected end of part. Now i can

How to get tomcat to autostart on linux

2003-09-03 Thread batristain
Greetings, I need to know how to get tomcat to autostart on a redhat linux 8 box - can anyone tell me? Thanks, Bobbie Bobbie Atristain Internet Systems Administrator Media General, INC. 804.649.6156 - To unsubscribe, e-mail:

RE: Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread Shapira, Yoav
Howdy, That's excellent news. When it's released, will I be able to just dump a new tomcat-jk2.jar in server/lib, and everything should spring to life, or is there more to it than that? I don't know -- I don't use any of these connectors... Check the recent jk2 release thread on tomcat-dev

jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-03 Thread Bruno Armand
Please i try since one week to become this program without error, but without success. Perrhaps can you help me! I write a jsp-file for calling and saving data from an access existing database which i connect with a odbc-driver. The adrList.jsp ist in the directory c:\eclipse\workspace\projectX\

Re: How to get tomcat to autostart on linux

2003-09-03 Thread John Turner
Courtesy of Oscar Carrillo: http://daydream.stanford.edu/tomcat/install_web_services.html#daemons You need to download his tomcatd script, and copy it to /etc/rc.d/init.d. Then execute: /sbin/chkconfig --del tomcatd Then execute: /sbin/chkconfig --add tomcatd Note you will need to modify the

Antwort: RE: restart tomcat everytime I make change to servlet -- afterexperiment

2003-09-03 Thread erik . itter
do you know if it is fixed in 5.0.9? Mail von Extern Mike Curwen [EMAIL PROTECTED] 03.09.2003 15:48 Bitte antworten an Tomcat Users List An: 'Tomcat Users List' [EMAIL PROTECTED], [EMAIL PROTECTED] Kopie: Thema: RE: restart tomcat everytime I make change to

Re: Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread John Turner
Jon Skeet wrote: I think a jk2 release (v1.2.5 I believe) is very close, and has this bug fixed. That's excellent news. When it's released, will I be able to just dump a new tomcat-jk2.jar in server/lib, and everything should spring to life, or is there more to it than that? The release

Configuring jk2 for Apache 4.0.23/TomCat 4.0.27

2003-09-03 Thread Raj Dasgupta
After adding jk2 to my apache's httpd.conf, I see these errors on startup. Any ideas on what this error indicates? [Wed Sep 03 10:35:32 2003] [error] shm.init(): No file [Wed Sep 03 10:35:32 2003] [error] mod_jk child init 1 -2 [Wed Sep 03 10:35:32 2003] [notice] Apache/2.0.43 (Unix)

RE: File upload Bug?

2003-09-03 Thread Tom Lyle
I've just realised something. The machine thats running Tomcat 4.1.27 is serving the pages with IIS and isapi_redirector2.dll, when i connect directly to Tomcat via port 8080 it works fine. Right, i've just searched the archives and found 2 people posting (much more elequently) the same problem

RE: Which is the best way to install an application with connection p ooling

2003-09-03 Thread Kevin Passey
John, I can easily deploy a basic app using the manager. But when it comes to deploying something that needs additional Context information I come un-stuck. I basically have an app that I want to connect to an AS/400 database using connection pooling. The only way I can get it to work is to

Re: Problem with my first webapp

2003-09-03 Thread Damien
Can somebody provides me a complete tree with a simple application to start working on ? I think it would be a good idea if somebody 'tar/gzip' the directory strutcure found in this page : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/sample/ so a beginner is able to start with a clean

RE: File upload Bug?

2003-09-03 Thread Andy Eastham
Tom, I found that the O'Reilly classes were totally unreliable on Solaris with binary uploads and mod_webapp. However, I They work fine on windows and Linux, and luckily I've not needed them on a Solaris deployment. I think decided it was actually caused by a bug in Solaris mod_webapp - are you

Re: $CATALINA_BASE/temp

2003-09-03 Thread Samuel Le Berrigaud
Fred Kreek wrote: At 10:46 03/09/03, you wrote: Hi everybody, I'm using tomcat 4.1.27 on a Linux system. It works very well ! But I had a little problem of disk space because of the $CATALINA_BASE/temp that grows up very fast in size. In that folder I found some file s like jar_cahe*tmp.

Re: jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-03 Thread Jon Wingfield
try %= rs.getString(i) % instead of % = rs.getString(i) % Bruno Armand wrote: Please i try since one week to become this program without error, but without success. Perrhaps can you help me! I write a jsp-file for calling and saving data from an access existing database which i connect with a

Re: Antwort: Re: Antwort: Problem with my first webapp

2003-09-03 Thread Damien
Le mer 03/09/2003 à 16:03, [EMAIL PROTECTED] a écrit : and you are sure you have a web application (structure and web.xml)? perhaps you should post some additional information (files of you webapp and build.xml) Here is the structure : [EMAIL PROTECTED] tomcat-test]$ ll -R .: total 40

Re: Which is the best way to install an application with connection p ooling

2003-09-03 Thread John Turner
If you are using a WAR file, put your entire Context block into a file called (your-webapp).xml and stick it in META-INF. Whatever is legal in a Context block in server.xml is also legal there. Then you can deploy the WAR file using the manager app froma remote system. The admin and manager

Re: Configuring jk2 for Apache 4.0.23/TomCat 4.0.27

2003-09-03 Thread John Turner
You don't have a shared memory file configured in your properties files, or if you do, it isn't accessible or writable. John Raj Dasgupta wrote: After adding jk2 to my apache's httpd.conf, I see these errors on startup. Any ideas on what this error indicates? [Wed Sep 03 10:35:32 2003]

RE: File upload Bug?

2003-09-03 Thread Tom Lyle
im on Windows 2000 server. It seems to be a bug in isapi_redirect2.dll. Any thoughts anyone? -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 03 September 2003 16:23 To: Tomcat Users List Subject: RE: File upload Bug? Tom, I found that the O'Reilly classes

Re: File upload Bug?

2003-09-03 Thread Remy Maucherat
Tom Lyle wrote: I've just realised something. The machine thats running Tomcat 4.1.27 is serving the pages with IIS and isapi_redirector2.dll, when i connect directly to Tomcat via port 8080 it works fine. Right, i've just searched the archives and found 2 people posting (much more elequently)

Re: Problem with my first webapp

2003-09-03 Thread John Turner
$CATALINA_HOME/webapps/myApp $CATALINA_HOME/webapps/myApp/hello.jsp $CATALINA_HOME/webapps/myApp/WEB-INF $CATALINA_HOME/webapps/myApp/WEB-INF/classes $CATALINA_HOME/webapps/myApp/WEB-INF/lib $CATALINA_HOME/webapps/myApp/WEB-INF/web.xml hello.jsp: % String myVar = new String(Hello World);

Re: How to get tomcat to autostart on linux

2003-09-03 Thread Filip Hanik
you can create a script in /etc/init.d/ or in /etc/rc.local simply put export TOMCAT_HOME=blablabla export CATALINA_HOME=$TOMCAT_HOME $CATALINA_HOME/bin/startup.sh Filip - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 7:52 AM

RE: Antwort: Problem with my first webapp

2003-09-03 Thread Damien
Le mer 03/09/2003 à 16:01, Shapira, Yoav a écrit : Howdy, Le mer 03/09/2003 à 14:50, [EMAIL PROTECTED] a écrit : are you sure your build.xml is correct, my builds do not output the file contents... I have downloaded an example build.xml, so I think it is correct. That's not always a

RE: Problem with my first webapp

2003-09-03 Thread Shapira, Yoav
Howdy, Can somebody provides me a complete tree with a simple application to start working on ? I think it would be a good idea if somebody 'tar/gzip' the directory strutcure found in this page : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/sample/ so a beginner is able to start with a

Re: How to get tomcat to autostart on linux

2003-09-03 Thread Carlos Cajina - Hotmail
Hi Bobbie. Please see http://daydream.stanford.edu/tomcat/install_web_services.html#java At the end of the HOW-TO you'll find what you need... Good luck!!! - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 8:52 AM Subject:

Help!! Deployment issue

2003-09-03 Thread Joe Zendle
I am about to deploy a struts app in production. I have been doing development using port 8080 and a Context path of /aup-reports and a docPath of aup-reports. My app uses BASIC authentication with a JDBC Realm into postgres. Everything works fine in this configuration with 4.1.24 and 4.1.27 and

RE: Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread Jon Skeet
The release that Yoav is referencing is a new mod_jk, which is an Apache DSO module, not a JAR file. So yes, I guess you will be able to sub in the new DSO as soon as you can build one or find a binary, but don't confuse it with a JAR file. In that case I can't see how it's going to help

Re: Problem with my first webapp

2003-09-03 Thread John Turner
oops, that should be: out.println(div align='center'h2 + myVar = /h2/div); My bad. John John Turner wrote: $CATALINA_HOME/webapps/myApp $CATALINA_HOME/webapps/myApp/hello.jsp $CATALINA_HOME/webapps/myApp/WEB-INF $CATALINA_HOME/webapps/myApp/WEB-INF/classes

Tomcat 4.1.27 : error in FORM authentication

2003-09-03 Thread Fabio Bazzani
I'm working with JDK 1.4.0 and tomcat 4.1.27. I configured JDBCRealm in server.xml for a FORM authentication. When I authenticate I get a 400 error code: message : Invalid direct reference to form login page description : The request sent by the client was syntactically incorrect (Invalid direct

RE: File upload Bug?

2003-09-03 Thread Allen Hadden
I had this (or a similar problem) a long time ago. It only occurred when connecting to IIS via HTTPS (SSL). Also, my problem was with isapi_redirector.dll, not isapi_redirector2.dll. It might be the same issue, though. It was some sort of timing problem with the ISAPI redirector. I hacked

Struts App Execution

2003-09-03 Thread news-jakarta
I am using Apache 2 and Tomcat 4.1.24 connected with jk2. I installed the struts example webapp, but I can't seem to get Tomcat to execute the .do files (I get the apache 404 screen). What simple step am I missing? The struts docs only seem to cover up to Tomcat 3.1 (for tomcat/apache setup).

apache httpd hung in W Sending Reply

2003-09-03 Thread Nicholas Ide
I have tomcat 4.1.27 front ended by apache 2.0.47 and mod_jk connector. Occasionally I run out of apache slots because all the slots are apparently hung while Sending Reply. (W status from serverstatus screen). These connections appear to all be stuck in a dialog with tomcat. If I restart

tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-03 Thread Fabio Bazzani
I'm working with JDK 1.4.0 and tomcat 4.1.27. I'm in advanced development and unexpectedly I cannot shutdown Tomcat. I spent all day to try undertand the why ? shell error message: Stopping service Tomcat-Standalone java.net.NoRouteToHostException: No route to host: connect at

Re: Can't stop tomcat with shutdown.bat - bug 17193

2003-09-03 Thread John Turner
I defer to Yoav, as it is entirely possible (though not probable) that I am on crack. But the thread referenced is most definitely talking about mod_jk. John Jon Skeet wrote: The release that Yoav is referencing is a new mod_jk, which is an Apache DSO module, not a JAR file. So yes, I

RE: Tomcat 4.1.27 : error in FORM authentication

2003-09-03 Thread Mike Curwen
-Original Message- From: Fabio Bazzani [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:15 AM To: Tomcat Users List Subject: Tomcat 4.1.27 : error in FORM authentication I'm working with JDK 1.4.0 and tomcat 4.1.27. I configured JDBCRealm in server.xml for a

newbie question

2003-09-03 Thread Gustavo A. Baratto
I can see tomcat 4.1.27 working fine (including executing the examples) when I go to http://localhost:8080 and to http://localhost/jkstatus, but I am having problems connecting apache2 to tomcat through mod_jk2. I am getting 500 error when I go to http://localhost/examples Another thing... I

Memory leaks?

2003-09-03 Thread Jim Lynch
I seemed to have read that java/tomcat isn't supposed to have memory leaks, but something seems to be running me out of memory and I don't know what. After a number of edit/undeploy/compile/deploy iterations I get the following: javax.servlet.ServletException: Servlet execution threw an

Any Recommended Java/Servlet Books

2003-09-03 Thread Jim Si
Hello Everyone, Could anyone tell me some good reference books related to java servlets? In addition, any java books related to the Multimedia like showing pictures, playing videos and etc. Thank you. - To unsubscribe,

Re: tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-03 Thread Filip Hanik
connect is not a hostname, looks like there is something wrong with your networking on that machine, not Tomcat Filip - Original Message - From: Fabio Bazzani [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:29 AM Subject: tomcat 4.1.27:

Re: Configuring jk2 for Apache 4.0.23/TomCat 4.0.27

2003-09-03 Thread Marco Tedone
Did you added the .dll under modules? (Sorry if this it's a stupid question) Marco - Original Message - From: Raj Dasgupta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 4:10 PM Subject: Configuring jk2 for Apache 4.0.23/TomCat 4.0.27 After adding jk2 to

Re: Tomcat 4.1.27 : error in FORM authentication

2003-09-03 Thread Fabio Bazzani
I'm sorry I was not so detailed in my problem description. I've just done all that you said ! I made a link to a jsp page which was included in a security constraint in web.xml. When I click on my link before getting my page, Tomcat give me the login.jsp to authenticate. The authentication fail !!

RE: Memory leaks?

2003-09-03 Thread Richard Hill
Try passing the jvm the -server option -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:57 AM To: tomcat Subject: Memory leaks? I seemed to have read that java/tomcat isn't supposed to have memory leaks, but something seems to be running

Any Recommended Java/Servlet Books

2003-09-03 Thread Jim Si
Hello Everyone, Could you mention some good reference book related to java servlets? In addition, any java books related to the Multimedia like showing pictures, playing videos and etc. Thank you. - To unsubscribe, e-mail:

RE: Any Recommended Java/Servlet Books

2003-09-03 Thread Schalk
Core SERVLETS and JavaServerPages by Marty Hall published by Sun and JSP, Servlets, MySQL by David Harms published by mandtbooks.com Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL

Re: Any Recommended Java/Servlet Books

2003-09-03 Thread epyonne
Core Servlets. - Original Message - From: Jim Si [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:32 AM Subject: Any Recommended Java/Servlet Books Hello Everyone, Could anyone tell me some good reference books related to java

Re: Any Recommended Java/Servlet Books

2003-09-03 Thread John Turner
Archives, this has come up before. John Jim Si wrote: Hello Everyone, Could anyone tell me some good reference books related to java servlets? In addition, any java books related to the Multimedia like showing pictures, playing videos and etc. Thank you.

adding a servlet to my webapp

2003-09-03 Thread Jason Jesso
When I go to my servlet I get HTTP Status 404 - /jasonTest/servlet/foo/HelloWorld The url is: http://neptune/jasonTest/servlet/foo/HelloWorld My config is as follows: (What is wrong here??) I have a webapp defined in server.xml as === Context path=/jasonTest

Re: jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-03 Thread Bruno Armand
Now, i correct all the errors (As you see n the code below), but the jsp-page ist displayed, but without anything written (from html or database.). Can you know why please? Thank! --- Jon Wingfield [EMAIL PROTECTED] schrieb: try %= rs.getString(i) % instead of % = rs.getString(i) %

Re: adding a servlet to my webapp

2003-09-03 Thread John Turner
You have to map your servlet in web.xml. FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker John Jason Jesso wrote: When I go to my servlet I get HTTP Status 404 - /jasonTest/servlet/foo/HelloWorld The url is: http://neptune/jasonTest/servlet/foo/HelloWorld My config is as follows:

RE: How to get tomcat to autostart on linux

2003-09-03 Thread batristain
Thanks for the info -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:04 AM To: Tomcat Users List Subject: Re: How to get tomcat to autostart on linux Courtesy of Oscar Carrillo:

Re: adding a servlet to my webapp

2003-09-03 Thread Jason Jesso
But, I don't want to use the invoker. I want to be able to specify the servlet itself in web.xml. The invoker is evil according to the link you gave me. John Turner wrote: You have to map your servlet in web.xml. FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker John Jason

RE: Which is the best way to install an application with connecti on p ooling

2003-09-03 Thread Hookom, Jacob
I'm trying to accomplish a similar thing with an AS/400 db over JNDI. I have my context setup in my meta-inf and from stack traces; I see that DBCP is the one launching the error, so I know that the context binding is loading successfully. The problem is that DBCP is throwing and exception that

Re: adding a servlet to my webapp

2003-09-03 Thread John Turner
Yes, exactly. The way you have it now is trying to use the Invoker servlet. You are missing the servlet mapping in web.xml, as explained in option #3 of this post which is linked from the FAQ section: http://marc.theaimsgroup.com/?l=tomcat-userm=103945394724196w=2 John Jason Jesso wrote:

Re: adding a servlet to my webapp

2003-09-03 Thread Justin Ruthenbeck
Jason, John was pointing out that you're missing the servlet-mapping which basically says, For a URL that looks like X, send the request to servlet Y. You've also got a malformed servlet-class value. Something like this should work... servlet servlet-nameHelloWorld/servlet-name

Re: Memory leaks?

2003-09-03 Thread Paul
Docs indicate that leaving a stmt or rs object open can cause memory leaks. Found the following in the tomcat docs somewhere, i think: Here is an example of properly written code to use a db connection obtained from a connection pool: Connection conn = null; Statement stmt = null; // Or

setting the field focus with a servlet

2003-09-03 Thread Luke Vanderfluit
Hi, I am working on a servlet that checks a form content without using javascript. Does anyone know if there is a way to set the focus to a particular field using java? thanks for any help :-) kind regards, Luke -- when my computer smiles, I'm happy

Re: jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-03 Thread Jon Wingfield
Very difficult to tell ;) Do you have any errors in the tomcat logs? Does your debug in the SQLException catch clause get written to std out or catalina.out? If a SQLException did get thrown during the inserts/select the output would be: html head /table /body /html Not quite sure how that

Re: adding a servlet to my webapp

2003-09-03 Thread Jason Jesso
My guess is that this is right then: ?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 servlet servlet-nameHelloWorld/servlet-name

RE: adding a servlet to my webapp

2003-09-03 Thread Schalk
Jason servlet servlet-nameHelloWorld/servlet-name servlet-class!-- Over here you have to specify the complete path to the servlet -- HelloWorld/servlet-class /servlet Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding

Re: adding a servlet to my webapp

2003-09-03 Thread Justin Ruthenbeck
At 12:36 PM 9/3/2003, you wrote: My guess is that this is right then: servlet servlet-nameHelloWorld/servlet-name servlet-classHelloWorld/servlet-class /servlet servlet-mapping servlet-nameHelloWorld/servlet-name url-pattern/servlet/foo/HelloWorld/url-pattern

RE: adding a servlet to my webapp

2003-09-03 Thread Roehl, Dan
I am having a similar issue with URL mapping This used to work: Any tips? would like URL pattern to be host:port/webappname/Form web-app display-nameaeform/display-name description AE form controller. /description servlet servlet-nameAeFormServlet/servlet-name

Re: adding a servlet to my webapp

2003-09-03 Thread Jon Wingfield
Given your initial post your class HelloWorld was in jasonTest/WEB-INF/classes/foo So either HelloWorld must be in a package foo. ie the first code line of the Helloworld source is: package foo; or you need to put HelloWorld.class in jasonTest/WEB-INF/classes

  1   2   >