Re: Deadlock - Out of Threads - Strange Exception - OutOfMemory - Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-16 Thread Leon Rosenberg
Update: between the memory leakage started approx. at 20:15 and reached the end of the bottle at 21:10 with 40 Mb free memory. At this time the server started to loose users. Until 21:45 it droped about 1000 users leaving 21 on the server, before it got restarted at 21:50 as I stated in the

Re: How to reduce bandwidth (meaning message size) with Axis

2006-03-16 Thread Jon Wingfield
Compression works very well. I added a homegrown GZip filter to the AXIS urls and also saw approx 10x compression. There are also a number of similar OSS Filters out there. There were .NET clients accessing the web-services and they needed a tweak to handle the compression:

Re: HTTPS setup

2006-03-16 Thread Julie McCabe
Hello, Thanks for the advise - ive tried various permutations of trying to use an exisiting CA signed X509 certificate to enable SSL with tomcat. From reading various mailing lists it appears this is a frequent problem but one that many people have solved using the solutions I have tried -

Threads

2006-03-16 Thread Morten Andersen
Is there any problems with running a thread every night updating ressources and sending out emails from within tomcat. Any tools available? Morten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: HTTPS setup

2006-03-16 Thread Markus Schönhaber
Julie McCabe wrote: Thanks for the advise - ive tried various permutations of trying to use an exisiting CA signed X509 certificate to enable SSL with tomcat. From reading various mailing lists it appears this is a frequent problem but one that many people have solved using the solutions I

Re: HTTPS setup

2006-03-16 Thread Markus Schönhaber
Julie McCabe wrote: Hello, Thanks for that ... I installed APR but also needed a certificate which included the Netscape cert type set to SSL Server. ? Incidentally, I tried the other 2 methods with the new certificate but they failed - I have to set this up in Windows also - I probably

Re: Tomcat don't start SSL connector

2006-03-16 Thread Vanessa Campos
Markus, Thank you. I'll try it. But still I keep thinking: wouldn't Tomcat start port 443 even with my current configuration? I can't stop wondering why it works on my local machine and doesn't on my server... On my local machine (test environment) I have the same configuration and I can access

RE: Tomcat don't start SSL connector

