Re: access to localhost:8080 fails

2010-03-28 Thread Harry Metske
I have seen similar issues on our corporate (XP and Vista) laptops, somebody decided that the locally running firewall should also block access to localhost. I think you should first verify if that's the case. I'm not a Windows expert, so I don't know how to check if the above is the case. If you a

Upgrade tomcat 6 to a new point release on windows

2010-03-28 Thread dale77
Hi, what is the procedure for upgrading to the latest point release of tomcat 6 on windows? We are on 6.0.18 running tomcat as a windows service. What is the recommended procedure for upgrade? Does the current windows installer do the right thing to in-place upgrade 6.0.18 to 6.0.26? Or is this

RE: sticky session failover

2010-03-28 Thread Len Takeuchi
Thanks Chuck. It worked when I put the JvmRouteBinderValve configuration under Host. Regards, Len On Sun, 28 Mar 2010 15:26:22 -0500, Caldarale, Charles R wrote > > From: Len Takeuchi [mailto:ltakeu...@jostleme.com] > > Subject: Re: sticky session failover > > > > I tried to configure it by pu

RE: access to localhost:8080 fails

2010-03-28 Thread Caldarale, Charles R
> From: Krishanu Biswas [mailto:biswas.krish...@googlemail.com] > Subject: Re: access to localhost:8080 fails > > I installed Tomcat on my personal laptop. The browser is > still unable to show up: http//localhost:8080. Do you have localhost defined in that machine's hosts file? Can you ping lo

Re: access to localhost:8080 fails

2010-03-28 Thread Krishanu Biswas
Chuck: To verify the network issue, I installed Tomcat on my personal laptop. The browser is still unable to show up: http//localhost:8080. I'm connected to a router via a wireless network which in turn connects me to the internet. I have Mcafee antivirus, firewall and spyware installed. I will n

Re: access to localhost:8080 fails

2010-03-28 Thread Krishanu Biswas
On Sun, Mar 28, 2010 at 8:20 PM, André Warnier wrote: > Krishanu Biswas wrote: > >> Hello, >> >> I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista >> ulltimate). When inside corporate network, it works. >> > > Can you explain how exactly "it works" ? what URL are you using then,

Re: access to localhost:8080 fails

2010-03-28 Thread Krishanu Biswas
On Sun, Mar 28, 2010 at 8:13 PM, Konstantin Kolinko wrote: > 2010/3/28 Krishanu Biswas : > > Hello, > > > > I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista > > ulltimate). > > In what folder is this Tomcat instance installed? > Tomcat is installed under C:\Program Files\Apache

RE: sticky session failover

2010-03-28 Thread Caldarale, Charles R
> From: Len Takeuchi [mailto:ltakeu...@jostleme.com] > Subject: Re: sticky session failover > > I tried to configure it by putting JvmRouteBinderValve > config inside a Manager To quote from the doc: "A Valve element represents a component that will be inserted into the request processing pipe

Re: sticky session failover

2010-03-28 Thread Len Takeuchi
Hi Mark, >Nope. This was fixed last year: http://svn.apache.org/viewvc? >view=revision&revision=794822 >Mark Thanks very much for you quick response. That's great that JmvRouteBinderValve works with PersistentManager. I tried to configure it by putting JvmRouteBinderValve config inside a Mana

RE: Shutdown hook for correctly unloading drivers

2010-03-28 Thread Caldarale, Charles R
> From: Steffen Heil [mailto:li...@steffen-heil.de] > Subject: AW: Shutdown hook for correctly unloading drivers > > However, there are web applications that have own threads > (file reaper, connection pool, etc.). It's the application's responsibility to manage those threads, and shut them down

Re: AW: Shutdown hook for correctly unloading drivers

2010-03-28 Thread Mark Thomas
On 28/03/2010 19:46, Steffen Heil wrote: > Hi > > You wrote, that when an application is unloaded, that tomcat discards all > references to the classes of that web application, therefore the garbage > collector could effectively "unload" that application. > > However, there are web applications t

AW: Shutdown hook for correctly unloading drivers

2010-03-28 Thread Steffen Heil
Hi You wrote, that when an application is unloaded, that tomcat discards all references to the classes of that web application, therefore the garbage collector could effectively "unload" that application. However, there are web applications that have own threads (file reaper, connection pool, etc

RE: access to localhost:8080 fails

2010-03-28 Thread Caldarale, Charles R
> From: Krishanu Biswas [mailto:biswas.krish...@googlemail.com] > Subject: access to localhost:8080 fails > > I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista > ulltimate). When inside corporate network, it works. In home network, > it doesn't. Sounds like whatever security age

Re: sticky session failover

2010-03-28 Thread Mark Thomas
On 28/03/2010 18:40, Len Takeuchi wrote: > My problem is that I'm not using cluster session replication because my > environment doesn't support multicast. I'm using PersistentManager for > session persistence using jdbc as mentioned. I don't think it is possible > to successfully configure a

Re: access to localhost:8080 fails

2010-03-28 Thread André Warnier
Krishanu Biswas wrote: Hello, I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista ulltimate). When inside corporate network, it works. Can you explain how exactly "it works" ? what URL are you using then, from where ? what are you seeing then ? In home network, it doesn't.

