Problem with Tomcat upgrade to 5.0.28 from 4.x

2006-02-28 Thread Devireddy, Nagendra Reddy (STSD)
Hi, I have upgraded tomcat from 4.x to 5.0. This is how I hv done the upgrade .. I took backup of webapps/test_apps Installed Tomcat 5.0 and Then I copied the test_apps to the new webapps I have not changed any thing else .. Tomcat is throwing class defination not found error .. But I searched

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 applicat

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

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 inserte

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 256

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

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" 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 there to choose fro

Tomcat - out of resources

2006-02-28 Thread Cam T
Hello I am running a jsp which uses jstl/xml to load and transform data into a form as well jstl/core logic. It has been working fine until I have re-installed tomcat 4.1.31 from the exe download which also install tomcat as a windows service. It doesn't always errors to this it does so intermitten

SSL on HTTPD or Tomcat

2006-02-28 Thread Cam T
Hello Would someone explain what the difference in terms of pros and cons to whether install SSL with Apache HTTPD (Version 2) or Tomcat (Version 4.1.31 )? Thanks Cameron

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 > [0x445f

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

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 mo

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 extr

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

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 /webapps/sample is the directory where I have my files /webapps/sample/index.html /webapps/sample/WEB-INF/web.xml /webapps/sample/WEB-INF/lib/sample.jar When I try accessing

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 wi

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 [0x445f00

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

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

2006-02-28 Thread Peter Lin
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 option is to use a jdk that doesn't have pe

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 pro

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 Leon Rosenberg
On 3/1/06, Peter Lin <[EMAIL PROTECTED]> wrote: > 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:

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

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

2006-02-28 Thread Tomasz Nowak
Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > 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,

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

2006-02-28 Thread Leon Rosenberg
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). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

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. > > -O

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 PROTECTED

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 conne

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 discuss

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 av

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

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 specifie

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 performance

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 following;

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 JVM

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 Jprof

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 e

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 t

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: 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: > > 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 alway

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 cont

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

2006-02-28 Thread Filip Hanik - Dev Lists
>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. your second error seems to be a result of a client disconnecting http://tomcat.apache.org/tomc

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 a

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 2/28/06

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. Fo

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 b

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 servl

Re: Tomcat 5 defaults

2006-02-28 Thread Grant Johnson
Thanks Chuck, I actually tried to get the "archive digest version" but was unsuccessful by sending a query to the list but was unsuccessful. Too easy! I'll try that in the AM Grant Caldarale, Charles R wrote: From: Grant Johnson [mailto:[EMAIL PROTECTED] Subject: Tomcat 5 defaults How ca

RE: Tomcat 5 defaults

2006-02-28 Thread Caldarale, Charles R
> From: Grant Johnson [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5 defaults > > How can I set the /dspace webapp as the default "ROOT" applet? This has been discussed several times in the past couple of months, so an archive search would be fruitful: http://marc.theaimsgroup.com/?l=tomcat-user&

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 http://myserv

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 M

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, b

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 moment

Re: Freezing Tomcat very often

2006-02-28 Thread Leon Rosenberg
aditionally to what Chuck said, you should check your cpu load and create a stack trace, maybe some of your tomcat threads are hanging in an infinite loop? Leon On 2/28/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Javed Iqbal [mailto:[EMAIL PROTECTED] > > Subject: Freezing Tomcat

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: 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?

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 Tim Lucia
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 even bigger bucks you can get commercial su

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 Nowak

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? http://www.google.com/search?hl=pl&q=%22th

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 c

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? Tru

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 can't

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-

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 so

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

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

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 (o

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 serv

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" - - mod_jk 1.2.15 - Apache Httpd 1.

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 To

RE: Tomcat 5.5 Possible Context Question

2006-02-28 Thread Scott Purcell
Thank you Charles It appears that a combination of element(s) and (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 looks much better callin

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 /webapps/sample is the directory where I have my files /webapps/sample/index.html /webapps/sample/WEB-INF/web.xml /webapps/sample/WEB-INF/lib/sample.jar When I try accessing

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 a

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 404 /anon_error.jsp *and* put an anon_error.jsp in every web app, then I can replace the built-in error page. But w

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: 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 wrote

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 definitions. Were you using the

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 i

RE: Forward to another URL

2006-02-28 Thread Duan, Nick
Are you trying to forward an http request from one servlet to another via the RequestDispatcher API? Or trying to figure out a way to forward a request in tomcat via configuration? Forwarding an http request is really a feature of the servlet API. The http protocol doesn't support request forw

RE: Deserialize tomcat sessions

2006-02-28 Thread Abraham Fdez
Hi Filip, In this line " StandardSession mysession = new StandardSession();" there could be in "new StandardSession()" a Manager. What should Manager I use? Best regards, Abraham Fernández Álvarez Dpto. de Informática FNAC ESPAÑA S.A. Parque Empresarial La Finca Pº de la Finca, bloque 11 2ª P

Re: Same jkmount, different server

2006-02-28 Thread Cedric Fontaine
Serlet Jean-Claude wrote: > Hello > > What's about the directive NameVirtualHost in your httpd.conf ? You're right. I forget about it and now it works, thanks ! Cedric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: REMOTE_USER forwarding

2006-02-28 Thread Karel Sedlacek
Marty, David, Thanks for the replies... We are using a Cornell developed SSO called CUWebAuth, and adding the tomcatAuthentication="false" directive did the trick. Transparent login working beautifully 400 (soon to be 4000) happy users. Thanks, Karel At 09:50 AM 2/26/2006, you wrote: In yo

Re: Startup Errors

2006-02-28 Thread Sean O'Reilly
On Tue, 28 Feb 2006 13:58:21 +0100 Markus Schönhaber <[EMAIL PROTECTED]> wrote: > 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

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 \

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 /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 request is 80 so better to

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 \ -Djava.endorsed.dirs="$JAV

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. > } > Th

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 : toto.com (...) In fact I need to forward request, after changing its serverName... -Message d'origine- De : P Y [mailto:[EMAIL PROTECTED] Envoyé : lundi 27 février 2006 20:48 À : Tomcat Users Lis

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 ext

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 org.apache.catalina.realm.DataSou

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 change

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 developm

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 th

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 origi