Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Behrang Saeedzadeh
Hi all What are the benefits of running an application like Tomcat with as a daemon (with JSVC) vs. running it like a normal application? Best regards, -- Behrang Saeedzadeh http://www.jroller.com/page/behrangsa - To

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Mladen Turk
Behrang Saeedzadeh wrote: Hi all What are the benefits of running an application like Tomcat with as a daemon (with JSVC) vs. running it like a normal application? In one sentence: Running as non-root on port 1024 Mladen. - To

Re: Someone is using Tomcat for spreading spam?

2005-02-26 Thread Susan Hoddinott
Yes, Everytime I resubscribe to the user list I am bombarded with Spam. Regards, Susan Hoddinott http://www.hexworx.com - Original Message - From: Behrang Saeedzadeh [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Friday, February 25, 2005 5:57 AM Subject: Someone is using

Re: Arabic encoding

2005-02-26 Thread Fadwa Barham
Hi, I want to ask if the servlet_api has effect on encoding? may be the changes are made in the new version in servlet_api encoding. Please, can anyone help me thanks in advanced - Original Message - From: Fadwa Barham [EMAIL PROTECTED] To: Tomcat Users List

Re: Someone is using Tomcat for spreading spam?

2005-02-26 Thread Mladen Turk
Susan Hoddinott wrote: Everytime I resubscribe to the user list I am bombarded with Spam. Well, that is something that you will have to live with. I've even received a couple of emails where people even threaten me with the FBI, because they where receiving commit messages from Tomcat cvs on

Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread Rasmus - Camp Online
Hi I keep getting a java.lang.OutOfMemoryError in my tomcat-log. I am pretty sure it relates to the size of my heap - I keep getting the error when the tomcat.exe process reaches approx. 118 MB of memory usage. I am running Windows Server 2003, IIS 6, Tomcat 4.1 (running as a windows service)

Re: Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread A Leg
Hi Rasmus Switch to Linux 8-) Unfortunatly, I have no idea but joke. I realy think that this problem is OS dependent. Are you sure that your environment variables are taken in count ? Suppose you run tomcat using some startup.bat ? in this case may be could you print some debug telling you the

RE: Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread Caldarale, Charles R
From: Rasmus - Camp Online [mailto:[EMAIL PROTECTED] Subject: Heap size - java.lang.OutOfMemoryError I have tried everything to increase the heap size, setting the environment variables: As has been explained on this list numerous times, environment variables are not used when running

Startup

2005-02-26 Thread patrick et michelle
Hi there, I'm a newcomer in Web technology and I need to understand how to configure Tomcat 3.3 In fact, I can see that the servlets examples offered with tomcat are located in tomcat\jakarta-tomcat-3.3.2\webapps\examples\web-inf\classes\whatever.class Although, the URL to invoke these servlets

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Behrang Saeedzadeh
In one sentence: Running as non-root on port 1024 In one sentence: Thanks a lot ;-) In more than one sentence: Thanks a lot, but what's the benefit of daemons (Services) in a Windows environment? Best regards, Behrang S. -

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Mladen Turk
Behrang Saeedzadeh wrote: In one sentence: Running as non-root on port 1024 In one sentence: Thanks a lot ;-) In more than one sentence: Thanks a lot, but what's the benefit of daemons (Services) in a Windows environment? None, even if you manage to run a unix daemon on the windows at the first

Re: Startup

2005-02-26 Thread Nikola Milutinovic
patrick et michelle wrote: Hi there, I'm a newcomer in Web technology and I need to understand how to configure Tomcat 3.3 First of all, current versions are 5.0.30 and 5.5.7 (for JDK 1.5.0, or actually JRE 1.5.0). While 5.5.7 can be made to run on JDK (not JRE) 1.4.x, it is not intended for

Re: How to disable PUT, DELETE http methods etc if not using container managed security?