2006-03-16 Thread Caldarale, Charles R
From: Vanessa Campos [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat don't start SSL connector But still I keep thinking: wouldn't Tomcat start port 443 even with my current configuration? It should. However, if this is a copy paste: Conector port=443 maxHttpHeaderSize=8192 then you

RE: Concurrency question for servlets

2006-03-16 Thread Klotz Jr, Dennis
Thanks Leon for replying. I wanted to give a bit of feedback on this issue. It turns out that Concurrency was not the issue at all. The real problem was concealed by something that I am still puzzled about. Apparently when an HttpSessionListener class has an exception, it is never sent to

Re: Concurrency question for servlets

2006-03-16 Thread Filip Hanik - Dev Lists
when the session is destroyed, and your listener calls getId(), it might throw an exception that the session has already been invalidated. I believe its a IllegalStateException, this issue has been fixed in the most recent version Filip Klotz Jr, Dennis wrote: Thanks Leon for replying. I

Re: MySQL JDBC Exception: No operations allowed after connection closed

2006-03-16 Thread amiljusevic
The fact that I use JOTM with Tomcat forces me to use a different data source factory from the one described in the MySQL document Using Connector/J with Tomcat, (http://dev.mysql.com/doc/refman/4.1/en/cj-tomcat-config.html) - org.objectweb.jndi.DataSourceFactory vs.

running SSI on Tomcat 5.5.15

2006-03-16 Thread lee sachs
I'm running an instance of Tomcat 5.5.15 on an WinXP machine as a test dev environment. I'm building .shtml pages and includes on the XP machine and just want to have a local server to test pages without having to upload pages every time to a remote server on my ISP. I'm also interested in

Re: context.xml: ClassNotFoundException

2006-03-16 Thread Tremal Naik
2006/3/16, Filip Hanik - Dev Lists [EMAIL PROTECTED]: your valve classes have to be in common/lib or common/classes or server/lib or server/classes for security purposes, the best place would be server/lib or server/classes Filip Well, I put the classes in a jar deployed in server/lib ok,

Re: Upgrade problem to Tomcat 5.5.16, login with Realm fails

2006-03-16 Thread Velpi
I'm currently running my webapplication using Tomcat 5.5.12 and it works great. When I upgrade to Tomcat 5.5.16 I'm no longer able to login in to the webapplication using Form based (or Basic) login with Memory Realm (in my development area). maybe it has something to do with this:

Tomcat 5.X

2006-03-16 Thread Jorge Herrera Aguilar
I Install Tomcat on my pc, and i'm able to start it and to stop it, but when i try to view a simple index.html page it cames back with an error message saying : Resoirce \index.html is not available I'm running windows XP Please Help

How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
Hello, how can i retrieve an user principal? I don't want to get it from the request, but directly from the underlying security framework. My application, when developed in Jboss, uses an instruction like the following: org.jboss.security.SecurityAssociation.getPrincipal(); Is there something

RE: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Where is your index.html ? Is it part of a deployable WAR ? -Original Message- From: Jorge Herrera Aguilar [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 12:16 PM To: users@tomcat.apache.org Subject: Tomcat 5.X I Install Tomcat on

RE: How to retrieve an user Principal?

2006-03-16 Thread Caldarale, Charles R
From: Tremal Naik [mailto:[EMAIL PROTECTED] Subject: How to retrieve an user Principal? how can i retrieve an user principal? I don't want to get it from the request, but directly from the underlying security framework. ??? That doesn't make any sense to me. There may be may users

Re: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread Mladen Turk
Samara, Fadi N Mr ACSIM/ASPEX wrote: Classification: UNCLASSIFIED Caveats: NONE I hate this kind of emails! Can you guys use some public email service instead stupid company advertising. Further more you have changed the original thread name. I think that we should consider such emails as

Re: Tomcat 5.X

2006-03-16 Thread Pulkit Singhal
What URL did you use? Did you try others such as http://localhost:8080/jsp-examples/; ? On 3/16/06, Jorge Herrera Aguilar [EMAIL PROTECTED] wrote: I Install Tomcat on my pc, and i'm able to start it and to stop it, but when i try to view a simple index.html page it cames back with an error

Re: How to retrieve an user Principal?

2006-03-16 Thread Mladen Turk
Tremal Naik wrote: Hello, how can i retrieve an user principal? I don't want to get it from the request, but directly from the underlying security framework. My application, when developed in Jboss, uses an instruction like the following: org.jboss.security.SecurityAssociation.getPrincipal();

Dynamic roles web.xml

2006-03-16 Thread Alessandro Colantoni
Hi all! In my application I need to define roles dynamically. I need to create and delete roles and associate them to a permissions table. I want the user authenticate with a form. The problem is that in web.xml I have to define statically the role names. This is the involved piece of my

Re: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread David Kerber
It's not company advertising. Look at the return address: it's a US government (military) email server, and requires it to be noted when information is unclassified. It's probably added automatically by the server. Mladen Turk wrote: Samara, Fadi N Mr ACSIM/ASPEX wrote: Classification:

Re: How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
2006/3/16, Caldarale, Charles R [EMAIL PROTECTED]: ??? That doesn't make any sense to me. There may be may users connected to Tomcat at any given time; if you don't get the one corresponding to a specific request (or associated session), what do you think you're getting? well, I don't know

Re: Tomcat 5.X

2006-03-16 Thread Jorge Herrera Aguilar
yes i did, even i moved index.html to different subdirectories without any luck From: Pulkit Singhal [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.X Date: Thu, 16 Mar 2006 09:28:24 -0800 What URL did

Re: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread Mladen Turk
David Kerber wrote: It's not company advertising. Look at the return address: it's a US government (military) email server, and requires it to be noted when information is unclassified. It's probably added automatically by the server. Right, like said, let him use public email service.

Re: Tomcat 5.X

2006-03-16 Thread Fadi Samara
It is not company advetising indeed. This tag gets added automatically, but if it makes you happy, I switched to my gmail account. Maybe you need to get a little educated on the difference between the government and company advertising. Thanks --- It's not company advertising. Look at

Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Vamsidhar
Hi: I am using JDK 5.0 with Tomcat 5.5.16. When I start the server, I am not able to access the servlet and jsp examples. However I am able to access the manager application. I checked the tomcat logs this is what I found - application listeners are not being installed here is log. How do I

Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
Hello... I marked this Somewhat OT because what I'm trying to accomplish would ultimately be running in Websphere. However, I would like to develop it under Tomcat as I've always done, and it's also a general webapp question... I have an existing webapp that uses form-based authentication. Now

Re: How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
2006/3/16, Mladen Turk [EMAIL PROTECTED]: JBoss getPrincipal() figures that from the request, Maybe, but it doesn't require I pass the request as an argument, ir returns the principal from whenever I call it in the code, simply, even in those classes which doesn't have a request variabile. It

Re: Tomcat 5.X

2006-03-16 Thread Mladen Turk
Fadi Samara wrote: It is not company advetising indeed. This tag gets added automatically, but if it makes you happy, I switched to my gmail account. Maybe you need to get a little educated on the difference between the government and company advertising. Thanks. I didn't read the entire

Re: Tomcat 5.X

2006-03-16 Thread Pulkit Singhal
Just a a precaution...have you gotten around to taking a look at the logs? to see if there are any profoundly disturbing exceptions shown in there? On 3/16/06, Jorge Herrera Aguilar [EMAIL PROTECTED] wrote: yes i did, even i moved index.html to different subdirectories without any luck

RE: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Caldarale, Charles R
From: Vamsidhar [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener I checked the tomcat logs this is what I found - application listeners are not being installed here is log. How do I resolve this problem. This

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Jay Burgess
Frank, I pursued a very similar exercise last week. I have a webapp using BASIC authentication and wanted to add in an RSS interface that used DIGEST authentication. Unfortunately, I never could figure out how to do this in a single webapp. I figured I'd chime in, though, as I think it'd be a

Re: Tomcat 5.X

2006-03-16 Thread Mladen Turk
Jorge Herrera Aguilar wrote: I Install Tomcat on my pc, and i'm able to start it and to stop it, but when i try to view a simple index.html page it cames back with an error message saying : Resoirce \index.html is not available I'm running windows XP Do you know a guy named José Iván

Re: Dynamic roles web.xml

2006-03-16 Thread Mark Lowe
To my knowledge the servlet config is frozen on start up.. My guess would be that you'll need to have a general access role or roles (those that wont be deleted/modified in your database.. And then have a second level of access control in your application.. At this point it would be easier just

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
On Thu, March 16, 2006 12:48 pm, Jay Burgess said: I pursued a very similar exercise last week. I have a webapp using BASIC authentication and wanted to add in an RSS interface that used DIGEST authentication. Unfortunately, I never could figure out how to do this in a single webapp. I

Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Vamsidhar
I checked the verfication keys and they matched. I am totally lost as to what the problem is. I am using Windows XP Professional. thanks, Vamsi. On 3/16/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Vamsidhar [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.16 - Error configuring

redirect with tomcat

2006-03-16 Thread Lothar Krenzien
Hi there, I'm using tomcat 5.5 and want to redirect some requests to another URL. For example the URL localhost:80/siteA should be forwarded to localhost:8080/siteB. Of course on Port 8080 listen another web-server. Does anybody know a good explanation how to do that ? I've tried with filters

Re: redirect with tomcat

2006-03-16 Thread David Wall
We've used UrlRewriteFilter with good success so far: http://tuckey.org/urlrewrite/ David Lothar Krenzien wrote: Hi there, I'm using tomcat 5.5 and want to redirect some requests to another URL. For example the URL localhost:80/siteA should be forwarded to localhost:8080/siteB. Of course

Tomcat 5-5-16, welcome page behaves strangely

2006-03-16 Thread Michael Jouravlev
I have a web app that runs perfectly under Tomcat4, but behaves a little strange under Tomcat5. Originally welcome page was defined as follows in web.xml: welcome-file-list welcome-filemyStartPage.jsp/welcome-file /welcome-file-list Works as it supposed to in Tomcat4, the URL in address bar

RE: Context Level Logging

2006-03-16 Thread Caldarale, Charles R
From: James Reynolds [mailto:[EMAIL PROTECTED] Subject: Context Level Logging I want to be a good neighbor and set up context level logging, so log files from my app will go to conf/logs/myContextName. Is there a way to configure tomcat to do this? RTFM:

RE: Context Level Logging

2006-03-16 Thread James Reynolds
Ah, I was expecting the docs to mention Context level specifically and I completely missed that little gem. I need to employ the rtfm*2 method :) Thanks -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 11:56 AM To: Tomcat Users List

Re: Tomcat 5-5-16, welcome page behaves strangely

2006-03-16 Thread Xiangzhou Wang
I would suggest you to compile your project with the tomcat you are using, such as server-api.jar etc. There could be some API not matching as tomcat 4 and 5 supports different version of servlet/jsp spec. William --- Michael Jouravlev [EMAIL PROTECTED] wrote: I have a web app that runs

Re: redirect with tomcat

2006-03-16 Thread Lothar Krenzien
Hi David , it looks interesting. But what I don't understand, when I define the filter in the project web.xml how does tomcat knows where to look when the entered url in the browser contains a project name which doesn't exits ? I think, when a user enters localhost:80/siteB I need to have a

RE: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Caldarale, Charles R
From: Vamsidhar [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener SEVERE: Error configuring application listener of class listeners.ContextListener java.lang.ClassFormatError: Extra bytes at the end of class

Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Vamsidhar
Thanks for the quick reply. I have been using Tomca 4.X for our web applications. I have decided to try out Tomcat 5.5. As a first step, I have downloaded JDK 1.5 which is recommended for tomcat 5.5 and installed it. Then I installed Tomcat 5.5 from the binary download after verifying the keys.

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Caldarale, Charles R
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Subject: RE: Somewhat OT: Multiple auth methods in one webapp? Do you know, or does anyone else know, where the server looks for the credentials when the challenge box has been submitted? See section 12.5 of the Servlet spec (you

Re: redirect with tomcat

2006-03-16 Thread David Wall
Well, you should check out the url rewrite documention for details. In your webapp's web.xml, you put something like this in to tell it you want it to examine all URLs that come into the web app: filter filter-nameUrlRewriteFilter/filter-name

installing admin package

2006-03-16 Thread Érico M. Teixeira
Hi, where can I get the adimn package to install in my tomcat ? The version that I am working with is 5.5.15 Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 5.0.28 Clustering and Load Balancing

2006-03-16 Thread Dadyala, Manjeet S
Im new to Tomcat and am in the process of investigating the configuration of Tomcat 5.0.28 on RedHat Linux (AS 3) and Load Balancing. The documentation that Ive come across at http://tomcat.apache.org most often deals with Tomcat version 5.5. Could someone assist in directing me to

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
On Thu, March 16, 2006 2:26 pm, Caldarale, Charles R said: From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Subject: RE: Somewhat OT: Multiple auth methods in one webapp? Do you know, or does anyone else know, where the server looks for the credentials when the challenge box has been

RE: installing admin package

2006-03-16 Thread Caldarale, Charles R
From: Érico M. Teixeira [mailto:[EMAIL PROTECTED] Subject: installing admin package where can I get the adimn package to install in my tomcat ? When you went to the 5.5 download page what did you see in the list of items for downloading? If you need a level that's not current, use the

Re: installing admin package

2006-03-16 Thread erico
Thanks Charles I got it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat taking too long to cycle through and come back up

2006-03-16 Thread Mark Thomas
Biernesser, Beth wrote: Hi ... I'm wondering if there are any other tomcat user forums that anyone has had success with? I see a lot of questions being asked in this forum, but not many answers. My questions rarely get answered, and I'm just wondering if anyone knows of another avenue to

Re: running SSI on Tomcat 5.5.15

2006-03-16 Thread Mark Thomas
lee sachs wrote: I was able to d-load, install and startup Tomcat on the XP machine and configure it to enable SSI. The server runs fine with HTML, sample servlets and JSPs. For SSI, according to the help files I changed the name of an SSI servlet and removed the comments around the XML

Re: running SSI on Tomcat 5.5.15

2006-03-16 Thread lee sachs
Mark Thanks...I tried that. That along with changing the attributes in a XML file. Everything that follow from this in the documentation, I've done: http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html - Original Message From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List

Re: Tomcat 5.0.28 Clustering and Load Balancing

2006-03-16 Thread Filip Hanik - Dev Lists
Peter Rossbach has done a great job documenting most of it here. http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html Filip Dadyala, Manjeet S wrote: I’m new to Tomcat and am in the process of investigating the configuration of Tomcat 5.0.28 on RedHat Linux (AS 3) and Load Balancing.

Re: Tomcat 5.0.28 Clustering and Load Balancing

2006-03-16 Thread Lothar Krenzien
On http://www.onjava.com you can find some good articles about Tomcat Clustering. Try a search for 'Tomcat 5 Cluster'. But I'm not sure if they are for Tomcat 5.0.xx. Lothar -Ursprüngliche Nachricht- Von: Tomcat Users List users@tomcat.apache.org Gesendet: 16.03.06 21:52:10 An:

Re: running SSI on Tomcat 5.5.15

2006-03-16 Thread Mark Thomas
OK, Post the relevant parts of your conf/web.xml and a simple shtml file that doesn't work. Mark lee sachs wrote: Mark Thanks...I tried that. That along with changing the attributes in a XML file. Everything that follow from this in the documentation, I've done:

Logging isn't happening in my 5.5.15 install

2006-03-16 Thread James Reynolds
I just installed a fresh 5.5.15 and I'm not getting any logs in my conf/logs directory. I did not use the installer to install this version (as opposed to my last install that logs just fine). I am controlling it with an IDE (IntelliJ, if that's relevant) which is probably starting Tomcat with

Re: Deadlock - Out of Threads - Strange Exception - OutOfMemory - Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-16 Thread Roger Keays
Hi Leon, Recently I've noticed similar deadlocks on my tomcat server. In my case, the server just hangs with no warning even though there is plenty of memory available. I tried the following to locate the problem, but it has all been in vain: * upgrade jdk from 1.5.0.1 to 1.5.0.6 *

ant reload

2006-03-16 Thread Jesus Antonio Sanchez Antunez
Hi. When I compiled some classes using the ant task ReloadTask from the sample build.xml, it doesn't reload the new compiled classes in tomcat. The only way that I found it does that is when I remove and reinstall the app. Do I have to wait for that behaviour, or am I doing something wrong.