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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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]
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,
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
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
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
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
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
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
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.
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
-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
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
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
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
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
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
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
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
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
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
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
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
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.
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:
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
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
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
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
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
Tomcat Gurus:
How can I disable put and delete http methods?
Thanx,
Peter
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
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
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
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
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
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
56 matches
Mail list logo