RE: JRE vs. JDK for Tomcat

2005-05-19 Thread Vasil Stefanov
Another thing that wander me is that I can run Tomcat 5.5.x on Fedore Core with JRE only installed but when I run Tomcat on Windows with JRE installed I receive a message that a JDK is required. -Original Message- From: Iannis Hanen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005

RE: Tomcat vs Apache

2005-05-19 Thread Marco Pöhler
You can find Peter's Benchmarks at http://jakarta.apache.org/tomcat/articles/benchmark_summary.pdf kr Marco --- http://www.kontaktlinsen-preisvergleich.de http://www.parfuem-faq.de Am Mittwoch, den 18.05.2005, 16:50 -0500 schrieb Caldarale, Charles R: From: Dakota Jack [mailto:[EMAIL

RE: JRE vs. JDK for Tomcat

2005-05-19 Thread Lutz Zetzsche
Hi Vasil, Vasil Stefanov schrieb: Another thing that wander me is that I can run Tomcat 5.5.x on Fedore Core with JRE only installed but when I run Tomcat on Windows with JRE installed I receive a message that a JDK is required. Which Tomcat version do you run on Windows? To my knowledge,

Setting max HTTP header size

2005-05-19 Thread Magnus Hellström
Hi, is it possible to set the max HTTP header size in Tomcat 4.1.31? In Tomcat 5 there is a parameter maxHttpHeaderSize for the http connector but it doesn`t seem to work for 4.1.31. How do I configure this? Thanks - To

Re: Undeploying webapp on windows

2005-05-19 Thread Joakim Ahlén
Hello, I've been out of town for a while so i haven't been able to respond earlier. Yes, i have tried all commands available in the manager, nothing helps this problem. When the manager tries to delete the directory, the jar-file being locked is left behind and the directory cannot be deleted.

error-page not working for error-code 503?

2005-05-19 Thread Raymond
- Original Message - From: Raymond [EMAIL PROTECTED] To: Tomcat Users tomcat-user@jakarta.apache.org Sent: Wednesday, May 18, 2005 9:54 PM Subject: error-page not working for error-code 503? Hi, I have these in my tomcat server's global web.xml file: error-page error-code404/error-code

Tomcat and 1.5 Was: Tomcat on XP

2005-05-19 Thread Tim Diggins
Is it generally a good idea to develop on 1.5 - I actually like working in 1.5 (generics, annotations, etc. all good stuff, despite some of the implementation weirdness), but have avoided doing servlet stuff in 1.5 to date, as I'm not sure if it's a good idea... My project doesn't go live till

Apache vs Tomcat WRT Security

2005-05-19 Thread Mark
I was very interested in the discussion concerning Apache vs Tomcat WRT Performance. While I cannot argue with the performance numbers, I do like putting Apache in front of Tomcat for 2 reasons that I have found so far. 1. SSL. If I am going to be serving pages whether they be dynamic or

error-page not working for error-code 503?

2005-05-19 Thread Raymond
Hi, I have these in my tomcat server's global web.xml file: error-page error-code404/error-code location/http404.jsp/location /error-page error-page error-code503/error-code location/maintenance.html/location /error-page It works for the 404 but not the 503 error code. What's wrong with it? I

Re: Tomcat vs Apache

2005-05-19 Thread Tim Diggins
This has been a great and informative thread... I'm wondering now, how to accomplish what I want to do in Tomcat alone, rather than looking for a Tomcat+Apache solution (sounds simpler). The issue is that I want ALL directory-like urls resolved by a particular servlet (which is a Spring

Re: Tomcat vs Apache

2005-05-19 Thread Tim Diggins
(Er, and sorry I just realised I posted __some__ of this as part of a question on the list last week, but the question I have is now posed more concretely and wasn't answered then)! Tim Diggins wrote: This has been a great and informative thread... I'm wondering now, how to accomplish what I

Re: Apache vs Tomcat WRT Security

2005-05-19 Thread David Smith
I won't argue with no. 1 since I don't use SSL connectors in Tomcat. However, no. 2 can be mitigated with the commons-daemon project among other tricks and IMHO, not a valid argument against having Tomcat out front. Just my thoughts on the subject. :-) -David Mark wrote: I was very interested

Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Remy Maucherat
On 5/19/05, Mark [EMAIL PROTECTED] wrote: I was very interested in the discussion concerning Apache vs Tomcat WRT Performance. While I cannot argue with the performance numbers, I do like putting Apache in front of Tomcat for 2 reasons that I have found so far. 1. SSL. If I am going to be

Re: Tomcat/Apache/JK(2)?

2005-05-19 Thread Darryl Wilburn
Tom, If you need them, I can send you my actual files. Although I encourage you to do all you can do on your own to figure it out. It'll pay huge dividends in the end if you understand what you had to do to make it work. DW --- Tom Holmes Jr. [EMAIL PROTECTED] wrote: I can't thank you enough.

Unable to pre-compile JSP with jspC ant task

2005-05-19 Thread Karasek-XID, Nicolas
Hello, I'm trying to precompile jsp pages with Ant before deploying a Web Archive. The ant task I'm using is : !-- definition of jspc task === -- taskdef classname=org.apache.jasper.JspC name=jasper2 classpath path id=jspc.classpath

Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Peter Lin
I don't know about others, but I prefer to run tomcat on port 8080 and then setup the router to redirect port 80 to 8080. it's rather easy to setup these days. peter On 5/19/05, Remy Maucherat [EMAIL PROTECTED] wrote: On 5/19/05, Mark [EMAIL PROTECTED] wrote: I was very interested in the

Certificate Revocation

2005-05-19 Thread Mahesh S Kudva
Hi All Once if the certificates are revoked, how do I make Tomcat to know which certificates are revoked. Regards Thanks Mahesh S Kudva --- Robosoft Technologies - Partners in Product Development

self shut down of tomcat? or forced?

2005-05-19 Thread Guy Katz
hi; i am using tomcat 5.5.9 over jdk1.4 + plus compatibility package. i basically have a simple question: considerung the log below from the catalina.log file. is it possible that tomcat goes from being started to suddenlly pausing stopping by itself (what would cause such a behavior)? or is it

Re: Tomcat/Apache/JK(2)?

2005-05-19 Thread Tom Holmes Jr.
I agree I should work with the files first to see if I can get it to work. I used the sample workers.properties file from Tomcat 5.5 in order to create my working workers,properties file.So, now when I restart Apache2, it doesn't complain and it looks like it is communicating with Tomcat

Tomcat Tapestry DEBUG mode

2005-05-19 Thread cedric . brajus
Hello, I use Tomcat5.0, j2sdk1.4.2_04, Tapestry3.0.3, Torque3.1 and I have a Debug Mode in Tomcat I liked remove this please Thank you BRAJUS Cédric - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: context example

2005-05-19 Thread phil campaigne
Patrick Thomas wrote: Hi Phil, To answer your question directly; no, in 5 you don't need (and shouldn't have) a context entry in the server.xml for a war file (or any webapp for that matter). Assuming the war contains a context.xml file in META-INF, then tomcat will use that one (it will copy it

RE : Tomcat vs Apache

2005-05-19 Thread LERBSCHER Jean-Pierre
See comment in message. -Message d'origine- De : Tim Diggins [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 mai 2005 13:24 À : Tomcat Users List Objet : Re: Tomcat vs Apache (Er, and sorry I just realised I posted __some__ of this as part of a question on the list last week, but the

Re: Tomcat vs Apache

2005-05-19 Thread Parsons Technical Services
Look here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/default-servlet.html If you override the mapping by putting your own reference to the default in your web.xml for the app, you should be able to map it the way you want and then have a mapping to your servlet with the / path. Or have

server options

2005-05-19 Thread Sergey Livanov
Could you, please, give me a peace of advice? I want to set Xmx parameter. When I enter the line -server -Xmx256m on the console in the Java Options Tab , the server does not start. [2005-05-19 20:38:54] [418 javajni.c] [error] CreateJavaVM Failed [2005-05-19 20:38:54] [903 prunsrv.c] [error]

Java and Java 1.5 on same machine

2005-05-19 Thread Didier McGillis
How can Java 1.4.2 and Java 1.5 co-exist on one server. I need to run Tomcat 55 with Java 1.5 and my development Tomcat with java 1.4.2 on the same machine. I have just installed Java 5 and Tomcat 5.5.9 for evaluation and testing before migrating to the newer versions. However I only have

Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Mark
OK, so I will admit that I am out of the loop with regards to #2. But I still have an issue with storing and passwords required to open key files in the clear. Is there some function that will handle this for me... On 5/19/05, Peter Lin [EMAIL PROTECTED] wrote: I don't know about others, but

Tomcat manager not working

2005-05-19 Thread phil campaigne
I upgraded Tomcat from 4.1.18 to 5.0.28 and get the Tomcat home page (index.jsp) ok. However, when I click on the link for the manager applicatiion and other applications, they result in 404 errors. 1. should I be configuring something to get the examples and manager applicactions working?

locking problem mod_jk 1.2.13 ??

2005-05-19 Thread Sander de Boer
Hi, I have tested mod_jk 1.2.13. But sometimes my tomcat becomes completely be locked for a while. A downgrade to 1.2.10 solves that problem. So I mean there is a something like a locking problem in 1.2.13, but I don't know where and how. This is my config: Solaris 8(sparc) / Tomcat 4.1.30 /

Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Mark Thomas
Mark wrote: OK, so I will admit that I am out of the loop with regards to #2. But I still have an issue with storing and passwords required to open key files in the clear. Is there some function that will handle this for me... Assuming that the file is sensibly protected with OS security if an

Cannot Login After Upgrade From 4.0.4 to 5.0.28

2005-05-19 Thread John Lindley
Hi all, we recently upgraded from 4.0.4 to 5.0.28. We had a login page under 4.0.4 that worked fine. Now under 5.0.28, after we enter the username and password, we get a Page cannot be found and the address it's looking for is http://ipaddress:8080/WebApp/jsp/security/login/j_security_check.

RE: server options

2005-05-19 Thread Fritz Schneider
Sergey, The -server option is not used in Windows. Instead, you copy the jre\bin\server folder from the JDK into your JRE installation folder and select that JVM in your service configuration. Fritz -Original Message- From: Sergey Livanov [mailto:[EMAIL PROTECTED] Sent: Thursday, May

RE: server options

2005-05-19 Thread Jim Henderson
That is a new change with Java in 1.5. 1.4 allowed the runtime -server option. Right? -Original Message- From: Fritz Schneider [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 5:06 PM To: 'Tomcat Users List'; 'Sergey Livanov' Subject: RE: server options Sergey, The -server

Re: locking problem mod_jk 1.2.13 ??

2005-05-19 Thread Mladen Turk
Sander de Boer wrote: Hi, I have tested mod_jk 1.2.13. But sometimes my tomcat becomes completely be locked for a while. A downgrade to 1.2.10 solves that problem. So I mean there is a something like a locking problem in 1.2.13, but I don't know where and how. Is tomcat locked or your response

RE: server options

2005-05-19 Thread Fritz Schneider
It's platform dependant, AFAIK. -Original Message- From: Jim Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 3:11 PM To: Tomcat Users List Subject: RE: server options That is a new change with Java in 1.5. 1.4 allowed the runtime -server option. Right? -Original

weird characters on JSP output

2005-05-19 Thread Gabriel Belingueres
Hi, I'm having a weird problem when Tomcat 5.5.9 generates JSP files. At the end of the generated HTML code, it prints three weird characters. Here is the java source code that Tomcat generates (look at the 3 characthers in color RED): I may guess the problem may came from some strange

Re: error-page not working for error-code 503?

2005-05-19 Thread Anto Paul
On 5/19/05, Raymond [EMAIL PROTECTED] wrote: Hi, I have these in my tomcat server's global web.xml file: error-page error-code404/error-code location/http404.jsp/location /error-page error-page error-code503/error-code location/maintenance.html/location /error-page It

start tomcat-4.1.31 with jsvc?

2005-05-19 Thread rusty+tomcat
Is it possible to start tomcat 4 with jsvc from tomcat-5.5.0? If so, how are you doing it? I tried it using the args given on the tomcat 5 doc page but it doesn't start, it just immediately exits with no error. Thanks - To

where to change the webapp/ROOT setting?

2005-05-19 Thread Bart Masschelein
Hello there, I've installed Apache2 and Tomcat5 on my PC (XP), and seperately they work fine. Then I installed JK2 to let Apache run JSPs, and there is the problem. Everything works fine, in the sense that I can run html files and Apache can run Tomcat, as I choose a .jsp to run, I get the

server opts

2005-05-19 Thread Sergey Livanov
Could you, please, give me a peace of advice? I want to set Xmx parameter. When I enter the line -server -Xmx256m on the console in the Java Options Tab , the server does not start. [2005-05-19 20:38:54] [418 javajni.c] [error] CreateJavaVM Failed [2005-05-19 20:38:54] [903 prunsrv.c] [error]

tomcat

2005-05-19 Thread . .
Where is there a good clean install doc for installing jdk 1.4.2 on solaris 9 with tomcat 5.0. My programmer squad has magnolia and it installs tomcat 5 which needs jdk 1.4.2. I am new webserver admin. What is this crazy unix daemon stuff under setup? I think this stuff rocks. I have through

Environment in Tomcat 5.0.28 not working with multiple tomcat services in server.xml

2005-05-19 Thread Iannis Hanen
Hi, I am back with some more questions. I have configured Tomcat to operate with multiple services and engines (I have different services since I need separate connector for different set of web applications). For some web applications inside the host, I have specified some environment

tomcat

2005-05-19 Thread . .
Sorry if my last post didn't make much sense toward the end. Where is there a good clean download unpack install doc for installing jdk 1.4.2 on solaris 9 with tomcat 5.0? My programmer squad has magnolia and it installs tomcat 5 which needs jdk 1.4.2. I am new webserver admin. What is this

{Problems getting Tomcat running on OS 10.3.9)

2005-05-19 Thread Christopher Barbee
Begin forwarded message: From: Christopher Barbee [EMAIL PROTECTED] Date: May 19, 2005 6:08:44 PM PDT To: tomcat-user@jakarta.apache.org Subject: Mime-Version: 1.0 (Apple Message framework v622) Bcc: Christopher Barbee [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; format=flowed

problem: Session invalidation in the servlet accessed via foreign context

2005-05-19 Thread Akoulov, Alexandre [IT]
Hi all, It seems that there is a problem with session invalidation in tomcat5.0. Please refer to the explanation below: 1. HttpSession session = req.getSession(true); // get existing user session or create one if does not exist 2. session.invalidate(); // invalidate user session

Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Pete Stevens
On Thu, 19 May 2005, Mark wrote: I was very interested in the discussion concerning Apache vs Tomcat WRT Performance. While I cannot argue with the performance numbers, I do like putting Apache in front of Tomcat for 2 reasons that I have found so far. 1. SSL. If I am going to be serving

Re: {Problems getting Tomcat running on OS 10.3.9)

2005-05-19 Thread Michael Mehrle
Have you installed that extra lib that allows one to run tomcat 5.5.x on jdk 1.4.x? Otherwise you'll need to update to jdk 1.5... Michael - Original Message - From: Christopher Barbee [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, May 19, 2005 6:11 PM Subject:

Re: weird characters on JSP output

2005-05-19 Thread Gabriel Belingueres
Errr the characters didn't show up in the email... for more information, at the end of the page, the browser shows me the following characters: Iuml;raquo;iquest; TIA On 5/19/05, Gabriel Belingueres [EMAIL PROTECTED] wrote: Hi, I'm having a weird problem when Tomcat 5.5.9 generates JSP

Re: tomcat

2005-05-19 Thread QM
On Fri, May 20, 2005 at 08:33:42AM +0800, . . wrote: : Where is there a good clean download unpack install doc for installing jdk : 1.4.2 on solaris 9 with tomcat 5.0? The JDK install instructions should be on the same site as the JDK download. =) I recall Sun ships JDKs as shell archives, so

RE: Tomcat on XP

2005-05-19 Thread Jobish P
Hi, It works fine now. I used jDK 1_5_0_03, instead of JDK 1.4.x. Thanks, -Jobish P All men by nature desire to know- Aristotle On Wed, 18 May 2005, Guy Katz wrote: did you put the jdk1.4 tomcat compatibility package in there? i dont know if this is the cause but i need it anyway. its

Can't Undeploy Struts Applications

2005-05-19 Thread Harry Hartley
Is this a bug? So, I deploy the struts-blank webapp to my webapps directory under tomcat. Everything works fine. Then I try to undeploy it under the manager, and it responds the a message, context undeployed. But when I do a list under the tomcat manager it is still there. If I

Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Nikola Milutinovic
David Smith wrote: I won't argue with no. 1 since I don't use SSL connectors in Tomcat. However, no. 2 can be mitigated with the commons-daemon project among other tricks and IMHO, not a valid argument against having Tomcat out front. Just my thoughts on the subject. :-) I'll just add to the

RE: Locked jar during Ant undeploy on Tomcat 5.5.3

2005-05-19 Thread Harry Hartley
I too have this problem too. This problem is not specific to your application. If you choose to deploy that ever so simple struts-blank, and then undeploy it, the undeploy works, but the locked jar files are still there. -Original Message- From: Quinten Verheyen [mailto:[EMAIL

Re: Java and Java 1.5 on same machine

2005-05-19 Thread Dakota Jack
Just use different ports. On 5/19/05, Didier McGillis [EMAIL PROTECTED] wrote: How can Java 1.4.2 and Java 1.5 co-exist on one server. I need to run Tomcat 55 with Java 1.5 and my development Tomcat with java 1.4.2 on the same machine. I have just installed Java 5 and Tomcat 5.5.9 for