Re: Problems with a web application running a PHP script

2007-11-05 Thread Rocco Scappatura
> > --- > HARBOR: http://coolharbor.100free.com/index.htm > Now Tomcat is also a cool pojo application server > --- > - Original Message - > Fro

Re: Problems with a web application running a PHP script

2007-11-05 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- Another FootNote Just so you understand where

Re: Problems with a web application running a PHP script

2007-11-05 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- FootNote Having a separate TC, (not using the

Re: Problems with a web application running a PHP script

2007-11-05 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "Rocco Scap

Re: Tomcat 3.3.1a problem

2007-11-05 Thread Bill Barker
I don't recognize the problem, but AJP12 was deprecated even for 3.3.1a (which, for Pid's benifit, was a single security issue bugfix release from 3.3.1). In any case, it will be a bottleneck for any attempt to scale your application. You should try with the AJP13 connector, which works better

Re: Tomcat causing high CPU load

2007-11-05 Thread Peng Tuck Kwok
Is there a link for Moskito? On Nov 6, 2007 6:21 AM, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > Moskito can display monitoring traces instantly (path through > monitoring points) and measure time in each call and sub-calls, but it > requires some source code adoption. > > regards > Leon > > > On

Re: Problems with a web application running a PHP script

2007-11-05 Thread Rocco Scappatura
> As Chuck mentioned , this script class is in 1.6 so you need to either > change the environment variable or if from service set it to 1.6. > Then there is just one other thing, in NB right > click->properties->source... > Check the source level... > ie you can be running on 1.6 but still tell NB

Re: Tomcat 3.3.1a problem

2007-11-05 Thread Mark Thomas
Pid wrote: > Marko Krejic wrote: >> Hi, >> >> We are running Tomcat 3.3.1a on a Windows Server 2003. A apache server is >> also installed on the machine as a proxy and it is connected with the tomcat >> through AJP12. Tomcat is running on JDK1.4.2_13. > > The silence you experienced is people

RE: Heap out of memory error

