Clustering

2006-06-04 Thread Sandeep Gaikwad
Hi, Which version is most suitable for Tomcat Clustering? Regards, Sandeep CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, plea

How to deploy one application under two different port?

2006-06-04 Thread red phoenix
I hava a web application with JSP and servlet,I want to deploy it using Tomcat5,but I deploy it under two different port,such as 8080 and 9090,8080 port for general visit,and 9090 port for administrator visit. How to do it? Thanks in advance.

Re: ssl timeout length with jsse with tomcat 5.5

2006-06-04 Thread Bill Barker
"Jason Pendrey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > thanks for the response, I have an administration section that always > needs to be logged back into after periods of no activity, I am thinking > of using apache 2.0 as the front end and tomcat on the backend and usi

Re: ssl timeout length with jsse with tomcat 5.5

2006-06-04 Thread Jason Pendrey
thanks for the response, I have an administration section that always needs to be logged back into after periods of no activity, I am thinking of using apache 2.0 as the front end and tomcat on the backend and using ssl on apache(i'm assuming i can control it better on apache, but i would have

Re: Problem while deploying war

2006-06-04 Thread Martin Gainty
Venkatesh- I am Posting this to ant-users I did not see deploy task (unless you taskdef'ed in some class somewhere) but I did set serverdeploy http://ant.apache.org/manual/OptionalTasks/serverdeploy.html HTH Martin-- This email message and any files transmitted with it contain confidential infor

Re: 404

2006-06-04 Thread Ole Ersoy
Thanks Martin - I think I got it now - after updating /etc/hosts with the domain name. Yeah ... I was just using www.mycompany.com as an example...would be pretty cool to own that though! Cheers, - Ole --- Martin Gainty <[EMAIL PROTECTED]> wrote: > I guess if your a PHP guy I think you'll like

Re: 404

2006-06-04 Thread Ole Ersoy
Whoops - Sorry - I should have thought about that - Thanks for the heads up. Cheers, - Ole --- Mark Thomas <[EMAIL PROTECTED]> wrote: > When starting a new thread (ie sending a message to > the list about a > new topic) please do not reply to an existing > message and change the > subject line.

Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed.

2006-06-04 Thread Andrew Braae
Thank you to Mladen and to everyone else who helped, this problem is not a problem at all. Yes, very embarrassing but I have just found using Fiddler that the response was coming back fine, there is nothing wrong at the Tomcat end, and it is just that rico does not like badly formed HTML. One of t

Re: 404

2006-06-04 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: 404

2006-06-04 Thread Martin Gainty
I guess if your a PHP guy I think you'll like it..Sorry sir the domain www.mycompany.com is taken! Check the port number assigned to Tomcat i.e. http://localhost:8080 HTH Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(

Re: A way to know if file download has ended

2006-06-04 Thread Wade Chandler
--- Guido Schoepp <[EMAIL PROTECTED]> wrote: > Bachler, Elisabeth (Elisabeth) schrieb: > > I have an application that uses tomcat 5.0.19. At > one point in my > > application, the user has the possibility to click > on a certain link in > > order to download a file. > > Once the file is downloaded

Re: ssl timeout length with jsse with tomcat 5.5

2006-06-04 Thread Bill Barker
"Jason Pendrey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I want to know how to control the length of time that an ssl connection >timesout and a user needs to login again. Right now its too short and I >can't find anything in the server.xml ssl connector node that seems to

404

2006-06-04 Thread Ole Ersoy
Hey Everybody, I'm trying to access setup access for www.mycompany.com, however I get a 404. If I try accessing tomcat on my internal network like this (This is from a machine different than from what tomcat is running on): http://192.168.1.4:8080/manager/html I get access. However, when tryin

Re: Problem while deploying war

2006-06-04 Thread Martin Gainty
Agreed- The protocol part of the URL spec seems to confuse alot of people Take a look at this very brief primer on URL construction courtesy of Williams College http://www.cs.williams.edu/~cs105s00/outlines/CS105_70.html HTH, Martin -- This email message and any files transmitted with it contai

Re: Can`t resolve JDBCRealm problem

2006-06-04 Thread Martin Gainty
Good Morning Nenad If you follow these instructions http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html?page=2 specifically.. populating with JDBCRealm these attributes must be populated className The fully qualified name of the Realm attribute e.g. org.apache.catalina.realm.JDBCRealm

Re: Problem while deploying war

2006-06-04 Thread Mark Thomas
Venkatesh Babu wrote: > Can anybody help me and point out what might be the > problem? Your url starts C:/ (so C looks like the protocol rather than a drive) Try something like file://c/... Mark - To start a new topic, e-mail:

Can`t resolve JDBCRealm problem

2006-06-04 Thread Nenad Bosanac
Hi ! I try to implement JDBCRealm but witout success. I read documentation and make all as it said in it,but when i try to login in tomcat Manager i can't do it. I put this code in server.xml: also i have this in server.xml I have database called jdbcrealm and to tables like this in it creat

Problem while deploying war

2006-06-04 Thread Venkatesh Babu
Hi all, I'm using Tomcat 4.1.31. I have a war file and I'm using the ant target "" to deploy this war. Here is the code snippet of my build.xml : http://${tomcat.server.name}:${tomcat.server.port}/manager"/> But when I call this target, I'm getting

Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed.

2006-06-04 Thread Martin Gainty
Guido-- Thats certainly one way to accomplish the objective- But I found using the parsers from XERCES and scanning the examples a better way to handle understanding the element, attributes and content of each node to be a better way Take a look at http://xerces.apache.org/xerces-j/ HTH, Mar

Re: Problem with tomcat realms - can't connect to MySQL

2006-06-04 Thread Sarah Parrott
That works! Thank you! Sarah :) On 04/06/06, Guido Schoepp <[EMAIL PROTECTED]> wrote: Sarah Parrott schrieb: > and in my servers.xml document: > connectionName="tomcat" connectionPassword="pword" > connectionURL="jdbc:mysql://localhost/authority" driverName=" > org.gjt.mm.mysql.Driver" roleNa

Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed.

2006-06-04 Thread Guido Schoepp
Have you ever tried to treat the HTML as CDATA? Like that: out.print(""); out.close(); This will not solve your logging problem, but maybe the root cause of your troubles ;-) Guido - To start a new topic, e-mail: users@tomc

Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed.

