pageContext.getException() always null

2005-06-06 Thread Konrad Bernstein
Hi, I have a rather strange problem with handling an exception within a custom jsp tag. The problem is, that pageContext.getException() always returns null. This is the case within the tag's code, but also witin a Scriptlet within the JSP. However, the variable 'exception' itself is properly set.

Welcome file list

2005-06-06 Thread Steve Forster
Hi, this is probably a basic question but I could really use a hand. Is there a way to simply read/display www.mydomain.com without redirecting to index.jsp? I found out how to do the opposite in web.xml welcome-file-list welcome-fileindex.jsp/welcome-file

Problem with Tomcat 5.0.28 and big POSTs

2005-06-06 Thread Miguel Gesteiro
Hello everybody, we are having a strange problem with Tomcat getting big POSTs: Linux (FC3) Tomcat 5.0.28 SSL with a test certificate We have written a servlet with only the doPost method wich receives POSTs with a lot of parameters, 8 different (fixed) and all the rest repeated (the same

Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread delbd
Hello, I had to write my own realm implementation to authenticate users. Now am faced with a problem, this realm contains additionnal datas on the user, like email, fullname, office telephone number. I'd like to pass this informations to the webapplication, however am not sure how to do this. I

RE: Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread Peter Crowther
From: delbd [mailto:[EMAIL PROTECTED] I thought to create a decorator class around a Principal to store this information and do a typecasting in webapp to access additionnal informations. Or implement your own Principal - either would work I think. But the realm implementation is

Re: Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread delbd
Thanks for quick answer Peter. Le Lundi 6 Juin 2005 11:43, Peter Crowther a écrit : From: delbd [mailto:[EMAIL PROTECTED] I thought to create a decorator class around a Principal to store this information and do a typecasting in webapp to access additionnal informations. Or implement

how to unify multiple contexts

2005-06-06 Thread teknokrat
We have multiple servlets that i wish to unify under a single context. That is, I want to get rid of the legacy servlets and introduce a dispatcher servlet to handle all the different functions under a single context. The problem is that this will break legacy apps that expect the old

Re: Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread QM
On Mon, Jun 06, 2005 at 11:36:11AM +0200, delbd wrote: : I had to write my own realm implementation to authenticate users. : Now am faced with a problem, this realm contains additionnal datas on the : user, like email, fullname, office telephone number. : I'd like to pass this informations to the

Re: Force Non-SSL

2005-06-06 Thread Tim Funk
Almost. (I think) You can't request any pages under /WEB-INF. Security constraints are only for the incoming URL - not urls obtained by getRequestDispatcher() -Tim Duong BaTien wrote: On Thu, 2005-05-26 at 06:34 -0400, Tim Funk wrote: From a config point of view no. The simple workaround

Re: Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread delbd
Does the realm have access to the session? Because informations i need in webapp is taken from where the realms does it's authentification. I my case, the realm access a NIS to check user passwoard, and informations such as fullname, phone and email, are alos in this nis. I do not want the

Re: apache2+mod_jk + ssl: howto

2005-06-06 Thread jfc100
faisal wrote: Apache web server's SSL certificate was already configured by our client so i did't ve to configure anything on apache. But we did configure SSL on tomcat. When redirecting, redirect through apache web server's port instead of tomcat's port, because now your requests are being

Jspinterceptor in server.xml

2005-06-06 Thread bouml
Hi ! I need some more information about JSPInterceptor in server.xml. Is there a detailed docu ? Is JSPInterceptor for compiling .jsp to .java or for .java to .class ? thanks a lot. Thomas

Jspinterceptor in server.xml

2005-06-06 Thread bouml
Hi ! I need some more information about JSPInterceptor in server.xml. Is there a detailed docu ? Is JSPInterceptor for compiling .jsp to .java or for .java to .class ? thanks a lot. Thomas

accessing webapp via proxy

2005-06-06 Thread Jan Behrens
Hello list, we are currently in the pretest stage for a webapp we build for a customer situated at various locations. We got reports that our app could not be accessed by a number of testers who are connecting through a proxy. The funny thing is, they can access the first page (therefore can

worker.domain directive

2005-06-06 Thread Jean-Michel MAISONNAVE
Hi i dont manage to use domain directive in order to implement this technical arhcitecture: In my Dev environment, I have 2 server. In each server, I installed one instance of Apache and 2 instances of Tomcat. A_01 is linked with T_01 and T_O3. A_02 is linked with T_02 and T_O4 T_01 and

Re[2]: Tomcat/mod_jk rpm for FC3

2005-06-06 Thread rassylkaformazaj
http://www.jpackage.org/rpm.php?id=2456 f I am looking for rpms for tomcat/mod_jk that work with FC3. Any tips ? -- Ñ óâàæåíèåì, ìàçàé. MAZ-RIPE mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail:

IE-Page not found problem

2005-06-06 Thread sudip shrestha
I have a struts-hibernate powered webapp running off a debian box, jdk 1.5 and tomcat 5.5.7 I have IE users complaining about page not found problems from time to time where as Firefox users never. I myselft have never encountered this problem as I use FirefoxThis led me to thinking that

Re: IE-Page not found problem

2005-06-06 Thread Joe Plautz
Simple, test with IE as well. sudip shrestha wrote: I have a struts-hibernate powered webapp running off a debian box, jdk 1.5 and tomcat 5.5.7 I have IE users complaining about page not found problems from time to time where as Firefox users never. I myselft have never encountered this

Re: IE-Page not found problem

2005-06-06 Thread sudip shrestha
Dude: Read the email first... I am informing of the problem after we experienced with IE... On 6/6/05, Joe Plautz [EMAIL PROTECTED] wrote: Simple, test with IE as well. sudip shrestha wrote: I have a struts-hibernate powered webapp running off a debian box, jdk 1.5 and tomcat 5.5.7

Re: IE-Page not found problem

2005-06-06 Thread Frank W. Zammetti
Moving on to a more helpful answer... Have you tried using something like HTTPWatch to see what's going on? IE seems to display that page generically for a host of different problems, and viewing the underlying HTTP transaction might narrow things down a bit. Also, you could ask your users to

Re: IE-Page not found problem

2005-06-06 Thread Rafa Krupiski
Joe Plautz wrote: Simple, test with IE as well. yet simpler, tell your users it's IE problem and to use firefox instead :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: IE-Page not found problem

2005-06-06 Thread Joe Plautz
Sorry for not including the smiley face but, dude, you're informing of a problem that exists within a browser that is used by the vast majority of web users and for some reason refused to test with it. Works on my box is not a valid excuse. Here's a link to a html validator,

Re: Force Non-SSL

2005-06-06 Thread Duong BaTien
On Mon, 2005-06-06 at 07:04 -0400, Tim Funk wrote: Almost. (I think) Thanks. I will try the workaround and report to the list for the benefits of others. BaTien DBGROUPS You can't request any pages under /WEB-INF. Security constraints are only for the incoming URL - not urls obtained by

Re: IE-Page not found problem

2005-06-06 Thread Joe Plautz
If it was only that simple. Rafa Krupiski wrote: Joe Plautz wrote: Simple, test with IE as well. yet simpler, tell your users it's IE problem and to use firefox instead :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: IE-Page not found problem

2005-06-06 Thread sudip shrestha
I have no idea why you are continuing on this pathBut all I am looking for is suggestions on how to debug this problem with IE, if there is any. I am not offerring any excuse!! It's my work related work. I have had few issues with IE in the past such as url redirection problem but I have

Re: IE-Page not found problem

2005-06-06 Thread Frank W. Zammetti
Please see my previous post in this thread for some actual help (potentially anyway). -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 6, 2005 11:14 am, sudip shrestha said: I have no idea why you are continuing on this

Re: IE-Page not found problem

2005-06-06 Thread Nikola Milutinovic
sudip shrestha wrote: Dude: Read the email first... I am informing of the problem after we experienced with IE... As you have said, YOU did not expirience it, since you're using FireFox. It would be most advisable to do two things: 1. Use IE yourself (I know, I loathe it, too, and

Re: IE-Page not found problem

2005-06-06 Thread masro
You are using SSL ? try: BrowserMatch .*MSIE.* nokeepalive ssl-unclean-shutdown regards Quoting Joe Plautz [EMAIL PROTECTED]: If it was only that simple. Rafał Krupiński wrote: Joe Plautz wrote: Simple, test with IE as well. yet simpler, tell your users it's IE problem and

Re: IE-Page not found problem

2005-06-06 Thread Andrew Miehs
Hi, IMHO the best solution is to run tcpdump (or ethereel) on the server, and log the IE users traffic (and try to limit it to only 1 user as you seem to indicate that you can easily reproduce the problem). That will show you exactly what is going on. Anything else is just speculation.

Re: IE-Page not found problem

2005-06-06 Thread Nikola Milutinovic
Rafa Krupiski wrote: Joe Plautz wrote: Simple, test with IE as well. yet simpler, tell your users it's IE problem and to use firefox instead :) It is still worth investigating. Mozilla/Firefox is eager to correct badly formed HTML, just as IE is. I would advise you to install Tidy

RE: Shared web.xml

2005-06-06 Thread Trice, Jim
-Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 4:29 PM To: Tomcat Users List Subject: Re: Shared web.xml On Thu, Jun 02, 2005 at 02:01:15PM -0500, Trice, Jim wrote: :I inherited a tomcat installation with two tomcat servers running RedHat

RE: JSP-specific newsgroups/mailing list

2005-06-06 Thread GB Developer
Javaranch. http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005 3:07 PM To: Tomcat Users List Subject: JSP-specific newsgroups/mailing list Can anybody recommend a good JSP/servlet

domain directive in workers.propertie

2005-06-06 Thread Jean Michel MAISONNAVE
Can somebody could give me an exemple of domain for theses routing decision hierarchical: a) sticky worker if not in error b) else worker from same domain c) else local worker d) else local domain (worker inside domain of one of the local workers) e) any other worker Thks This message

