RE: A way to know if file download has ended

2006-06-06 Thread Bachler, Elisabeth (Elisabeth)
THanks for your answer... I will keep all you said in mind. You are certainly right. -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: lunes, 05 de junio de 2006 17:08 To: Tomcat Users List Subject: Re: A way to know if file download has ended --- Darryl Miles <[EMAI

RE: Allocate exception

2006-06-06 Thread Miguel Angel Ruz
I'm going to describe the process that I have followed to develop servlet Authorize. What problem do you find in this development? I create to have followed all the steps to make work it. Thanks. The Authorize.class is in: /u/jakarta-tomcat-5.5.4/webapps/demo/WEB-INF/classes/Authorize.java /u/j

multiple, parallel requests

2006-06-06 Thread Steffen Späthe
Hello, first of all I am new at this mailing-list and would be very glad if subscribers of this list could help me. As far as I understand the life cycle of a servlet in a tomcat-servlet-container, one instance of a servlet is created and when a request comes in, a thread is started with the

Re: multiple, parallel requests

2006-06-06 Thread Leon Rosenberg
Maybe you should paste your "simple HttpServlet" code ? regards Leon On 6/6/06, Steffen Späthe <[EMAIL PROTECTED]> wrote: Hello, first of all I am new at this mailing-list and would be very glad if subscribers of this list could help me. As far as I understand the life cycle of a servlet in a

Re: multiple, parallel requests

2006-06-06 Thread Steffen Späthe
> Maybe you should paste your "simple HttpServlet" code ? No Problem. Note, there is a "service"-methode in this sample-code. It is just for debugging and testing. There is no difference between behavior with or without this "service"-methode. Okay, here is my simple HttpServlet (it is really

Re: multiple, parallel requests

2006-06-06 Thread Antonio Petrelli
Steffen Späthe ha scritto: In my understanding should an other thread been started with the service-methode, if the first thread is sill running and a new request comes in. If this isn´t correct, please correct me. Not always. If you are using HTTP 1.1 persistent connections and you are tryin

Re: multiple, parallel requests

2006-06-06 Thread Steffen Späthe
Hello Antonio Petrelli, thank you very much. Now my world is right again. I tried multiple request from one firefox-instance in multiple tabs. And this doesn´t work - as you described it. Now I retried it with on firefox and on internet explorer instance. And it worked as expected. I thought,

Re: Tray Icon

2006-06-06 Thread Seak, Teng-Fong
Since he's in Windows platform, it's easier to use "Monitor Tomcat" shortcut in "Start menu" (Start > All Programs > Apache Tomcat > Monitor Tomcat) Richard Mundell wrote: Mark, If you close the icon you can simply re-run the monitoring application: $CATALINA_ROOT/bin/tomcat5w.exe. Richar

Re: Undeploy task not working

2006-06-06 Thread Peter Hubbard
On Mon, 2006-06-05 at 23:40 -0700, Venkatesh Babu wrote: > Hello All, > > I'm using Tomcat 4.1 and trying to deploy/undeploy > application using ant targets. > > Earlier I posted a mail on deploy task not working due > to some protocol error. Got the solution for that :-) > > But right now undep

Re: Image files and DeployTask...

2006-06-06 Thread Marc Farrow
No issues. Thanks for the explanation I will test the WEBDAV setting again and see what happens. On 6/5/06, Mark Thomas <[EMAIL PROTECTED]> wrote: Marc Farrow wrote: > Mark, > > Why do you have to mark the WEBDAV servlet as NOT read-only in order to > use the ant tasks? By default the rea

Re: Allocate exception

2006-06-06 Thread Marc Farrow
What is in the demo.jar file? On 6/6/06, Miguel Angel Ruz <[EMAIL PROTECTED]> wrote: I'm going to describe the process that I have followed to develop servlet Authorize. What problem do you find in this development? I create to have followed all the steps to make work it. Thanks. The Authori

Re: Undeploy task not working

2006-06-06 Thread Marc Farrow
It also could be a permissions problem. What platform is the server? I know on OpenVMS that if you use the manager application to deploy an application and then try to undeploy it, the permissions on the directory are not correct and thus it cannot delete the directories. (There is a logical to

java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Peter Neu
Hello, I have many memory consuming apps on my tomcat server. I a lot pdf & excel generation. So every other week I get this error java.lang.OutOfMemoryError: PermGen space I know the root of this error is that the garbage collector does not clean up and memory allocated for java obj

Re: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Ingo Rockel
Hi, Your Permanent Generation is running out of memory, this is a special space in the vm memory, where the vm stores all of its internal data (classes, etc.). You should pass -XX:+PrintGCDetails to the VM to see how much perm-space is used. If you have a lot of third-party-libraries etc. you

Re: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread William Bonnet
Hi > I have many memory consuming apps on my tomcat server. I a lot pdf & excel > generation. So every other week I get this error > > > > java.lang.OutOfMemoryError: PermGen space Try to add more space for PermGen using -XX:MaxPermSize=256m I think default is 64 megs Kind regards, -- Willi

Re: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Christian Reichlin
hi, if you have a lot of different webapps with the same third party libs in the WEB-INF/lib folder it might help if you move them to the shared/lib folder. i recommend to put only the third party libs there, who are definitely the same for all webapps, for example jdbc-driver and similar thi

Re: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Antonio Petrelli
Peter Neu ha scritto: Hello, I have many memory consuming apps on my tomcat server. I a lot pdf & excel generation. So every other week I get this error java.lang.OutOfMemoryError: PermGen space http://wiki.apache.org/tomcat/OutOfMemory HTH Antonio --

Re: SSL Setup

2006-06-06 Thread Roch
How do I check to see if I have the strong encrytion algorithms in the JDK? -- View this message in context: http://www.nabble.com/SSL-Setup-t1710991.html#a4733795 Sent from the Tomcat - User forum at Nabble.com. - To start a n

Missing bin\*.bat files in 5.5.17 windoze installer

2006-06-06 Thread Tim Quinn
I have installed the Tomcat 5.5 windows installer and noticed that there are many files that are missing from the bin directory such as: catalina.bat, catalina.sh, setclasspath.bat, shutdown.bat, startup.bat. I checked the zip distribution and it has these files. Sorry if this is a dumb question

AW: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Peter Neu
Hello, thanks for the many replies. I do have many third party libaries (struts, fop etc.) so that could cause it. I also have a singleton pattern which is used many times because it hands out database connections. I will set the MaxPermSize variable in the CATALINA_OPTS variable and see what ha

Re: Missing bin\*.bat files in 5.5.17 windoze installer

2006-06-06 Thread David Kerber
I can't answer the "why", but it's been that way for a long time. I just d/l both installations, install the windows .exe version, and then unzip the .zip version on top of the windows installation. A bit more time consuming, but gets my windows services installed and still gives me the vario

Re: Urgent...

2006-06-06 Thread Christian Jean
JDK 1.5 (AMD 64-bit) had been installed for several months already with JAVA_HOME configured correctly. Jeach! On 6/6/06, Bob Hall <[EMAIL PROTECTED]> wrote: --- Christian Jean <[EMAIL PROTECTED]> wrote: > I've been successfully using various version of > Tomcat for serveral years > with the

Re: Missing bin\*.bat files in 5.5.17 windoze installer

2006-06-06 Thread Tim Quinn
Thanks, Have you seen anything in the docs explaining this. This is very confusing. This should be clearly explained somewere lest we will loose more potential Tomcat lovers to the evils of IIS. JsD On 6/6/06, David Kerber <[EMAIL PROTECTED]> wrote: I can't answer the "why", but it's been tha

Antwort: Re: Missing bin\*.bat files in 5.5.17 windoze installer

2006-06-06 Thread Ingo . Bischofs
Hi, another stupid question, which is maybe related to that issue: I am running into problems with tc 5.5.17 After having it installed succesfully with install.exe, i always run into trouble when restarting my web-app's deployed as a *.war file. Installing my war-app's works without any trouble

Re: Urgent...

2006-06-06 Thread Andrew Miehs
In both tomcat/conf directories do a grep 'port=' server.xml Regards Andrew On 06/06/2006, at 4:25 PM, Christian Jean wrote: JDK 1.5 (AMD 64-bit) had been installed for several months already with JAVA_HOME configured correctly. Jeach! On 6/6/06, Bob Hall <[EMAIL PROTECTED]> wrote:

Re: Urgent...

2006-06-06 Thread Christian Jean
Here is the result for 'jakarta-tomcat-5.0.28/conf/server.xml': wrote: In both tomcat/conf directories do a grep 'port=' server.xml Regards Andrew On 06/06/2006, at 4:25 PM, Christian Jean wrote: > JDK 1.5 (AMD 64-bit) had been installed for several months already > with > JAVA

Re: Urgent...

2006-06-06 Thread Grant Johnson
I am not an expert but Both tomcat's look like they are trying to "do stuff" on ports 8005, and connector ports 8080 and 8443. What if you stopped both tomcat's and started one. Does the running Tomcat work? Christian Jean wrote: Here is the result for 'jakarta-tomcat-5.0.28/conf

Random NullPointerException when trying to connect to Datasource

2006-06-06 Thread Brian Vuyk
Hello. I am currently developing a JSP webapp for my employer, andhave run into a couple of serious problems. Randomly, tomcat seems to be losing it's ability to connect to the mySQL server running on the same server as Tomcat. Scenario: This morning I was using the webapp no problem. I made

Re: Urgent...

2006-06-06 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bingo bongo - If you want them to run at the same time - both tomcats need to use different ports so in the 5.5.17 config change port 8005 to 18005 change port 8080 to 18080 change port 8443 to 18443 Regards Andrew On 06/06/2006, at 4:39 PM,

Re: Random NullPointerException when trying to connect to Datasource

2006-06-06 Thread Brian Vuyk
I feel compelled to also mention that I have rebooted the system, with still the same effect. On 6/6/06, Brian Vuyk <[EMAIL PROTECTED]> wrote: Hello. I am currently developing a JSP webapp for my employer, andhave run into a couple of serious problems. Randomly, tomcat seems to be losing it's

Re: Urgent...

2006-06-06 Thread Christian Jean
I had originally tried to run them in parallel with the ports changed (which I'm convinced is what caused all of this). But since that didn't work at all, I stopped everything and they currently are configured to use the same ports, but I'm not currently running them simultaneously. Thanks, Jea

Re: Urgent...

2006-06-06 Thread Christian Jean
I had originally tried to run them in parallel with the ports changed (which I'm convinced is what caused all of this). But since that didn't work at all, I stopped everything and they currently are configured to use the same ports, but I'm not currently running them simultaneously. Thanks, Jea

Re: AW: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Christian Reichlin
The problem whith PermGen space also occurs when I redeploy too often in a short amount of time. Does that point in any direction? it points to the "class loader not released-problem" or at least to a "class loader not released immediately-problem". some more infos: http://opensource.atlassi

Tests...

2006-06-06 Thread Christian Jean
In regards to my original problem sent a few hours ago, if someone could test the following, it would be greatly appreciated... 1. If you have a version of Tomcat 5.0.28 running on ports 8080 and 8443 using a valid (signed) certificate and NOT running as root. 2. Make sure that the above both res

RE: Tomcat /JSSE help needed

2006-06-06 Thread Rumpa Giri
I apologise for the confusion, but I was trying to figure out where the problem lies, so I was jotting down any differences I see between whats working and whats not.. I think I found out why it stops working when IIS is put back in the mixture, Its not IIS its the JAVA code itself. We have mult

Re: looking for TOMCAT monitor

2006-06-06 Thread segli
I'm also a newbie to Tomcat and just installed this Lambda-Probe. It won't show me anything on the Connector Stats though, although there are three connectors configured in the Catalina section and they're up and running. Anything obvious that I could have done wrong or does this require special

Tomcat creating two threads for one request

2006-06-06 Thread Sourabh Antani
Hi, I am facing this situation. I have a login screen, when the user clics the submit button, Tomcat sometimes creates two threads in parallel to process the request. This causes a problem with the database. This does not always happen. Most of the time it creates only one thread as expec

Re: Tomcat creating two threads for one request

2006-06-06 Thread Nikita Tovstoles
Sourab, I'm facing the exactly same problem and yet to find a solution. Is your Tomcat instance listening on 2 ports by chance? Also is the request.getParameterMap() of one of those parallel requests missing any query parameters? -nikita Sourabh Antani wrote: Hi, I am facing this sit

Re: Retrieve certain session data inside a servlet

2006-06-06 Thread Carlos Alonso Vega
Hi all, Thanks for all replies they help me a lot. Regards Carlos Martin Gainty escribió: Good Morning Eric and Carlos- Indeed there is a way to enable CrossContext communication via the CrossContext="true" directive inside the Context tag This capability is available from combined eng

RE: Image files and DeployTask...

2006-06-06 Thread Greg Allen
So has nobody else seen this? It should be simple to reproduce. I can reproduce it with the following steps: 1. Create my distribution in my build area. 2. Verify the image file is OK (opening it in IE is how I do it). 3. Deploy the application using the ant task. 4.

RE: Tomcat /JSSE help needed(Resolved)

2006-06-06 Thread Rumpa Giri
>>But I read that these lines of code is no longer needed as of JDK 1.4 right, >>if we >>place the public key in the %JAVA_HOME%/jre/lib/security/cacerts >>file. Is this >>true? We changed the implementation by removing those line of code and importing the public key into the cacerts, it

Debugging JSP's residing in Local VC folder

2006-06-06 Thread Tim Quinn
I am interested in Debugging JSPs that sitting in a version control folder in Perforce (or subversion) local repository. The current method requires manually moving the JSP's to the exploded webapp folder but this process of moving the files in and out of local repository is a pain in the butt. I

Problem setting up multiple instances of Tomcat5.0

2006-06-06 Thread Mark Liu
I searched the mail archive, and know that this has been asked many times. I am just need two instances of tomcat for a web application for my school work. So, let's forget about performance issues. I tried installing Tomcat 5.0 in two different locations on my WinXP box, and also changed ports

Re: Debugging JSP's residing in Local VC folder

2006-06-06 Thread Mark Thomas
Tim Quinn wrote: > I am interested in Debugging JSPs that sitting in a version control folder > in Perforce (or subversion) local repository. The current method requires > manually moving the JSP's to the exploded webapp folder but this process of > moving the files in and out of local repository i

Re: tomcat contexts for proxied content

2006-06-06 Thread Marc Bächinger
i'm everthing but an expert in this, but i got loadbalancing with ajp working with those versions you mention (2.2.2 and 5.5.17). Maybe my config below is helpful for you. The documentation on the net about configuration of the new built-in ajp support through the proxy module was rather thin.

Unable to access installed applications

2006-06-06 Thread Gautam Sreeja
Hi, I just started working on Tomcat5.0 on Red Hat Linux. I just copied the Hello World example to create an application under CATALINA_HOME/webapps directory under the name helloWorld. When I try accessing my application using http://localhost/helloWorld, I get a message saying the requested

Re: Unable to access installed applications

2006-06-06 Thread vineesh kumar
whether u r using the default port or port 80? If it's default port the url should be http://localhost:8080/helloWorld If u just create a directory only things will not work.U hav to edit the $TOMCAT_HOME/conf/server.xml and add the appropriate entry there.Also u hav to edit the web.xml in ur web

The end tag "

2006-06-06 Thread Colin Chiew
I'm getting The end tag "

Re: SSL Setup

2006-06-06 Thread Jack
You can download the strong encryption mechanisms here: http://java.sun.com/j2se/1.4.2/download.html (Right at the bottom of the page) Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 1.4.2 On 06/06/06, Roch <[EMAIL PROTECTED]> wrote: How do I check to see i

SV: The end tag "

2006-06-06 Thread Tommy Skarateppen
Hi, I had the same problem a while ago. I had commented out some code in my jsp with "". In those comments I had some struts html tags, which was unbalanced. When running on Tomcat 4.x, those comments where ignored and I got no errors, but on Tomcat 5.0.x, I got the the "unbalanced" error. -tommy