Re: Why doesn't my context work?

2005-09-16 Thread Mark Eggers
> Here are the contents of > home.xml: > > docBase="michael/webspace/webapps" > debug="0" privileged="true"> > >From the documentation for Tomcat 5.5.9 at http://localhost:8080/tomcat-docs/config/context.html: The Document Base (also known as the Context Root) directory for this web a

Re: classloader issue on jboss3.2.2 for tomcat4.1

2005-09-16 Thread Steve Dodge
It doesn't see any classes in any of your jars? I was using JBoss 3.2.2 back in 2003 and had the same issue. Once I set the web loader to false, I realized that some utility classes were getting loaded from jars deployed in other wars. Effectively, now each webapp has its own classloader.

Re: Cluster and notifications to nodes

2005-09-16 Thread Bradley McLain
this is a good question. i'll be facing the same issue soon. for session-based information, your answer is fine, but what about other types of info, say at the app-level? in one of my apps, for example, I can change some config data using a web request, but what if i want to ensure it is replica

RE: Wher do I get binary of Tomcat

2005-09-16 Thread Bradley McLain
try netbeans as well, if it works on osx. its a little buggy, but far less frustrating than eclipse, imho. On Fri, 2005-09-16 at 00:14 -0400, [EMAIL PROTECTED] wrote: > Thanks. I will follow your tips. > > I am transitioning my network to MacOSX and getting rid Win98 so that was one > of last c

Re: How to change the SSL port

2005-09-16 Thread Bradley McLain
nal Message - > From: "CommonGround Softworks/Phil McNamara" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Thursday, September 15, 2005 11:15 PM > Subject: RE: How to change the SSL port > > > > Guys, Thank you. Stephen posted the origina

Re: Cluster and notifications to nodes

2005-09-16 Thread Lionel Farbos
Hi, Why do you want your application to send a notification ? If you configure Session Replication in each of your Tomcat servers, every time there will be a change in your HTTP session, the others AS in the cluster will be notified and synchronized automatically. You have nothing to do... On F

Re: How to share static content across applications

2005-09-16 Thread Ritchie Gillam
You were right... I simply removed all the Context elements now in the server.xml file and changed all my code to reference ../sharedHRM or /sharedHRM depending on if the tag appends the Application Context or not. Thanks for your help. Ritchie Gillam Programmer Analyst, Information Services,

Re: Virtual Hosts

2005-09-16 Thread Tom Burke
; isn't working. Tom - Original Message - From: "Mahesh S Kudva" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 16, 2005 3:18 PM Subject: RE: Virtual Hosts Hi Tom "deploy" is a directory in any platform you are running Tom

RE: Order of WebApp Loading

2005-09-16 Thread Allistair Crossley
run your dependent web app in it's own tomcat? > -Original Message- > From: Peter Menzel [mailto:[EMAIL PROTECTED] > Sent: 16 September 2005 15:55 > To: Tomcat Users List > Subject: Re: Order of WebApp Loading > > > I see, > if i can't count on th

Re: How to share static content across applications

2005-09-16 Thread Hassan Schroeder
Ritchie Gillam wrote: I need the following entries: and then one entry for each application that references the shared assets like this: I am doing this because sometimes the JSP/JSF tag appends the application context and sometimes it don't. That sounds broken; I would try to fix tha

Re: Order of WebApp Loading

2005-09-16 Thread Peter Menzel
I see, if i can't count on the order of loading, I tried something other: I set crossContext="true" for both webapps and while in contextInitialized() of the webapp which schould run only after the first webapp finished loading I use context.getContext("/db-app") to look if the first app ist alr

Re: Tomcat directory protection

2005-09-16 Thread Hassan Schroeder
Peter Flynn wrote: I don't know if Kerem Erkan was talking about exploits, but I have looked for some facility in Tomcat equivalent to Apache .htaccess files and failed to find any mention of them. Is it possible to do this kind of IP-level or simple username/password restriction in Tomcat? I

Re: https:// Netscape and Firefox 1.0

