Virtual host set-up woes

2010-02-19 Thread Eric P
I'm struggling big time trying to set up a virtual host in Tomcat. I'm running Tomcat version 6.0.18 under Linux and nothing else (i.e., no Apache web server, etc.). I've read the official 6.0 docs here over and over. http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html But it se

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Martin Gainty
chuck is right.. BTW: i put my Oracle driver classes (classes12.jar or classes12.zip) in WEB-INF/lib HTH Martin Gainty __ please do not modify or disrupt this transmission. Thank You > From: chuck.caldar...@unisys.com > To: users@tomcat.a

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: RE: DB connection error -Tomcat 6 config > > Have you changed conf/catalina.properties, by any chance? > > No, I haven't -- should I do that? No; that file contains the classpaths for the various Tomcat classloaders. If you h

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Propes, Barry L
>>>So it appears Tomcat can't find the OracleDriver class. Verify that Tomcat >>>has read access to the jar you placed in Tomcat's lib directory, and that >>>the jar does in fact contain that class, and that you haven't also placed >>>that jar in the webapp's WEB-INF/lib directory. (You must n

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: RE: DB connection error -Tomcat 6 config > > java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver So it appears Tomcat can't find the OracleDriver class. Verify that Tomcat has read access to the jar you placed in Tomcat'

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Propes, Barry L
Ok, well perhaps I'm narrowing down, or minimizing the errors. I seem to be having some kind of conflict with the driver class and possibly as a result from this, the Context for a connection pool I'd built in the earlier version. From what I can tell, looking at the TC6 docs, the env lookup o

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: RE: DB connection error -Tomcat 6 config > > Should I (not) be rendering some of the particular webapps's info in > the WEB-INF/web.xml file? What did you have in mind? The WEB-INF/web.xml file holds the servlet-spec defined con

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: RE: DB connection error -Tomcat 6 config Forgot to mention the following: > Feb 19, 2010 3:23:43 PM org.apache.tomcat.util.digester.SetPropertiesRule > begin > WARNING: [SetPropertiesRule]{Server/Service/Engine/Realm} Setting pr

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Propes, Barry L
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, February 19, 2010 4:17 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config The element for your webapp should be in the webapp's META-INF/context.xml file. (There ar

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Propes, Barry L
Ok, will do. Thanks, Chuck. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, February 19, 2010 4:17 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config > From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Sub

RE: DB connection error -Tomcat 6 config

2010-02-19 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: DB connection error -Tomcat 6 config > > I've left the content out of the server.xml file I presume you meant "context" in the above statement. > So I copied over my Oracle driver file in the jar file, ojdbc14_g.jar > to the TC

DB connection error -Tomcat 6 config

2010-02-19 Thread Propes, Barry L
Hello, I'm finally upgrading my Tomcat version from 4.1.31 to 6.0.24; in this instance, running on XP Pro w/ jdk1.6.0_18 and jre6 I'm having some trouble with the configuration of the context.xml and web.xml files. I've left the content out of the server.xml file, as instructed, as opposed to

Restart one webapp

2010-02-19 Thread Jonathan Soons
I have one webapp that randomly freezes. I detect this with a script and restart tomcat. I would prefer to restart just the one webapp the way the manager does. Is there a command line way to do this? jon soons Java version "1.6.0_14" Tomcat 5.5.27 Debian Linux 2.6.24-23-xen

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Konstantin Kolinko
2010/2/19 Christopher Schultz : > Konstantin, > > On 2/19/2010 2:22 PM, Konstantin Kolinko wrote: >> 1. The OP (chinmaytotekar) never mentioned what Tomcat version (s)he was >> using. >> What a disgrace. > > The thread subject seems to contradict this statement. > Ah, sorry. I missed that. Best

RE: Tomcat 6 shutdown issue

2010-02-19 Thread dBenjamin
Tomcat not getting shutdown.. it shows the WARNING: StandardServer.await: Invalid command '' received can you pls find server.xml when I click shutdwon.bat server not listning it shows WARNING: StandardServer.await: Invalid command '' received can you please help me to solve this issues..

RE: Tomcat shutdown issue

2010-02-19 Thread dBenjamin
Tomcat not getting shutdown.. it shows the WARNING: StandardServer.await: Invalid command '' received can you pls find server.xml when I click shutdwon.bat server not listning it shows WARNING: StandardServer.await: Invalid command '' received can you please help me to solve this issues..

Re: Trouble with CLIENT-CERT authentication method

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, On 2/19/2010 2:18 PM, Kevin Mills wrote: > On 2/19/10, Christopher Schultz wrote: >> On 2/19/2010 1:48 AM, Jason Brittain wrote: >>> Nope. clientAuth="false" means that the webapp's web.xml specifies which >>> resources require the client cer

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 2/19/2010 2:22 PM, Konstantin Kolinko wrote: > 1. The OP (chinmaytotekar) never mentioned what Tomcat version (s)he was > using. > What a disgrace. The thread subject seems to contradict this statement. > 2. For example of similar st

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Konstantin Kolinko
2010/2/19 Pid : > On 19/02/2010 16:49, Christopher Schultz wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Pid, >> >> On 2/19/2010 11:39 AM, Pid wrote: >>> >>> !ThreadSafe >>> >>> This type of error was a symptom of the request/response being held as >>> an instance field in at

Re: Trouble with CLIENT-CERT authentication method

2010-02-19 Thread Kevin Mills
On 2/19/10, Christopher Schultz wrote: > On 2/19/2010 1:48 AM, Jason Brittain wrote: >> Nope. clientAuth="false" means that the webapp's web.xml specifies which >> resources require the client certificate. > > Gotcha: I thought that "false" would cause the connector to ignore all > client cert in

Re: Trouble with CLIENT-CERT authentication method

2010-02-19 Thread Kevin Mills
On 2/18/10, Christopher Schultz wrote: > > Stupid question: don't you want clientAuth="true"? > In this particular case, no. I don't want to force client certificate authentication for all SSL connections coming to port 8443. Instead, I am looking to do client certificate authentication on a pe

Re: 6.0.24 SSL Session always New

2010-02-19 Thread iainmac
Hi yes you are right, but I add it when I get a new validated session, so it should be there, in effect for my code, it's he same thing. This worked fine for all browsers with 5.0.28, stopped working for all but MSIE from 6.0.20. I think its a change as mentioned by the other kind respondent, al

Re: 6.0.24 SSL Session always New

2010-02-19 Thread iainmac
Thanks I think it must be something to do with that. Eric Lenio-5 wrote: > > On Fri, Feb 19, 2010 at 12:02:18PM +, iainmac wrote: >> >> Hi, >> >> I have just moved from 5.0.18 to 6.0.24 using JSSE for SSL. >> >> I have a web application that checks for a current session, and if there >> i

Re: 6.0.24 SSL Session always New

2010-02-19 Thread iainmac
Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Iain, > > On 2/19/2010 7:02 AM, iainmac wrote: >> I have just moved from 5.0.18 to 6.0.24 using JSSE for SSL. >> >> I have a web application that checks for a current session, and if there >> isn't one it se

RE: WARNING: StandardServer.await: Invalid command '' received

2010-02-19 Thread dBenjamin
Can you please let me know is any port range for shutdwon port because I am dynamicaly chaning the port address when the tomcat port used by other server or application ? before launching the application from tomcat I am checking tomcat both port http and shutdown port if any other application usi

RE: WARNING: StandardServer.await: Invalid command '' received

2010-02-19 Thread dBenjamin
Thanks for your replay can you please find server.xml -- View this message in context: http://old.nabble.c

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Pid
On 19/02/2010 16:49, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 2/19/2010 11:39 AM, Pid wrote: !ThreadSafe This type of error was a symptom of the request/response being held as an instance field in at least the last one of the couple of recent times we s

Re: Trouble with CLIENT-CERT authentication method

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 2/19/2010 1:48 AM, Jason Brittain wrote: > Nope. clientAuth="false" means that the webapp's web.xml specifies which > resources require the client certificate. Gotcha: I thought that "false" would cause the connector to ignore all client c

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 2/19/2010 11:39 AM, Pid wrote: > !ThreadSafe > > This type of error was a symptom of the request/response being held as > an instance field in at least the last one of the couple of recent times > we saw this AFAICR. I certainly agree that t

Re: What governs a URL connection timeout?

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 2/19/2010 11:08 AM, Chris Mannion wrote: > Thank, genuinely, for the responses, I've learned how I *could* set a > timeout, which I didn't know before. However, what I'm actually > trying to get to the bottom of is what timeout could be in

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Pid
On 19/02/2010 16:31, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chinmay, I checked the source, and this is what we've got: public MessageBytes setValue( String name ) { for ( int i = 0; i< count; i++ ) { if(headers[i].getName().equalsIg

Re: tomcat 6.0.18 shutdown address

2010-02-19 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/19/2010 5:45 AM, André Warnier wrote: - Since address 127.0.0.1 is the "local loopback" address on any host, a process can only connect to it from the local host, and from nowhere else. Yes, but things like

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chinmay, I checked the source, and this is what we've got: public MessageBytes setValue( String name ) { for ( int i = 0; i < count; i++ ) { if(headers[i].getName().equalsIgnoreCase(name)) { // 267 for ( int j=

Re: Why does Tomcat try to use the cache when compilation failed?

2010-02-19 Thread Eric Bauman
On 19/02/2010 08:15, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 2/18/2010 9:28 AM, Eric Bauman wrote: On 19/02/2010 01:25, Peter Crowther wrote: On 18 February 2010 14:14, Eric Bauman wrote: For some reason, it appears Tomcat is trying to hit its comp

Re: What governs a URL connection timeout?

2010-02-19 Thread Chris Mannion
Guys Thank, genuinely, for the responses, I've learned how I *could* set a timeout, which I didn't know before. However, what I'm actually trying to get to the bottom of is what timeout could be in play *without* me setting it. As I said, the connection is already timing out and I don't want it

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chinmay, On 2/19/2010 10:50 AM, Christopher Schultz wrote: > Are you setting any headers in your app? Perhaps one of them is NULL. I just checked, and this JSP does not trigger an error in TC 6.0.20: - --- http:/

Re: problem in using context path in xsl:import

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tembug, On 2/19/2010 6:26 AM, tembugs tembugs wrote: > When I use multi-level context path in tomcat, I have folders created with # > inside webapps like folder1#folder2#folder3. The xsl files inside my web > module tries to import other xsl files in

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chinmay, On 2/19/2010 7:54 AM, chinmaytotekar wrote: > I have a servlet and when i call reponse.getWriter().flushBuffer() OR > reponse.getWriter().println("SOME TEXT"), sometimes it gives following types > of errors. This error does not occur always b

Re: Limit Tomcat to a specific Browser (User Agent)

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kristof, On 2/19/2010 7:45 AM, Kristof De Vos wrote: > Now we have another server running Tomcat and we also need to limit the > access to a specific browser, but I cannot find the way to do this. Is Apache httpd being used in this environment as we

Re: tomcat 6.0.18 shutdown address

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/19/2010 5:45 AM, André Warnier wrote: > - Since address 127.0.0.1 is the "local loopback" address on any host, a > process can only connect to it from the local host, and from nowhere else. Yes, but things like SSH tunnels can be used to

Re: [OT] automatic redirect

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/19/2010 9:11 AM, Caldarale, Charles R wrote: >> From: banto [mailto:banto...@gmail.com] >> Subject: automatic redirect >> >> there is a way for tomcat to redirect http calls to another web-server >> (plug-in,...) trasparently,i mean by mea

Re: Regarding Connector in tomcat 6

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 2/19/2010 1:11 AM, Nikita Manohar wrote: > My web application is currently deployed on Tomcat 6. Currently it is > running on http. > > I was asked to run it on HTTPS. I was able to run in on HTTPS and for that I > need to make changes in

Re: tomcat 6.0.24 ssl with windows 7

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roy, On 2/19/2010 1:10 AM, Roy Nabel wrote: > With jdk1.6.0 and tomcat 6.0.10 ssl works great on windows 7 or windows 2008 > R1 . > Server.xml ssl fragment >protocol="HTTP/1.1" >SSLEnabled="true" >m

Re: Servlet takes up too much memory that is never released

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Torsten, On 2/19/2010 10:13 AM, Torsten wrote: > I have a HTTPServlet that takes up a lot of memory. The servlet is > initialized when its web page is opened for the first time. Then, > memory consumption of the tomcat process rises by up to 400MB. Th

Re: tomcat 6.0.24 ssl with windows 7

2010-02-19 Thread Evgeniy Lyuty
try to change protocol attribute to org.apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11Protocol , it helped in my case Roy Nabel wrote: > > With jdk1.6.0 and tomcat 6.0.10 ssl works great on windows 7 or windows > 2008 R1 . > Server.xml ssl fragment >

RE: Servlet takes up too much memory that is never released

2010-02-19 Thread Joseph Morgan
I doubt this is due to code-size actually causing this, and suspect the servlet is filling up memory with data. Can you check the servlet code for a large data load and optimize that loading per request? -Original Message- From: Torsten [mailto:twisted2...@yahoo.de] Sent: Friday, Febru

Re: 6.0.24 SSL Session always New

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain, On 2/19/2010 7:02 AM, iainmac wrote: > I have just moved from 5.0.18 to 6.0.24 using JSSE for SSL. > > I have a web application that checks for a current session, and if there > isn't one it sends the user to a login screen. This is working fi

Re: Two contexts of the same webapp

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mario, On 2/19/2010 2:39 AM, Mario Splivalo wrote: > Well, the proprietary library we're using to receive connection to some > proprietary -based service is awfully written - we can't get an > service-identifier (let's call it that way) within the lib

Servlet takes up too much memory that is never released

2010-02-19 Thread Torsten
Hi, I have a HTTPServlet that takes up a lot of memory. The servlet is initialized when its web page is opened for the first time. Then, memory consumption of the tomcat process rises by up to 400MB. This amount of memory is never released again, then, even though the servlet's web page is not

Re: 6.0.24 SSL Session always New

2010-02-19 Thread Eric Lenio
On Fri, Feb 19, 2010 at 12:02:18PM +, iainmac wrote: > > Hi, > > I have just moved from 5.0.18 to 6.0.24 using JSSE for SSL. > > I have a web application that checks for a current session, and if there > isn't one it sends the user to a login screen. This is working fine from > Explorer as

RE: WARNING: StandardServer.await: Invalid command '' received

2010-02-19 Thread Caldarale, Charles R
> From: dBenjamin [mailto:d...@mail.com] > Subject: RE: WARNING: StandardServer.await: Invalid command '' received > > I facing new issues with my tomcat it show invalid command recieved > when I hit my web application Looks like you're trying to send messages to the shutdown port, not the HTTP

Re: Two contexts of the same webapp

2010-02-19 Thread Mario Splivalo
Caldarale, Charles R wrote: >> Although, the app is fairly simple, so I could just use manager to stop >> all the applications, overwrite the docBase directory with the new >> version, and then start all the apps. > > Or just overwrite the docBase target with the new version, then do a touch on >

RE: Regarding Connector in tomcat 6

2010-02-19 Thread Caldarale, Charles R
> From: Nikita Manohar [mailto:nikita.mano...@gmail.com] > Subject: Regarding Connector in tomcat 6 > > My web application is currently deployed on Tomcat 6. Currently it is > running on http. Applications don't run on HTTP vs HTTPS. That layer of the protocol stack is almost entirely invisible

RE: WARNING: StandardServer.await: Invalid command '' received

2010-02-19 Thread dBenjamin
Dear All, I facing new issues with my tomcat it show invalid command recieved when I hit my web application, Can you please help me to solve this problem some times when I call shutdown bat it is not getting shutdown it shows only invalid command. WARNING: StandardServer.await: Invalid command '

RE: automatic redirect

2010-02-19 Thread Caldarale, Charles R
> From: banto [mailto:banto...@gmail.com] > Subject: automatic redirect > > there is a way for tomcat to redirect http calls to another web-server > (plug-in,...) trasparently,i mean by means of just configuration ? Install and configure the ubiquitous URL rewrite filter: http://tuckey.org/urlrew

RE: Two contexts of the same webapp

2010-02-19 Thread Caldarale, Charles R
> From: Mario Splivalo [mailto:mario.spliv...@megafon.hr] > Subject: Re: Two contexts of the same webapp > > I could, of course, but I'm loosing the auto-war-deploy feature that > way, right? No, the auto-deploy still works. Place each webapp's element in conf/Catalina/[host]/[appName].xml, wh

Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread Pid
On 19/02/2010 12:54, chinmaytotekar wrote: Hi I have a servlet and when i call reponse.getWriter().flushBuffer() OR reponse.getWriter().println("SOME TEXT"), sometimes it gives following types of errors. This error does not occur always but sometimes. What can be the reason for this? Last tim

Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.

2010-02-19 Thread chinmaytotekar
Hi I have a servlet and when i call reponse.getWriter().flushBuffer() OR reponse.getWriter().println("SOME TEXT"), sometimes it gives following types of errors. This error does not occur always but sometimes. What can be the reason for this? *** ERROR java.lang.NullPointerEx

Re: Limit Tomcat to a specific Browser (User Agent)

2010-02-19 Thread Pid
On 19/02/2010 12:45, Kristof De Vos wrote: Hello, We have an application in php using Apache and we successfully limit the access to users accessing the site with a specific browser by checking the User Agent. We modified httpd.conf like this: SetenvIf User-Agent "^FedPol-Portal/2.0" Agent_OK

Limit Tomcat to a specific Browser (User Agent)

2010-02-19 Thread Kristof De Vos
Hello, We have an application in php using Apache and we successfully limit the access to users accessing the site with a specific browser by checking the User Agent. We modified httpd.conf like this: SetenvIf User-Agent "^FedPol-Portal/2.0" Agent_OK Options Indexes FollowSymLinks Mult

Re: 6.0.24 SSL Session always New

2010-02-19 Thread André Warnier
iainmac wrote: Hi, I have just moved from 5.0.18 to 6.0.24 using JSSE for SSL. I have a web application that checks for a current session, and if there isn't one it sends the user to a login screen. This is working fine from Explorer as it did before in the previous version of Tomcat, but it k

6.0.24 SSL Session always New

2010-02-19 Thread iainmac
Hi, I have just moved from 5.0.18 to 6.0.24 using JSSE for SSL. I have a web application that checks for a current session, and if there isn't one it sends the user to a login screen. This is working fine from Explorer as it did before in the previous version of Tomcat, but it keeps saying the

automatic redirect

2010-02-19 Thread banto
Hi all, there is a way for tomcat to redirect http calls to another web-server (plug-in,...) trasparently,i mean by means of just configuration ? e.g. bowser -> http://host1_tomcat:port -> http://host2_tomcat:port and back... thanks in advance, Antonio -- View this message in context: http://

problem in using context path in xsl:import

2010-02-19 Thread tembugs tembugs
Hi, When I use multi-level context path in tomcat, I have folders created with # inside webapps like folder1#folder2#folder3. The xsl files inside my web module tries to import other xsl files in the same hierarchy like,inside file1.xsl, I do, but this throws an exception "java.net.MalformedUR

Re: tomcat 6.0.18 shutdown address

2010-02-19 Thread André Warnier
Caldarale, Charles R wrote: From: Curtis Garman [mailto:curt.gar...@gmail.com] Subject: Re: tomcat 6.0.18 shutdown address yes...this is what I was told...thanks all for the info Unfortunately, pretty much all of what André wrote was wrong, as Mark explained. I apologise for the nonsense I w

RE: tomcat cluster does'nt work

2010-02-19 Thread Stephane Lorin
You're completely right. But I'm testing cluster with this version because production server are in stand by to migration. This migration would be possible only after all tests of appliance. I search a temporary solution waiting this migration are effective. Meanwhile thank you for advice

Re: tomcat cluster does'nt work

2010-02-19 Thread André Warnier
Stephane Lorin wrote: Hi, I'm configuring a tomcat cluster with 3 nodes. I use Tomcat 5.0.19 with jdk 1.4_2.19 Both these things are about 10 years old, and not developed nor supported anymore by their respective suppliers. That looks like a very bad way to start, and you will get very lit

tomcat cluster does'nt work

2010-02-19 Thread Stephane Lorin
Hi, I'm configuring a tomcat cluster with 3 nodes. I use Tomcat 5.0.19 with jdk 1.4_2.19 1st node : On a Windows XP @ IP : 192.168.1.91 Server.xml : 2nde node : On a Windows XP @ IP : 192.168.1.12

Re: AJP13 shows static content only

2010-02-19 Thread Pid
On 19/02/2010 07:09, petr kalafatič wrote: Hi, I have problem to configure apache and tomcat (ajp13). I have several virtual hosts (php,jsp). PHP pages are ok, but jsp shows static (html) content only. Someone encountered this problem? Yes, people who incorrectly configure the Apache document

Re: Howto configure cold failover with Tomcat on 2 different servers?

2010-02-19 Thread Pid
On 18/02/2010 23:42, Leon Kolchinsky wrote: Constrains of the application :( You can't run 2 instances in same time on the same DB. That's why I have to configure "Cold Failover" for that I need to find out that Tomcat is in unresponsive state to shut it down completely and start it on another se

Re: Howto configure cold failover with Tomcat on 2 different servers?

2010-02-19 Thread Pid
On 18/02/2010 23:42, Leon Kolchinsky wrote: Constrains of the application :( You can't run 2 instances in same time on the same DB. That's why I have to configure "Cold Failover" for that I need to find out that Tomcat is in unresponsive state to shut it down completely and start it on another se

Re: How to enable logging when running Tomcat 5.5 under Eclipse 3.5?

2010-02-19 Thread David Griffiths
Hi, no sign of the access logs there: home/dgriff/zebedee_workspace> find . -name \*log\* | xargs ls -l -rwxrwxrwx 1 dgriff None 2226 Feb 18 16:17 ./.metadata/.log -rwxrwxrwx 1 dgriff None 0 Feb 18 15:35 ./.metadata/.plugins/org.eclipse.rse.core/.log -rwxrwxrwx 1 dgriff None 0 Feb 18 1