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
security-role
role-nameapplication/role-name
/security-role
!-- SECURITY
I would think your url-pattern is not valid :
url-pattern/*corejspbean*/StringBean.jsp/url-pattern
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
url-pattern/*/url-pattern
Hi Harry,
When I replaced url to url-pattern/*/url-pattern 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
2010/3/28 Binu Kuttikkattu Idicula binukuttikka...@googlemail.com:
The exact URL which I access is
http://localhost:8080/corejspbean/StringBean.jsp . How do I define a
URLPattern for this?
url-pattern/StringBean.jsp/url-pattern
I suppose that your application is corejspbean.war or is in
It is in corejspbean.war and after trying out
url-pattern/StringBean.jsp/url-pattern, 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
2010/3/28 Binu Kuttikkattu Idicula binukuttikka...@googlemail.com:
It is in corejspbean.war and after trying out
url-pattern/StringBean.jsp/url-pattern, 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
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 should
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
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 classes?
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.
2010/3/28 fred basset fredbasset1...@gmail.com:
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
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
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
2010/3/28 Krishanu Biswas biswas.krish...@googlemail.com:
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
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.
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
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 agent
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,
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 that have
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
Hi Mark,
Nope. This was fixed last year: http://svn.apache.org/viewvc?
view=revisionrevision=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 Manager
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 pipeline
On Sun, Mar 28, 2010 at 8:13 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:
2010/3/28 Krishanu Biswas biswas.krish...@googlemail.com:
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
On Sun, Mar 28, 2010 at 8:20 PM, André Warnier a...@ice-sa.com 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,
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
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
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 putting
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
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
29 matches
Mail list logo