Re: Transfer all HttpSessions from one cluster node to another

2009-01-28 Thread nlif
Thanks, Chris, Yes, this is an option, but we prefer being able to offload session at will. However, if that proves to be too difficult to do, we may settle for the behavior you describe. Naaman Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nilf, nlif

Re: Transfer all HttpSessions from one cluster node to another

2009-01-28 Thread nlif
Filip, Thanks. If you could elaborate some more, then maybe I can go ahead and implement this, and I'd be happy to send you the result, so you can use it and save yourself some of the work. Naaman Filip Hanik - Dev Lists wrote: nlif wrote: Hi all, We intend to run in a cluster, with

Re: setting catalina_opts in the windows installer

2009-01-28 Thread André Warnier
offbyone wrote: I installed tomcat 6.0.18 using the windows installer. There is no catalina.sh or catalina.bat to set this variable in. So what is the best way to set it? tomcat6w.exe ? (This is just off the top of my head. tomcat6w is the GUI program that allows to set a number of run-time

RE: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
Thanks to all for your helpful input. As a result of trying to reproduce the problem on pre-production servers, I used JMeter to generate some load. Let me give some more specific information about the setup. I have two Tomcat servers: - Tomcat 5.5.7 (jdk 1.5.0_09) (I know, it's old. But this

Re: Thread dump analysis

2009-01-28 Thread Leon Rosenberg
On Wed, Jan 28, 2009 at 10:42 AM, Pieter Temmerman ptemmerman@sadiel.es wrote: Have you found any java.lang.Thread.State: RUNNABLE threads? They are usually more interesting if it comes to a high cpu :-) These are the RUNNABLE threads on Tomcat 6: RMI TCP Connection(42)-173.x.x.x -

public IPadresse is non-local

2009-01-28 Thread Mihamina Rakotomandimby (R12y)
Hi, I have a test box on my LAN. The internet connexion is shared by a router (linksys box) I test my application locally thourgh http://localhost;. But when testing, my application displays: RemoteException occurred in server thread; nested exception is: java.rmi.AccessException:

Tomcat and OpenSSL 9.8.0j ?

2009-01-28 Thread franziska.olivier
Hi all, I need a Tomcat version with Open SSL 9.8.0j (came out beginning of January 2009). Does anyone know when this version of OpenSSL will be integrated in a Tomcat distribution? I haven't found any information on this issue on the Tomcat-Site. Thanks in advance for your help! Franziska

logging outgoing requests from Tomcat to SQL

2009-01-28 Thread Gergely Paljak
Hi, I have encountered the following challenge regarding which I would like to ask you! A want to realize a logging system for tomcat that is capable of: - logging the incoming request for Servlets (easy) - logging the outgoing SQL queries inside Tomcat while maintaining a mapping between the

Re: does this mod_jk.log look healthy?

2009-01-28 Thread Arne Riecken
Thanks for Your answer. There are at least two (watchdog) ajp requests through the web server to the workers every minute, and as i wrote, the ajp connection_pool_timeout ist 600, connectionTimeout in Tomcats server.xml is accordingly 60. So I cannot image how the web server can be more idle

Re: Tomcat and OpenSSL 9.8.0j ?

2009-01-28 Thread Gregor Schneider
AFAIK Tomcat does not include OpenSSL. If you want to use OpenSSL within Tomcat, you'll need to use the APR (Apache Portable Runtime) which is using OpenSSL for all SSL-related requests. However, you'll need to download the OpenSSL/APR--dev-packages / sources and compile them. However, I have

Re: Tomcat and OpenSSL 9.8.0j ?

2009-01-28 Thread Markus Schönhaber
franziska.oliv...@postfinance.ch: I need a Tomcat version with Open SSL 9.8.0j (came out beginning of January 2009). Does anyone know when this version of OpenSSL will be integrated in a Tomcat distribution? Probably never. At least, I don't know of an official Tomcat distribution that is

virtual hosts

2009-01-28 Thread Josh Pollara
Does Tomcat support wildcard virtual hosts? I'm looking to do something like this: Host name=example.com appBase=webapps Alias*.example.com/Alias /Host This does not work though. Any suggestions? -josh

Re: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
I really appreciate your input Leon. On Wed, 2009-01-28 at 11:07 +0100, Leon Rosenberg wrote: RMI TCP Connection(42)-173.x.x.x - Thread t...@112 java.lang.Thread.State: RUNNABLE reading from socket, usually not a problem. I thought so. Thanks. http-8081-35 - Thread t...@71

Re: virtual hosts

2009-01-28 Thread Serge Fonville
Hi, Is your dns properly configured? And what does your environment look like? Regards, Serge Fonville On Wed, Jan 28, 2009 at 1:28 PM, Josh Pollara jpoll...@millennialmedia.comwrote: Does Tomcat support wildcard virtual hosts? I'm looking to do something like this: Host

Re: Java Crash

2009-01-28 Thread Stephen Caine
Chris, This is very helpful. It strongly suggests the issue is memory management, not JFreeChart. I'd put my money on bad hardware. Every single time I've seen a release version of a JVM fail, it's because of bad memory, CPU, motherboard, or the combination thereof. I recommend

Re: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
If the threadMax would be too low in the connector, wouldn't the freeze be over once there are free connections? And also, how can a small threadMax make a thread hang? For example the one that is trying to read an XML file. As a follow up on my own question. This is what the docs say: At

RE: virtual hosts

2009-01-28 Thread Josh Pollara
I am making a transition from apache http - tomcat. DNS is all configured correctly etc. example.com and *.example.com point to the same place. I'm quite certain that tomcat does not support wildcard virtual hosts, I just wanted to confirm with someone who was positive. -Original

RE: SECURITY breach in Tomcat

2009-01-28 Thread Hubert de Heer
Hi, If you really, really need the manager webapp, you can restrict access to that one not only by password but also by source-ip, e.g. access is only allowed from your office IP. In server.xml: Context path=/manager docBase=${catalina.home}/server/webapps/manager debug=0 privileged=true

Re: virtual hosts

2009-01-28 Thread Serge Fonville
I tried it at my dev machine and added an alias to the host section for *.domain.tldevery attempt to access a tomcat host on a resolvable address works. Hope this helps. Regards, Serge Fonville On Wed, Jan 28, 2009 at 1:53 PM, Josh Pollara jpoll...@millennialmedia.comwrote: I am making a

RE: virtual hosts

2009-01-28 Thread Josh Pollara
Please paste your config because I just tried this and it does not work for me. What tomcat version are you using? -Original Message- From: Serge Fonville [mailto:serge.fonvi...@gmail.com] Sent: Wed 1/28/2009 5:16 AM To: Tomcat Users List Subject: Re: virtual hosts I tried it at my

Re: virtual hosts

2009-01-28 Thread Serge Fonville
On Wed, Jan 28, 2009 at 2:16 PM, Serge Fonville serge.fonvi...@gmail.com wrote: I tried it at my dev machine and added an alias to the host section for *.domain.tldevery attempt to access a tomcat host on a resolvable address works. Sorry, my bad. I had only configured a default host.

tomcat 6 cluster deploy

2009-01-28 Thread Joe Rosiak
According to the apache site the tomcat Cluster Deployer object does not work in version 6. Is this accurate? If so has anyone heard of a fix for this in the near future?

Re: public IPadresse is non-local

2009-01-28 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: Hi, I have a test box on my LAN. The internet connexion is shared by a router (linksys box) Reading one of the last posts of this:

Re: virtual hosts

2009-01-28 Thread Serge Fonville
Alternatively you may be able to create a wildcard CNAME in dns Hope this helps. Regards, Serge Fonville On Wed, Jan 28, 2009 at 2:25 PM, Serge Fonville serge.fonvi...@gmail.comwrote: On Wed, Jan 28, 2009 at 2:16 PM, Serge Fonville serge.fonvi...@gmail.com wrote: I tried it at my dev

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-28 Thread Hamacher, Eric
Hello: This has been a truly frustrating problem. Here is what I did: Tomcat 6.0.18 JDK 1.5 u 16 Eclipse w/ WTP 3.4.1 Ojdbc14dms.jar Dms.jar I placed my drivers in lib. In web.xml, I put resource-ref res-ref-namejdbc/GFDataSource/res-ref-name

RE: Servlet 2.5 and RequestDispatcher.include + Response.setHeader, invalid?

2009-01-28 Thread Caldarale, Charles R
From: Ken Johanson [mailto:tomcat-u...@kensystem.com] Subject: Servlet 2.5 and RequestDispatcher.include + Response.setHeader, invalid? It's my understanding that servlet 2.5 loosened the requirement that a included/callee Servlet (and JSP?) cannot set the resp headers/status, and should

Re: Thread dump analysis

2009-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pieter, Pieter Temmerman wrote: Memory usage looks healthy, but CPU usage goes sky high (mainly caused by the Java Tomcat process). That's interesting. Looking at your thread dump snippet, it looks like your database connection pool is exhausted.

Re: virtual hosts

2009-01-28 Thread Pid
Josh Pollara wrote: I am making a transition from apache http - tomcat. DNS is all configured correctly etc. example.com and *.example.com point to the same place. I'm quite certain that tomcat does not support wildcard virtual hosts, I just wanted to confirm with someone who was positive.

Graceful Stop

2009-01-28 Thread Mohit Anchlia
tomcat 6: Is there a way to gracefully stop tomcat similar to apache? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Graceful Stop

2009-01-28 Thread David kerber
Mohit Anchlia wrote: tomcat 6: Is there a way to gracefully stop tomcat similar to apache? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org On

Re: Graceful Stop

2009-01-28 Thread Mohit Anchlia
On linux we did /etc/init.d/tomcat stop but it doesn't look like it gracefully stopped tomcat. On Wed, Jan 28, 2009 at 7:54 AM, David kerber dcker...@verizon.net wrote: Mohit Anchlia wrote: tomcat 6: Is there a way to gracefully stop tomcat similar to apache?

Re: Graceful Stop

2009-01-28 Thread Gregor Schneider
Could you specify your understanding of a graceful *stop? Within Apache HTTPD, I'm only aware of a graceful *restart* But maybe I'm missing something... Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key

Re: Graceful Stop

2009-01-28 Thread André Warnier
Mohit Anchlia wrote: tomcat 6: Is there a way to gracefully stop tomcat similar to apache? There is a whole page here, if you understand it (I don't) : http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html Also, there is a special port defined in the server.xml/Server tag, which I believe

Variable returning context name

2009-01-28 Thread rubach
Hi list, is there an tomcat (5.5x) variable which gives back the context name such as webappRoot returns the path to the webapp!? I plan to use this to specify an logfile such as log4j.appender.logfile.File=${log.dir}/${contextnamevariable}_test.log Thanks H

Re: Variable returning context name

2009-01-28 Thread Ingmar Lötzsch
is there an tomcat (5.5x) variable which gives back the context name such as webappRoot returns the path to the webapp!? I plan to use this to specify an logfile such as log4j.appender.logfile.File=${log.dir}/${contextnamevariable}_test.log I'am using ServletContext.getContextPath() inside a

Re: does this mod_jk.log look healthy?

2009-01-28 Thread Rainer Jung
On 28.01.2009 12:00, Arne Riecken wrote: Thanks for Your answer. There are at least two (watchdog) ajp requests through the web server to the workers every minute, and as i wrote, the ajp connection_pool_timeout ist 600, connectionTimeout in Tomcats server.xml is accordingly 60. So I cannot

Java/Tomcat 5 CPU utilization very high under low load

2009-01-28 Thread David Wall
We are running Tomcat 5.5.27 on Linux 2.6.18-53.1.4.el5xen (Red Hat 4.1.2-14) with Java 1.6.0_05 (32 bit) in a Xen virtualization environment (not my server, so unsure what version that is). It has 3 webapps running, two of ours and Tomcat's manager. Normally, when we run 'top', Java and

Re: Java/Tomcat 5 CPU utilization very high under low load

2009-01-28 Thread Leon Rosenberg
How best can I find the troubled thread on a running production system? kill -QUIT id_of_the_tomcat_process the thread dump will be printed into the catalina.out Its best to restart the server after the thread dump, but since it's handing anyway... also include the heap info: jmap -heap pid

Re: Thread dump analysis

2009-01-28 Thread Leon Rosenberg
I omit the whole quoting to save traffic for clarity. Do I understand you correctly, that after you killed the first tomcat (in my understanding the one which fires soap requests, tomcat 5) than all the RUNNABLE threads in the second tomcat (the one that answers soap, tomcat 6 with xfire) went

Re: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
Thanks Chris, I just bumped into a very nice plugin for Jconsole called TopThread. It's a linux top alike and shows the CPU usage of all threads. This only confirms what I figured out before, there are two threads taking up all CPU. See below for their stack trace:

Re: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
Do I understand you correctly, that after you killed the first tomcat (in my understanding the one which fires soap requests, tomcat 5) than all the RUNNABLE threads in the second tomcat (the one that answers soap, tomcat 6 with xfire) went away and it (tomcat) was idle? No, I did not

RE: Thread dump analysis

2009-01-28 Thread Caldarale, Charles R
From: Pieter Temmerman [mailto:ptemmerman@sadiel.es] Subject: Re: Thread dump analysis Could it be that Tomcat ran out of connectors (maxThreads was hit) and after a while they get closed by the timeout? Depends on how your DB connector pool is configured. This could be a plausible

And how about this mod_jk.log ?

2009-01-28 Thread André Warnier
Hi. I impolitely invaded/hijacked another thread before, was (justifiably) ignored as a result, and stand duly chastised. I apologise and this is a new posting to the same effect. I have a case very similar to one previously mentioned, at a customer, running under RHEL 5, with Apache 2.0.x,

Re: Graceful Stop

2009-01-28 Thread Mohit Anchlia
There is a graceful-stop option in apache2 which stops taking new requests and gracefully waits untill existing requests have been serviced On Wed, Jan 28, 2009 at 7:59 AM, André Warnier a...@ice-sa.com wrote: Mohit Anchlia wrote: tomcat 6: Is there a way to gracefully stop tomcat similar to

RE: And how about this mod_jk.log ?

2009-01-28 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: And how about this mod_jk.log ? I see mod_jk messages as listed below (from mod_jk to client, and from mod_jk to Tomcat). Any chance of getting network traces for both the httpd-Tomcat and httpd-client connections? Might shed some light

Re: SECURITY breach in Tomcat

2009-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hubert, Hubert de Heer wrote: If you really, really need the manager webapp, you can restrict access to that one not only by password but also by source-ip, e.g. access is only allowed from your office IP. In server.xml: Context

Re: And how about this mod_jk.log ?

2009-01-28 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: And how about this mod_jk.log ? I see mod_jk messages as listed below (from mod_jk to client, and from mod_jk to Tomcat). Any chance of getting network traces for both the httpd-Tomcat and httpd-client

Re: Variable returning context name

2009-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, rub...@lat-lon.de wrote: Hi list, is there an tomcat (5.5x) variable which gives back the context name such as webappRoot returns the path to the webapp!? I plan to use this to specify an logfile such as

Re: Specific Tomcat version for Java6

2009-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, stlecho wrote: Does there exist a Tomcat version that is specific for Java6 (i.e. a version that exploits features available in Java6) ? No. I believe all versions of Tomcat can be run on all versions of Java from 1.2 onward (where Java

Re: Java/Tomcat 5 CPU utilization very high under low load

2009-01-28 Thread Juha Laiho
David Wall wrote: We are running Tomcat 5.5.27 on Linux 2.6.18-53.1.4.el5xen (Red Hat 4.1.2-14) with Java 1.6.0_05 (32 bit) in a Xen virtualization environment (not my server, so unsure what version that is). It has 3 webapps running, two of ours and Tomcat's manager. Normally, when we run

Re: logging outgoing requests from Tomcat to SQL

2009-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gergely, Gergely Paljak wrote: A want to realize a logging system for tomcat that is capable of: - logging the incoming request for Servlets (easy) - and logging the time when the Tomcat response is sent (easy as well) As you say, these are

RE: Specific Tomcat version for Java6

2009-01-28 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Specific Tomcat version for Java6 No. I believe all versions of Tomcat can be run on all versions of Java from 1.2 onward Don't think so. Tomcat 6 requires Java 1.5 or newer (seems to work happily even on the 1.7

Connecting Apache Tomcat to Apache

2009-01-28 Thread Mike Eller
Hi, I am new to Tomcat and trying to get it up and running. I have an Apache server (2.2.3) running on CentOS 5.2. I want to add the capabilities that tomcat brings, mainly JSP for now. I followed the connector tutorial/guide on the web site. I have tomcat running and can access pages if I use

Re: Java/Tomcat 5 CPU utilization very high under low load

2009-01-28 Thread David Wall
F.ex. from my toy machine; $ ps -fLp 7044 UIDPID PPID LWP C NLWP STIME TTY TIME CMD tomcat7044 1 7044 0 40 2008 ?00:00:12 /usr/lib/jvm/java/bin tomcat7044 1 7118 0 40 2008 ?00:02:58 /usr/lib/jvm/java/bin tomcat7044 1 7119

Re: Connecting Apache Tomcat to Apache

2009-01-28 Thread Gregor Schneider
If you want people to help you, it's a good idea to post - workers.properties (should be in /etc/apache2) - your jkmount-directives (should be in the httpd-conf-file of your domain) Not knowing CentOS, therefore just a shot from the hip: - do you have a directory /etc/apache2/mods-available?

Re: Connecting Apache Tomcat to Apache

2009-01-28 Thread Mike Eller
Ok, workers.properties is as follows: workers.tomcat_home=/usr/lib/apache-tomcat workers.java_home=/usr/lib/jdk worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=webber worker.worker1.type=ajp13 This is a simple file from the tutorial. The jkmount directives in

Programmatically Force JSP Reload

2009-01-28 Thread Eric Grunzke
Hello, I am developing an app framework that has a very costly startup cycle. Consequently, I try to avoid restarting apps because it takes a long time for the core to get spooled up. In this vein I have a custom classloader that reloads the WEB-INF/classes directory without doing a full

Re: Connecting Apache Tomcat to Apache

2009-01-28 Thread André Warnier
Mike Eller wrote: Hi, I am new to Tomcat and trying to get it up and running. I have an Apache server (2.2.3) running on CentOS 5.2. I want to add the capabilities that tomcat brings, mainly JSP for now. I followed the connector tutorial/guide on the web site. I have tomcat running and can

Re: Connecting Apache Tomcat to Apache

2009-01-28 Thread André Warnier
Mike Eller wrote: Ok, workers.properties is as follows: workers.tomcat_home=/usr/lib/apache-tomcat comment out or delete, obsolete workers.java_home=/usr/lib/jdk comment out or delete, no longer needed worker.list=worker1 good, and it matches my earlier explanation

Re: And how about this mod_jk.log ?

2009-01-28 Thread Rainer Jung
Hi André, On 28.01.2009 19:15, André Warnier wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: And how about this mod_jk.log ? I see mod_jk messages as listed below (from mod_jk to client, and from mod_jk to Tomcat). Any chance of getting network

Re: Connecting Apache Tomcat to Apache

2009-01-28 Thread Rainer Jung
On 28.01.2009 22:58, André Warnier wrote: Mike Eller wrote: Ok, workers.properties is as follows: workers.tomcat_home=/usr/lib/apache-tomcat comment out or delete, obsolete workers.java_home=/usr/lib/jdk comment out or delete, no longer needed worker.list=worker1 good, and it matches my

Deploy 1st Service to Tomcat proper

2009-01-28 Thread Toriacht
Hi, I have developed my first web service. It works fine with Tomcat within my Eclipse IDE and the web service client within Eclipse can connect fine and so on. The service is a particular class name specified by my 'service provider'. The provider will send notifications to my webservice, it

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-28 Thread Michael Ludwig
Konstantin Kolinko schrieb am 23.01.2009 um 04:57:31 (+0300): I think that the answer is (and your solution proves this) that the statement that service does not need environment variables is not 100% true. That is, if you compare *.bat/*.sh with how the service is started, you can see

Re: Connecting Apache Tomcat to Apache

2009-01-28 Thread Jordan Michaels
Thanks folks. Oddly enough I ran into this same issue with almost an identical system at the same time as the original poster (odd in itself), and this solution fixed me right up. I added the JkMountCopy all line under the rest of my global jkmount lines and that fixed me right up. Thank

RE: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
Hi Chuck Could it be that Tomcat ran out of connectors (maxThreads was hit) and after a while they get closed by the timeout? Depends on how your DB connector pool is configured. I was actually referring to the limit of http connections, set by maxThreads. This could be a plausible

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-28 Thread Michael Ludwig
Caldarale, Charles R schrieb am 22.01.2009 um 21:52:36 (-0600): From: Michael Ludwig [mailto:mil...@gmx.de] Subject: Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) If you don't mind running another experiment, please start Tomcat as a service once with and once without the

Re: Programmatically Force JSP Reload

2009-01-28 Thread Landon Fabbricino
Not sure if this helps you or not. You could use the following. www.yourdomain.com/jspfile.jsp?jsp_precompile=true You may be able to use this to your advantage somehow. Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 lfabb...@agrium.com From: Eric Grunzke

Re: Deploy 1st Service to Tomcat proper

2009-01-28 Thread Michael Ludwig
Toriacht schrieb am 28.01.2009 um 14:48:59 (-0800): Exportwar exports a war file with the same name of my project. I can then browse from Tomcat, import and deploy this service. but if I click on teh service it get brought to an error page. Then the error message might give a hint as to

Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-28 Thread Michael Ludwig
Hamacher, Eric schrieb am 28.01.2009 um 08:18:21 (-0600): Resource name=jdbc/GFDataSource auth=Container type=javax.sql.DataSource maxActive=30 maxIdle=2 maxWait=1000 username=username

Re: Tomcat 6 vs Apache running as services

2009-01-28 Thread Michael Ludwig
kareda schrieb am 27.01.2009 um 09:01:57 (-0800): I have tomcat 6.0.18 running as service on win2003 server. Now I also need to run php5, so I'm thinking of installing Apache HTTP Server 2.2.11 (should also run as service) You might want to have a look at Caucho Quercus, a PHP 5 interpreter

Re: Programmatically Force JSP Reload

2009-01-28 Thread Eric Grunzke
Thanks for the response, but that doesn't appear to solve my problem. I'm not really concerned with when jsps are compiled, or even when they are loaded, but rather when they are reloaded. Allow me to provide a sample jsp: %...@page import=load.test.Car% html body %

Re: enableLookups=true, getRemoteHost returns ip

2009-01-28 Thread Konstantin Kolinko
2009/1/28 otismo pe...@nomad.org: I'm struggling to get enableLookups to work on a new Ubuntu 8.10 tomcat 6.0.18 install. Calls to httpServletRequest.getHostName() always return the IP, instead of the host name. I set the access log to resolve hosts and it also shows the ip. Tomcat 6.0.18

Re: public IPadresse is non-local

2009-01-28 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: I have a test box on my LAN. The internet connexion is shared by a router (linksys box) Reading one of the last posts of this: http://www.generation-nt.com/reponses/rmi-probleme-de-creation-d-un-serveur-sous-linux-ubuntu-entraide-59447.html?page=3#reponse

unwar and unjar an application

2009-01-28 Thread Mihamina Rakotomandimby (R12y)
Hi, A developer gave me just a .war file to deploy on a tomcat. I read [w|j]ar files are just zipped. The .war contains some .jar... I would like to explode all the .war (and the contained jars) and have the full code source. I could do it manually. But then there are two questions: - How to

Re: unwar and unjar an application

2009-01-28 Thread Kirk True
Hi Mihamina, Mihamina Rakotomandimby (R12y) wrote: Hi, A developer gave me just a .war file to deploy on a tomcat. I read [w|j]ar files are just zipped. The .war contains some .jar... I would like to explode all the .war (and the contained jars) and have the full code source. I could do it

Re: Programmatically Force JSP Reload

2009-01-28 Thread Kirk True
Hi Eric, If you call touch on the JSP does it update? This used to work on versions of JRun back in the 90's. Just a shot in the dark... Kirk Eric Grunzke wrote: Hello, I am developing an app framework that has a very costly startup cycle. Consequently, I try to avoid restarting apps

Re: unwar and unjar an application

2009-01-28 Thread Mihamina Rakotomandimby (R12y)
Kirk True wrote: A developer gave me just a .war file to deploy on a tomcat. I read [w|j]ar files are just zipped. The .war contains some .jar... I would like to explode all the .war (and the contained jars) and have the full code source. I could do it manually. Are you sure that the WAR and

Re: Tomcat 6.0 loading servlet twice

2009-01-28 Thread Ani
On Thu, Jan 29, 2009 at 11:40, Ani jadhao.anirud...@gmail.com wrote: Hello, I have a web application in which I am facing one wiered pbm. I see tomcat loading servlet twice , on which my application logic is failing and quits. Getting below error in log file. My findings : One thing I

Re: Programmatically Force JSP Reload

2009-01-28 Thread Eric Grunzke
Thanks for the reply, Kirk. Calling touch probably would force Tomcat to reload the jsp, but it's not a complete solution. In production environments, Tomcat polls the filesystem for changes, so until the next polling cycle hits, the app would still get a ClassCastException. Additionally,

Re: HTTP status 404 - Context config

2009-01-28 Thread Stephen Vaughan
Nevermind, I've resolved it. thank you for replying. On Wed, Jan 28, 2009 at 2:04 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Stephen Vaughan [mailto:stephenvaug...@gmail.com] Subject: HTTP status 404 - Context config I'm having trouble setting up a context with

Tomcat getting stopped automatically

2009-01-28 Thread Javed420
Hi, I am doing processing over data from xls file on perticular request. But Tomcat gets automatically stopped in middle of execution. If anybody know reply. -- View this message in context: http://www.nabble.com/Tomcat-getting-stopped-automatically-tp21721882p21721882.html Sent from the

[Fwd: [ANN-pmcs] Registration for ApacheCon Europe 2009 is now open!]

2009-01-28 Thread Mark Thomas
ApacheCon EU 2009 registration is now open! 23-27 March -- Mövenpick Hotel, Amsterdam, Netherlands http://www.eu.apachecon.com/ Registration for ApacheCon Europe 2009 is now open - act before early bird prices expire 6 February. Remember to book a room at the