Re: access to localhost:8080 fails

2010-03-28 Thread Konstantin Kolinko
2010/3/28 Krishanu Biswas : > Hello, > > I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista > ulltimate). In what folder is this Tomcat instance installed? With what user account it runs? Do you run it as a service, or starting from a *.bat file, or from inside an IDE? There are

access to localhost:8080 fails

2010-03-28 Thread Krishanu Biswas
Hello, I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista ulltimate). When inside corporate network, it works. In home network, it doesn't. Strange enough that it does not work even when the laptop stands alone (not connected to any network). Accessing http://localhost:8080results

RE: sticky session failover

2010-03-28 Thread Len Takeuchi
Hi Arunkumar, The failover is working. What I need is the tomcat instance to which failover occurs assumes ownership of the sticky session, by that the session id has to be changed to use that tomcat instance's jvmRoute and cookie has to be reset, otherwise it is no longer sticky session since

Re: Tomcat app. can no longer connect to MySQL

2010-03-28 Thread Konstantin Kolinko
2010/3/28 fred basset : > Hi All, > > My QA guy came me with a problem where he now can't log into our > Tomcat web app. at all.  The relevant log file is below.  It looks > like Hibernate can't make a connection to MySQL.  We can get to MySQL > fine from the command line, and tried restarting MySQ

Tomcat app. can no longer connect to MySQL

2010-03-28 Thread fred basset
Hi All, My QA guy came me with a problem where he now can't log into our Tomcat web app. at all. The relevant log file is below. It looks like Hibernate can't make a connection to MySQL. We can get to MySQL fine from the command line, and tried restarting MySQL and Tomcat, got the same result.

RE: Shutdown hook for correctly unloading drivers

2010-03-28 Thread Caldarale, Charles R
> From: Steffen Heil [mailto:li...@steffen-heil.de] > Subject: AW: Shutdown hook for correctly unloading drivers > > This does not hold, as soon as Threads are involved, right? I don't understand your comment; Thread objects always exist, and what do you think that has to do with unloading class

Re: tomcat PUT not working

2010-03-28 Thread André Warnier
Kumar Kadiyala wrote: Chris, I see the content when I read the InputStream. Thanks for your help. Hi. It seems that you are helped, and that is the essential part. Maybe to balance a bit with the subject of your post ("Tomcat PUT not working"), I just want to provide some additional informat

AW: Shutdown hook for correctly unloading drivers

2010-03-28 Thread Steffen Heil
Hi > > How does tomcat unload classes? > It doesn't, at least not directly. Tomcat simply eliminates all references to the classes; the actual unloading is done by GC at some point in the future. > > Is there even a way in java to do this? > Just the above. But making the classes unreachable sh

Re: BASIC Authentication : Not working

2010-03-28 Thread Konstantin Kolinko
2010/3/28 Binu Kuttikkattu Idicula : > It is in corejspbean.war and after trying out > /StringBean.jsp, the access is restricted only to > the StringBean.jsp which was the real need. Thanks. > > A little curious about URL pattern if it is in webapps/corejspbean.. Does > the pattern change? Is there

Re: BASIC Authentication : Not working

2010-03-28 Thread Binu Kuttikkattu Idicula
It is in corejspbean.war and after trying out /StringBean.jsp, the access is restricted only to the StringBean.jsp which was the real need. Thanks. A little curious about URL pattern if it is in webapps/corejspbean.. Does the pattern change? Is there any rule/documentation mentioing this? On Sun,

Re: BASIC Authentication : Not working

2010-03-28 Thread Konstantin Kolinko
2010/3/28 Binu Kuttikkattu Idicula : > The exact URL which I access is > http://localhost:8080/corejspbean/StringBean.jsp . How do I define a > URLPattern for this? /StringBean.jsp I suppose that your application is "corejspbean.war" or is in webapps/corejspbean -

Re: BASIC Authentication : Not working

2010-03-28 Thread Binu Kuttikkattu Idicula
/* Hi Harry, When I replaced url to /* it is asking for a user name password. The exact URL which I access is http://localhost:8080/corejspbean/StringBean.jsp . How do I define a URLPattern for this? Thank you for your quick help. Binu K Idicula On Sun, Mar 28, 2010 at 5:56 PM, Harry Metske

Re: BASIC Authentication : Not working

2010-03-28 Thread Harry Metske
I would think your url-pattern is not valid : /*corejspbean*/StringBean.jsp I don't know the exact rules for the pattern, but could you try first with /* and see if that works, and then tweak the url-pattern further to your needs ? regards, Harry 2010/3/28 Binu Kuttikkattu Idicula > > Hi, > >

Re: BASIC Authentication : Not working

2010-03-28 Thread Binu Kuttikkattu Idicula
> Hi, >I was trying a very basic example of authentication using HTTP Basic > Authentication. However this seems not working in TOMCAT 6.0.20 for my > application. Here is the web.xml which tells about login > > > > > application > > > > > > > > > > JSP > > /*corejspbean*/StringBean.jsp >