Re: Application Configuration

2003-09-19 Thread Rishikesh Tembe
Do you really need to have webapps/examples/myApp/* ? Otherwise, just have webapps/myApp/* and create a context for myApp... -Rishi. On Thu, 18 Sep 2003 20:18:28 -0400, Renda, Michael [EMAIL PROTECTED] said: Hi, I'm having a simple application configuration problem. 1. Tomcat 4.1.27

Logging Error in org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler processConnection

2003-09-19 Thread Martin Grüneberg
Hallo together, i have mystery errormessage. The scenario is: I develop a struts webapplication with eclipse 2.1.1 (WAST Tomcat plugin) struts uses common-logging and my backend programm uses log4j. When i start the application in eclipse with the WAST i can test my application. after a clicking

Tomcat 4.1.18 Administration Tool does not appear to support pass word encryption

2003-09-19 Thread Gardner, David [IT]
I am using a tomcat Realm user database that reads the standard tomcat-users.xml file using MD5 encryption. I have set up the administration tool to allow user name and password administration. This works but only saves a clear text password back to the tomcat-users.xml file. There appears to be

Tomcat stops working after a few days!

2003-09-19 Thread Volker
Hi, I have a problem running Jakarta Tomcat 4.1 port under FreeBSD 4.4 with Blackdown Java 1.3.1 with mod_jk 1.2: After startup.sh /logs/catalina.out shows up following lines: [INFO] Registry - -Loading registry information [INFO] Registry - -Creating new Registry instance [INFO] Registry -

Re: Logging Error in org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler processConnection

2003-09-19 Thread Bill Barker
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22701. It should be fixed in the CVS code now, but I haven't finished running tests to close the bug. Martin Grüneberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hallo together, i have mystery errormessage. The scenario is: I

RE: Application Configuration

2003-09-19 Thread Renda, Michael
I don't have a webapps/examples/myApp/* What I have is: mydomain/examples/* and mydomain/myApp/*. There is a context created for each. In mydomain/examples I can access a resource at the following url: mydomain/examples/servlet/TestingServlet. In mydomain/myApp, when I try to access a

Tomcat and native libs.

2003-09-19 Thread Daniel Kowalik
Hi, i've got a simple application with a couple of servlets using one shared object. The problem is that this shared object uses native libs and there is no way to avoid it. And whenever servlet gets the instance of this shared object, Tomcat crashes and also crashes the whole JVM. When i use this

Re: Application Configuration

2003-09-19 Thread Dirk Griesbach
Michael, the servlet-mapping is missung in your web-xml: add the following: servlet-mapping servlet-name your servlet /servlet-name url-pattern the URL through which it should be accessible /url-pattern /servlet-mapping Hope this helps

mod_jk does not detect a hung Tomcat

2003-09-19 Thread David Rees
I've got a setup where I've got two load balanced Tomcats running off of Apache and mod_jk. I've got a problem where one of the Tomcats will occasionally hang, but not die. This means that it will accept new connections, but will not actually process anything. This renders all clients using the

Re: Where should I put properties files

2003-09-19 Thread Christopher Williams
Configuration files are a problem area in Java, particularly J2EE. You can: 1. Use a Preferences object (although I personally have found this quite painful - you need to provide a UI to set up and administer your preferences and system preferences require admin privileges on Windows). 2. Put

Re: Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed.

2003-09-19 Thread Andoni
I got to the log file last night and the error it has is: SIGBUS10* bus error Has anybody seen this before? Any ideas? Thanks, Andoni. -Original Message- From: Peter Guyatt [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 11:17 AM To: Tomcat Users

Re: Tomcat and native libs.

2003-09-19 Thread Christopher Williams
Have you tried synchronizing access to the native methods? Does Tomcat and the JVM crash when you only have one servlet using the native code? Alternatively, can you have two instances of the object so that it is not shared? What are the messages printed by the JVM when it crashes? Are you sure

RE: Tomcat and native libs.

2003-09-19 Thread Daniel Kowalik
Hi, Have you tried synchronizing access to the native methods? Yes. Does Tomcat and the JVM crash when you only have one servlet using the native code? Yes, everything crashes when the first servlet gets the instance of shared object. Lets say the shared object is called Data. The servlet gets

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed.

2003-09-19 Thread Ralph Einfeldt
So it's the vm that crashes. Some recommendations (quite unsorted): - There should be a core file from the vm somwhere With that you may find out where the error happened. - Find out if there are recommended patches for your os and your vm - If you can't find such patches, you may have to

Tomcat version 3 certificates?

2003-09-19 Thread Adrian Beech
G'day all, Earlier today we were advised by a bod from another section in our organisation that there is a known compatibility issue with Tomcat and version 3 certificates. Apparently he had been advised of this from someone at Verisign. Does such an issue really exist and if so is it solely

Re: Tomcat and native libs.

2003-09-19 Thread Christopher Williams
I'm no Unix expert, but I believe that signal 11 is a segmentation fault (i.e. you're accessing either an invalid memory address or one which you are not allowed to use). The most likely cause is a NULL pointer access. What you could try doing is handling signal 11 in your code. In the

Re: Tomcat 4.1.18 Administration Tool does not appear to support pass word encryption

2003-09-19 Thread Tim Funk
tomcat-users.xml is meant for *simple* password maintenance. For more advance password usage - use a different Realm such as JDBCRealm or JNDIRealm -Tim Gardner, David [IT] wrote: I am using a tomcat Realm user database that reads the standard tomcat-users.xml file using MD5 encryption. I

help in chanel jni

2003-09-19 Thread ABDUL BASIT
hi, can any one help me in connecting tomcat5.0.9 with apache2.0.47 with jk2-2.0.43. I have connected Tomcat5.0.9 and Apache2.0.47 with jk2-2.0.43 on channel socket. I want to connect them with channel jni. please any one tell me the step by step procedure. Thanking you. My e-mail address

mod_jk: Error flushing

2003-09-19 Thread Javier Ayllon
Hi friends: A few days ago I upgraded to Tomcat 4.1.24 with mod_jk 1.2.3 and apache 2.0.46. Averything seems to work right (in fact really fast). Just a little detail disturbs my internal peace ;-) In error_log I see every now and then the message mod_jk: Error flushing but

RE: Getting Dynamic Container information

2003-09-19 Thread Shapira, Yoav
Howdy, You must have looked really hard. Here it is: http://marc.theaimsgroup.com/?l=tomcat-userm=105248942130459w=2 Yoav Shapira Millennium ChemInformatics -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 4:55 PM To: 'Tomcat-User'

RE: init servlet loaded twice

2003-09-19 Thread Shapira, Yoav
Howdy, By the same token, it's legal for the container to swap out load-on-startup servlet (i.e. their destroy() method will be called) as it needs to balance user requests with system resources. Accordingly, many times a ServletContextListener is a better choice than a load-on-startup servlet.

Re: Coyote Performance

2003-09-19 Thread Peter Lin
I'm totally lost :) The only other thing I can think is NIO or differences between HTTP 1.0 vs 1.1. I looked at the parseRequestLine method and it's pretty straight forward. From what I can tell, it only parses: method, uri and protocol. java.net.SocketInputStream.read isn't called

RE: Lifecycle Termination

2003-09-19 Thread Shapira, Yoav
Howdy, I don't think a computer program can be very repentant by definition ;) Although it would be a nice touch to have a line like Sorry for crashing, I really did my best ;( at the end of the fatal stack trace ;) ;) Anyways, just amusing myself on a Friday morning. TomcatEmbedded stops

RE: deployment problems - solved (for the moment ;-))

2003-09-19 Thread Mats Wolpers
Hello, (cont. my posting of September 12.) I took Yoav's hint and undid all the jibberish i had done so far and double-rechecked those dirs. still didn't work. i read marty hall's chapter 1 from *more servlets and jave server pages* and played with the advice given there. stuff works now. i

RE: deployment problems - solved (for the moment ;-))

2003-09-19 Thread Shapira, Yoav
Howdy, b) /opt/jakarta/tomcat/webapps/ROOT/WEB-INF/web.xml had no entries at all for any servlets, not even in comments. (i believe this is tomcat 4.1.18-25 as it came out of the SuSE 8.2 box: however, my previous efforts to make things work may have corrupted this, i simply cannot backtrack

RE: Where should I put properties files

2003-09-19 Thread Shapira, Yoav
Howdy, I generally disagree, but don't want to start a big discussion, just solve that guy's problem. ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Christopher Williams [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 5:03 AM To: Tomcat Users List;

RE: Port 443 request not forwarded to Tomcat from Apache

2003-09-19 Thread Ramanan Ramadoss
I have not defined any VirtualHost. All I am uing is : # Configure mod_jk for basic operation IfModule mod_jk.c JkWorkersFile C:/Program Files/Apache Group/Apache2/conf/workers.properties JkLogFile C:/Program Files/Apache Group/Apache2/logs/mod_jk.log JkLogLevel debug JkMount /*.jsp

Re: Using drop down boxes in JSP

2003-09-19 Thread Tomas S.
Walker Chris wrote... OTTOMH, attach a function to the onChange event of your SELECT tag. The object representing the tag will probably be accessible as document.all.yourTagId, or possibly something else, depending on the ... Use document.getElementById(yourTagId) document.all is

IIS 5.1 and Tomcat 4

2003-09-19 Thread Jon Skeet
I'm trying to get IIS 5.1 and Tomcat 4 to play nicely together. So far I've not got very far. I've got: o isapi_redirect.dll from http://apache.oregonstate.edu/jakarta/tomcat-3/bin/win32/i386/ (That's the only place I could find it, and it took a while to find... should I be worried that it's

Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Hi all. I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH Linux 7.3 box with j2sdk 1.4.2. We had a power outage last night, and I have been trying to restart Tomcat and Apache, but Tomcat will not start. I have tried searching the archives, but I can't seem to figure out where to

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I am about to download and run JMP (Java Memory Profiler) to test my application for memory leaks to prevent this from happening again. However, I'm searching and searching on how to fix it for now. What I have come across is adding the following flags to the java execution command: -ms64M

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Peter Lin
in catalina.sh JAVA_OPTS=-Xms64m -Xmx512m hope that helps. peter Denise Mangano [EMAIL PROTECTED] wrote: I am about to download and run JMP (Java Memory Profiler) to test my application for memory leaks to prevent this from happening again. However, I'm searching and searching on how to

Re: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Jon Wingfield
Most JVMs limit the number of concurrent threads that can be created. That will be the OutOfMemoryError. As to why it is happening: Have you tweaked the server.xml settings for min/maxProcessors? Have you upped things like ulimit before the power outage and are now reset? Denise Mangano wrote:

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Peter - thanks for the response. Can I just add that at the very beginning of the script, or do I have to put that anywhere in particular? I don't want to override anything else that might be happening to JAVA_OPTS throughout the script? Thanks again. Denise Mangano Complus Data Innovations,

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
It looks to me like something screwed up your system. The main cause is not within tomcat. The important part of the traceback is this: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Jon - Thanks for the response. I did not change ulimit at all... Actually I did not change anything in server.xml besides making the configurations for mod_jk. Are there any settings I should consider changing? Perhaps, you can point me to a good resource where I can learn about optimizing?

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Ralph - thank you for your reply. I have not made any export settings like that. Honestly, for the most part I took the Tomcat distribution and went mostly with the defaults because everything was working fine. Probably a newbie mistake, I'm sure - but I made very few settings / changes.

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
I think it's not the right time to think about optimizing. If tomcat isn't even starting, I don't think that the problem is a 'normal' memory leak especially if the server has run before. I think that something has changed through the reboot. -Original Message- From: Denise Mangano

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Shapira, Yoav
Howdy, I tend to agree, and ulimit or a similar facility to control max number of threads allowed to the account running tomcat seems like the most likely candidate. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Mike Curwen
Particularly because it wasn't a 'friendly' reboot. Something may have gotten corrupted, it's not unheard of. Just for the heck of it, you could re-install the JDK and the Tomcat binaries (while keeping your server.xml and webapps directories safely backed up BEFORE you do any of that).

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
May setting these values will help: ulimit -s 2048 export LD_ASSUME_KERNEL=2.2.5 Either put them in the environment of the user that starts tomcat or put it in the startscript of tomcat. BTW: Have you looked what processes are running and how the memory usage is, before you try to start tomcat

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Thank you everyone for your responses. So, you are saying that the problem is not with Tomcat. Are you suggesting that the problem is with the server itself (Linux) or possibly with the JDK? I tried adding the JAVA_OPT flags to the catalina.sh but that did not due the trick. I also tried

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Yes, that is my assumption. The processlist looks uncritical. What about the memory usage ? (I'm not familiar with red hat, 'top' or 'cat /proc/meminfo' should work) -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 4:22 PM To:

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
From what I can tell memory usage looks ok as well... According to the output there is still memory free... total:used:free: shared: buffers: cached: Mem: 261988352 114282496 1477058560 18583552 68141056 Swap: 5346017280 534601728 MemTotal: 255848 kB

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
RH7.3 was EXT2 filesystem I think? (you probably did this) but I'd do a complete FSCHK on all disks. (1) Test some other Java applications...are they working? If not reinstall the RPM for the JRE you are using...try again. (2) load up another copy of Tomcat in your user account? Does this

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Yes, that looks fine to me. I think now you have to consider the other tip like - run fsck - Reinstall java - Reinstall tomcat (but I can't believe that this really helps) if that doesn't help it getting hard, as there is some knowledge required. (I would try to play with strace to find out what

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Some other recommendations: - Try to diable as much as possible in server.xml and web.xml. - Try to run tomcat standalone. Just to see if it starts. If it starts, try to find out which feature caused the error. - To

Init Parameter

2003-09-19 Thread Mailing List Servlet
Hello everybody, I started to learn servlets few times ago. Everything was working perfectly until I tried to get my init-param from my web.xml file. I receive all the time a null value when I ask the value of my parameter: String driver = getServletConfig().getInitParameter(driver). If I put

RE: Init Parameter

2003-09-19 Thread Shapira, Yoav
Howdy, Strange... Make sure the context-param and init-param names are different. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mailing List Servlet [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: Init Parameter

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
The filesystem check returns that everything is clean. I ran the test versions of the java programs that are part of my webapp from the command line, and the program executes without a hitch. It makes a URL connection to a remote server and sends data, and then receives a response... So I would

Re: Init Parameter

2003-09-19 Thread Jon Wingfield
Where in the code are you calling the method. If it's as an instance variable or in the servlet constructor then Tomcat hasn't yet inited the servlet and the getServletConfig() method doesn't behave as you are expecting. Of course, there's always the init(ServletConfig config) method. ;)

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
On Fri, 2003-09-19 at 11:18, Denise Mangano wrote: The filesystem check returns that everything is clean. I ran the test versions of the java programs that are part of my webapp from the command line, and the program executes without a hitch. It makes a URL connection to a remote server and

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Install the second instance in a new directory tree. Diasble all unneeded ports. Set the rest of the port to unique values. Start this instance. As first step I wouldn't add any of your applications. Just get the plain tomcat to run. (In the first run with the least possible set of features,

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
Hello Shapira, I first tried with only the init-param (no context param) and it already didn't work . And I have the same problem with all my others servlets... :-( I really don't understand why tomcat is enable to retrieve some information but not all... If there was a mistake in my web.xml

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Ok, here is something interesting I wanted to follow Ralph's suggestion of trimming down Tomcat's config, but I wasn't exactly sure what I could or couldn't touch in server.xml. So what I did was backuped up my server.xml - then renamed the server-noexamples.xml.config (shipped with the

RE: Init Parameter

2003-09-19 Thread Shapira, Yoav
Owdy, If you have an invalid web.xml, tomcat will tell you on startup that it can't parse it. Otherwise, you should be able to retrieve init parameters after the servlet is initialized. Post your servlet's relevant code. Yoav Shapira Millennium ChemInformatics -Original Message-

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
Hello Jon, I'm gonna try this..Look interesting.. Thanks a lot. - Original Message - From: Jon Wingfield [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 19, 2003 5:26 PM Subject: Re: Init Parameter Where in the code are you calling the method. If it's

Please help - Unable to create mod_jk.so connector4.1.27 , Apache 2.0.47

2003-09-19 Thread Satya Narayan Dash
Hi All, I am unable to create mod_jk.so with jakarta-tomcat-connectors-4.1.27 and Apache 2.0.47. In the last few lines it is throwing some errors. But I do not what I missed. My Environment: --- Red Hat Linux 7.2; JDK - 1.4.0 What I did: -- 1. Installed Apache 2.0.47 and

RE: Where should I put properties files

2003-09-19 Thread Michael D. Spence
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 9:14 AM To: [EMAIL PROTECTED] Subject: RE: Where should I put properties files Don't do this in the constructor of your servlet, as it's not initialized yet. Do it in the init

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
It's a basic servlet... Here is the code: public class techSupportServlet extends HttpServlet { String driver; public void init() throws ServletException { driver = getServletConfig().getInitParameter(driver); } protected void doPost(HttpServletRequest req, HttpServletResponse res)

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I did as you all suggested, and installed a second instance of tomcat. Without changing anything in the configuration, and using the default example webapps everything worked fine. So instead of trying to map my webapp to run off this second instance, I backed up the existing tomcat installation

startup errors

2003-09-19 Thread Doyle Bradford T NPRI
Yan, I had the same problem. I reinstalled Tomcat 4.1.27 from the zip file, and now it seems to startup OK. Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: article on tomcat performance

2003-09-19 Thread Euan Guttridge
Seconded, otherwise please include me in review distribution. -Original Message- From: srinath narasimhan [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 18:47 To: Tomcat Users List Subject: RE: article on tomcat performance Please post it to the list with a link or how to get it.

RE: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-19 Thread Euan Guttridge
Still waiting for some confirmation from Remy Maucherat. He was talking about the client deployer package, however I cannot find it... Neither can I.. Thanks -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 16:07 To: [EMAIL PROTECTED]

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I think it might be safe to assume the problem was with the user I was running tomcat as, if that makes any sense at all??? After I did what I said below, I realized that I was testing this out as root, and I should try it as other users. I tried it with my login, and I can start Tomcat just

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-19 Thread Ilja Hehenkamp
Remy Maucherat, can you elobarate on this deployer client? You talked about it, but it can nowhere be found. I'm still very stuck on this matter and don't have a way of fixing it... Deploying is a pain in the ass now compared to the convenient way of building with ant... From: Ilja Hehenkamp

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Shapira, Yoav
Howdy, It's very a possible for a user to have much lower ulimit/thread limit/kernel sym version settings than root does... Yoav Shapira Millennium ChemInformatics -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 1:33 PM To: Tomcat

SOLUTION!! -- Cannot load JDBC driver class 'null'

2003-09-19 Thread SANTOS, DANIEL (SBCSI)
Using Sun JDK 1.4.1_02 on Win2k SP2 and Jakarta 4.1.27. The tutorial in the tomcat docs failed for me also with the Cannot load JDBC driver class 'null'. I banged my head and had to get stitches and an ice pack. After that I came back to the office and cleaned out my server.xml and web.xml

manager/html app

2003-09-19 Thread Adam Hardy
Is there a way to configure the manager app to use form-based or digest authentication so I can use SSL to encrypt the login? As I understand it, with basic authentication the passwords are sent in plain text across the net, allowing them to be snooped out from caches and logs. I've no

Re: manager/html app

2003-09-19 Thread Filip Hanik
in web.xml for the manager app, force it to use SSL, that way the only way to connect into it is over SSL and you are good to go, even with basic authentication Filip - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September

Re: manager/html app

2003-09-19 Thread Adam Hardy
Thanks, I'll do that. Adam On 09/19/2003 07:48 PM Filip Hanik wrote: in web.xml for the manager app, force it to use SSL, that way the only way to connect into it is over SSL and you are good to go, even with basic authentication Filip - Original Message - From: Adam Hardy [EMAIL

RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-19 Thread Peter Yellman
Hi, I'd like to follow up on http://www.mail-archive.com/[EMAIL PROTECTED]/msg103877.html. I just setup an instance of TC 4.1.27, and applied the hotfix (GNU tar, tar -xvzf 4.1.27-hotfix-22096.tar.gz). Verified that the hotfix was in place. Then, with the default setup webapps completely

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I restored my Tomcat Installation to the way it was previously with my config and webapps. I am going to delete the user 'tomcat'. I am going to create a new user to run Tomcat as. My question now is, should I make any special settings for this user (i.e. Such as Ralph had suggested: ulimit -s

Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Denise Mangano Complus Data Innovations, Inc. 914-747-1200 -Original Message- From: Denise Mangano Sent: Friday, September 19, 2003 2:03 PM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError I restored my Tomcat Installation to the way it was

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Sorry - didn't mean to send that yet... This is the output I am getting in catalina.out Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry

Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Filip Hanik
not sure what is is, but shouldn't the file /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new be named /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml try to rename it and start again Filip - Original Message - From: Denise Mangano [EMAIL PROTECTED] To: Tomcat Users List

Re: peer not authenticated

2003-09-19 Thread Kleber
Hi, Thanks again for your attention, and help... I'm with a doubt. You said that there was nothing wrong, however the warning message always appears. Won't this leave the webpage slower with lots of person accessing it? Is there any way to avoid this message appearing? I can´t leave this

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread King,Daniel
A problem I have experienced over the years with WebLogic, is that I will run it as a non root user such as 'weblogic'. To do so, I will change owner for the whole directory where WebLogic is stored. Then when trouble shooting I forget and run the server as root, which causes it to create a

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Actually the tomcat-users.xml.new does not exist... Perhaps it's a temporary file that gets created as Tomcat starts?? There is a tomcat-users.xml which I added the user into. I added write permissions to the conf directory for the owner, and when I went to start Tomcat I was right back where I

Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Filip Hanik
so if you do chmod -R 777 /usr/local/jakarta-tomcat-4.1.27 you can't run it as another user? Filip - Original Message - From: Denise Mangano [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 19, 2003 12:02 PM Subject: RE: Cannot run Tomcat as new user

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Shapira, Yoav
Howdy, Make sure the tomcat user has write permissions to the directory where tomcat-users.xml is located as well as the file itself. Yoav Shapira Millennium ChemInformatics -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 3:03 PM To:

RE: SOLUTION!! -- Cannot load JDBC driver class 'null'

2003-09-19 Thread King,Daniel
I see this come up a lot in this user list and others about Tomcat, so I want to share this information. Note that the solution described below allows you to access a global data source from all Web Applications, without putting the Resource or ResourceParams elements in each Web Application

How to set autodeploy?

2003-09-19 Thread Barnet Wagman
In Tomcat 4.1.27, where and how do you set autodeploy to true? I thought that autodeploy=true was the default, but it does not appear to be working in my newly installed copy. (This must be in the documentation a somewhere but I haven't been able to find it and there's nothing for autodeploy

CPU Cache Performance Gain with Tomcat Apache

2003-09-19 Thread Jeremy Nix
I realize this question is more related to the JVM implementation and O/S than anything else, but generically speaking how significant of a performance gain would a web/application server combination see (in terms of response time) from a .5MB CPU cache to a 1MB CPU cache. _

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
By executing your command, it gave rwx access to everyone, and I still cannot run Tomcat as another user. The only user that will start Tomcat successfully and remain running is root. All other users get the java errors (OutofMemoryError InvocationTargetException) I'm at a loss... Denise

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Timothy Halloran
On Fri, 2003-09-19 at 15:02, Denise Mangano wrote: Actually the tomcat-users.xml.new does not exist... Perhaps it's a temporary file that gets created as Tomcat starts?? There is a tomcat-users.xml which I added the user into. I added write permissions to the conf directory for the owner, and

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot startTomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
I did as you suggested and this is my output: [EMAIL PROTECTED] boot]# ll vmlinuz* lrwxrwxrwx1 root root 16 Aug 19 14:02 vmlinuz - vmlinuz-2.4.18-3 -rw-r--r--1 root root 1030147 Apr 18 2002 vmlinuz-2.4.18-3 [EMAIL PROTECTED] boot]# uname -r 2.4.18-3 I find it very

Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Filip Hanik
stack traces and log entries are always helpful - Original Message - From: Denise Mangano [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 19, 2003 12:10 PM Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat -

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot startTomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
By the way - there have been no changes to my server.xml - Tomcat is listening to port 8080 (even though it gets passed control from apache in a live setting) Denise Mangano Complus Data Innovations, Inc. 914-747-1200 -Original Message- From: Denise Mangano Sent: Friday, September 19,

tomcat - thread per connection model

2003-09-19 Thread Rau NF
Hi - Since tomcat implements a thread per connection model (as per the spec), would it be open to a DoS attack if it does not have an Apache server in front of it ? ie keep all threads busy servicing slow requests and valid users can't get in. Assuming there is no apache server in front of

Re: How to set autodeploy?

2003-09-19 Thread Yann Cébron
In Tomcat 4.1.27, where and how do you set autodeploy to true? $CATALINA_HOME/conf/server.xml, find the Host: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html I thought that autodeploy=true was the default, but it does not appear to be working in my newly installed copy.

RE: How to set autodeploy?

2003-09-19 Thread Shapira, Yoav
Howdy, Autodeploy is set to true by default. It's set in $CATALINA_HOME/conf/server.xml. See the Host configuration documentation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Barnet Wagman [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 3:08 PM To:

RE: How to set autodeploy?

2003-09-19 Thread King,Daniel
Try the 'reloadable' attribute of the Context element for your web application in the server.xml file. I am not aware of a global setting for Tomcat that will apply to all web applications, but I have not been working with it very long so there might be one. -Original Message-

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Filip .. Sorry - this was in my original post: Starting service Tomcat-Standalone Apache Tomcat/4.1.27 Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Sep 19, 2003 9:01:25 AM

RE: Getting Dynamic Container information

2003-09-19 Thread Neil Aggarwal
Yoav: Thank you for pointing me to it. I searched the archives for about half an hour with no success. I must have been typing in the wrong keywords. Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your business can

RE: Getting Dynamic Container information

2003-09-19 Thread Shapira, Yoav
Howdy, Not a problem ;) Glad you found it and find it helpful. Feeling like the weather today (grey, stormy, rainy here in Boston) Yoav Shapira Millennium ChemInformatics -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 3:40 PM To:

RE: SOLUTION!! -- Cannot load JDBC driver class 'null'

2003-09-19 Thread Derek Mahar
I got a similar result with Tomcat 5.0.9 when, within server.xml, I placed the Resource and ResourceParams elements inside a DefaultContext element in Host. I then referred to my named resource in web.xml in a resource-ref element. The advantage of this method is simpler application

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
I know I've flooded the list about this, and I appreciate everyone's help but I am at a complete loss. I even restored from backup tape and the same thing is happening. I reinstalled tomcat, reinstalled j2sdk, yet Tomcat will only run as root. It is obviously not safe to run Tomcat as root, but

Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Filip Hanik
the problem is somewhere in the native JVM. It fails when trying to create a native thread on the OS level as a noon root user. All I can say is, switch OS :) Filip - Original Message - From: Denise Mangano [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Why would this happen suddenly though? Tomcat was running fine before. Unfortunately switching OS is not an option. So this sounds like a linux problem? Denise Mangano Complus Data Innovations, Inc. 914-747-1200 -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent:

  1   2   >