2005-09-16 Thread Lalit Batra
Upgraded firefox 1.0.6 and still same problem. On 9/16/05, Lalit Batra <[EMAIL PROTECTED]> wrote: > I am using the tomcat 5.5.9 , Sun JRE 1.5 and certificate from verisign. > FireFox 1.0 > > > On 9/16/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Lalit Batra [mailto:[EMAIL PRO

Re: https:// Netscape and Firefox 1.0

2005-09-16 Thread Lalit Batra
I am using the tomcat 5.5.9 , Sun JRE 1.5 and certificate from verisign. FireFox 1.0 On 9/16/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Lalit Batra [mailto:[EMAIL PROTECTED] > > Subject: https:// Netscape and Firefox 1.0 > > > > Has anybody experienced problems of using http

RE: https:// Netscape and Firefox 1.0

2005-09-16 Thread Caldarale, Charles R
> From: Lalit Batra [mailto:[EMAIL PROTECTED] > Subject: https:// Netscape and Firefox 1.0 > > Has anybody experienced problems of using https://blah.blah.com:8443/ > esp. with Netscape 8.0 and FireFox 1.0. I'm using SSL on Firefox 1.0.6 with Tomcat 5.5.9 on Sun's JRE 1.4.2 and 5.0 without any

Re: mod_jk performance

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 18:52, Mark Thomas wrote: > KEREM ERKAN wrote: > > Tomcat is harder to configure and -sadly- it has a far worse documentation > > than Apache (for now). > > I look forward to seeing your documentation patches in Bugzilla ;) I will certainly document how to fix my problem onc

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 14:04, Michael Lai wrote: > KEREM ERKAN wrote: > > >OK, start with downloading and installing a binary version of Tomcat for > >your OS and also download the 1.2.10 version of mod_jk. I think we should > >handle the rest off list not to bother the list anymore. > > > > Just

Re: mod_jk performance

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 13:50, Andrew Miehs wrote: > We did some comparisons between running Tomcat 5.0 standalone, or TC > 5.0 and Apache 2.0 > > If you are ONLY delivering JSPs, we found that we could only deal > with 50% of the requests when running combined Apache TC and mod_jk OK, that's u

Tomcat directory protection (was: Re: mod_jk performance

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 13:29, Hassan Schroeder wrote: > KEREM ERKAN wrote: > > Apache has better directory/file restricting and handling than Tomcat > > better in what way? What actual *security* issue are we talking > about -- in other words, what exploit is Tomcat susceptible to > that Apache is

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 13:22, KEREM ERKAN wrote: > OK, start with downloading and installing a binary version of Tomcat for > your OS and also download the 1.2.10 version of mod_jk. I think we should > handle the rest off list not to bother the list anymore. Yes, that's lot's already installed and

Re: Virtual Hosts

2005-09-16 Thread Tom Burke
as well as this one. Obviously there's something I'm not understanding... Tom Burke - Original Message - From: "Mahesh S Kudva" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 16, 2005 2:00 PM Subject: Re: Virtual Hosts This s

Re: problems setting up tomcat on debian sarge

2005-09-16 Thread Arnaud Vandyck
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Wood wrote: > Andrew Miehs wrote: >> I have tomcat 5.0.25 -> 30 running on Sarge without a problem. Sun >> JVM 1.42r5 and greater. > maybe it was just the combinations i tried :) FYI, tomcat5 is now in Debian/unstable and is going to move from

Re: Virtual Hosts

2005-09-16 Thread Mahesh S Kudva
___ Regards & Thanks Mahesh S Kudva -Original Message- From: Steve Dodge <[EMAIL PROTECTED]> To: Tomcat Users List Date: Thu, 15 Sep 2005 15:57:04 -0500 Subject: Re: Virtual Hosts > You probably want to change the appBase. You can control the co

RE: Please take my address out of your mailing list !

2005-09-16 Thread Michael Sullivan
On Fri, 2005-09-16 at 09:00 +0200, Jan Fredrik Fallsen wrote: > place the url below in the "to" field and send it > > [EMAIL PROTECTED] > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: 16. september 2005 08:40 > To: Tomcat Users List > Subject: Please

Re: How to share static content across applications

2005-09-16 Thread Ritchie Gillam
Hassan Ok, I understand so where do I put the reference to the shared asset Context? I cannot put it in server.xml. Let's say I put want to put the reference in an application called app2, that would work fine expect I already have a element defined in context.xml for the app2 application.

Re: Session timeout issues

2005-09-16 Thread James Shaw
On 15/09/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > Hi, > > I don't know if this fits, but could it be, that your problem is > related to the tomcat session synchronization bug? > > http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 > That does look like a potential issue. However, I

RE: Any procrun gurus here?

2005-09-16 Thread Longson, Robert
Jeff, There's no XML interface, but you can put the options in environment variables individually or use the procrun manager to enter them instead. Source code to procrun is in the jakarta commons-daemon project. Best regards Robert Longson -Original Message- From: [EMAIL PROTECTED] [

RE: Order of WebApp Loading

2005-09-16 Thread Allistair Crossley
arted. Allistair > -Original Message- > From: Robert Harper [mailto:[EMAIL PROTECTED] > Sent: 15 September 2005 19:08 > To: 'Tomcat Users List' > Subject: RE: Order of WebApp Loading > > > The case is still that most servlet containers, Tomcat included, are

Re: Specify work folder for each application

2005-09-16 Thread James Shaw
On 16/09/05, Anto Paul <[EMAIL PROTECTED]> wrote: > On 9/16/05, rahul <[EMAIL PROTECTED]> wrote: > > Eclipse > > > > Poject -> Properties-> Java Build Path -> Source ->Add folder... > > > > It is not allowing to add a folder outside the project. In Eclipse 3.0 > I did this using som

RE: Please take my address out of your mailing list !

2005-09-16 Thread Jan Fredrik Fallsen
place the url below in the "to" field and send it [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16. september 2005 08:40 To: Tomcat Users List Subject: Please take my address out of your mailing list ! Dear who-ever every day I get more th

Re: Specify work folder for each application

2005-09-15 Thread Anto Paul
On 9/16/05, rahul <[EMAIL PROTECTED]> wrote: > Eclipse > > Poject -> Properties-> Java Build Path -> Source ->Add folder... > It is not allowing to add a folder outside the project. In Eclipse 3.0 I did this using some mapping external resource. But in 3.1 I couldn't find this opti

RE: Specify work folder for each application

2005-09-15 Thread rahul
Eclipse Poject -> Properties-> Java Build Path -> Source ->Add folder... --RahulJoshi > -Original Message- > From: Anto Paul [mailto:[EMAIL PROTECTED] > Sent: Friday, September 16, 2005 11:08 AM > To: Tomcat Users List > Subject: Specify work folder for each application >

Re: Two elements problems

2005-09-15 Thread Steve Dodge
TED] Sent: Thursday, September 15, 2005 2:40 PM To: Tomcat Users List Subject: Re: Two elements problems I couldn't find it in your post, so let me ask. Do you have 2 network interfaces on the machine? How are you establishing 2 ip addresses? This topic sparked my interest because

RE: Wher do I get binary of Tomcat

2005-09-15 Thread MaciekSKontakt
Thanks. I will follow your tips. I am transitioning my network to MacOSX and getting rid Win98 so that was one of last chances for Windows to be useful to me. I need Tomcat to get a skill with Servlets and JSP. I think I could go with Eclipse (it works on MacOSX). Would it be a good environment

Re: How to change the SSL port

2005-09-15 Thread Parsons Technical Services
ursday, September 15, 2005 11:15 PM Subject: RE: How to change the SSL port Guys, Thank you. Stephen posted the original question on my behalf. I am just now joining the list. Iannis and Chuck thank you for your feedback. Maybe I can provide some more info. Appreciate any further suggestions.

Re: How to change the SSL port

2005-09-15 Thread Jason Bainbridge
On 9/15/05, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > CommonGround Softworks/Phil McNamara wrote: > > > The tomcat log does show a bind error message after my server.xml edit to > > port 443. > > > > Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init > > SEVERE: Error initia

RE: How to change the SSL port

2005-09-15 Thread Caldarale, Charles R
> From: CommonGround Softworks/Phil McNamara > [mailto:[EMAIL PROTECTED] > Subject: RE: How to change the SSL port > > It would seem to me that this demonstrates that I am editing > the correct server.xml instance. Agreed. Sounds like something else has grabbed or disabl

Re: How to change the SSL port

2005-09-15 Thread Hassan Schroeder
CommonGround Softworks/Phil McNamara wrote: The tomcat log does show a bind error message after my server.xml edit to port 443. Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Permission denied:443 Are you st

RE: How to change the SSL port

2005-09-15 Thread CommonGround Softworks/Phil McNamara
Guys, Thank you. Stephen posted the original question on my behalf. I am just now joining the list. Iannis and Chuck thank you for your feedback. Maybe I can provide some more info. Appreciate any further suggestions. I did ports scans before and after the server.xml edits to ports 443 and to

Re: Wher do I get binary of Tomcat

2005-09-15 Thread Parsons Technical Services
That's why I don't gamble.:) Doug - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, September 15, 2005 9:29 PM Subject: RE: Wher do I get binary of Tomcat From: Parsons Technica

Re: How to change the SSL port

2005-09-15 Thread Stephen Caine
Charles, What does netstat say about who's listening on which ports? Will check this out. Tried 8442 also. No joy. Only plays with 8443. There is another setting somewhere Really, there isn't. Sounds like you're not editing the server.xml file that's actually being used by

Re: How to change the SSL port

2005-09-15 Thread Stephen Caine
Lannis, Check your tomcat log file. If tomcat could bind properly on the SSL port you mentioned, it should show up in the log file (one of the first lines on the top). If not (e.g. because the port is already in use), it will show you a bind error message there as well. If the log says th

RE: How to change the SSL port

2005-09-15 Thread Caldarale, Charles R
> From: Stephen Caine [mailto:[EMAIL PROTECTED] > Subject: How to change the SSL port > > I tried edits to server xml connector from 8443 to 443 - > 443 port unresponsive after tomcat restart. What does netstat say about who's listening on which ports? > Tried 8442 also. No joy. Only plays wit

RE: How to change the SSL port

2005-09-15 Thread Iannis Hanen
Check your tomcat log file. If tomcat could bind properly on the SSL port you mentioned, it should show up in the log file (one of the first lines on the top). If not (e.g. because the port is already in use), it will show you a bind error message there as well. If the log says that the port is fi

RE: Wher do I get binary of Tomcat

2005-09-15 Thread Caldarale, Charles R
> From: Parsons Technical Services > [mailto:[EMAIL PROTECTED] > Subject: Re: Wher do I get binary of Tomcat > > For your needs the exe package for Win 98 would be a good bet. I don't think that's true. The .exe download installs Tomcat as a service only - the sta

RE: Wher do I get binary of Tomcat

2005-09-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Wher do I get binary of Tomcat > > 2. Where can I get Tomcat that works on MacOS X or Windows > (let's say old "good" win98)? Tomcat is pure Java, so you can use the standard .zip or .tar.gz download on any platform. Once expand

Re: Wher do I get binary of Tomcat

2005-09-15 Thread Parsons Technical Services
-alpha Potential for bugs and possibly lots of them and/or major ones. -beta They think that most of the bugs are squashed. No suffix stable and should run without major issues. As for the other extensions try the readme file at the top of each section. http://apache.towardex.com/jakarta/tomca

Re: How to share static content across applications

2005-09-15 Thread Tim Funk
If the thing being shared are browser sepefic such as images - I create a new webapp. For example: for all my common images I could create an images webapp. Then my webapps which refernce those images can link to /images directly (and take it on faith that there is an /images webapp out there)

RE: Two elements problems

2005-09-15 Thread Barnett, Brian W.
, 2005 2:40 PM To: Tomcat Users List Subject: Re: Two elements problems I couldn't find it in your post, so let me ask. Do you have 2 network interfaces on the machine? How are you establishing 2 ip addresses? This topic sparked my interest because I will also be doing the same thing. No

Re: Virtual Hosts

2005-09-15 Thread Steve Dodge
: Tomcat Users List Subject: RE: Virtual Hosts Simplistically ... Configure Host elements inside your Engine. Create a folder for each application within webapps. Set the Host docBase to each. Check out the online ref. -Original Message- From: Durfee, Bernard [mailto:[EMAIL

Re: Two elements problems

2005-09-15 Thread Steve Dodge
OTECTED] Sent: Wednesday, September 14, 2005 12:32 PM To: Tomcat Users List Subject: Re: Two elements problems If you do a netstat -ln (cygwin) do you see two network sockets listening on port 80? 166.70.163.138:80 166.70.163.140:80 If not, the problem is at a lower level than tomcat. Steve

RE: SSL 8443

2005-09-15 Thread Wick, Daniel
If you use port 443, you won't be required to specify the port in the browser. The browser will auto-request on 443 because you've specified ssl. If you don't want ssl, use port 80. --Dan > -Original Message- > From: Lalit Batra [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 15

Re: SSL 8443

2005-09-15 Thread Robert F Hall
Caldarale, Charles R wrote: From: Lalit Batra [mailto:[EMAIL PROTECTED] Subject: SSL 8443 Is there any way I can have to do without enetering 8443 port number. Change the port attribute of the SSL connector in your server.xml file. - Chuck And use port number 443. - Robert

RE: SSL 8443

2005-09-15 Thread Caldarale, Charles R
> From: Lalit Batra [mailto:[EMAIL PROTECTED] > Subject: SSL 8443 > > Is there any way I can have to do without enetering 8443 port number. Change the port attribute of the SSL connector in your server.xml file. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETAR

Re: How to share static content across applications

2005-09-15 Thread Hassan Schroeder
Ritchie Gillam wrote: In the applications that need the shared assets, I already have > a defined in the context.xml file for each app and > I can only have the one. ? An "application" *is* a Context; the point is to create a single "shared asset" Context and reference it from wherever. As bel

Re: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
In the applications that need the shared assets, I already have a defined in the context.xml file for each app and I can only have the one. Ritchie Gillam Programmer Analyst, Information Services, Halifax Regional Municipality Email: [EMAIL PROTECTED] Phone: (902) 490-6167 Fax: (902) 490-6583

Re: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
My situation is quite different but here is what I am currently doing: In my server.xml file I have ... Notice I am referring to the same docBase but the path represents the application content or in the case of the first entry the without the application context. So no matter what JSP

Re: How to share static content across applications

2005-09-15 Thread Hassan Schroeder
Ritchie Gillam wrote: I am creating a new element for the shared assets but > the problem is by putting the element directly in the > server.xml file, I am not longer able to undeploy and redeploy > the "shared assets application" without restarting the server... OK, so don't do that :-)

Re: How to share static content across applications

2005-09-15 Thread Maurice Yarrow
Hello Tim Saw your posting on the tomcat user's list. I have a question about your response: So how do you access the static resources, i.e., images, from the other two web apps? This is what I tried and it does not work: I created a separate webapp context with images, and placed into tomcat/

Re: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
In fact that is sort of what I am doing. I am creating a new element for the shared assets but the problem is by putting the element directly in the server.xml file, I am not longer able to undeploy and redeploy the "shared assets application" without restarting the server which is not an

Re: How to share static content across applications

2005-09-15 Thread Tim Funk
I typically create a 3rd webapp with those shared images and other similar assets. Otherwise - you can import those shared assets into your webapp at build time by placing all the shared assets into their own version control repository. -Tim Ritchie Gillam wrote: I am not sure if this is su

RE: Order of WebApp Loading

2005-09-15 Thread Robert Harper
probably end up being more scaleable as well. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Jilles van Gurp [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 11:52 AM To: Tomcat Users List Subject: Re: Order of WebApp Loading If you define the

Re: Order of WebApp Loading

2005-09-15 Thread Jilles van Gurp
If you define the contexts in the server.xml, they are started in the order that you define them, I think. Regards, Jilles Peter Menzel wrote: Hi there, I have a question concerning Tomcats webapp loading: What is the order in which tomcats loads its webapps ? I have two webapps configured b

RE: Order of WebApp Loading

2005-09-15 Thread George Sexton
Its not deterministic. Save yourself a lot of time, and don't complain about it and ask it to be changed. You need to re-think your logic so there is not a dependency. A pretty obvious solution would be to have either application check to see if the database is started, and if not star

Re: A good place to leanr how to use digest authentication

2005-09-15 Thread Jim Moy
On 9/15/05, bachoo jahnkar <[EMAIL PROTECTED]> wrote: > Im trying to use Digest authentication with an AXIS web service hosted on > ... > connect the URL configured on the secure realm from IE 6.0. Presto whatever > I tried I always got 401. Once i changed authentication back to basic, > things sta

Re: A good place to leanr how to use digest authentication

2005-09-15 Thread bachoo jahnkar
http://www.devx.com/DevX/Article/21911 Chandan Gupta <[EMAIL PROTECTED]> wrote: Hi, Im trying to use Digest authentication with an AXIS web service hosted on Tomcat 5.0.28. The problem is in setting up Digest authentication for Tomcat. I did as was written in HOW-TO setting up a JDBC realm, I t

RE: Virtual Hosts

2005-09-15 Thread Durfee, Bernard
mailto:[EMAIL PROTECTED] > Sent: Thursday, September 15, 2005 12:10 PM > To: Tomcat Users List > Subject: RE: Virtual Hosts > > > Simplistically ... > > Configure Host elements inside your Engine. Create a folder > for each application within webapps. Set the Host doc

RE: Virtual Hosts

2005-09-15 Thread Allistair Crossley
Simplistically ... Configure Host elements inside your Engine. Create a folder for each application within webapps. Set the Host docBase to each. Check out the online ref. > -Original Message- > From: Durfee, Bernard [mailto:[EMAIL PROTECTED] > Sent: 15 September 2005 17:07 > To: tomca

Re: How to get user name after login

2005-09-15 Thread Sonja Löhr
It is: request.getUserPrincipal().getName(); To check for a special role, use: request.isUserInRole("rolename"); Am Donnerstag, den 15.09.2005, 03:49 -0700 schrieb Caroline Jen: > I think it is getRemoteUser(); > > --- ±ç¬±³õ <[EMAIL PROTECTED]> wrote: > > > After implementation of JDBCRealm

Re: tomcat 5.0.24 crashes silently when clustering turned on

2005-09-15 Thread Chandan Gupta
We could try upgrading our JVM from 1.4.2 but I'm concerned with going to 5.0 in case that causes other things to break. Will TC 5.0.24 run on a 5.0 JVM? --- It does, im running it on 5.0 on win platform Regards, Chandan On 9/12/05, Mike Noel <[EMAIL PROTECTED]> wrote: > > > >Which platform/O

Re: Session timeout issues

2005-09-15 Thread James Shaw
On 14/09/05, James Shaw <[EMAIL PROTECTED]> wrote: > I have two issues relating to sessions: > > 1) Sessions seem to be expired too soon. This happens very > infrequently for me (perhaps 1 in 1000 requests). I'm adding some > HttpSessionListeners and HttpSessionAttributeListeners to attempt to >

Re: How to get user name after login

2005-09-15 Thread Caroline Jen
I think it is getRemoteUser(); --- ±ç¬±³õ <[EMAIL PROTECTED]> wrote: > After implementation of JDBCRealm, > how to retrieve the username in Servlet after login? > > > Thanks > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED]

RE: Problem making my servlet the default servlet (instead of ROOT)

2005-09-15 Thread Allistair Crossley
e traffic with faces extensions reach Tomcat. Allistair. > -Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] > Sent: 14 September 2005 18:14 > To: 'Tomcat Users List' > Subject: RE: Problem making my servlet the default servlet (instead of > R

RE: Scripting variable is not generated

2005-09-14 Thread Wei Zhao
e bug entries you provided. Thanks Wei -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 11:09 PM To: Tomcat Users List Subject: Re: Scripting variable is not generated Have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=21390

RE: mod_jk performance

2005-09-14 Thread KEREM ERKAN
> -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 14, 2005 8:53 PM > To: Tomcat Users List > Subject: Re: mod_jk performance > > KEREM ERKAN wrote: > > Tomcat is harder to configure and -sadly- it has a far wo

Re: mod_jk performance

2005-09-14 Thread Xuekun Hu
Well since I don't understand German, I don't konw how he tested. However in my stress testing which lots of static and JSPs, I found Apache + mod_jk performance is a littlle higher than TOMCAT only. I configured Apache with mod_cache. So I think only handling JSPs, TC only could be better than Ap

Re: How to get user name after login

2005-09-14 Thread Mark Thomas
梁炳場 wrote: After implementation of JDBCRealm, how to retrieve the username in Servlet after login? getRemoteUser() - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake

2005-09-14 Thread Xia, Hong
as non CA root? -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 1:51 PM To: Tomcat Users List Subject: Re: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake Xia, Hong wrote: > Hi, Mark, &g

RE: Two elements problems

2005-09-14 Thread Barnett, Brian W.
info. Not sure where to turn for help on this one. I'm not a network guy :( Any suggestions? -Original Message- From: Steve Dodge [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 12:32 PM To: Tomcat Users List Subject: Re: Two elements problems If you do a netsta

Re: Two elements problems

2005-09-14 Thread Steve Dodge
If you do a netstat -ln (cygwin) do you see two network sockets listening on port 80? 166.70.163.138:80 166.70.163.140:80 If not, the problem is at a lower level than tomcat. Steve Barnett, Brian W. wrote: I have two elements defined like this in my server.xml file, each one listening

Re: mod_jk performance

2005-09-14 Thread Mark Thomas
KEREM ERKAN wrote: Tomcat is harder to configure and -sadly- it has a far worse documentation than Apache (for now). I look forward to seeing your documentation patches in Bugzilla ;) Mark - To unsubscribe, e-mail: [EMAIL PR

Re: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake

2005-09-14 Thread Mark Thomas
Xia, Hong wrote: Hi, Mark, I have the both server and client .cer imported to cacerts but the problem persists commands to generate the server and client key: Keytool -genkey -alias server -keyalg RSA -keystore serverstore.jks Keytool -genkey -alias client -keyalg RSA -keystore clientstore.jks

Re: Issue with the "admin" webapp

2005-09-14 Thread Mark Thomas
Sastry Malladi wrote: I filed a bug for this (http://issues.apache.org/bugzilla/show_bug.cgi?id=35835) and it seems this is fixed in 5.5.10. But I don't see a 5.5.10 download and wanted clarification on whether 5.5.11-alpha contains the fix as well. I'm going to check it out anyways when I get

RE: Can't change servlet path

2005-09-14 Thread Caldarale, Charles R
> From: David Thielen [mailto:[EMAIL PROTECTED] > Subject: RE: Can't change servlet path > > I'm not understanding something here I think. On (1) you say > (I think) that I must put in server.xml for the path > attribute. But in (2) you tell me (I think) to not put

RE: Problem making my servlet the default servlet (instead of ROOT)

2005-09-14 Thread David Thielen
PM To: Tomcat Users List Subject: Re: Problem making my servlet the default servlet (instead of ROOT) > If I do http://localhost:8080/cart.faces returns an error 404. > Yep. It will. Since you are using the path attribute I assume this is in the server.xml and to set it as the root yo

RE: Can't change servlet path

2005-09-14 Thread David Thielen
ailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 9:27 PM To: Tomcat Users List Subject: RE: Can't change servlet path > From: David Thielen [mailto:[EMAIL PROTECTED] > Subject: RE: Can't change servlet path > > 1) Why is this forced in server.xml when otherwis

Re: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

2005-09-14 Thread David Delbecq
Just my 2 cents: Have you tried putting it under shared/lib? Also, are you sure it's a .jar and not a .zip extension for you file? Am using here an oracle connector in various webapp. The driver is under common/lib of tomcat 5.5.7 and i have no problems, so i bet this is the right location Perha

RE: mod_jk performance

2005-09-14 Thread KEREM ERKAN
> -Original Message- > From: Lionel Farbos [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 14, 2005 5:49 PM > To: Tomcat Users List > Cc: KEREM ERKAN > Subject: Re: mod_jk performance > > On Wed, 14 Sep 2005 17:27:29 +0300 > KEREM ERKA

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
On Wed, 14 Sep 2005 17:27:29 +0300 KEREM ERKAN <[EMAIL PROTECTED]> wrote: > > > > Well, mod_jk > 1.2.10 seems slower than 1.2.10 when stress > > tested. The > > > tests completed in more time. I do not have the actual test > > results, > > > because we have been using 1.2.10 for several month

RE: mod_jk performance

2005-09-14 Thread KEREM ERKAN
> > Well, mod_jk > 1.2.10 seems slower than 1.2.10 when stress > tested. The > > tests completed in more time. I do not have the actual test > results, > > because we have been using 1.2.10 for several months, maybe > I can send > > them when I test 1.2.14. > > > I'm interested in such test

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
So, I think your solution with F5 BigIPs->Tomcat is equivalent to the solution with Apache/mod_jk->Tomcat But the last is free and I don't know the difference in performances between the 2 solutions. On Wed, 14 Sep 2005 15:14:01 +0200 Andrew Miehs <[EMAIL PROTECTED]> wrote: > We run F5 BigIPs as

RE: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake

2005-09-14 Thread Xia, Hong
sage- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 5:12 PM To: Tomcat Users List Subject: Re: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake Hector Adolfo Alonso wrote: > Hi Xia: >I think you cannot use

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
5.5 can be found at: http://jakarta.apache.org/tomcat/ The Apache Tomcat team. - > Cheers, > > Kerem > > > -Original Message- > > From: Lionel Farbos [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 14, 2005 3:51 PM > > To: T

Re: Storing a request

2005-09-14 Thread Ajay Arjandas Daryanani
Hi Mark, > Take a look at how form authenticator does it. See > http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/FormAuthenticator.java?rev=1.24&view=markup > > and the SavedRequest class in the same package. > > Note that the way thi

RE: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake

2005-09-14 Thread Xia, Hong
-keystore serverstore.jks under $JAVA_HOME/jre/lib/security/ keytool -import -v -trustcacerts -alias server -file servercert.cer -keystore cacerts -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 5:12 PM To: Tomcat Users List Subject: Re

RE: mod_jk performance

2005-09-14 Thread KEREM ERKAN
ion. Is there a 1.2.14 really or did you write 14 by mistake? Cheers, Kerem > -Original Message- > From: Lionel Farbos [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 14, 2005 3:51 PM > To: Tomcat Users List > Cc: KEREM ERKAN > Subject: Re: mod_jk performance >

Re: mod_jk performance

2005-09-14 Thread Andrew Miehs
We run F5 BigIPs as our loadbalancers, and have seperated images, etc onto another server IE: i.domain.com for images, and www.domain.com for dynamic content. F5 provides a feature call iRules to do the splitting between hosts for you, but I would NOT use this on a high traffic site. Andre

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-14 Thread Michael Lai
KEREM ERKAN wrote: OK, start with downloading and installing a binary version of Tomcat for your OS and also download the 1.2.10 version of mod_jk. I think we should handle the rest off list not to bother the list anymore. Just to give you another option if you like. I don't even use mod_jd.

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
But, in a web site, there is never only JSPs : there is a lot of static files (images, css, js, ...) So, if you don't have a apache in the frontend to deliver theses static files, there is an overload for the TC server... So, your tests stressed only light JSPs or a real site ? and what is your

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
On Wed, 14 Sep 2005 14:55:08 +0300 KEREM ERKAN <[EMAIL PROTECTED]> wrote: > Mod_jk > 1.2.10 had some performance problems > but I did not thoroughly test why. Is is proved ? Where do you find this ? I tested mod_jk 1.2.14 (but not stressed it) and it seems to be a good version... What sort of p

<    5   6   7   8   9   10   11   12   13   14   >