RE: NoClassDefFoundError, Tomcat isn't seeing JARs in webapps//lib?

2007-09-04 Thread Per Johnsson
Just a quick one, how do you start Tomcat? Is it another user? Does the directories/apps have the correct rights. And does Tomcat/java have the necessery rights to read, and run? Regards Per Jonsson -Original Message- From: Ghodmode [mailto:[EMAIL PROTECTED] Sent: den 4 september 2007 0

RE: Tomcat Memory Usage

2007-05-14 Thread Per Johnsson
and stops serving requests. --- Per Johnsson <[EMAIL PROTECTED]> wrote: > Hi! > > If you get OutOfMemory Errors and running java 1.6 (maybe later > versions of java 1.5) you can make the vm to save a memory dump which > you could load in ie. YourKit java profiler. And After a

RE: Tomcat Memory Usage

2007-05-14 Thread Per Johnsson
Hi! If you get OutOfMemory Errors and running java 1.6 (maybe later versions of java 1.5) you can make the vm to save a memory dump which you could load in ie. YourKit java profiler. And After a crach you could analyse the memroy in your applications. I did that resently and it works like a char

RE: Ideal JVM params for 64-bit?

2007-04-20 Thread Per Johnsson
There is a good documentation about this at: http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html Its for Java 6 but I think it's appliable for Java 1.5 also. I made some test running 1.6_u1 with the: -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode and it's a lot slower but the

RE: changing the name of tomcat homedir - impact?

2007-04-18 Thread Per Johnsson
Hi! I suppose you have installed the Tomcat Service also and there is references in the registry to the Tomcat Path so a better choice is to uninstall Tomcat 6 and reinstall it in a proper directory without spaces. /Per Jonsson -Original Message- From: Christoph P. Kukulies [mailto:[EMAIL

RE: Tomcat on Windows Server 2003 R2

2007-03-27 Thread Per Johnsson
e will show the poster's error messages. Then restore the msvcr71.dll to the correct name and start the service again. This time it will work. If you are running the zip file distribution in a command window, you are not running the windows service. In that case, your environment variables are impo

RE: Tomcat on Windows Server 2003 R2

2007-03-26 Thread Per Johnsson
and tomcat is 5.5 Is the tomcat 5.5 is not supporting the java 1.4 I mean more latest java version is required for tomcat 5.5 -Original Message- From: Per Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 3:02 PM To: Tomcat Users List Subject: RE: Tomcat on Windows Server

RE: Tomcat on Windows Server 2003 R2

2007-03-26 Thread Per Johnsson
There is a known "bug" or missfeature in the java installer. Add in the system env JAVA_HOME=yourjrepath and ";%JAVA_HOME%/bin in the end of PATH variable. I hade the same problem with the java6 and tomcat but the abve solved it. /per jonsson -Original Message- From: Markus Franz [mail

RE: Still connection problems between IIS tomcat 5.5.12....

2007-02-23 Thread Per Johnsson
tionTimeout of the tomcat connector. It's normal to use this feature and mod_jk normally logs only an info message and opens a new one. This feature should not produce the kind of situation you are experiencing. Regards, Rainer Per Johnsson wrote: > Hi! > > Thanks for the answare! >

RE: Still connection problems between IIS tomcat 5.5.12....

2007-02-23 Thread Per Johnsson
on reset. Do you use socket_timeout in workers.properties? If yes, try without socket_timeout (but have a look at the other timeout possibilities of mod_jk). Socket_timeout is difficult to handle at the application=mod_jk layer. Any changes on the firewall around the time your trouble began?

Still connection problems between IIS tomcat 5.5.12....

2007-02-22 Thread Per Johnsson
It's me again, we have not yet solved our problems, but now we have turned one of the IIS servers to IIS 5 compability mode which made us get som logs from the tomcat connector. Short Review of setup: Tomcat 5.5.12 APR 1.1.0-dev ispi_redirect.dll 1.2.20 between the iis and tomcat we have a firewa

RE: Apache mod_jk memory leak?

2007-02-14 Thread Per Johnsson
is is not an official patch. WindowsServer2003-KB931311 can be retrieved by calling microsoft support. But I can also send you the patch if you can't get it. Romain Per Johnsson wrote: > > Hi! > I wonder if this is the same problem we have, but we are using IIS6 > and isapi_redir

RE: [OT] Apache mod_jk memory leak?

2007-02-14 Thread Per Johnsson
Hi! I wonder if this is the same problem we have, but we are using IIS6 and isapi_redirect.dll and if I'm not totally wrong the same codebase is used for apache and iis. We have come to the conclusion that there is a error in the "free memory" causing a crash when the pool workers of the iis is u

Help localizing IIS crach running isapi_redirect.dll

2007-02-08 Thread Per Johnsson
We are suddenly experience major problems on all of our four productionservers. We are running four IIS 6 servers on Win 2003 Server which are connected with isapi_redirect (ajp13) to four tomcat 5.5.12 which is mapped 1 to 1. They have been runnning fine in at least some month and suddenly the

RE: Unable to run Tomcat 5.5.20 as a Windows service under jdk 1.6

2007-02-05 Thread Per Johnsson
Hi! I digged in the source of the service and posted some days ago, but I have also problems. I think there is some underneeth problem with either windows 2003 or some settup (user rights/permissions?) The strange thing in all this is that I managed to run 1.6 with the service on one machine of 4

RE: Tomcat and Java6

2007-02-02 Thread Per Johnsson
he knowledge to debug this furhter, so... Does anyone know what the IS_INVALID_HANDLE(gWorker) is checking? Or why the apxCreateJava(..) is failing why? /Per Jonsson -Original Message- From: Per Johnsson [mailto:[EMAIL PROTECTED] Sent: den 1 februari 2007 11:02 To: Tomcat Users List Sub

RE: Tomcat and Java6

2007-02-01 Thread Per Johnsson
There was an earlier thread abaout this here: http://www.mail-archive.com/users@tomcat.apache.org/msg21543.html /per jonsson -Original Message- From: Kristian Rink [mailto:[EMAIL PROTECTED] Sent: den 31 januari 2007 14:35 To: users@tomcat.apache.org Subject: Re: Tomcat and Java6 [&

RE: Tomcat and Java6

2007-01-31 Thread Per Johnsson
Hi! Do you run on windows with the Tomcat Service? Did you do a clean install of tomcat after installing java 6? I have tried both the server and client jvm.dll in both the jre and jdk withouit luck. Then on the other hand we had both jdk5 and jdk6 installed and we did not reinstalled tomcat. (We

RE: Tomcat and Java6

2007-01-31 Thread Per Johnsson
Hi! Are you sure it's tomcat which fails, in my case it was the Tomcat Service which hangs, and I have no clue why. I got it working on one machine but not on all other with the same setup. I tried updated the Tomcat.exe service files without luck. Another person on the list said it will work i

RE: isapi_redirect problem : works in all cases except one

2007-01-22 Thread Per Johnsson
Hi! I just notice that you have /wiki/ in the uriworkers and path="/wiki". Try to change your ajp connector to /wiki*=ajp13w I have sometimes had some problem with differences in the last slash. /Per Jonsson -Original Message- From: Rich Stern [mailto:[EMAIL PROTECTED] Sent: den 19 ja

RE: JSTL c:if statements

2007-01-15 Thread Per Johnsson
Hi! I hade some similar strange problems when I had a very old xml jars. (like xml-api.jar etc) Check your jars for xml and update them. /Regards Per Jonsson -Original Message- From: rotvang [mailto:[EMAIL PROTECTED] Sent: den 12 januari 2007 06:32 To: users@tomcat.apache.org Subject:

RE: Tomcat cache problem?

2007-01-05 Thread Per Johnsson
Hi! I just want to enlight you about FireBug which is a FireFox plugin which has a lot of stuff, including webserver communication: http://www.getfirebug.com/ It's a beta but its very promising and nice. Another good way to se if a page is cached during debugging is a sysout to the logfile, tha

RE: Possible bug in Apache Tomcat JK 1.2.19 for WIN32?

2006-11-07 Thread Per Johnsson
(or documented) behaviour. Nevertheless http://issues.apache.org/bugzilla/show_bug.cgi?id=40855 might be interesting to read. Regards, Rainer Per Johnsson schrieb: > Hi! > > I don't know if this is a bug or if it's a known issue. > > This is an extra

Possible bug in Apache Tomcat JK 1.2.19 for WIN32?

2006-11-07 Thread Per Johnsson
Hi! I don't know if this is a bug or if it's a known issue. This is an extract from our uriworkermap.properties file: ... /ExtranetLogin*=ajp13w /images*=ajp13w /ExtranetLogin*=ajp14w .. It seems like the two ExtranetLogin pointing to two different hosts was confused in some way and didn't wo

RE: Tomcat 6 and shared/lib, common/ and conf/catalina/localhost?

2006-10-31 Thread Per Johnsson
52 To: Tomcat Users List Subject: RE: Tomcat 6 and shared/lib, common/ and conf/catalina/localhost? > From: Per Johnsson [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 and shared/lib, common/ and conf/catalina/localhost? > > I downloaded Tomcat 6 (the alpha I presume) the zipped version a

Tomcat 6 and shared/lib, common/ and conf/catalina/localhost?

2006-10-30 Thread Per Johnsson
I downloaded Tomcat 6 (the alpha I presume) the zipped version and I I noticed there was no directory for shared/lib, common/ and no conf/Catalina. I Googled and read the doc and got no clue if there is some changes in the lib structure which you should be aware of. Is the conf/Catalina created w

RE: Two apps with different hosts?

2006-10-30 Thread Per Johnsson
Hi! I may be missinformed but I was told there may be issues with the loading of the shared libs if using pluto (jsr-168) if the appbase was outside the webapps directory and there could be other issues as well. /Per Jonsson -Original Message- From: Christopher Schultz [mailto:[EMAIL PR

Two apps with different hosts?

2006-10-30 Thread Per Johnsson
We have two different applications running on tomcat 5 today with different hosts, one is inside the webapps directory and one did we put outside. Before we had both the applications in webapps but that made tomcat run several instances of the apps due to we declared the http://www.mysite.com> " ap

RE: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread)

2006-10-02 Thread Per Johnsson
Turk [mailto:[EMAIL PROTECTED] Sent: den 2 oktober 2006 21:00 To: Tomcat Users List Subject: Re: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread) Per Johnsson wrote: > Hi! > > (Now own thread, sorry about the previouse stealing) > Great :) > worker.ajp13w.conn

RE: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread)

2006-10-02 Thread Per Johnsson
ought, no really proof. /per jonsson -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: den 2 oktober 2006 20:55 To: Tomcat Users List Subject: RE: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread) > From: Per Johnsson [mailto:[EMAIL P

Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread)

2006-10-02 Thread Per Johnsson
Hi! (Now own thread, sorry about the previouse stealing) We have had some major problems today on our productions serves with the config below. We have had a hard time localizing the problem and therefor I ask you here if you have any comments. There seems to be a some Whe have Apache Tomc

Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0

2006-10-02 Thread Per Johnsson
Hi! We have had some major problems today on our productions serves with the config below. We have had a hard time localizing the problem and therefor I ask you here if you have any comments. There seems to be a some Whe have Apache Tomcat 5.5.12 running Tomcat Native Java Library 1.1 (apr) An

RE: mod_jk failover and preferring localhost

2006-06-22 Thread Per Johnsson
Hi! Is 1.2.16 avaiable for download somewhere? Found this: http://tomcat.apache.org/connectors-doc/news/20060505.html Regards Per -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: den 21 juni 2006 21:14 To: Tomcat Users List Subject: Re: mod_jk failover and preferrin

Re: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-26 Thread Per Johnsson
Hi! One good thing you could do is make sure you have the APR installed (Apache Portal Runtime) apr.apache.org. /Per Jonssons "Serkan Durusoy [DNA - encoding the future]" <[EMAIL PROTECTED]> 2006-03-26 22:02 Please respond to "Tomcat Users List" To cc Subject Performance Tuning on Tom

Re: IIS Isapi Redirector Not Working - 404 Error

2006-03-26 Thread Per Johnsson
Hi! Set the IIS to 5.0 compliance. Check the logfile of the isapi redirector. For some reason the log wont work when running in "6.0 mode". Se if the log gives you the answare. /Per Jonsson [EMAIL PROTECTED] 2006-03-27 08:10 Please respond to "Tomcat Users List" To users@tomcat.apache.o

Re: Running webapp as root context

2006-03-22 Thread Per Johnsson
Hi! I think the easiest way is to put all the contents in your folder "mmwebclient" in the webapps/ROOT. Not put the whole folder just the contents. /Per Jonsson "Ryan Di Francesco" <[EMAIL PROTECTED]> 2006-03-22 22:57 Please respond to "Tomcat Users List" To cc Subject Running webapp

Re: Mapping different different folders in a webapp to different urls

2006-03-13 Thread Per Johnsson
Hi! We have managed to do that but with a side effect that Tomcat loads each webapp several times. This is an example config. I think by setting the webapps folder to a empty dummy folder you could get rid of the autoloaded webapps and only get those you want. I have not tried it ou

Re: Defining two host

2006-03-10 Thread Per Johnsson
Sorry. Missed the question. How do I best define two hosts with specific pathes. In my example below the webapps is loaded several times. I just want tomcat to load the webapps that I define. The below works good if I use a fullpath in context and sets the appBase to a dummy directory or remove

Defining two host

2006-03-10 Thread Per Johnsson
This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copyi