Re: Website downloading old file

2005-01-17 Thread Ben Souther
Also, in the interest of not overlooking the obvious... Did you verify that the FTP write actually worked and that you didn't accidentally ADD another file with a slightly different name? On Mon, 2005-01-17 at 09:56, Parsons Technical Services wrote: > File permissions may be part of your pro

Re: latest set of Benchmark results

2005-01-17 Thread Peter Lin
quick explanation of errors for 40K png test. The errors were the result of OS and not Tomcat. For some odd reason, after a couple of hours of benchmarks, the OS stopped accepting connections. I will re-run that one test later for my final write up. I've posted updated testplans including 4 with g

Charater limit in servlet names

2005-01-17 Thread Akhthar Parvez. K
Hi All, I am wondering to know if there is any limit in maximum number of characters in a servlet name. The problem is, I have a servlet called "test" which was working fine. I just changed the servlet name to "testingpruposetest" and it's not working. I again changed the name to "testing" and

multiple ips, multiple ssl certificates and port forwarding

2005-01-17 Thread rk
hello everybody! i'm new to this list and dont have too much tomcat expericence but i've been searching for a while to solve the following problem - unfortunately up to date without success: here is my little mind bender ;-) i have tomcat 4.1.31 running on a linux server, to use multiple ssl ke

Re: Website downloading old file

2005-01-17 Thread Parsons Technical Services
File permissions may be part of your problem. What OS is Tomcat running on? As for the showing the file after deleting it from the server, did you do a restart of Tomcat after deleting the file? I remember something on the list awhile back similar to this. Doug - Original Message - From

RE: request.getParameter(), works on get, not on post

2005-01-17 Thread Pawson, David
-Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 17 January 2005 14:11 To: Tomcat Users List Subject: RE: request.getParameter(), works on get, not on post yeah you need to use a special request processing api for posted forms

RE: [Tomcat] jsp and iframe problems!!

2005-01-17 Thread Allistair Crossley
if you are sending a redirect, then the URL on your browser should show newPage.jsp and refreshing will only cause that URL to load. I think you may be not telling us something about this scenario, can you be more detailed about how you perform the redirect etc.. > -Original Message- >

Re: request.getParameter(), works on get, not on post

2005-01-17 Thread Omar Adobati
>public void doGet(HttpServletRequest request, HttpServletResponse response) try to use the doPost method... should work bye, Omar On Mon, 17 Jan 2005 14:08:23 -, Pawson, David <[EMAIL PROTECTED]> wrote: > With an input form > > action="/repository/ck

Re: request.getParameter(), works on get, not on post

2005-01-17 Thread Ben Souther
request.getParameter doesn't work with mutipart forms. You will need to check the documentation for the upload library you are using. If you don't have one yet, see: http://jakarta.apache.org/commons/fileupload On Mon, 2005-01-17 at 09:08, Pawson, David wrote: > With an input form > >

RE: request.getParameter(), works on get, not on post