Re: IE-Page not found problem

2005-06-06 Thread sudip shrestha
Thanks a lotI am using SSL and this is definitely a good direction to work on On 6/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: You are using SSL ? try: BrowserMatch .*MSIE.* nokeepalive ssl-unclean-shutdown regards Quoting Joe Plautz [EMAIL PROTECTED]: If it was

What is wrong with TC or something else?

2005-06-06 Thread Vernon
I already have this project in the stable status for some time. After updating a few of libraries, the TC container acts weird. A session seems to get timeout right away soon after it is created. Here is a paire of related log message I spot in the log file: 2005-06-03 09:54:54,500 DEBUG

What is wrong with TC or something else?

2005-06-06 Thread Vernon _
I already have this project in the stable status for some time. After updating a few of libraries, the TC container acts weird. A session seems to get timeout right away soon after it is created. Here is a paire of related log message I spot in the log file: 2005-06-03 09:54:54,500 DEBUG

Re: Jspinterceptor in server.xml

2005-06-06 Thread Mark Thomas
bouml wrote: I need some more information about JSPInterceptor in server.xml. Is there a detailed docu ? Have you looked at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#JspInterceptor ? - To

simple question on deltamanger - understanding

2005-06-06 Thread John MccLain
My understanding is that the clustering replication DeltaManager it is called via a setAttribute if UseDirtyFlag is set to true. So does this mean that it only checks for a delta on the attribute that was set, or does it check the deltas in the entire session? Also, does anyone know where I

