On 10/15/11, Chema wrote:
>>
>> So how it is possible to access HttpRequestServlet and set some
>> session attribute in my Custom Realm which extends RealmBase.
>>
>
>
> I guess you can't do it that
>
>
>>
>> Or else it should be a different Procedure.
>>
>
>
> You can try by using filters or try
>
> So how it is possible to access HttpRequestServlet and set some
> session attribute in my Custom Realm which extends RealmBase.
>
I guess you can't do it that
>
> Or else it should be a different Procedure.
>
You can try by using filters or try Spring Security
>
> Waiting for some clue
On 10/15/11, Yogesh Shankarappa wrote:
> Hello All,
>
>
>I am trying to configure web.xml to have both protected and
> public URLs but still the app
> authenticates the public URLs. Protected URLs works fine. I would greatly
> appreciate if you can
> help to configure the whole applica
I need to maintain a session object between Realm and Servlet.
I have written a CustomRealm and every thing working fine and now it
is required to send an object to servlets (possibly by
HttpRequestServlet ) But i know/think Servlet is not yet Initiated.
So how it is possible to access HttpReques
Hello All,
I am trying to configure web.xml to have both protected and
public URLs but still the app
authenticates the public URLs. Protected URLs works fine. I would greatly
appreciate if you can
help to configure the whole application has protected except for few URLs
which should be
>
>From: André Warnier
>To: Tomcat Users List
>Sent: Wednesday, October 12, 2011 11:52 AM
>Subject: Re: redirection error due to context path after JAAS authentication
>with mod_proxy
>
>Woonsan Ko wrote:
>> Hi,
>>
>> I have a reverse proxy configuration lik
On 14/10/2011 21:09, Janet Preston wrote:
> Hi,
>
> I have a web site with a login page that has to be accessed using SSL so
> that the password is not sent as clear text. The rest of the site is
> non-SSL.
So the password is worth protecting but the session ID is not? The
session ID is as good
Hi,
I have a web site with a login page that has to be accessed using SSL so
that the password is not sent as clear text. The rest of the site is
non-SSL. My configuration worked with this combination: Tomcat 5.5.27;
Apache 2.0.58; JAVA 1.5.0_13 and, mod_jk (I'm not sure what version of
mod_jk
We use this during testing:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/FastNonSecureRandom.java?view=annotate
Once you have built this and added it to the lib directory, you need to
configure the Manager to use it (in conf/context.xml).
Excellent, I'll give tha
Right, I have only been able to find a reference to it in the 2.1 servlet
specification as well.
On Fri, Oct 14, 2011 at 12:27 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Mark Thomas [mailto:ma...@apache.org]
> > Subject: Re: Cannot retrieve client cert when requesting
> From: Mark Thomas [mailto:ma...@apache.org]
> Subject: Re: Cannot retrieve client cert when requesting
> javax.net.ssl.peer_certificates
> I don't see that parameter anywhere in the servlet specification.
It was in the 2.1 spec for ServletRequest, but seems to have disappeared
somewhere alon
On 14/10/2011 19:48, Scott Van Wart wrote:
> I tend to start/stop Tomcat a fair amount during the day through Eclipse
> for my development. I don't use SSL or sessions. Here's what I've been
> getting during startup:
>
> INFO: Creation of SecureRandom instance for session ID generation
> usi
I tend to start/stop Tomcat a fair amount during the day through Eclipse
for my development. I don't use SSL or sessions. Here's what I've been
getting during startup:
INFO: Creation of SecureRandom instance for session ID generation
using [SHA1PRNG] took [17,053] milliseconds.
Usually
On 14/10/2011 18:47, Bryant Panyarachun wrote:
> Hi all,
>
> I am upgrading from Tomcat 6.0.18 to 7.0.21 (32-bit Win zip).
>
> Previously, when requesting a client certificate I would use:
>
> X509Certificate[] certs =
> (X509Certificate[])req.getAttribute("javax.net.ssl.peer_certificates");
>
Hi all,
I am upgrading from Tomcat 6.0.18 to 7.0.21 (32-bit Win zip).
Previously, when requesting a client certificate I would use:
X509Certificate[] certs =
(X509Certificate[])req.getAttribute("javax.net.ssl.peer_certificates");
However, after upgrading to 7.0.21 this no longer works. Instead
Hi,
in catalina.properties I can define paths for common, server and shared
loaders.
Where do I find them here in the docs?:
http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html
Here we have only system and common...
Thank you
--
I am following the tutorial:
http://static.springsource.org/docs/Spring-MVC-step-by-step/part2.html
on developing and configuring the views and the controller. But i am getting
following error:
org.apache.jasper.JasperException: /index.jsp (line: 1, column: 1) The
absolute uri: http://java.sun.c
On 14/10/2011 16:15, Mark H. Wood wrote:
> This I can agree with. They don't allow application managers
> access to Tomcat's config., but anyone can drop stuff into
> /etc/init.d, whence it will run as root? Really? Something is not
> right here.
Is it just me, or is the simple privilege escala
On Fri, Oct 14, 2011 at 07:33:28AM -0700, Hassan Schroeder wrote:
> On Fri, Oct 14, 2011 at 1:52 AM, ettoregia wrote:
> > My system: Linux, the version I'don't know how to realize, since I've got
> > just an ssh connection and typing some command I've not been able to
> > discover it, maybe you ca
ettoregia wrote:
Hi guys,
hope you're all doing well.
Today I'm facing a new challenge, at least for myself.
My system: Linux, the version I'don't know how to realize, since I've got
just an ssh connection and typing some command I've not been able to
discover it, maybe you can help me out on
2011/10/14 ML Harmon :
>
> I don't even know enough about Tomcat to know how to troubleshoot this, am
> very new to this.
>
1) If you know where your server.xml is, you should know where your
log files are as well.
There is logs folder that is sibling to conf.
2) There are two different implemen
Using this link, to setup my Apache Tomcat 6.0 webserver with SSL, but I
can't get it to work. I am very new to Apache Tomcat 6.0. Infact this is the
first time I have ever worked with it.
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
Our Apache Tomcat 6.0 is currently running on a Wind
On Fri, Oct 14, 2011 at 1:52 AM, ettoregia wrote:
> My system: Linux, the version I'don't know how to realize, since I've got
> just an ssh connection and typing some command I've not been able to
> discover it, maybe you can help me out on this as well.
`cat /proc/version` should give you somet
2011/10/14 Mete BALCI :
> I found the problem using new Exception().printStackTrace()
>
> The problem was PsiProbe application that I am using to monitor Tomcat. The
> valve it is using to instrument tomcat is probably not async aware. After
> undeploying it, async support works as expected. I will
2011/10/14 David Rush :
> I've been running Tomcat 6.0.18 for a long time, and am now trying to
> upgrade to 7.0.22 (64 bit .zip download).
>
> I can start Tomcat 7 with startup.bat and it's working fine.
>
> The script to install it as a service worked without complaint, and the
> service is there
I've been running Tomcat 6.0.18 for a long time, and am now trying to
upgrade to 7.0.22 (64 bit .zip download).
I can start Tomcat 7 with startup.bat and it's working fine.
The script to install it as a service worked without complaint, and the
service is there.
However when I try to start i
I found the problem using new Exception().printStackTrace()
The problem was PsiProbe application that I am using to monitor Tomcat. The
valve it is using to instrument tomcat is probably not async aware. After
undeploying it, async support works as expected. I will notify PsiProbe team
about the i
2011/10/14 Mete BALCI :
> web.xml root is:
> http://java.sun.com/xml/ns/javaee";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
> version="3.0">
>
> I tried mapping
I want to clarify the situation with a simpler example.
I have created a war with 2 servlets, without a web.xml. So war contains
only 2 classes (for each servlet).
One servlet is annotated as:
@WebServlet(value = "/async", asyncSupported = true)
Other is annotated as:
@WebServlet(value = "/sync"
web.xml root is:
http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
version="3.0">
I tried mapping both with annotation and web.xml. A
2011/10/14 Mete BALCI :
> Hello,
>
> I am trying to use Servlet 3 async support in Tomcat 7.0.21. I tried setting
> annotation asyncSupported=true and writing this to web.xml, tried using apr
> and nio, still getting false from isAsyncSupported, what am I missing ?
>
> Mete
>
> PS: There is no filt
Hello,
I am trying to use Servlet 3 async support in Tomcat 7.0.21. I tried setting
annotation asyncSupported=true and writing this to web.xml, tried using apr
and nio, still getting false from isAsyncSupported, what am I missing ?
Mete
PS: There is no filter, just a single servlet overriding do
Hi guys,
hope you're all doing well.
Today I'm facing a new challenge, at least for myself.
My system: Linux, the version I'don't know how to realize, since I've got
just an ssh connection and typing some command I've not been able to
discover it, maybe you can help me out on this as well.
Tom
33 matches
Mail list logo