2005-01-17 Thread Allistair Crossley
yeah you need to use a special request processing api for posted forms when encType is multipart, lookup Commons FileUploader. Allistair. > -Original Message- > From: Pawson, David [mailto:[EMAIL PROTECTED] > Sent: 17 January 2005 14:08 > To: tomcat-user@jakarta.apache.org > Subject: req

request.getParameter(), works on get, not on post

2005-01-17 Thread Pawson, David
With an input form Archive number: in ckDoc.java I have public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { HttpSession session = request.getSession(); // //String s = re

Re: Failin to start tomcat 5.0

2005-01-17 Thread Viorel Dragomir
You may have an already started instance of tomcat on port 8084 So you must check if the port is already open. Maybe somebody else already executed tomcat :) check with netstat -l or telnet localhost 8084 Viorel Dragomir . .. ---

[Tomcat] jsp and iframe problems!!

2005-01-17 Thread Omar Adobati
Good Morning, I have a problem with iframe, this is what happend: I'm using a code like this one ...some html code... ...some code here too... myPage.jsp has a form, I sumbit the form and then if something will happen I redirect to newPage.jsp. Well, now, if I'm on newPage.jsp, if i try to rel

RE: Failin to start tomcat 5.0

2005-01-17 Thread Peter Crowther
> From: hicham [mailto:[EMAIL PROTECTED] > trying to get to start tomcat 5 under netbeans , I get the > following exception > thanks for your help [...] > java.net.BindException: Address already in use:8084 [...] You have another service using port 8084. Find it and change its port, or chang

Failin to start tomcat 5.0

2005-01-17 Thread hicham
Hello trying to get to start tomcat 5 under netbeans , I get the following exception thanks for your help - Using CATALINA_BASE: /home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base Using CATALINA_HOME:

please help -SEVERE: Parse error in application web.xml - webapp does not start after cpanel upgrade

2005-01-17 Thread Carlos Martins
After upgrading cpanel on the server, tomcat throws the error message attached. I swear I did not change a thing in my web.xml file. Never the less tomcat says I now have an error in the tag. I forward the error and the contects of my web.xml. please help, if you can. Sincerely yours Carlos Thi

Re: precompilation trouble

2005-01-17 Thread Tim Funk
There here, but your 1st post was a on a Friday afternoon. And the errors were not very clear. Stack traces and a better description is probably in order. -Tim Marcus Beyer wrote: Marcus Beyer schrieb: Using Tomcat 5.0.26 I have some problems precompiling my pages with: org.apache.jasper.Js

Website downloading old file

2005-01-17 Thread Paul Taylor
Puzzled. I have a Tomcat 5 application, associated with it a file that can be downloaded from the website, which is in the root directory of the context. (So if the context is called myapp the file is in myapp). Everything was fine but then I realised that there was a problem with the file so I

RE: HttpSession usage

2005-01-17 Thread Pawson, David
-Original Message- From: Christoph Kutzinski check the API. You can probably use: request.|*isRequestedSessionIdFromCookie *() Looks good Christop

Re: TOMCAT + HttpURLConnection

2005-01-17 Thread Ben Souther
This might be of interest to you: http://jakarta.apache.org/commons/httpclient/ On Mon, 2005-01-17 at 06:41, Karthik N S wrote: > > > Hi > > Apologies > > > > I would like to use the 'HttpURLConnection' API to POST > 'start/stop/reload' to Tomcat Manager URL > > '

TOMCAT + HttpURLConnection

2005-01-17 Thread Karthik N S
  Hi Apologies   I would like to use the  'HttpURLConnection' API to POST  'start/stop/reload'   to   Tomcat  Manager URL 'http://192.168.10.64:8080/manager/html/start?path=/XYZ' ,   So can I Code this and  Do I need the Proxy Authorization to do the same. Please  send Some

Re: HttpSession usage

2005-01-17 Thread Christoph Kutzinski
Pawson, David wrote: Which then raises the question, do I (can I) check that a user has cookies enabled? HttpSession sess = request.getSession(true); if( sess.isNew() ) logger.info("New Session"); else logger.info("Existing Session"); Hi, check the API. You can probably use:

RE: HttpSession usage

2005-01-17 Thread James Milks
FYI - putAttribute() has been depricated and you shoud use setAttribute() when working with sessions. -Original Message- From: Pawson, David [mailto:[EMAIL PROTECTED] Sent: January 17, 2005 4:37 AM To: Tomcat Users List Subject: RE: HttpSession usage Sounds to me like you need to d

Re: latest set of Benchmark results

2005-01-17 Thread Remy Maucherat
On Sun, 16 Jan 2005 13:15:01 -0500, Peter Lin <[EMAIL PROTECTED]> wrote: > Here is the latest set of benchmark results. I discovered an error in > my test plan for 40K PNG, so the results for that one was off. All of > the other results should be accurate. I re-ran the tests. > > Server: > AMD 2gh

Re: precompilation trouble

2005-01-17 Thread Marcus Beyer
Marcus Beyer schrieb: Using Tomcat 5.0.26 I have some problems precompiling my pages with: org.apache.jasper.JspC The precompiler instantiates some beans, altough I don't exactly know why. During instatiation some beans need to access managed beans, so they call something like this:

RE: Tomcat service crashes "unexpectedly", no trace in logs

2005-01-17 Thread David Vandaele
Hi Greg, Thanks, great idea, I'm certainly going to try it out asap. However, at this point I don't think we're chasing the same problem (correct me if I'm wrong): In your case there is not really a crash, as opposed to my situation where I can see a message in the Windows Event Log + I also f

Re: JK unable to perform POST

2005-01-17 Thread Anders Falk
Ok, I found the answer myself. There was a bug in windows http://support.microsoft.com/?kbid=250397 and is corrected in Service Pack for windows 2000. Regards Anders Anders Falk wrote: Hey I am having problem with connecting IIS and Tomcat. Having configured it all, it works fine with method GET. B

RE: HttpSession usage

2005-01-17 Thread Pawson, David
Sounds to me like you need to do some reading on JSP/Servlets, any book will explain sessions to you and provide examples. There are numerous online resources too. No problem, nice to know I'm reading the right stuff though! You don't need to worry about identifying the u

RE: HttpSession usage

2005-01-17 Thread Allistair Crossley
Hi, Sounds to me like you need to do some reading on JSP/Servlets, any book will explain sessions to you and provide examples. There are numerous online resources too. Yes, session is the object you should use and the getAttribute and setAttribute methods would retrieve and set variables in th

HttpSession usage

2005-01-17 Thread Pawson, David
I need to maintain state across two form submissions; the first one requires that a user confirm an int and string; the second one records a small amount of metadata, user information and transaction information. Am I right in thinking that HttpSession getAttribute and putAttribute are the right w

<    1   2