connection pooling oracle

2005-06-06 Thread Brian . Allen
I am attempting to set up connection pooling in tomcat 5.0.28 using oracle 10g. I am able to successfully use org.apache.commons.dbcp.BasicDataSourceFactory as long as my rs.executeQuery() is not cast to OracleResultSet. I have seen a few threads on this topic but I can't seem to find an

Re: Clustering without farmwardeployer

2005-06-06 Thread Filip Hanik - Dev Lists
Two suggestions: 1. Make sure the farm war deployer is really turned off, and by the way, the farm war deployer doesn't deploy into webapps, instead into the dir you specify in server.xml 2. Check your scripts again, chances are you are the one redeploying your own old code. Filip Todd

Re: how to determine clustering problem?

2005-06-06 Thread Filip Hanik - Dev Lists
turn on logging, see Tomcat docs then through log4j you can turn on logging for only org.apache.catalina.cluster and you will be able to see all messages going through. Filip John MccLain wrote: We have a webapp that runs fine in 1 tomcat instance. We have insured that all classes being

Re: sslProtocol default value in 5.5.9 - broken?

2005-06-06 Thread Mark Thomas
Paul Singleton wrote: If I configure my HTTPS connector with the (supposedly redundant) attribute sslProtocol=TLS then it works fine, but if I leave it out, requests just hang and eventually time out (Firefox says The request to xxx.yyy has terminated unexpectedly. Some data may have been

How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread j r
When I start tomcat, it takes approximately 1 minute to complete its startup process. If apache is up during that period, the following page gets served: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems.

RE: How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread Brian McGovern
From what it sounds like you have apache running as a proxy to tomcat. If thats the case, Add the following to your apache config file httpd.conf change ErrorDocument 503 /your_file.html ErrorDocument 200 /your_file.html -B -Original Message- From: j r [mailto:[EMAIL PROTECTED] Sent:

Re: WebappLoader and Auto-Detection of Class Changes

2005-06-06 Thread Scott Dudley
A gentleman responded on the dev list suggesting I have a look at the modified() method. My reply was as follows: /Bill, I added an over-ridden modified() method to my classloader that also checks for changes to my added classes folders. I see that WebappLoader.java checks only

Re: How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread j r
Brian, You are correct! I was looking in the wrong place by trying to find the solution in tomcat. Changing apache works. Thanks! -jr On 6/6/05, Brian McGovern [EMAIL PROTECTED] wrote: From what it sounds like you have apache running as a proxy to tomcat. If thats the case, Add the

Re: Multiple source directories for one webapp

2005-06-06 Thread Marius Scurtescu
Laurent Brucher wrote: It all depends on what OS and what editor you use. Under Unix using symbolic links could be a solution. I am not familiar with rsync, but you could use a tool like that to keep two folders in sync. It should be possible to setup a process that is watching your working

TC5.5.4 auto deployment

2005-06-06 Thread alan . sinclair
Hi, I know this subject is periodically revisited but I haven never been able to satisfactorily make auto deploys work consistently. Sometimes the context file for the application is removed from the ${catalina.home}/conf/Catalina/localhost directory? When the WAR file is dropped into the

picture of session state for nodes in cluster??

2005-06-06 Thread John MccLain
How can I get a picture of session state for each node in a cluster every time a session is replicated? is there some valve or filter out there I can use? I am having clustering problems with our app, and I want to see what the difference is in session state between the nodes in the cluster John

Disabling put and delete http methods...

2005-06-06 Thread Peter Fellwock
Tomcat Gurus: How can I disable put and delete http methods? Thanx, Peter

Re: connection pooling oracle

2005-06-06 Thread Patrick Thomas
Brian, What is it that you're looking to accomplish with that cast? It makes it hard for others to respond with suggestions when they don't know what your criteria are. Also, how does it fail when you try it (ie ClassCastException)? Personally, I haven't run into any issues, but I just stick with

Module jk2 and jk Connectormodules

2005-06-06 Thread Andreas Bauer
Hello! I'm trying to configure a Tomcat-Apache connection with jk2. I tried the jk2 module in Suse(.so) without succeed, in windows(.dll) with succeed. With Tomcat 5.5. and Apache 2.0. My httpd.conf with jk2: LoadModule jk2_module modules/mod_jk2.so Location /*.jsp JkUriSet worker

Re: IE-Page not found problem

2005-06-06 Thread Mark Leone
If users are having this problem only when the server is serving content from a protected context in Tomcat, then it is highly likely that you have run into this. http://issues.apache.org/bugzilla/show_bug.cgi?id=27122 It's something in IE that most people would call a bug, but MS has chosen

Re: What is wrong with TC or something else?

2005-06-06 Thread Anto Paul
On 6/7/05, Vernon _ [EMAIL PROTECTED] wrote: I already have this project in the stable status for some time. After updating a few of libraries, the TC It is not clear what libraries you updated. -- rgds Anto Paul - To

Re: What is wrong with TC or something else?

2005-06-06 Thread Vernon _
brbrbrOriginal Message FollowsbrFrom: Anto Paul lt;[EMAIL PROTECTED]gt;brReply-To: Anto Paul lt;[EMAIL PROTECTED]gt;brTo: Tomcat Users List lt;tomcat-user@jakarta.apache.orggt;brSubject: Re: What is wrong with TC or something else?brDate: Tue, 7 Jun 2005 09:28:57

Re: Disabling put and delete http methods...

2005-06-06 Thread Anto Paul
On 6/7/05, Peter Fellwock [EMAIL PROTECTED] wrote: Tomcat Gurus: How can I disable put and delete http methods? Putting a security constraint in web.xml works. Try this in applications web.xml. Usually it will be last element in the web.xml. security-constraint