RE: Deserialize tomcat sessions

2006-02-28 Thread Abraham Fdez
Thanks Filip, Abraham Fernández Álvarez Dpto. de Informática FNAC ESPAÑA S.A. Parque Empresarial La Finca Pº de la Finca, bloque 11 2ª Planta 28223 Pozuelo de Alarcón (Madrid) ( +34 91 7689211 7 +34 91 7689225 / [EMAIL PROTECTED] : http://www.fnac.es -Mensaje

j_security_check and JAAS = GOOD or BAD ?

2006-02-28 Thread Vincent Delhommois
Hello, When I look all the JAAS example, I see that you have to use the following code to use the LoginModule, etc... LoginContext lc = new LoginContext(MyExample); try { lc.login(); } catch (LoginException) { // Authentication failed. } The MyExample is the name that

RE: Same jkmount, different server

2006-02-28 Thread Serlet Jean-Claude
Hello What's about the directive NameVirtualHost in your httpd.conf ? Jean-Claude -Message d'origine- De : Cedric Fontaine [mailto:[EMAIL PROTECTED] Envoyé : mardi 28 février 2006 00:04 À : Tomcat Users List Objet : Same jkmount, different server Hello, I'm trying to setup a

RE: How to separate tomcat instances?

2006-02-28 Thread Alex Jalali
To save some disk space you could have one complete set of the binary distribution and from your 3 directories, create symbolic links to static files. They are most everything except config and log files and the startup scripts. This is also good when you are upgrading tomcat or want to make

Where is org.apache.catalina.realm.DataSourceRealm ?

2006-02-28 Thread frank . schaare
Hi, We need a little extension to our configured DataSourceRealm. One of our ideas ist to implement a custom realm which is mostly the same as org.apache.catalina.realm.DataSourceRealm, but extended with a few lines of our own code. Unfortunately, we cant find the

RE: Where is org.apache.catalina.realm.DataSourceRealm ?

2006-02-28 Thread Alex Jalali
It is contained within /tomcat/server/lib/catalina-optional.jar After you create the class placed it under /tomcat/server/classes For some reason when I place it in WEB-INF/classes, tomcat couldn't find it. Maybe my class path error anyway For configuration this is an example for mysql. I

RE: Forward to another URL

2006-02-28 Thread Pauline CANTALOUP
Hello, Thanks for your answer. But I already declared my 2 domains with aliases : Host name=tata.com debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false cookies=false Aliastoto.com/Alias (...) In fact I need to forward request, after

Re: j_security_check and JAAS = GOOD or BAD ?

2006-02-28 Thread Franck Borel
Hi Vinc, Hello, When I look all the JAAS example, I see that you have to use the following code to use the LoginModule, etc... LoginContext lc = new LoginContext(MyExample); try { lc.login(); } catch (LoginException) { // Authentication failed. } The

Startup Errors

2006-02-28 Thread Sean O'Reilly
Hi, when starting tomcat-5.5.15 i am getting the following error ./catalina.sh: line 220: exec: : not found so i looked at line 220 in catalina.sh the content of which is the first line of the following statement. exec $_RUNJAVA $JAVA_OPTS $CATALINA_OPTS \

RE: regarding tomcat port no

2006-02-28 Thread Kasim
Default port it uses 8080 .In order to change your tomcat port setting you have to modify in server.xml which reside at tomcat home directory/conf Change the port no there and save it and restart the tomcat server.After restarting the server new port is going to be used Default port for http

Re: Startup Errors

2006-02-28 Thread Markus Schönhaber
Sean O'Reilly wrote: Hi, when starting tomcat-5.5.15 i am getting the following error ./catalina.sh: line 220: exec: : not found so i looked at line 220 in catalina.sh the content of which is the first line of the following statement. exec $_RUNJAVA $JAVA_OPTS $CATALINA_OPTS \

Tomcat 5.5 Possible Context Question

2006-02-28 Thread Scott Purcell
Running Tomcat 5.5.15 on Win 2000. Originally we were running Tomcat 4.x?. So in order to upgrade our administrator loaded 5.5.15 and copied (copied) the webapps from the 4.x to the 5.5.15. There are currently four sites running, and I can hit the index.html for each context. But I cannot

RE: Tomcat 5.5 Possible Context Question

2006-02-28 Thread Caldarale, Charles R
From: Scott Purcell [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5 Possible Context Question Is a context entry required somewhere in order to fire up servlets? No, it's only required when you need some Tomcat-specific attributes for the webapp, such as Resource definitions. Were you using

Re: Tomcat 5.5 Possible Context Question

2006-02-28 Thread Mike Sabroff
Do you have the servlet definitions and mappings in the web.xml for the apps? Also remember (i think) seeing something about tomcat 5 not using the invoker servlet by default anymore. If that is true, it would need to be uncommented in the web.xml file in the conf directory Scott Purcell

Apache and Tomcat

2006-02-28 Thread Vanessa Campos
Hi, everybody. I'm trying to make Apache 2.0.55 connect to Tomcat 5, using mod_jk. I'm getting cannot find worker, and my config files seems to be ok. Is there other way to make Apache and Tomcat talk? I read that it's recommended to use mod_proxy_ajp, but it's only available on Apache 2.2, and

Re: error-page for nonexistent context

2006-02-28 Thread Paul Singleton
Mark Thomas wrote: Paul Singleton wrote: (I am required to anonymiee a Tomcat 5.5 server from hackers trying to discover its version etc.) If I put this in conf/web.xml error-page error-code404/error-code location/anon_error.jsp/location /error-page *and* put an anon_error.jsp in every

Re: Tomcat 5.5 Possible Context Question

2006-02-28 Thread Mike Sabroff
I saw the response from chuckif the invoker servlet is a security risk, and only the mappings need to be done, then that is the way you should do it. Mike Sabroff wrote: Do you have the servlet definitions and mappings in the web.xml for the apps? Also remember (i think) seeing something

Problem with jar files in Tomcat 5.X

2006-02-28 Thread Devireddy, Nagendra Reddy (STSD)
Hi , I have installed Tomcat 5.0 and trying to access the sample servlet examples. My directory structure is like this tomcat installation dir/webapps/sample is the directory where I have my files tomact installation dir/webapps/sample/index.html tomact installation

RE: Tomcat 5.5 Possible Context Question

2006-02-28 Thread Scott Purcell
Thank you Charles It appears that a combination of servletelement(s) and servlet-mapping(s) elements does the trick. I can now hit the servlet using my servlet-mapping url entry. No matter what, I cannot call the servlet by using the com.xxx.xxx.ServletName. But that was sloppy anyway, and it

Re: Problem with jar files in Tomcat 5.X

2006-02-28 Thread Mike Sabroff
Are your samples part of a package? If not, then they are assigned the default package and that may not be the same as the package assigned when they are in the classes directory. Use a package statement if you are not already. Devireddy, Nagendra Reddy (STSD) wrote: Hi , I have installed

Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Probably important: === - 2x Xeon, 3 GB mem - Linux 2.4.26 - Java 1.5.0_06-b05 - Apache Tomcat 5.5.15 - CATALINA_OPTS=\ -server \ -Djava.awt.headless=true \ -Dfile.encoding=UTF-8 \ -XX:MaxPermSize=256m \ -Xms1024m -Xmx1024m - Connector port=8009 protocol=AJP/1.3

Freezing Tomcat very often

2006-02-28 Thread Javed Iqbal
Hi All, I am facing a big problem. I am very much new to tomcat my proble is tomcat responds very slow sometimes and i had no other option than to restart tomcat service. sever config: H/W: HP DL380 xeon dual processor,2GB RAM S/W: WIN2K, tomcat 5.0.16 and JSDK 4.1, which connects to SQL2K

RE: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread John C. Dale
There are many variables along the path to enlightenment. Don't give-up on Tomcat so soon. Sometimes Tomcat is only as good as the applications deployed within her. Given that Tomcat has been up and running for me for as many as 90 days in a row with a high-use application accessing a database

RE: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Peter Crowther
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Nowak Probably important: === [lots of technical details about kit and container config] Very important == Your application. Have you profiled it for memory leaks that would cause a OOME? Have you tested it

RE: Freezing Tomcat very often

2006-02-28 Thread Caldarale, Charles R
From: Javed Iqbal [mailto:[EMAIL PROTECTED] Subject: Freezing Tomcat very often my proble is tomcat responds very slow sometimes and i had no other option than to restart tomcat service. Can you find anything in the logs? WIN2K, tomcat 5.0.16 and JSDK 4.1, Assuming you meant JSDK 1.4.1,

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Mark Eggers
enableLookups=true redirectPort=8443 / Why enableLookups=true ??? Also, Cocoon can be very resource-intensive depending on which blocks you've built. JSP under Cocoon 2.1.7 and JDK 1.5 is also problematic, see for example: http://issues.apache.org/jira/browse/COCOON-1457 I have some

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Mark Eggers [EMAIL PROTECTED] wrote: enableLookups=true redirectPort=8443 / Why enableLookups=true ??? I use request.getRemoteHost in couple of places. Also, Cocoon can be very resource-intensive depending on which blocks you've built. Almost always only: - databases-block -

Tomcat 3 -- servlets don't reload..

2006-02-28 Thread Frances
when I make changes to a servlet I don't see changes unless I turn tomcat off and on... this is a huge pain, it's at work, where we can't be turning Tomcat off and on all day long whenever we make changes to a servlet.. Is there a way around this? (Does Tomcat 3 come with a Manager? I

Re: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
John C. Dale [EMAIL PROTECTED] wrote: Don't give-up on Tomcat so soon. At least 3 years of giving a chance are not soon... ;] Sometimes Tomcat is only as good as the applications deployed within her. Operating system is only as good as the applications run on it. True of false? True... in

Tomcat 4.1 cookie problem with dmz

2006-02-28 Thread Luis Varon
Dear Ladies and Gentleman, We are using tomcat 4.1 under windows 2003 Server on an computer which is located in an dmz and have several problems with cookies. It is so that if we try to load a new page within our application after the starting page has been loaded we get an error regarding the

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Peter Crowther [EMAIL PROTECTED] wrote: Have you tested it for deadlocks that would cause hangs? [...] Profile your application. What's eating memory? Get a thread dump when your application hangs. Is anything deadlocked? What? Where? How?

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Mark Eggers
I'm confused - but wouldn't an enableLookups on the AJP connector return the hostname of the remote Apache server sending the request (and not the remote web client)? I don't know since I'm at work, and I always disable enableLookups since it's a potential performance hit. /mde/ --- Tomasz

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Leon Rosenberg
[...skiped...] I've been crond-restarting Tomcat 4.1 on Java 1.4 every night for more than a year, and now I have to restart Tomcat 5.5.15 on Java 1.5 AND apache httpd also almost every single day. From my -user point of view, Tomcat doesn't change in a good direction. In fact in it is

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Leon Rosenberg
On 2/28/06, Tomasz Nowak [EMAIL PROTECTED] wrote: Peter Crowther [EMAIL PROTECTED] wrote: Have you tested it for deadlocks that would cause hangs? [...] Profile your application. What's eating memory? Get a thread dump when your application hangs. Is anything deadlocked? What? Where?

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Mladen Turk
Mark Eggers wrote: I'm confused - but wouldn't an enableLookups on the AJP connector return the hostname of the remote Apache server sending the request (and not the remote web client)? No. JkOptions +ForwardLocalAddress Regards, Mladen.

RE: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread John C. Dale
I don't really want to get into a pissing contest over this (mainly because I have some serious pressure and a rather small aperture, resulting in an unmatchable pressure/volume ratio), so this is the last thing I will say on the topic that doesn't relate to a solution for you (which, at the

RE: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Abraham Fdez
Hi, You must look at your java code in order to find any function that are deprecated. Sometimes this functions are the problem of memory leaks, high cpu usage, etc... Best regards, Abraham Fernández Álvarez Dpto. de Informática FNAC ESPAÑA S.A. Parque Empresarial La Finca Pº de la Finca,

Re: Tomcat 3 -- servlets don't reload..

2006-02-28 Thread Frances
Frances wrote: when I make changes to a servlet I don't see changes unless I turn tomcat off and on... this is a huge pain, it's at work, where we can't be turning Tomcat off and on all day long whenever we make changes to a servlet.. Is there a way around this? (Does Tomcat 3 come with a

Tomcat 5 defaults

2006-02-28 Thread Grant Johnson
Good day! I have an implementation of DSpace (webapp running on standalone Tomcat 5.5) that seems to be working well. Whether I'm a moron or not I'm not prepared to answer at this point! How can I set the /dspace webapp as the default ROOT applet? I don't want to use

Tomcat silently stops working, very strange exceptions in catalina.out

2006-02-28 Thread Leon Rosenberg
Hi, I'm seeing a strange behaviour of tomcat (once more :-)) which I can't explain. At some point of time and without a recognizable reason beans start to vanish from the request scope. The catalina.out is then full of exceptions like: StandardWrapperValve[controller]: Servlet.service() for

Re: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
John C. Dale [EMAIL PROTECTED] wrote: PHP is great. So is Zoap and .NET. Careful, though, some of the same problems you would be shunning Java for would also appear in any Internet development/application development platform. I know the pitfalls of PHP, I been developing php webapps

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Tim Lucia [EMAIL PROTECTED] wrote: Send Tomcat a QUIT (11) signal on Unix, or control/break (run it interactively) on Windows. This will cause the VM to dump all thread stacks. If you don't like Tomcat, you can always shell out some big bugs for a commercial application server. For some

Re: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Leon Rosenberg
Tomasz. could you please stop whining and reply to the suggestions in your original thread (sad: ...) if you want to get real help... If you don't need help, and just want to curse around tomcat developers and/or users... then tell us, so we can filter your messages out. regards Leon On

RE: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tim Lucia
#1 - I have a reasonable command of commons logging, log4j, juli, java logging, etc., and I can quite easily make the application logging work without a hitch. As for 'production ready logging', I would look to valves for things like access logging. The access log valve works virtually the same

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Remy Maucherat
On 2/28/06, Tomasz Nowak [EMAIL PROTECTED] wrote: Your right, the tone of my postings is inproper. I've been using 'free' software for almost 10 years now and I pretty well get the rules. My only excuse is the level of my frustration, based on recent Tomcat use. For now, the only

Re: (more info) Re: going crazy with certain mod_jk requests freezing

2006-02-28 Thread michael thomas
Just thought I should post that it looks like the problems I'm having have nothing to do with mod_jk, tomcat or apache. After diagnosing with Redhat, it looks like there is some sort of incompatibility between the NIC's on these new servers and the Redhat driver. When we force the NIC into 100MB

Re: Tomcat silently stops working, very strange exceptions in catalina.out

2006-02-28 Thread Leon Rosenberg
On 2/28/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: javax.servlet.jsp.JspException: No bean found under attribute key result this is a regular struts exception, it is expecting a bean in one of the scopes (request,page,session), but it is not there. 'The funny thing is, that there

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Remy Maucherat
On 2/28/06, Peter Lin [EMAIL PROTECTED] wrote: honestly, besides Weblogic, most servlet and ejb containers do not provide simple and clear instructions for tracing issues. With websphere, you have to buy an expensive license of WASD and even then debugging an issue won't be better in my

RE: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tim Lucia
I have found that running Jconsole against the VM (JMX) and watching the various memory pools can be quite informative. I have not evaluated the performance impact in a production environment (don't run Jconsole on the same production box, as per the instructions.) I have had good luck with

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Stephen Caine
Tomcat Users: We also had the dreaded, 'out of memory' errors and periodic crashes several times every day. Currently, we are stable. With help from Chuck, we were able to narrow down our problem to that of insufficient permanent generation memory. The point being that figuring out

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Nathan Smith
Hi Tomasz, you mentioned below that you have a MaxPermSize of 256m. I would suggest increasing this value to a much larger amount and even increasing your -Xms and -Xmx values. We had a problem with our application in a live environment where it would regularly get errors like the

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Nathan Smith
Another tool I find very useful is visualgc, which is part of the jvmstat 3.0 package available here http://java.sun.com/performance/jvmstat. You dont have to set anything up and its really lightweight. You could probably run it in a production environment with hardly any impact on

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Remy Maucherat [EMAIL PROTECTED] wrote: In case you haven't noticed, it is extremely hard to do, because webapps have their own logging mechanism most of the time. You mention the logger element of 4.x, but it didn't actually do anything (it did put the internal logging for the specified

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Nathan Smith [EMAIL PROTECTED] wrote: Hi Tomasz, you mentioned below that you have a MaxPermSize of 256m. I have not seen OOME: PermGen errors on that machine but after having some of them on other machine with aditonal 10 webapps deployed I've increased it from default 64m to 256m to be

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Leon Rosenberg [EMAIL PROTECTED] wrote: We had some serious problems with tomcat, which are solved now, however, we are on 5.0.25 (with session patch) and not on 5.5.x yet. However, when tomcat dies, what your cpu usage is looking like? 100%? I've noticed that when tomcat hangs - load avarage

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Tim Lucia [EMAIL PROTECTED] wrote: #2 - Do any commercial application server vendors offer you assistance on how to find bugs in application code? You're much more likely to find these answers using google, or reading wikis or from community support. There are hundreds of such discussions

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Leon Rosenberg
you should seriously consider upgrading to 2.6.x linux. 2.4.s thread support simply sucks! If your tomcat spawns more than allowed threads it will get an outofmemoryerror and simply die... And I don't mean your 200 tomcat httpworker threads only, but all threads in the jvm, including database

RE: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tim Lucia
I use JProfiler with Tomcat all the time. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Nowak Sent: Tuesday, February 28, 2006 6:37 PM To: users@tomcat.apache.org Subject: Re: Sad: Tomcat 5.5.x crashes almost every single day. Remy Maucherat [EMAIL

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Peter Lin
another potential solution is to try a different JVM like Bea's JRockit. JRockit provides some built in profiling capabilities, so that is another way to get some profile data quickly. peter On 2/28/06, Tim Lucia [EMAIL PROTECTED] wrote: I use JProfiler with Tomcat all the time.

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Peter Lin
On 2/28/06, Tomasz Nowak [EMAIL PROTECTED] wrote: I've not noticed more then 400-500 java threads, but I'll monitor that. I've set different ulimits form differnt users, BUT user that runs java/tomcat has no limits but one: -s 2048 (stacksize). AFAIK that one was recommended by

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Zorro3692
Don't count on it!! In a message dated 2/28/2006 7:26:33 P.M. Eastern Standard Time, [EMAIL PROTECTED] writes: it seems that using a rude tone is a good way to get many answers, your question got 26 answers, mine, with a similar problem, only 1 (and a not helpful one).

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Leon Rosenberg [EMAIL PROTECTED] wrote: kill -SIGQUIT (i think its kill -11) your tomcat-java process Ok, it has happened again ! Simply: Mar 1, 2006 2:28:34 AM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Peter Lin [EMAIL PROTECTED] wrote: look at the dump, it looks like the permgen ran out of space PSPermGen total 50304K, used 50170K [0x445f, 0x4771, 0x545f) object space 50304K, 99% used [0x445f,0x476ee878,0x4771) try increasing your permGen to 128Mb. Another

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Peter Lin
On 2/28/06, Tomasz Nowak [EMAIL PROTECTED] wrote: Peter Lin [EMAIL PROTECTED] wrote: look at the dump, it looks like the permgen ran out of space PSPermGen total 50304K, used 50170K [0x445f, 0x4771, 0x545f) object space 50304K, 99% used

how to find out who is logging in?

2006-02-28 Thread epyonne
All, I manage an intranet environment with 3 web app servers running Tomcat. There is load balancing between these 3 servers. If a user, says John, logs on to the system, his session will be randomly on one of these 3 servers. Now, how can I find out which server John's session is on? Any help

Problem with Tomcat 5.0.28

2006-02-28 Thread Devireddy, Nagendra Reddy (STSD)
Hi , I have installed Tomcat 5.0 and trying to access the sample servlet examples. My directory structure is like this tomcat installation dir/webapps/sample is the directory where I have my files tomact installation dir/webapps/sample/index.html tomact installation

RE: Problem with Tomcat 5.0.28

2006-02-28 Thread Caldarale, Charles R
From: Devireddy, Nagendra Reddy (STSD) [mailto:[EMAIL PROTECTED] Subject: Problem with Tomcat 5.0.28 When I try accessing index.html .. Its throwing classdefinationNotFound error .. But that class exists in the sample.jar What class? If you're referring to the index.html file, it's not

RE: Problem with Tomcat 5.0.28

2006-02-28 Thread Devireddy, Nagendra Reddy (STSD)
Hi, Thanks for your reply. The class that is appearing in the error message exists under webapps/sample/WEB-INF/lib And And all the classes are in a package. One more thing .. This was working fine with Tomcat 4.0 and after upgrading to Tomact 5 its giving this problem.. Is there any thing

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Nathan Smith
Hi Tomasz, this is the exact point I was making in my previous email. The error message that was returned was to do with the Java Heap Space. It may be referring to the entire heap that is allocated to the JVM, who knows. The problem can be fixed by increasing your -XX:MaxPermSize value to

RE: Problem with Tomcat 5.0.28

2006-02-28 Thread Caldarale, Charles R
From: Devireddy, Nagendra Reddy (STSD) [mailto:[EMAIL PROTECTED] Subject: RE: Problem with Tomcat 5.0.28 One more thing .. This was working fine with Tomcat 4.0 and after upgrading to Tomact 5 its giving this problem.. Were you depending on the invoker servlet in 4.0? This is disabled in

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Wade Chandler
--- Tomasz Nowak [EMAIL PROTECTED] wrote: Peter Lin [EMAIL PROTECTED] wrote: look at the dump, it looks like the permgen ran out of space PSPermGen total 50304K, used 50170K [0x445f, 0x4771, 0x545f) object space 50304K, 99% used

Re: tomcat and xslt 2.0

2006-02-28 Thread Zohar Amir
Thanks. Where do I put the System.setProperty(...)? - Original Message - From: Richard Toren [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, February 27, 2006 7:28 PM Subject: Re: tomcat and xslt 2.0 I think there are not that many xslt 2.0 engines out

Re: Apache and Tomcat

2006-02-28 Thread Gaël Lams
Hi, I'm trying to make Apache 2.0.55 connect to Tomcat 5, using mod_jk. I'm getting cannot find worker, and my config files seems to be ok. Is there other way to make Apache and Tomcat talk? I read that it's recommended to use mod_proxy_ajp, but it's only available on Apache 2.2, and there

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Peter Lin [EMAIL PROTECTED] wrote: It's not at all clear why -XX:MaxPermSize=256m isn't working and the perm size is still at the default. If the perm gen was set correctly, wouldn't the dump show something other than 99%? You're right, it shows PSPermGen total 50304K not the 256m

JNDIRealm and LDAP

2006-02-28 Thread Leucht, Axel
Hi, I'm currently trying to protect a tomcat web-app via LDAP. This application handled the protection against a LDAP server with a customized login procedure before. As there is now some more sensible content in the web-app, I wanted to protect the entire web-app by tomcat. Therefore I

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Nathan Smith [EMAIL PROTECTED] wrote: The problem can be fixed by increasing your -XX:MaxPermSize value to more than 256. I've increased it to 512m now. I'll see. Download and use a program called visualgc available here http://java.sun.com/performance/jvmstat. You can have it running

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Tomasz Nowak
Wade Chandler [EMAIL PROTECTED] wrote: Sometimes changing the ratio to not have enough new space and then creating too many objects too fast can make your application eventually throw OOMEs because it can't move the objects into older spaces quick enough depending on what you application is