Re: jsp stuff

2005-07-22 Thread beetle
Thankyou very much for your info,best regards,Gregory - Original Message - From: "ganesan malairaja" <[EMAIL PROTECTED]> To: Sent: Saturday, July 23, 2005 2:17 AM Subject: RE: jsp stuff thanks From: Adile Abbadi <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users Li

RE: jsp stuff

2005-07-22 Thread ganesan malairaja
thanks From: Adile Abbadi <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: RE: jsp stuff Date: Fri, 22 Jul 2005 11:12:16 -0600 You don't need to change anything in tomcat to make it access a database except one thing - you need is a compliant JDBC driver which

Re: getting Tomcat 5.5 daemon/service to startup automatically on bootup?

2005-07-22 Thread Bill Barker
"Ferindo Middleton Jr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm running *Tomcat/5.5.6 on* Fedora Core 4. What is the best way to get > my Tomcat server to start automatically on bootup. My server does use SSL. > I have read through the info on setting up tomcat as a dae

Re: Can't get ssl redirection to work properly

2005-07-22 Thread beetle
DEAR SIR Thankyou for your mail, best regards Gregory - Original Message - From: "Terence M. Bandoian" <[EMAIL PROTECTED]> To: Sent: Friday, July 22, 2005 9:52 PM Subject: Re: Can't get ssl redirection to work properly Hi, You might try including a URL pattern containing only "/" i

Re: Can't get ssl redirection to work properly

2005-07-22 Thread Terence M. Bandoian
Hi, You might try including a URL pattern containing only "/" in addition to the "/*" pattern. -Terence M. Bandoian >> Hi again.. I don´t know if this mail reached the mailinglist som I >> just reply to myself to get the attention again ;). >> Is this kind of behaviour by tomcat normal with the

Re: Apache2+jk+tomcat5.028+uri utf-8 [NOT] SOLVED

2005-07-22 Thread Chris Brown
An update on the problem Reading through some other posts I got the suspicion that errno=13 was privilege related. On a hunch turned off SELINUX (http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825232) and everything worked great! The next step is to figure out how to run with

RE: getting Tomcat 5.5 daemon/service to startup automatically on bootup?

2005-07-22 Thread Pugalia, Jai P \(JP\)
The following link has information on starting Tomcat as a service on Linux: http://www.spaceprogram.com/knowledge/2004/01/starting-tomcat-as-service -on-linux.html JP -Original Message- From: Ferindo Middleton Jr [mailto:[EMAIL PROTECTED] Sent: Friday, July 22, 2005 4:13 PM To: tomca

getting Tomcat 5.5 daemon/service to startup automatically on bootup?

2005-07-22 Thread Ferindo Middleton Jr
I'm running *Tomcat/5.5.6 on* Fedora Core 4. What is the best way to get my Tomcat server to start automatically on bootup. My server does use SSL. I have read through the info on setting up tomcat as a daemon under Unix at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html and this wor

Re: Problem running Tomcat on Windows 64-Bit Edition

2005-07-22 Thread Spors, Jeffrey R
Bill, thanks for the response. I could not find a binary for srvbatch so I started looking at compiling a 64bit version myself; however, I don't have any knowledge of makefiles and can't seem to get my attempted makefiles to run. Is it possible I could get the makefiles you used (or the 64bit bina

basic authentication won't accept password (intermittent)

2005-07-22 Thread Eric
Hello, My client has a password-protected folder (as shown in the snippet from my web.xml below). The problem is that, when accessing a protected resource (/members/jobs/index.html), it sometimes asks for the login several times before returning the requested page. (This is using BASIC authen

RE: Error 500 messages

2005-07-22 Thread Adile Abbadi
Hi Tim, Thank you very much - that has helped - however I discovered that the problem still exists if I have an include within an include - ie. I have an include called this Inside that include I have another include also with flush set to false - and I still get a blank page - however if I re

Re: Error 500 messages

2005-07-22 Thread Tim Funk
flush="false" -Tim Adile Abbadi wrote: Hi Tim, Thanx for the information - I forgot about that. I guess the question is why did it work in Tomcat 3 and not Tomcat 4 and second is there a workaround to get it to work? Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]

RE: Error 500 messages

2005-07-22 Thread Adile Abbadi
Hi Tim, Thanx for the information - I forgot about that. I guess the question is why did it work in Tomcat 3 and not Tomcat 4 and second is there a workaround to get it to work? Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 22, 2005 12:20 PM To: Tomcat Use

Re: Error 500 messages

2005-07-22 Thread Tim Funk
This line will commit the response and send html back to the client. Once that is done - no error messages will be sent back to the client and you will end up with a blank screen. -Tim Adile Abbadi wrote: Hi Rob, Thanx for this - this is great - I may have to use this because I think I hav

RE: Error 500 messages

2005-07-22 Thread Adile Abbadi
Hi Rob, Thanx for this - this is great - I may have to use this because I think I have truly found a bug in Tomcat as this issue is not happening on my Tomcat 3 server. I did a bit more investigation and I found some interesting things. This is going to be a long email with code and stuff but whoe

Re: Reloading web context in a cluster

2005-07-22 Thread Peter Rossbach
Davide Romanini schrieb: Il giorno ven, 22/07/2005 alle 16.39 +0200, Peter Rossbach ha scritto: Hey, a) don't share things between cluster nodes! You mean that Tomcat has problems using a shared filesystem??? No, tomcat has no problem with shared systems b) before you chang

