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
load-on-startup1/load-on-startup to a servlet, and from the init() method
you would somehow try
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: Rocco
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: 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: Tomcat
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: loredana
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: Johnny
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: Grzegorz
See Servlet.getServletConfig() and ServletConfig.getServletContext().
Wade
- Original Message
From: Johnny Kewl [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, November 5, 2007 6:16:17 AM
Subject: Re: running! a servlet at tomcat startup
OK, now I'm
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.
No access to request???
Which AppServer are you running???
M--
- Original Message -
From: Johnny Kewl [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, November 05, 2007 6:16 AM
Subject: Re: running! a servlet at tomcat startup
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
-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
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:
-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
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 have
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.
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 more
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
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 mentioned , this script
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
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
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
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
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
THIS
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
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 maximum
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 being
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 to
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 11/5/07,
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
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: Rocco
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
FootNote
Having a separate TC, (not using
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From:
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
Another FootNote
Just so you understand where
34 matches
Mail list logo