Re: Unable to work with Tomcat 4.0

2007-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rahul, Rahul Choubey wrote: I have installed Apache Tomcat version 4.0 in my system. Wow. Any particular reason to use 4.0? If you really are starting from scratch, you ought to start out with at least Tomcat 5.5. - -chris -BEGIN PGP

Re: Unable to work with Tomcat 4.0

2007-02-11 Thread Mr. Steve Burrus
Yes yes I heartily echo Chris's comment, that version 4.0 of the tomcat aplication server is way too old by now!!! Frankly nobody/ no one is going to help you with *any* problem with tomcat 4. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rahul, Rahul Choubey

Re: Unable to work with Tomcat 4.0

2007-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Mr. Steve Burrus wrote: Yes yes I heartily echo Chris's comment, that version 4.0 of the tomcat aplication server is way too old by now!!! Frankly nobody/ no one is going to help you with *any* problem with tomcat 4. Actually, I still have

Re: Servlet/JSP source code to save data in a file

2007-02-11 Thread Rashmi Rubdi
Not sure what you're looking for: %@ page contentType=text/html;charset=UTF-8 language=java errorPage=error.jsp % html headtitle/title/head body % int test = 5; % /body /html - Original Message From: Teh Noranis Mohd Aris [EMAIL PROTECTED] To: users@tomcat.apache.org

Re: Unable to work with Tomcat 4.0

2007-02-11 Thread David Kerber
Rahul Choubey wrote: Dear Friends, I have installed Apache Tomcat version 4.0 in my system. I am getting the homepage correctly on writing http://localhost:8080 on the browser's address bar but when I go to servlets example page I am unable to execute the servlets,the same is the problem with

get a strange cast error with using the tomcat mail ressource

2007-02-11 Thread albrecht andrzejewski
Hello all, I hope i will not pollute the list, but i'm affraid of being faced with a bug :-( I have to send a mail with tomcat. I followed the instructions of the tomcat documentation, corresponding my version (5.5). Using this code: public static String sendMail(String destinataire,

Re: get a strange cast error with using the tomcat mail ressource

2007-02-11 Thread Martin Gainty
this is what I currently use in web.xml /**/ resource-ref res-ref-nameMySession/res-ref-name res-typejavax.mail.Session/res-type res-authContainer/res-auth /resource-ref /CODE***/ import java.util.*; import

RE: get a strange cast error with using the tomcat mail ressource

2007-02-11 Thread Caldarale, Charles R
From: albrecht andrzejewski [mailto:[EMAIL PROTECTED] Subject: get a strange cast error with using the tomcat mail ressource I have the following error that i really dislike : java.lang.ClassCastException: javax.mail.Session cannot be cast to javax.mail.Session at

Re: Unable to work with Tomcat 4.0

2007-02-11 Thread Martin Gainty
That said What is the problem you are experiencing? M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that

Re: Servlet/JSP source code to save data in a file

2007-02-11 Thread Rashmi Rubdi
Not the best code, but I guess this is close to what you're looking for: ~ index.jsp ~ %@ page contentType=text/html;charset=UTF-8 language=java % html headtitle/title/head body jsp:useBean id=writeFile class=test27.WriteFile/

Re: Servlet/JSP source code to save data in a file

2007-02-11 Thread Martin Gainty
also..make sure your container identifies write permissions in $TOMCAT_HOME/conf/catalina.policy grant { permission java.io.FilePermission /test.txt, write; }; HTH Martin-- --- This e-mail message (including attachments,

Re: Unable to work with Tomcat 4.0

2007-02-11 Thread Mark Thomas
Mr. Steve Burrus wrote: Frankly nobody/ no one is going to help you with *any* problem with tomcat 4. Yes 4.1.x is old but this is simply not the case. Bugs are being fixed, questions are being answered and releases are happening. Granted releases aren't that frequent, but there aren't that many

Re: Windows Authentication against multiple domains

2007-02-11 Thread Pulkit Singhal
I can't suggest any open-source/free products but allow me to suggest reading the following article if you want to roll your own solution one of these days in the windows world: http://www.microsoft.com/msj/0899/kerberos/kerberos.aspx Once you read it, I hope you will be able to see how you can

Apache2.x + Tomcat 5.5 (Load Balance and Cluster)

2007-02-11 Thread Eric Chow
Hello, Is there any complete configuration for Apache2.x + Tomcat 5.5 (Load Balance and Cluster, Session Replication) ? I tested some many times and found some many reference but also failed. Would you please to show me a more completed and worked configuration sample ? Best regards, Eric