Tomcat, load balancing

2004-01-17 Thread Pooleery, Manoj
I have a scenario where I have to support 2000 concurrent users on my app. What would be the best distribution with Tomcat? Are there any documents/standards as to how many concurrent users each instance of Tomcat will be able to support? Any suggestions/useful links will be really appreciated.

OracleConnection datasource CLOB.createTemporary

2004-01-17 Thread Kahle, Pavel (CONS FIN)
somwehere in the CLOB.createTemporary is Connection retype to OracleConnection but Connection returned from DBCP DataSource.getConnection is not assignable to that class. I can create clob in DB but I prefer CLOB.createTemporary is there any solution to use CLOB.createTemporary with DBCP? Thank

Cannot keep session

2004-01-17 Thread Søren Blidorf
Hi. My new tomcat installation cannot keep the session when logging in. When I logon to /public/ and get access and go to fx ../ the getRemoteUsername is NULL. Also only BASIC login works, not FORM. I am totally lost. Please help. Using: Tomcat 4.1.29 Windows XP Struts Soren

Re: web.xml config

2004-01-17 Thread Harry Mantheakis
Hello What is the problem? How exactly are you calling (requesting) the servlet? - Give us the complete URL you are using to invoke the servlet. Harry I have tomcat up and running fine - verified by running the example jsp pages and servlets. I have a servlet that I want to get working,

Tomcat config

2004-01-17 Thread S M Humayun
Hi all, Can some one please tell me how to make my JSP's use JavaMail to send emails from my domain, say www.abc.com ? please mention step by step process which files to edit and where to edit ? I have a private JVM account therefore I am viewing complete Tomcat directory. Thanks in

Re: web.xml config

2004-01-17 Thread Allan Bruce
I tried: http://kes:8080/WinGalagaHST?Op=GetScore and http://kes:8080/WinGalagaHST/WinGalagaHST?Op=GetScore but both just show HTTP 404 message. This servlet runs on my friends machine, with his own coded web-server, and to get a score, he calls ?Op=GetScore. Thanks Allan - Original

SV: Tomcat config

2004-01-17 Thread Søren Blidorf
I don't know if this is what you mean, but this jsp page sends mails with javaMail. BR Soren %@ page import=javax.mail.*, javax.mail.event.*, javax.mail.internet.*, java.util.*, java.lang.String % % Properties props = new Properties(); props.put(mail.smtp.host, YOUR SMTP); Session s =

Re: SV: Tomcat config

2004-01-17 Thread S M Humayun
Thanks Soren, The example is very helpful, but what if my smtp server asks me to pass my username and password also ? thanks again, Humayun. Søren_Blidorf [EMAIL PROTECTED] wrote: I don't know if this is what you mean, but this jsp page sends mails with javaMail. BR Soren

Re: mod_jk compile issue

2004-01-17 Thread David . Vann
I'm stuck with 4.0.6 because that's the latest release that our Lawson ERP package will support. I'm using GNU libtool 1.5. mod_jk.sl is linked to mod_jk.sl.0.0. So is it safe to copy mod_jk.sl.0.0 to the apace libexec directory and rename it to mod_jk.so? I appreciate your help in this

SV: SV: Tomcat config

2004-01-17 Thread Søren Blidorf
Hi Humayun You can look at this for ideas: http://www.javacommerce.com/articles/SendMailUsingAuthentication.java Soren -Oprindelig meddelelse- Fra: S M Humayun [mailto:[EMAIL PROTECTED] Sendt: 17. januar 2004 13:48 Til: Tomcat Users List Emne: Re: SV: Tomcat config Thanks Soren,

Timeout error using jk2 on IIS

2004-01-17 Thread Rasmus Munk
Hi I am running jk2 IIS 5.0 and mostly it works fine, but sometimes the call for a tomcat-generated page never returns!! stderror looks like this: 17-01-2004 15:10:45 org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached Is anyone experiencing the same

RE: Timeout error using jk2 on IIS

2004-01-17 Thread Rasmus Munk
Some further investigation shows that the message in stderror, probably has nothing to do with the problem I am running Tomcat 4.1.29 on IIS 5.0 using the j2k connector. If i do the following the request does not return: 1. Requsts a servlet from Browser 2. Page is recieved and browser renders

Re: setContentType() vs. meta http-equiv='Content-Type' ...

2004-01-17 Thread David Wall
Yoav is correct that Tomcat (and probably most servlet containers) simply consider meta tags as just some text to push to the browser. The problem is that (assuming the browser can read the tag at all), Tomcat is sending in iso-latin-1, not what is in your meta tag. But is that really the