RE: jsp stuff

2005-07-22 Thread Adile Abbadi
You don't need to change anything in tomcat to make it access a database except one thing - you need is a compliant JDBC driver which you through into the Common Library directory of tomcat. Once tomcat starts it will load the driver and then at that point you can use code to access the Database. I

Re: Request parameter data not being recognised as UTF-8

2005-07-22 Thread Martin Bromley
If you take a look at the API docs for ServletRequest.setCharacterEncoding(), they say "This method must be called prior to reading request parameters or reading input using getReader()." By the time execution gets to your JSP page, something has probably read your request parameters - maybe

Re: Request parameter data not being recognised as UTF-8

2005-07-22 Thread Tim Koop
Thanks Mikolaj. That did it. For some reason running request.setCharacterEncoding("UTF-8") in my code does nothing, but if it gets run from a Filter it works great. Tim Koop Mikolaj Rydzewski wrote: Tim Koop wrote: I have a web page form that is expecting UTF-8 data, but when my code g

RE: Max thread/session timeouts

2005-07-22 Thread Darek Czarkowski
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reloading web context in a cluster

2005-07-22 Thread Davide Romanini
Il giorno ven, 22/07/2005 alle 16.39 +0200, Peter Rossbach ha scritto: > Hey, > > a) don't share things between cluster nodes! You mean that Tomcat has problems using a shared filesystem??? > b) before you change your lib at one node please shutdown the context > with manager app or ant tas

Re: Reloading web context in a cluster

2005-07-22 Thread Peter Rossbach
Hey, a) don't share things between cluster nodes! b) before you change your lib at one node please shutdown the context with manager app or ant tasks. c) Release change at runtime with cluster is heavy and can not made with the same nodes. OK, when no class changed that used inside s

RE: Change Apache Run User

2005-07-22 Thread Raghupathy,Gurumoorthy
In httpd.conf ther us user and group .. Change that -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 22 July 2005 15:22 To: tomcat-user@jakarta.apache.org Subject: Change Apache Run User I currently run startup scripts for Apache and Tomcat in the /etc/

Change Apache Run User

2005-07-22 Thread uttam.g.dubal
I currently run startup scripts for Apache and Tomcat in the /etc/rc3.d folder. In the default setup the user 'nobody' is the one who the Apache service runs as. Does anyone know how to change the user that Apache runs under? Thanks for you help. This message is for the designated recipient

Re: Replacing a class file

2005-07-22 Thread Tim Koop
That sounds like it should work to me. I do the same thing every day. Perhaps this code has also been compiled into a jar and is sitting in WEB-INF/lib or tomcat/shared. Or try deleting the files in the tomcat/work directory. I think technically this shouldn't fix it, but it doesn't hurt if

Re: Request parameter data not being recognised as UTF-8

2005-07-22 Thread Mikolaj Rydzewski
Tim Koop wrote: I have a web page form that is expecting UTF-8 data, but when my code gets the data, the getParameter() methods don't return the right thing. I have to run this code to get the right thing: String value = new String(request.getParameter("fieldName").getBytes("ISO-8859-1"),

Re: Request parameter data not being recognised as UTF-8

2005-07-22 Thread Manfred Steurer
Try saving the JSP-File itself as UTF-8. Worked for me at a similar Problem. - ms - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Request parameter data not being recognised as UTF-8

