Re: http://172.20.15.188(local ip:8080 did work ,but http://localhost:8080/didnot work!!

2003-09-01 Thread
Hi, /etc/hosts has no problem. Both ping 127.0.0.1 and ping localhost are successfull. [EMAIL PROTECTED] wrote: Hi,I have installed rpm version of tomcat 4.1.24 on Red hat Advanced Server.When I visited:http://172.20.15.188:8080,it did work(172.20.15.188 is my real lcoal network ip),but when

Re: http://172.20.15.188(local ip:8080 did work ,but http://localhost:8080/didnot work!!

2003-09-01 Thread
Hi, /etc/hosts has no problem. Both ping 127.0.0.1 and ping localhost are successfull. [EMAIL PROTECTED] wrote: Hi,I have installed rpm version of tomcat 4.1.24 on Red hat Advanced Server.When I visited:http://172.20.15.188:8080,it did work(172.20.15.188 is my real lcoal network ip),but when

Problem Compiling under Redhat 9

2003-09-01 Thread Tony F. White
Hello, I am not sure if this is a problem so much with Tomcat or with Ant. When I try to compile Tomcat 4.1.24 using Sun JDK 1.3.1 on Redhat 9 I get the following error: - build-catalina: [javac] Compiling 355 source files

Re: http://172.20.15.188(local ip:8080 did work ,but http://localhost:8080/didnot work!!

2003-09-01 Thread arnab
Hi, Can u change the localhost ip from 127.0.0.1 to 172.20...ur existing IP (in /etc/hosts). Let me know, if this works. Arnab [gb2312] »¢ Íõ writes: Hi, /etc/hosts has no problem. Both ping 127.0.0.1 and ping localhost are successfull. . . [EMAIL PROTECTED] wrote: Hi,I have

restart tomcat after making changes

2003-09-01 Thread Clive Luk
Hi list, I am newbie in Tomcat. I just setup a tomcat on a RH9 not long ago. But I have problem when I made changes on the .class file(after compile) under /blah/WEB-INF/classes/ I have to restart TOMCAT or i will get the following error message or saying JDBCChinese not found. I had a look

Re: http://172.20.15.188(local ip:8080 did work ,but http://localhost:8080/didnot work!!