almost there with my servlet

2004-01-17 Thread Allan Bruce
I have added my servlet file (WinGalagaHST) to the examples/WEB-INF/classes folder and added the following to the web.xml file servlet servlet-nameWinGalagaHST/servlet-name servlet-classWinGalagaHST/servlet-class /servlet servlet-mapping

Re: Tomcat, load balancing

2004-01-17 Thread David Rees
Pooleery, Manoj wrote, On 1/17/2004 1:04 AM: I have a scenario where I have to support 2000 concurrent users on my app. What would be the best distribution with Tomcat? By distribution, do you mean OS? Linux distributions with NPTL support would be the way to go because of the enhanced

RE: almost there with my servlet

2004-01-17 Thread Wendy Smoak
From: Allan Bruce [mailto:[EMAIL PROTECTED] I have added my servlet file (WinGalagaHST) to the examples/WEB-INF/classes folder and added the following to the web.xml file I get the following error: Cannot allocate servlet instance for path... I am trying to access the servlet by:

RE: almost there with my servlet

2004-01-17 Thread Mark Thomas
Allan, Essentially, don't use packageless classes. The FAQ http://jakarta.apache.org/tomcat/faq/classnotfound.html has a bunch of references regarding this. Mark -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 9:40 PM To: Tomcat

Connection Pooling

2004-01-17 Thread Seshagiri
Hi all, I configured Connection Pool in tomcat 5.0. When I create a connection pool, does tomcat create the minimum number of connections when the server starts up? Seshagiri Varanasi, Research Assistant, CBIT, 635 Cajundome Boulevard, Lafayette, LA -70501, USA Phone: 337-482-0626 Fax:

Re: Redhat9 / mod_jk2 builds from source

2004-01-17 Thread George Shafik
Hi Mark, Oscar Sorry I now realise you want the ssl feature in apache 2 build. try the following ./configure --with-ssl=shared --enable-modules=all --enable-shared=max remember I'm running things on Linux 9 by default OpenSSH running as a daemon But I'm having problems with getting httpd.conf

Please help: error: The requested resource (/stuff/index.html) is not available.

2004-01-17 Thread Susan Tahmoresi
Hi All, I am new to tomcat and just installed Jakarta.tomcat 5.0.16. I am able to start up and shut down the web server successfully. I tried to write a simple HTML to print hello world. The HTML program alone is working fine offline but when I try to link it = to webserver I get this error

Re: home page error from other computers

2004-01-17 Thread Phillip Calçado
Hi, Joel! How are you connect to the Internet? Dynamic or static IP address? Are you or your ISP using some kind of firewall? If you have other server running on the same machine (like Apache), can it be reached by others? FIrst, try to ping your own IP address...

FW: Apache 2.0.48 and Tomcat 5.0.16

2004-01-17 Thread Brian D. Danford
I figured it out. I needed to add a server context under the admin tool for the site, and its working fine now. I was tring just about anything to get it work, but this was the first time I worked there.. I didn't think it was anything that I needed to configure with tomcat its self. I cant belive

[maybe OT] - java.lang.UnsatisfiedLinkError in servlet when generating image on the fly

2004-01-17 Thread Simone Chiaretta
Hello all, I get a strange error when try to run a code to generate a JPG on the fly from inside a servlet: java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.0_01/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory the libXp.so lib is a lib from X

R: [maybe OT] - java.lang.UnsatisfiedLinkError in servlet when generating image on the fly

2004-01-17 Thread Simone Chiaretta
I also added the -Djava.awt.headless=true in the tomcat startup script but still get the same error Simone - Simone Chiaretta http://www.piyosailing.com/S www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic Life is short, play

SSL Client authentication

2004-01-17 Thread tkassem
Hi All, Using jboss-3.2.3-tomact 4.1.29, i've got both server and client authentication fully working. Using the same keystore and with clientAuth set to false, everything works fine, but when i set clientAuth to 'true', the server fails to authenticate my client. My connector in

Re: mod_jk compile issue

2004-01-17 Thread Bill Barker
At the moment, all mod_jk versions should work with all Tomcat version 3.3.x-5.0.x. I'd still recommend using a newer mod_jk version. As I said, I don't use HP myself, but as I understand it, it is safe to copy the file. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm stuck with

Re: SSL Client authentication

2004-01-17 Thread Bill Barker
It sounds like your client is trying to send a self-signed cert (which won't work). The client needs to send a cert that is signed by somebody in the TrustStore. tkassem [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Using jboss-3.2.3-tomact 4.1.29, i've got both server and