2005-07-22 Thread Tim Koop
Thanks Mark. I entered "Tübingen" and I got back "Data posted to this form was: Tübingen". localhost_log also has "Tübingen" It does this for both port 8080 (Tomcat directly), and port 80 (through Apache). I checked the Tomcat 4.1.31 release notes (http://apache.sunsite.ualberta.ca/jaka

Re: Jsp and xml

2005-07-22 Thread Tim Koop
Two things I can think of: 1. Remember that a line that contains <% ...code... %> will also produce an end-of-line (eol) character, so instead of something like this: <% for (int i=0; i <% } %> do something like this: <% for (int i=0; i <% } %> or this: <% for (int i=0; i <% } %> 2. Ma

Replacing a class file

2005-07-22 Thread none none
Hello, I am very new to tomcat, I hope someone is able to help me out. There is a Java application sitting in one of the servers and I have been asked to modify some code in there. I figured out that the code need to be changed is in one of the class files, so I found the java source code, mo

Problem Bringing up Admin

2005-07-22 Thread J. Ryan Kelley
I've installed tomcat 5.5.9 and downloaded the admin package. When I attempt to access http://localhost:8080/admin/ I get a blank screen the first time, then if i reload I get the following error message in my browser. HTTP Status 503 - Servlet admin.login_jsp is currently unavailable --

Re: Can't get ssl redirection to work properly

2005-07-22 Thread Manfred Steurer
I think you have a problem with the url-pattern in the web.xml. It redirects anything after pds/ to ssl - but in http://adress:8080/pds there is nothing. I don't have time to test now, but it may work without any url-pattern or just * instead of /*. - ms Stefan Nilsson wrote: Hi again.. I

Re: Can't get ssl redirection to work properly

2005-07-22 Thread Stefan Nilsson
Hi again.. I don´t know if this mail reached the mailinglist som I just reply to myself to get the attention again ;). Is this kind of behaviour by tomcat normal with the redirection?. Does behave in this way even if you just have an application.war file deployed on a standalone tomcat? Best regar

getServletContext() returns "/" for default context defined outside of server.xml

2005-07-22 Thread Martin Bromley
Hi, I'm trying to setup the default Context for a Host, without defining it in server.xml. In conf/Catalina/localhost I've created a file named .xml, and defined the Context within it, without defining the path - I understand from the Tomcat docs that it should be inferred as "". This is all

Re: Configure "email catcher" for dev and stage environments?

2005-07-22 Thread Tim Funk
An "easier" solution is to build your own mail server which eats all the emails or redirects them to a test email account where you can view the results. -Tim Marc Guillemot wrote: Hi, in dev and stage environments, we are working with real data but have to avoid that email are really sent

Re: Limitting bandwidth: Filedownload

2005-07-22 Thread Tim Funk
Sounds like you would need to write a servlet filter to perform the throttling. I'd guess there are some out there that do similar. -Tim Lars Nielsen Lind wrote: Hi. Is there a way to make two channels with Apache / Jakarta-Tomcat regarding to the Internet connections bandwidth? One

Re: Max thread/session timeouts

2005-07-22 Thread Peddireddy Srikanth
Hi Michael, Thanks for the information. I will try to further study this problem and let you know if I found anything useful. Mean while can you let me know about any JVM options that you are using for running your tomcat and that you think will be useful in server performance and scalability. So t

Re: Max thread/session timeouts

2005-07-22 Thread Michael Kleinhenz
Peddireddy, > your mail is very informative. > we have a very similar set up (4 Xeon processors 3.5 GB Ram and > WIn2003 Standard edition) and hardpart is that we cant change this > setup and switch to Linux. same problem over here. The computing centre of our client can't provide Linux servers.

Configure "email catcher" for dev and stage environments?

2005-07-22 Thread Marc Guillemot
Hi, in dev and stage environments, we are working with real data but have to avoid that email are really sent to the users. Our current solution is that the code sending emails checks what the current environment is to know if it should really send the email to the specified address or to a spe

Reloading web context in a cluster

2005-07-22 Thread Davide Romanini
Hi, I'm developing some web services using Axis. The whole axis context (containing all my services) is embedded as a servlet into Tomcat 5.5.9. Any time I create a new version of one service, I need to replace the previous jar file into WEB-INF/lib, so to make changes effective I also must reload

Re: Max thread/session timeouts

2005-07-22 Thread Peddireddy Srikanth
Michael, your mail is very informative. we have a very similar set up (4 Xeon processors 3.5 GB Ram and WIn2003 Standard edition) and hardpart is that we cant change this setup and switch to Linux. So what you told "Tomcat on Windows doesn't scale well" is bothering me I heard about clustering on

Tomcat 5.0.19 + parsing XML

2005-07-22 Thread Francesco Pellegrini
Hi all,   I have an environment with Tomcat 5.0.19 (jre 1.4.2)  whit SQL Server database.   I should create a new one web application, that call a remote host (by socket on TCP/IP) and read/write stream XML.   I have already more web application runs on Tomcat Servlet container,    I would

tomcat SSL problem

2005-07-22 Thread tam wei
Hi all, I am trying to open a SSL connection from a tomcat server (called it TC1) that locate within a DMZ to the other tomcat server (called it TC2) which is located in external network. I got the following in the TC1 system.out, WARNING: Servlet.service() for servlet HelloWorld threw excepti

Re: What commands to run in the Tomcat Debug Mode on Linux

2005-07-22 Thread Christoph Kutzinski
Wendy Smoak wrote: I'm also unsure of the difference between 'run' and 'start'. If you just type 'catalina.bat' with no parameters, it prints out a usage statement that lists 'jpda start' but not 'run jpda'. Since it lists both 'run -security' and 'start -security' separately I have to wonder