2007-11-05 Thread Caldarale, Charles R
> From: Bob Riaz [mailto:[EMAIL PROTECTED] > Subject: Heap out of memory error > > From time to time I have come across this error in the Tomcat logs: > java.lang.OutOfMemoryError: Java heap space If you're running Tomcat as a Windows service, use the tomcat6w.exe program to set initial and maxi

Re: Tomcat causing high CPU load

2007-11-05 Thread Leon Rosenberg
Moskito can display monitoring traces instantly (path through monitoring points) and measure time in each call and sub-calls, but it requires some source code adoption. regards Leon On 11/5/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Caldarale, Charles R > > Subject: RE: Tomcat

RE: Tomcat causing high CPU load

2007-11-05 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Tomcat causing high CPU load > > There are also some 3rd-party tools to take thread dumps of > services (I think JProbe does, for example). Also, Lambda Probe (www.lambdaprobe.org) can display stack traces, but only one thread at a time. - Chuck T

Heap out of memory error

2007-11-05 Thread Bob Riaz
Hi all, I have web apps using the following: JDK 1.5 Tomcat 6 SQL Server 2000 Windows 2000 server >From time to time I have come across this error in the Tomcat logs: java.lang.OutOfMemoryError: Java heap space I understand the default heap size is 64M, and that it is possibe to configure Tomcat

RE: Tomcat causing high CPU load

2007-11-05 Thread Caldarale, Charles R
> From: Sai Bobba [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat causing high CPU load > > I've searched the web for taking thread dumps Try searching the Tomcat mailing list archives (http://marc.info/?l=tomcat-user) as well. For Windows, run the process from a command prompt, and enter a CTR

Re: Tomcat causing high CPU load

2007-11-05 Thread Sai Bobba
Many thanks. We've had several developers walk through the code to try to catch the possibity that the app may be sitting in a loop in some situations. The code seems ok, and, as I indicated, we've never been able to reproduce the situation. I've searched the web for taking thread dumps, as I don't

Re: ClientAbortException writing file to servlet's output stream over SSL in IE

2007-11-05 Thread Jake C
As far as I can tell, I don't have any such file catalina.policy. There isn't one in server/default/conf, nor in server/default/deploy/jbossweb-tomcat55.sar/conf. --Forwarded Message Attachment-- From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: ClientAbortException writing file

RE: Problems with a web application running a PHP script

2007-11-05 Thread Caldarale, Charles R
> From: Rocco Scappatura [mailto:[EMAIL PROTECTED] > Subject: Re: Problems with a web application running a PHP script > > Soory but I haven't understood what Chuck said in his first email. Just as a refresher, here's what I said: >> Possibly the correct JRE/JDK for Tomcat. The above class and

Re: Problems with a web application running a PHP script

2007-11-05 Thread Rocco Scappatura
>> I have installed: >> >> - jdk 1.5.0.13 >> - jre 1.5.0.13 --> jre 1.6.0.02 >> >> In NB, Java platform is set for both TC is 'JDK 1.5 (Default)' whose >> folder path is 'C:\Programmi\Java\jdk1.5.0_13' (i.e.: The installation >> path for the jdk 1.5.0.13 that I have installed.) > > As Chuck mentio

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
Shouldn't have a race condition on init. init should only be called one time before any client connection is allowed to be served for the servlet. Now, if a process is kicked off in another thread in init and proper locking isn't used and two things access resources or classes then a race condit

Re: running! a servlet at tomcat startup

2007-11-05 Thread Pid
Wade Chandler wrote: > Yes, and in the listener I would then utilize some kind of other web client > to actually perform a first request. You can use something like HttpClient or > one of the command line text browsers and Runtime.exec. It would probably be > easier than trying to simulate with

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
Yes, and in the listener I would then utilize some kind of other web client to actually perform a first request. You can use something like HttpClient or one of the command line text browsers and Runtime.exec. It would probably be easier than trying to simulate with some other means, but I may b

RE: running! a servlet at tomcat startup

2007-11-05 Thread Caldarale, Charles R
> From: loredana loredana [mailto:[EMAIL PROTECTED] > Subject: Re: running! a servlet at tomcat startup > > In case ur wondering why I used a servlet to fill > the cache is because I need some variables like > request.getContenxtPath, getRealPath() etc. Wouldn't a ServletContextListener be mo

Re: running! a servlet at tomcat startup

2007-11-05 Thread loredana loredana
ok. long story short: my web sites is formed of chunks of html-frames ...all these frames have content from a database. So to shorten page loading time, I used a cache system(Ehcache similar to OSCache for those who heard/used cache before). So I have a servlet that fills the cache, and the

Re: Can I install own JAR-Files of my application outside WEB-INF/lib with Tomcat 6?

2007-11-05 Thread Ingolf Knopf
> Haven't tried this myself, but as far as i understand it you can > re-activate the shared classloader by setting the "shared.loader" > property in conf/catalina.properties accordingly. It works, thank you for this idea. With kind regards, Ingolf. -

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
I can see why you might want to load on startup, but the ability to actually perform a get when there is not client makes no sense at all to me. What exactly are you planning to achieve by doing such a thing? Wade - Original Message From: loredana loredana <[EMAIL PROTECTED]> To: user

Re: Can I install own JAR-Files of my application outside WEB-INF/lib with Tomcat 6?

2007-11-05 Thread Markus Schönhaber
Ingolf Knopf wrote: > Problem: Up to 50% of my war file contains of constant libraries (JDBC, Axis > an so on), and theese libraries blow up my application more than 8 MByte. It > takes much time to send such applications to our customers - and time is > something that none of our customers hav

Re: running! a servlet at tomcat startup

2007-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Loredana, loredana loredana wrote: > This issue is a classic one already I think. Hardly anyone actually wants to do this. Why do /you/ want to do this? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with

Re: Can I install own JAR-Files of my application outside WEB-INF/lib with Tomcat 6?

2007-11-05 Thread Martin Gainty
Ingolf- If you desire to load your own XML Parser you can use the *endorsed* mechanism by starting TOMCAT specifying the new endorsed dir e.g -Djava.endorsed.dirs=$CATALINA_HOME/endorsed *Other list members will be able to provide more assistance* Martin- Original Message - From: "Ingo

[ANN] securityfilter development resuming

2007-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Sorry for the announcement about a different project, but there are a lot of interested parties, here, I'd imagine. securityfilter is resuming development! I am taking over the project from Max Cooper, who has maintained it quite well through t

Re: Tomcat 3.3.1a problem

2007-11-05 Thread Pid
Marko Krejic wrote: > Hi, > > We are running Tomcat 3.3.1a on a Windows Server 2003. A apache server is > also installed on the machine as a proxy and it is connected with the tomcat > through AJP12. Tomcat is running on JDK1.4.2_13. The silence you experienced is people being dumbfounded that

Re: running! a servlet at tomcat startup

2007-11-05 Thread Martin Gainty
No access to request??? Which AppServer are you running??? M-- - Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, November 05, 2007 6:16 AM Subject: Re: running! a servlet at tomcat startup > > ---

Can I install own JAR-Files of my application outside WEB-INF/lib with Tomcat 6?

2007-11-05 Thread Ingolf Knopf
Problem: Up to 50% of my war file contains of constant libraries (JDBC, Axis an so on), and theese libraries blow up my application more than 8 MByte. It takes much time to send such applications to our customers - and time is something that none of our customers have in a case of a fault. With

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
See Servlet.getServletConfig() and ServletConfig.getServletContext(). Wade - Original Message From: Johnny Kewl <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, November 5, 2007 6:16:17 AM Subject: Re: running! a servlet at tomcat startup OK, now I'm officially wondering... i

Re: running! a servlet at tomcat startup

2007-11-05 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "Grzegorz B

Re: running! a servlet at tomcat startup

2007-11-05 Thread Grzegorz Borkowski
Johnny Kewl wrote: --- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Mess

Re: running! a servlet at tomcat startup

2007-11-05 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "Johnny Kew

Re: running! a servlet at tomcat startup

2007-11-05 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "loredana l

Re: running! a servlet at tomcat startup

2007-11-05 Thread loredana loredana
thanks for the response johnny. That's probably the only way it can be done.. Unfortunatelly for me, I need variables like request.getContextPath() and from init() method i can't "retrieve" those values. 10x a lot anyway. - Original Message From: Johnny Kewl <[EMAIL PROTECTED]> To: Tomc

Re: running! a servlet at tomcat startup

2007-11-05 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "loredana l

Re: Problems with a web application running a PHP script

2007-11-05 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "Rocco Scap

running! a servlet at tomcat startup

2007-11-05 Thread loredana loredana
This issue is a classic one already I think. I've googled it and haven't found anything that could help solving this problem. I'm probably not the one to think about this but...if you would add the 1 to a servlet, and from the init() method you would somehow try to call the doGet() method, wou