2005-02-26 Thread Tim Funk
transport-guaranteeCONFIDENTIAL/transport-guarantee means that request must be encrypted (use ssl) Unless the default servlet (in conf/web.xml) is configured to allow put and delete - there is not worry. (As long as your don't write any servlets to handle put and delete) -Tim Ted Anagnost

Re: Startup

2005-02-26 Thread Bill Barker
patrick et michelle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, I'm a newcomer in Web technology and I need to understand how to configure Tomcat 3.3 In fact, I can see that the servlets examples offered with tomcat are located in

Re: Someone is using Tomcat for spreading spam?

2005-02-26 Thread Shankar Unni
Susan Hoddinott wrote: Everytime I resubscribe to the user list I am bombarded with Spam. So use an NNTP interface to the list, like I'm doing (on news.gmane.org). It's sometimes a little less convenient to use, but the benefits are that I don't have to flood my mailbox with the messages, and I

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Shankar Unni
Mladen Turk wrote: Behrang Saeedzadeh wrote: What are the benefits of running an application like Tomcat with as a daemon (with JSVC) vs. running it like a normal application? In one sentence: Running as non-root on port 1024 In another sentence, starting up the service automatically on system

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Behrang Saeedzadeh
Mladen, But not everything that runs when the system starts up is a daemon. For example, to run Tomcat as a daemon one needs to use JSVC (or something like that.) But it's also possible to write an init script for Tomcat and store it in /etc/init.d and add it to the list of the programs that are

RE: Tomcat 5.5.7 hangs on startup

2005-02-26 Thread Ilya . Nabedrik
Return Receipt Your RE: Tomcat 5.5.7 hangs on startup document:

Tomcat 5.5.7 hangs on startup

2005-02-26 Thread Ilya . Nabedrik
Return Receipt Your Tomcat 5.5.7 hangs on startup document:

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Bill Barker
Behrang Saeedzadeh [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Mladen, But not everything that runs when the system starts up is a daemon. For example, to run Tomcat as a daemon one needs to use JSVC (or something like that.) But it's also possible to write an init script for

Re: How to disable PUT, DELETE http methods etc if not using container managed security?

2005-02-26 Thread Bill Barker
For TC 5.x.x, you need two security-constraints to do what you want. One of them looks like your first example, and the other like your second example (except that you probably want auth-constraint /, which is deny all, instead of role-name/ which is deny to all but the blank role). Since you

Re: Howto get Port in HttpServlet#init(ServletConfig)?

2005-02-26 Thread Bill Barker
Patrick Wunderlich [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey Tomcat Fans, is there a programmatically way to get the Http-Port in the HttpServlet#init(ServletConfig) method? No, for the simple reason that the Http-Port isn't well-defined during init. For example, if

RE: Arabic encoding

2005-02-26 Thread Benson Margulies
Oracle's ODBC driver will transcode from the database to UTF-16 based on the databse encoding. If the database is in US7ASCII, this is a destructive process for Arabic. The only alternative I can think of is to do all your database I/O in hex. -Original Message- From: Fadwa Barham

Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-26 Thread Edmon Begoli
Hi, I an using Tomcat 5.5.7, and I am planning on upgrading as needed. As we all know Tomcat enables me to configure JDBC resources that my app can use through the JNDI. My problem is that these passwords have to be stored as a plain text which is a very bitter pill in my environment. What is

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-26 Thread Parsons Technical Services
Okay, I know I am starting a flame war but why go through the effort? If I can see your encrypted passwords, then I can see the code that decrypts them. And with that I have your passwords. It only adds a step to my effort to crack your security. The only way to really secure them is to secure

RE: Startup

2005-02-26 Thread Caldarale, Charles R
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Subject: Re: Startup While 5.5.7 can be made to run on JDK (not JRE) 1.4.x, it is not intended for 1.4 series. I suspect that would be news to the developers. The 5.5 branch runs perfectly fine on the 1.4.2 JRE (the JDK is _not_ needed),

Re: Arabic encoding

2005-02-26 Thread Fadwa Barham
But I wonder why the old tomcat and java displayed arabic correctly, and I use the same classes12.jar in both of the old and the new. I want to know what is the differance, what encoding they stopped to support? It looks like that tomcat cannot understand the old Java cause I have to change the