2006-06-04 Thread Marc Bächinger
Am Sonntag, 4. Juni 2006 12.08 schrieb Mladen Adamovic: > Andrew Braae wrote: > > However if the JSP that produces the HTML content produces anything less > > than perfectly-formed HTML, then the response fails - worse still, it > > fails > > silently, with no output to the tomcat log files. > > Yo

Re: Problem with tomcat realms - can't connect to MySQL

2006-06-04 Thread Guido Schoepp
Sarah Parrott schrieb: and in my servers.xml document: [...] I've added the jar file for the jdbc driver to the classpath for the project, and I can connect to the database fine through eclipses 'Database Explorer' using the same connection URL. Any ideas why this is not working? By configuri

Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed.

2006-06-04 Thread Alexander Eller
Hello Andrew, maybe i'm missing the point, but what do you mean with "response fails" - are you sure, it is on tomcats side? It seems to me, that your servlet code/jsp code works perfectly well - bute the rendering of your response on client side expects well formed XML - and a sole tag is *N

Re: ssl timeout length with jsse with tomcat 5.5

2006-06-04 Thread Guido Schoepp
Jason Pendrey schrieb: I want to know how to control the length of time that an ssl connection timesout and a user needs to login again. Right now its too short and I can't find anything in the server.xml ssl connector node that seems to change that. I'm using tomcat 5.5 with the latest jsse.

Re: 403 Error

2006-06-04 Thread Marc Bächinger
Am Samstag, 3. Juni 2006 01.18 schrieb Mark Thomas: > Marc Bächinger wrote: > > hi > > > > I had the same problem and i was near to a nervous breakdown as I noticed > > that encription was requested and tomcat expected encripted passwords > > This is not the case by default. so i have to correct m

Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed.

2006-06-04 Thread Mladen Adamovic
Andrew Braae wrote: However if the JSP that produces the HTML content produces anything less than perfectly-formed HTML, then the response fails - worse still, it fails silently, with no output to the tomcat log files. You can generate malformed HTML from JSP pages and it is OK, so I assume yo