I was beginning to be happy with the results of my work and was
enjoying the ability to have apache serve the .jsp files from any of
it's virtualhost document roots and not the Tomcat docroot and only
having one Tomcat virtualhost defined allowed me to design an admin
interface on the defi
Nope, this won't work. The Request needs to be mapped before TC knows how
to find the Session.
After the Context is started, it should have a Manager (if you haven't
explicitly configured one). I'm guessing that you are doing some sort of
Mock unit testing, and you want the Session configured
If you wanna browser is sending the cert to the server, you may try to set
clientAuth=true in server.xml.
- Original Message -
From: Bill Barker
To: users@tomcat.apache.org
Sent: Wednesday, October 24, 2007 9:04 AM
Subject: Re: Tomcat 5.5.20 and client certs, not working (brow
By default, IE will store a self-signed cert as a CA cert, not as a user
cert (which is why I don't like using self-signed certs for testing
client-auth). Probably the quickest way to see what is wrong is to
set -Djavax.net.debug=all (at least if you have a Sun JVM) in your
JAVA_OPTS, and try
"Rakesh Rajan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Everyone!
>
> I am currently using Tomcat 6 to serve all my dynamic requests ( mostly
> ajax
> ) and Apache frontend to serve static files. ( The existing connection
> from
> apache to tomcat is using mod_jk ).
Just to be sure. I hope that others have more fruitful thoughts.
1) Do you invalidate the session when the users log out ?
2) I do not like the following fragment:
> req.getSession().setAttribute("user", p);
> req.getSession().setAttribute("prev_session_time",
> p.getLas
This is by design. WEB-INF is a special directory that must be a direct
subdirectory of the webapp's top level. In other words,
webapps/myApp/WEB-INF is good. WEB-INF in any other location within
your webapp is bad. All this is described in the servlet spec and not
tomcat specific.
--Davi
Dustin Fortin wrote:
> I apologize if this is the incorrect list to be writing to.
No need to apologize, you found the correct place for your question.
[...]
> upgraded t6 dev server. I copied the t5 server.xml from the working app
> to the dev,
I wouldn't do that.
[...]
> Oct 23, 2007 5:48:0
Hi all,
I need some help tracking down why the tomcat process (the actual
server) never exits when executing shutdown.sh. I'm pretty sure it's
something my webapp is doing but I'm not sure how to get the
debugging information to track it down.
If I execute startup.sh, wait for startup to f
Hi all,
I'd like to access a servlet, which resides in the following directory:
webapps/myApp/WebContent/WEB-INF/classes/myServlet
In my web browser I'm typing: http://localhost/myApp/WebContent/servlet
//result - "the requested resource is not available"
(I have done the servlet-mapping in we
Hello,
I apologize if this is the incorrect list to be writing to.
Regardless, here is my problem;
I have volunteerd to migrate my company from tomcat 5.0.25 to tomcat
6.0.14. All of our webapps, (around 15) are all working perfectly under
tomcat 5. I read all that I could find on tomcat 6
The problem is that the DLL is not installed by/for Tomcat, therefore
the software does not work. The DLL needs to be installed where Tomcat
can find it. "It's probably on the disk somewhere" just doesn't work.
--
Len
On 10/22/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Sören Kr
Hello everyone,
I've got a really serious issue with session handling in my web
application. Some of my users complain that after they login into the
app, they actually see someone else's data! Personally, I have never
managed to replicate this, and most of the users seem to be perfectly
happy. So
Thanks!!
Christopher Schultz said the following on 10/23/2007 11:59 AM:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
Rob Tanner wrote:
I need to make my applications function in both Tomcat and Glassfish.
In Tomcat the context root is simply the path in the context declaration
in se
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcus,
Milanez, Marcus wrote:
> I think you could configure your server so that the 80 port is not
> available, only the 443 one. Programaticaly, you can invoke the
> request.isSecure() method to check whether your request uses https.
Or, better yet
I think you could configure your server so that the 80 port is not available,
only the 443 one. Programaticaly, you can invoke the request.isSecure() method
to check whether your request uses https.
-Mensagem original-
De: alla winter [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira,
I would appreciate if you answer the question bellow
thanks
-- Forwarded message --
From: alla winter <[EMAIL PROTECTED]>
Date: Oct 22, 2007 2:48 PM
Subject: How can I ensure that client access servlets via HTTPS?
To: users@tomcat.apache.org
I would appreciate if you give me a s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
Rob Tanner wrote:
> I need to make my applications function in both Tomcat and Glassfish.
> In Tomcat the context root is simply the path in the context declaration
> in server.xml. In Glassfish, the default is the application name. In
> order
Hi,
I need to make my applications function in both Tomcat and Glassfish.
In Tomcat the context root is simply the path in the context declaration
in server.xml. In Glassfish, the default is the application name. In
order to get Glassfish to assign the correct context root I have
included
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David kerber wrote:
On Win XP there's shutdown.exe which you could call via Runtime#exec. My
bet would be that shutdown.exe comes with Win 2003 too.
Thanks for the suggestion!
Don't forget that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Werner,
Is it possible that the problem is with your cert?
Your tomcat cert:
> Owner: CN=192.168.1.34, OU=MYOU, O=MYORG, L=MYCITY, ST=MYSTATE, C=MY
> Issuer: CN=192.168.1.34, OU=MYOU, O=MYORG, L=MYCITY, ST=MYSTATE, C=MY
Your error in FF:
> "FF: Coul
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David kerber wrote:
>> On Win XP there's shutdown.exe which you could call via Runtime#exec. My
>> bet would be that shutdown.exe comes with Win 2003 too.
>>
> Thanks for the suggestion!
Don't forget that a machine can always stay up when i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sunil,
sunil chandran wrote:
> Actually my version is Jakarata-tomcat-5.0.28
>
> i am using mod_jk2 ..i know its deprecated but my production environment
> still has it..so i need to go forward with it.
Upgrading from mod_jk2 to mod_jk is really the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin,
Kevin Jackson wrote:
> with the DataSourceRealm, I cannot
> create an InitialContext without either using the tomcat container
> itself (a bit of overkill for a unit test), or using suns fscontext,
> but that doesn't even seem to be available (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stephen,
Stephen More wrote:
> On 10/12/07, Christopher Schultz wrote:
>> Yes, this is how to do it. If you don't want to do it yourself, you can
>> use securityfilter (http://securityfilter.sourceforge.net), which has
>> already been written.
>
> T
On 10/12/07, Christopher Schultz wrote:
> Yes, this is how to do it. If you don't want to do it yourself, you can
> use securityfilter (http://securityfilter.sourceforge.net), which has
> already been written.
Thanks, securityfilter is a great example.
> > ?? - stick with container-based securit
On 10/23/07, nambo <[EMAIL PROTECTED]> wrote:
>
> And is it possible to obtain the sources and binaries from now on?
>
http://archive.apache.org/dist/tomcat/tomcat-5/v5.0.28/src/
Rgds
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-k
> The Apache Tomcat team wishes to announce that Tomcat 5.0.x will no
> longer be supported.
>
> Users are encouraged to upgrade to the latest stable 6.x release or,
> if that is not practical, the latest stable 5.5.x for continued support.
I found it.
I was supprised that tomcat 5.0 documents s
Markus Schönhaber wrote:
David kerber wrote:
What would I need to do to give me the ability to reboot a windows 2003
server machine under the control of my TC 5.5 app (JRE 1.5)? Is there a
java system call I can use, or do I need to call an external
routine/script to accomplish this?
David kerber wrote:
> What would I need to do to give me the ability to reboot a windows 2003
> server machine under the control of my TC 5.5 app (JRE 1.5)? Is there a
> java system call I can use, or do I need to call an external
> routine/script to accomplish this?
I would be surprised if t
Hello,
I am trying to implement mutual authentication in Tomcat 5.5.20 for many
days now and it's giving me a real headache. I hope somebody is able to shed
some light on this. Here is a digest version of what I did so far, would
somebody please comment on the correctness (?) of my steps or pr
Hi,
I have the app working. But I want to set some attributes on the session
(like a user). Does anyone knows how I can get to the HttpSession? I tried
to create a org.apache.catalina.connector.Request via
connector.createRequest() and invoke the request.getSession() method, but I
always receive n
hello ,
Actually my version is Jakarata-tomcat-5.0.28
i am using mod_jk2 ..i know its deprecated but my production environment
still has it..so i need to go forward with it. anyway after hearing lot of
warning from you friends in this forum , i have requested it to the top
division team.
but ple
> From: sunil chandran [mailto:[EMAIL PROTECTED]
> Subject: Re: setting up two tomcat instance on a single machine
>
> i have version 5.1 of tomcat .
There's no such version; what do you really have?
Also note that mod_jk2 has been deprecated for over two years, so you
shouldn't be attempting t
i have version 5.1 of tomcat .
i wanted clustering ...
can u tell me clustering of tomcat without creating more than one tomcat
directory.
i have seen somewhere that there exists two server.xml files for each
instance in one single directory of tomcat 5.
how can i implement it here .
also tell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neil,
Neil Wilson wrote:
> Christopher Schultz wrote:
>> Okay. Using RPM, you ought to be able to figure out version numbers and
>> stuff, though. I'd bet that mod_jk has its own RPM package, but I
>> couldn't tell you what it's called. Try listing al
Hi,
Do you want to implement clustering or just load balancing?
Is 5.1 and 5.2 the versions of Tomcat? If so, why are you using different
versions to set up clustering?
-Original Message-
From: sunil chandran [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 23 de Outubro de 2007 12:23
To:
In data martedì 23 ottobre 2007, alle ore 14.38, hai scritto:
TF> It would be a bugzilla request marked as an ENHANCEMENT
TF> -Tim
mmm, i will try this
--
Carlo Politi
eMail: [EMAIL PROTECTED]
WebPage: http://politi.carlo.googlepages.com
What would I need to do to give me the ability to reboot a windows 2003
server machine under the control of my TC 5.5 app (JRE 1.5)? Is there a
java system call I can use, or do I need to call an external
routine/script to accomplish this?
Thanks!
D
It would be a bugzilla request marked as an ENHANCEMENT
-Tim
Carlo Politi wrote:
Thanks Tim but i have not to submit a bug, just only a new kind of
authenticator. I don't know if it's possible to submit to ASF, I have tried to
read the steps for incubation but it seems too hard...
In data ma
Is not the listings option in apps' web.xml enough? I wanted the app
to decide if it allows listings of its servlet.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Thanks Tim but i have not to submit a bug, just only a new kind of
authenticator. I don't know if it's possible to submit to ASF, I have tried to
read the steps for incubation but it seems too hard...
In data martedì 23 ottobre 2007, alle ore 13.12, hai scritto:
TF> I'd suggest reading these fi
Hello,
Please help me to set up two tomcat on single machine.
i mean tomcat 51 and tomcat 52.
i have created two directories of tomcat 51 and 52. now in server.xml of
both the tomcat i have done some changes on server port and on JK2 Connector
side. is it enough..please help me know more about
I'd suggest reading these first..
http://tomcat.apache.org/faq/bugs.html
http://tomcat.apache.org/bugreport.html
http://tomcat.apache.org/faq/
-Tim
Carlo Politi wrote:
Good day,
I would like to know if it's possible submit an add on to Apache Tomcat,
which are the steps or whom contact. Thanks
You want listsings=true in web.xml contained in $CATALINA_HOME/conf/web.xml
-Tim
Artur Rataj wrote:
Hello. I have the following servlet definition:
Listings
org.apache.catalina.servlets.DefaultServlet
debug
0
Hi,
We have to add functionality to the provided realms. We started with
a JDBCRealm, extended it and added our custom functionality.
Now I've changed from a JDBCRealm (as the super class) to a
DataSourceRealm as the super class.
The problem is - how can I unit test a DataSourceRealm outside of
Hi,
have a look at this blog:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6433
Perhaps you find the described tool (SAP Memory Analyzer) useful for inspecting
your memory dump.
regards
Dirk
Original-Nachricht
> Datum: Tue, 23 Oct 2007 10:43:39 +0200
> Von: Pet
Hello. I have the following servlet definition:
Listings
org.apache.catalina.servlets.DefaultServlet
debug
0
listings
true
1
Listings
/listings
It did
Thanks for your reply.
Do you know what method really applies the mapping?
And, is it possible to make my own implementation of the mapping
digester(?)?"
Regards,
Auke
-Oorspronkelijk bericht-
Van: news [mailto:[EMAIL PROTECTED] Namens Bill Barker
Verzonden: dinsdag 23 oktober 2007 3:
Chris,
I'm making a kind of framework for my company, it must be able to measure the
time tomcat needs to compile the jsp's. this enables us to optimize more
accurate.
But, about starting tomcat etc. I am at a point that tomcat starts gracefully
without connector, but the jsp's and Servlets don
Hello Everyone!
I am currently using Tomcat 6 to serve all my dynamic requests ( mostly ajax
) and Apache frontend to serve static files. ( The existing connection from
apache to tomcat is using mod_jk ). I have couple of questions
1) I read that NIO connectors are way better that normal HTTP co
Christopher Schultz wrote:
Okay. Using RPM, you ought to be able to figure out version numbers and
stuff, though. I'd bet that mod_jk has its own RPM package, but I
couldn't tell you what it's called. Try listing all packages and search
for "jk" or something. Another thing you can do is find the
52 matches
Mail list logo