2003-09-01 Thread Marco Tedone
Well, localhost is bound to 127.0.0.1, while you have got a local IP address. Can you specify your machine's name instead of the IP address (i.e. http://mymachine:8080) ? It should work. I'm running under Windows so I hope this will help (maybe it's only crap). Marco - Original Message -

Problem building mod_jk2 on Freebsd 4.8-RELEASE

2003-09-01 Thread Dean Searle
Hello All! I am new to this mailing list and somewhat new to Apache and Tomcat. I recently have rebuilt my server from the ground up and need to rebuild mod_jk2. Here is what I have so far: Freebsd 4.8 Release Apache 2.0.47 Tomcat 4.1.27 Ant 1.5.4 JDK 1.4.1p3_3 I was following the instructions

RE: Unable to obtain a module (.so) for JK2 on Linux (RH9)

2003-09-01 Thread Stuart Stephen
I had a similar problem, it wouldn't compile a .so in RH9. I gave up on it and went back to good old trusty mod_jk 1 in the end. -Original Message- From: jerome moliere [mailto:[EMAIL PROTECTED] Sent: 30 August 2003 09:20 To: Tomcat Users List Subject: Re: Unable to obtain a module

Re: [Sundararaman] [Help me]

2003-09-01 Thread jerome moliere
Christopher Williams wrote: I would strongly advise against using the Swing timer object. Try using a java.util.Timer object instead. I use this in a servlet to perform automatic daily backups and other automated tasks. christopher is right you should not use SWING objetcts in your J2EE

Re: http://172.20.15.188(local ip:8080 did work ,but http://localhost:8080/didnot work!!

2003-09-01 Thread
Hi, I have edited my /etc/hosts file ,changed 127.0.0.1 to 172.20.15.188,and http://localhsot:8080/ still doesnot work. --- [EMAIL PROTECTED] Hi,I have installed rpm version of tomcat 4.1.24 on Red hat Advanced Server.When I visited:http://172.20.15.188:8080,it did work(172.20.15.188 is

Re: http://172.20.15.188(local ip:8080 did work ,but http://localhost:8080/didnot work!!

2003-09-01 Thread
Hi, I have edited my /etc/hosts file ,changed 127.0.0.1 to 172.20.15.188,and http://localhsot:8080/ still doesnot work. --- [EMAIL PROTECTED] Hi,I have installed rpm version of tomcat 4.1.24 on Red hat Advanced Server.When I visited:http://172.20.15.188:8080,it did work(172.20.15.188 is

Re: ClassNotFound Exception with Struts Action

2003-09-01 Thread Adam Hardy
hi Tom, it's not obvious what your problem could be. To find out the classpath being used by your app server, you should put an echo in your app server's batch file at the appropriate point, i.e. just before it calls javac. However app servers generally don't include the webapp directories in

about worker.list - non comprendo

2003-09-01 Thread achana
Hiya all. I'm using Apache2.0.40/TC4.0.4 Currently, on my web server's worker.properties, I've worker.list=ajp13, which works fine. In preparation for a second tomcat, I am modifying the worker.list As a test, I changed it to worker.list=diehard1 and ditto for all subsequent references to this

RE: Tomcat and IIS 6 - Please HELP

2003-09-01 Thread Renato Romano
I don't know if the following can be useful to someone having the same problem, but I observed the following strange behavior in IIS 6: 1) when addressing with the client a filename with extension, say zzz, like myfile.zzz, IIS answers with 404 (of course the file is where it is requested; you

Socket Problem with tomcat on Solaris 8

2003-09-01 Thread Haug Thomas
Hi everybody, I have a problem with tomcat 4.1.24 running on Solaris 8 (with JDK 1.4.1_02). A client of mine is sending requests to the Tomcat instance in a loop (but sequentially). After a while the client receives a java.net.ConnectException with the error message Connection timed out: connect.

Tomcat hangs after some time

2003-09-01 Thread Van Der Veken Jan
Hello all, Since a month or two we are experiencing the following problem with our Tomcat setup: On average every 2 or 3 days (sometimes it's longer, sometimes it's twice a day) Tomcat seems to hang. Clients can't connect to our application anymore through port 8080. It's also impossible to

Re: Tomcat hangs after some time

2003-09-01 Thread Eric J. Pinnell
We are running on the following platform: Windows NT 4.0 SP6a Tomcat 3.3.1a (The problem originally occurred on 3.2.4, we upgraded to 3.3.1a hoping to solve the problem) Sun Java SDK 1.3.1_08 Hi, I have heard of Tomcat hanging in some situations up to 4.1.24. However looking at the above

about worker.list - non comprendo

2003-09-01 Thread achana
It works like this, but it is not making sense to me at the moment. In httpd.conf, for each vhost, I changed the lines to read : VirtualHost blabla ...ellided... JkMount /path diehard1 JkMount /path/* diehard1 ...other contexts... /VirtualHost Does this mean I must allocate one specific TC

Ant task for reloading webapps

2003-09-01 Thread Ian . Colledge
I don't know if my last mail got throught so I'll resend. I'm using Tomcat 3.3 and cannot get the redeploying to work (ie I copy the war over an existing one and Tomcat should load the new war). I cannot get it to work. Everywhere on the net seems to say it's broken so I'm willing to now accept

RE: Unable to obtain a module (.so) for JK2 on Linux (RH9)

2003-09-01 Thread Eric J. Pinnell
I agree with Stuart. Use JK if JK2 won't work. I don't understand what's up with JK2 and RH9. Enough people are having troubles with it. I'm curious enough now to take a look. -e On Mon, 1 Sep 2003, Stuart Stephen wrote: I had a similar problem, it wouldn't compile a .so in RH9. I gave

unpacking war file outside webapps: FileNotFoundException: MANIFEST.MF

2003-09-01 Thread Sonja Löhr
Hi, all! First of all, my system: redhat 9.0 jdk 1.4.2 tomcat 4.1.27 and the apache-connection: apache 2.47 JK2 with a channel.socket, ajp13 worker, I've just managed to get apache and tomcat together, it now works, say, often, but there is a curious problem I don't understand: As a first

Re: Socket Problem with tomcat on Solaris 8

2003-09-01 Thread Eric J. Pinnell
Hi, Other people have had this problem. You might want to try Tomcat 4.1.27 as it has a number of Coyote fixes. As for Solaris settings here are some that I use: (excuse the cut and paste) Install Patch IDs 103582-12 or better -SynFlood Listen Queue management fix 103597-04 or better -TCP

Thread dump - (basic)

2003-09-01 Thread Euan Guttridge
What is the best method to get a stack dump following a frozen tomcat? I cannot use kill -QUIT (pid) since running in production and do not want to run TC in the foreground. Thanks, Euan J2DSK_1.4.1_03 TC 4.1.24 (Standalone, Coyote connector) Linux RH9.

Re: Thread dump - (basic)

2003-09-01 Thread Eric J. Pinnell
Hi, Kill -QUIT will work. It will send the output to catalina.out and not kill the process. It doesn't have to be running in the foreground. -e On Mon, 1 Sep 2003, Euan Guttridge wrote: What is the best method to get a stack dump following a frozen tomcat? I cannot use kill -QUIT (pid)

permissions for Tomcat+Apache integration

2003-09-01 Thread Sonja Löhr
Hello! Here is my second question, now concerning Apache+Tomcat integration on Linux: Could someone tell me a reasonable users, groups and file permissions structure for apache, the tomcat-files itself and a typical webapp? - Java security aside. 1. Is it a good idea at all to place the webapps

Re: permissions for Tomcat+Apache integration

2003-09-01 Thread Eric J. Pinnell
Hi, The question is do you need to secure your application from the outside world or do you need to secure it from users that might be logging on to your system? Or both? Usually you want to go with the both scenerio. But to keep it simple, pick a user that you want tomcat to run as. Untar

AW: Socket Problem with tomcat on Solaris 8

2003-09-01 Thread Haug Thomas
Hi Eric, thank you for your quick and ample response. I have already suspected that the OS is not well configured, so I will incorporate your proposals into my etc/system settings. Regarding the tomcat 4.1.27: I will install this version because I think that my problem is more related to the

Re: permissions for Tomcat+Apache integration

2003-09-01 Thread Sonja Löhr
You are very right in that my greatest problem is to work out a pattern where to find the static content hides that Apache could perhaps serve a bit faster. Unfortunately, I can't tell Apache to serve .gif etc. but must come the other way round, perhaps ending up with URLs to single servlets.

The sessionCreated is not called at TC 4.1.27

2003-09-01 Thread Vernon Wu
I have moved my project to TC 4.1.27 recently. Today, I notice the sessionCreated method of HttpSessionListener is not called when a new session is created, but the sessionDestroyed is called when a session is deceased. It a bug in the 4.1.27 (it is fine in the 4.1.24), or something is not right

Bad Cookies

2003-09-01 Thread Armenio Pinto
Hi there, I'm experiencing a strange problem with Tomcat 3.2.4. I use cookies to store the session id, and everything works fine. But when I access Tomcat from behind a proxy, the session is lost between pages. Does anyone know why this happens? The error situation in Tomcat is exactly the

Tomcat and IIS + Index Server - possible ?

2003-09-01 Thread Hertenstein Alain
Hello, Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected with IIS using mod_jk. Index Server is AFAIK also installed. We are thinking of adding a Search site button in our web application. The problem is that we have content coming from numerous places in our JSP pages :

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

2003-09-01 Thread Santos Jha
dude/dudess Why are u asking this question. Yes I am from SE Asia .so? [EMAIL PROTECTED] wrote: C'mon There are 7+ million people in HK, x-number of multi-nationals from y-number of industry sectors. I can't believe no HK person is contributing to or listening in on

Re: Problem switching to Struts 1.1

2003-09-01 Thread Remy Maucherat
Marco Tedone wrote: Hi, I posted this issue to the struts-user list 3 times, but noone replied to me and frankly I'm beginning to be a little worried. In few words we have an application which was running fine until struts rc1 but when we switched to Struts 1.1 the following exceptions is thrown:

IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread YErkan
Hi all, We're running Tomcat 4.1.24 on Win2K sp4. After a few days of use (usually 4-5 days), Tomcat comes to a semi-halt mode and it refuses to process some of the pages. Even the thrown exceptions are not logged. It looks like it's a thread pool related problem because, apparently, the

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Hi all, We're running Tomcat 4.1.24 on Win2K sp4. After a few days of use (usually 4-5 days), Tomcat comes to a semi-halt mode and it refuses to process some of the pages. Even the thrown exceptions are not logged. It looks like it's a thread pool related problem because,

Re: Problem switching to Struts 1.1

2003-09-01 Thread Marco Tedone
Thank you for your support. I must say that the privileged attribute for my application was set to false, but the problem still persists. Marco - Original Message - From: Remy Maucherat [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 01, 2003 6:37 PM

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread YErkan
Well, this is a valid error, and doesn't indicate a problem. Remy, Thanks for your prompt answer. Please don't get me wrong, I don't want to sound arrogant or something, but how come an error may not indicate a problem. ;-) We've already gotten the thread dump. I'll have a look into that

soft linked directories.

2003-09-01 Thread Detlef Brendle
Im having a behaviour and dont know if this is a feature or a misbehaviour of tomcat. I set up a context with the name '/foo/'. A controller servlet manages a listing of available files within the directory '/foo/images/'. All works fine except if I add softlinked diretories underneath

Re: JSP vs C#/.NET

2003-09-01 Thread Xingqun Jiang
Sorry, guys, I posted this messages a few days ago. And I don't why it comes up again. Xingqun - Original Message - From: Xingqun Jiang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, August 25, 2003 4:16 PM Subject: JSP vs C#/.NET Hi, I am a pure java

Re: Problem switching to Struts 1.1

2003-09-01 Thread Remy Maucherat
Marco Tedone wrote: Thank you for your support. I must say that the privileged attribute for my application was set to false, but the problem still persists. Are you sure ? I did test it with TC 5 (maybe 5.0.5) / Struts 1.1 examples webapp / log4j 1.2.8, and it did work fine (I simply dropped

Re: Ant task for reloading webapps

2003-09-01 Thread Bill Barker
To get Tomcat to redeploy your war file, you need to set the redeploy=true attribute on the AutoDeploy element in server.xml. In theory, you could get an Ant task to re-load the context (assuming that you've left the 'admin' webapp installed). It would need to send a request to

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread Tim Funk
The stack trace you posted has to do with committing the reponse (which actually means sending data back to the client instead of sitting in a buffer), then trying to allocate a session. Allocating a NEW session involves sending a cookie back to the client to let the client be aware of the new

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Thanks for your prompt answer. Please don't get me wrong, I don't want to sound arrogant or something, but how come an error may not indicate a problem. ;-) It indicates there's likely a bug in the app, not in TC (that's what I meant). You can't create a session if the

Re: soft linked directories.

2003-09-01 Thread Tim Funk
Could it be this? http://jakarta.apache.org/tomcat/faq/misc.html#symlink -Tim Detlef Brendle wrote: Im having a behaviour and dont know if this is a feature or a misbehaviour of tomcat. I set up a context with the name '/foo/'. A controller servlet manages a listing of available files within the

Problem switching to Struts 1.1

2003-09-01 Thread Marco Tedone
Hi, I posted this issue to the struts-user list 3 times, but noone replied to me and frankly I'm beginning to be a little worried. In few words we have an application which was running fine until struts rc1 but when we switched to Struts 1.1 the following exceptions is thrown: !-- BEGIN OF