ApacheCon EU 2009 registration is now open!
23-27 March -- Mövenpick Hotel, Amsterdam, Netherlands
http://www.eu.apachecon.com/
Registration for ApacheCon Europe 2009 is now open - act before early
bird prices expire 6 February. Remember to book a room at the Möve
Hi,
I am doing processing over data from xls file on perticular request. But
Tomcat gets automatically stopped in middle of execution. If anybody
know reply.
--
View this message in context:
http://www.nabble.com/Tomcat-getting-stopped-automatically-tp21721882p21721882.html
Sent from the To
Nevermind, I've resolved it.
thank you for replying.
On Wed, Jan 28, 2009 at 2:04 AM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Stephen Vaughan [mailto:stephenvaug...@gmail.com]
> > Subject: HTTP status 404 - Context config
> >
> > I'm having trouble setting up a contex
Thanks for the reply, Kirk. Calling touch probably would force Tomcat to
reload the jsp, but it's not a complete solution. In production
environments, Tomcat polls the filesystem for changes, so until the next
polling cycle hits, the app would still get a ClassCastException.
Additionally, there
>
>
>
> On Thu, Jan 29, 2009 at 11:40, Ani wrote:
>
>> Hello,
>> I have a web application in which I am facing one wiered pbm. I see tomcat
>> loading servlet twice , on which my application logic is failing and quits.
>> Getting below error in log file.
>> My findings : One thing I did was , insi
Kirk True wrote:
A developer gave me just a .war file to deploy on a tomcat.
I read [w|j]ar files are just zipped.
The .war contains some .jar...
I would like to "explode" all the .war (and the contained jars) and
have the full code source. I could do it manually.
Are you sure that the WAR and
Hi Eric,
If you call touch on the JSP does it update? This used to work on
versions of JRun back in the 90's.
Just a shot in the dark...
Kirk
Eric Grunzke wrote:
Hello,
I am developing an app framework that has a very costly startup cycle.
Consequently, I try to avoid restarting apps beca
Hi Mihamina,
Mihamina Rakotomandimby (R12y) wrote:
Hi,
A developer gave me just a .war file to deploy on a tomcat.
I read [w|j]ar files are just zipped.
The .war contains some .jar...
I would like to "explode" all the .war (and the contained jars) and
have the full code source. I could do it m
Hi,
A developer gave me just a .war file to deploy on a tomcat.
I read [w|j]ar files are just zipped.
The .war contains some .jar...
I would like to "explode" all the .war (and the contained jars) and have
the full code source. I could do it manually. But then there are two
questions:
- How t
Mihamina Rakotomandimby (R12y) wrote:
I have a test box on my LAN.
The internet connexion is shared by a router (linksys box)
Reading one of the last posts of this:
http://www.generation-nt.com/reponses/rmi-probleme-de-creation-d-un-serveur-sous-linux-ubuntu-entraide-59447.html?page=3#reponse
2009/1/28 otismo :
>
> I'm struggling to get enableLookups to work on a new Ubuntu 8.10 tomcat
> 6.0.18 install. Calls to httpServletRequest.getHostName() always return the
> IP, instead of the host name. I set the access log to resolve hosts and it
> also shows the ip.
>
> Tomcat 6.0.18 and the
Thanks for the response, but that doesn't appear to solve my problem. I'm
not really concerned with when jsps are compiled, or even when they are
loaded, but rather when they are reloaded. Allow me to provide a sample
jsp:
<%...@page import="load.test.Car"%>
<%
out.write(Car.get("Must
kareda schrieb am 27.01.2009 um 09:01:57 (-0800):
>
> I have tomcat 6.0.18 running as service on win2003 server.
> Now I also need to run php5, so I'm thinking of installing Apache HTTP
> Server 2.2.11 (should also run as service)
You might want to have a look at Caucho Quercus, a PHP 5 interpre
Hamacher, Eric schrieb am 28.01.2009 um 08:18:21 (-0600):
>
>type="javax.sql.DataSource"
> maxActive="30"
> maxIdle="2"
> maxWait="1000"
> username="username"
> password="password"
>
Toriacht schrieb am 28.01.2009 um 14:48:59 (-0800):
>
> Export>war exports a war file with the same name of my project. I can
> then browse from Tomcat, import and deploy this service. but if I
> click on teh service it get brought to an error page.
Then the error message might give a hint as to
Not sure if this helps you or not.
You could use the following.
www.yourdomain.com/jspfile.jsp?jsp_precompile=true
You may be able to use this to your advantage somehow.
Landon Fabbricino
IT Applications
Phone: 403.225.7515
Fax: 403.225.7604
lfabb...@agrium.com
>>>
From: Eric Grunzke
To:
Caldarale, Charles R schrieb am 22.01.2009 um 21:52:36 (-0600):
> > From: Michael Ludwig [mailto:mil...@gmx.de]
> > Subject: Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)
> If you don't mind running another experiment, please start Tomcat as a
> service once with and once without t
Hi Chuck
>> Could it be that Tomcat ran out of connectors (maxThreads
>> was hit) and after a while they get closed by the timeout?
>Depends on how your DB connector pool is configured.
I was actually referring to the limit of http connections, set by maxThreads.
>> This could be a plausible e
Thanks folks. Oddly enough I ran into this same issue with almost an
identical system at the same time as the original poster (odd in
itself), and this solution fixed me right up. I added the "JkMountCopy
all" line under the rest of my global jkmount lines and that fixed me
right up.
Thank yo
Konstantin Kolinko schrieb am 23.01.2009 um 04:57:31 (+0300):
>
> I think that the answer is (and your solution proves this) that the
> statement that service does not need environment variables is not 100%
> true.
>
> That is, if you compare *.bat/*.sh with how the service is started,
> you can
Hi,
I have developed my first web service. It works fine with Tomcat within my
Eclipse IDE and the web service client within Eclipse can connect fine and
so on.
The service is a particular class name specified by my 'service provider'.
The provider will send notifications to my webservice, it e
On 28.01.2009 22:58, André Warnier wrote:
Mike Eller wrote:
Ok,
workers.properties is as follows:
workers.tomcat_home=/usr/lib/apache-tomcat
comment out or delete, obsolete
workers.java_home=/usr/lib/jdk
comment out or delete, no longer needed
worker.list=worker1
good, and it matches my
Hi André,
On 28.01.2009 19:15, André Warnier wrote:
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: And how about this mod_jk.log ?
I see mod_jk messages as listed below (from mod_jk to client, and from
mod_jk to Tomcat).
Any chance of getting network traces
Mike Eller wrote:
Ok,
workers.properties is as follows:
workers.tomcat_home=/usr/lib/apache-tomcat
comment out or delete, obsolete
workers.java_home=/usr/lib/jdk
comment out or delete, no longer needed
worker.list=worker1
good, and it matches my earlier explanation
worker.worker1.port=
Mike Eller wrote:
Hi,
I am new to Tomcat and trying to get it up and running.
I have an Apache server (2.2.3) running on CentOS 5.2. I want to add
the capabilities that tomcat brings, mainly JSP for now.
I followed the connector tutorial/guide on the web site. I have tomcat
running and can ac
Hello,
I am developing an app framework that has a very costly startup cycle.
Consequently, I try to avoid restarting apps because it takes a long time
for the core to get spooled up. In this vein I have a custom classloader
that reloads the WEB-INF/classes directory without doing a full restar
Ok,
workers.properties is as follows:
workers.tomcat_home=/usr/lib/apache-tomcat
workers.java_home=/usr/lib/jdk
worker.list=worker1
worker.worker1.port=8009
worker.worker1.host=webber
worker.worker1.type=ajp13
This is a simple file from the tutorial.
The jkmount directives in httpd-conf...
If you want people to help you, it's a good idea to post
- workers.properties (should be in /etc/apache2)
- your jkmount-directives (should be in the httpd-conf-file of your domain)
Not knowing CentOS, therefore just a shot from the hip:
- do you have a directory /etc/apache2/mods-available?
I
F.ex. from my toy machine;
$ ps -fLp 7044
UIDPID PPID LWP C NLWP STIME TTY TIME CMD
tomcat7044 1 7044 0 40 2008 ?00:00:12 /usr/lib/jvm/java/bin
tomcat7044 1 7118 0 40 2008 ?00:02:58 /usr/lib/jvm/java/bin
tomcat7044 1 7119 0
Hi,
I am new to Tomcat and trying to get it up and running.
I have an Apache server (2.2.3) running on CentOS 5.2. I want to add
the capabilities that tomcat brings, mainly JSP for now.
I followed the connector tutorial/guide on the web site. I have tomcat
running and can access pages if I use
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Specific Tomcat version for Java6
>
> No. I believe all versions of Tomcat can be run on all
> versions of Java from 1.2 onward
Don't think so. Tomcat 6 requires Java 1.5 or newer (seems to work happily
even on the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gergely,
Gergely Paljak wrote:
> A want to realize a logging system for tomcat that is capable of:
> - logging the incoming request for Servlets (easy)
> - and logging the time when the Tomcat response is sent (easy as well)
As you say, these are rel
David Wall wrote:
> We are running Tomcat 5.5.27 on Linux 2.6.18-53.1.4.el5xen (Red Hat
> 4.1.2-14) with Java 1.6.0_05 (32 bit) in a Xen virtualization
> environment (not my server, so unsure what version that is). It has 3
> webapps running, two of ours and Tomcat's manager.
>
> Normally, when w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
stlecho wrote:
> Does there exist a Tomcat version that is specific for Java6 (i.e. a version
> that "exploits" features available in Java6) ?
No. I believe all versions of Tomcat can be run on all versions of Java
from 1.2 onward (where Java
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
rub...@lat-lon.de wrote:
> Hi list,
> is there an tomcat (5.5x) variable which gives back the context name such
> as webappRoot returns the path to the webapp!?
> I plan to use this to specify an logfile such as
> log4j.append
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: And how about this mod_jk.log ?
I see mod_jk messages as listed below (from mod_jk to client, and from
mod_jk to Tomcat).
Any chance of getting network traces for both the httpd-Tomcat and httpd-client
connectio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hubert,
Hubert de Heer wrote:
> If you really, really need the manager webapp, you can restrict access
> to that one not only by password but also by source-ip, e.g. access is
> only allowed from your office IP.
>
> In server.xml:
> docBase=
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: And how about this mod_jk.log ?
>
> I see mod_jk messages as listed below (from mod_jk to client, and from
> mod_jk to Tomcat).
Any chance of getting network traces for both the httpd-Tomcat and httpd-client
connections? Might shed some l
There is a graceful-stop option in apache2 which stops taking new
requests and gracefully waits untill existing requests have been
serviced
On Wed, Jan 28, 2009 at 7:59 AM, André Warnier wrote:
> Mohit Anchlia wrote:
>>
>> tomcat 6:
>>
>> Is there a way to gracefully stop tomcat similar to apache
Hi.
I impolitely invaded/hijacked another thread before, was (justifiably)
ignored as a result, and stand duly chastised.
I apologise and this is a new posting to the same effect.
I have a case very similar to one previously mentioned, at a customer,
running under RHEL 5, with Apache 2.0.x, m
> From: Pieter Temmerman [mailto:ptemmerman@sadiel.es]
> Subject: Re: Thread dump analysis
>
> Could it be that Tomcat ran out of connectors (maxThreads
> was hit) and after a while they get closed by the timeout?
Depends on how your DB connector pool is configured.
> This could be a plausibl
> Do I understand you correctly, that after you killed the first tomcat
> (in my understanding the one which fires soap requests, tomcat 5) than
> all the RUNNABLE threads in the second tomcat (the one that answers
> soap, tomcat 6 with xfire) went away and it (tomcat) was idle?
No, I did not res
Thanks Chris,
I just bumped into a very nice plugin for Jconsole called "TopThread".
It's a linux top alike and shows the CPU usage of all threads.
This only confirms what I figured out before, there are two threads
taking up all CPU. See below for their stack trace:
com.sun.org.apache.xerces.int
I omit the whole quoting to save traffic for clarity.
Do I understand you correctly, that after you killed the first tomcat
(in my understanding the one which fires soap requests, tomcat 5) than
all the RUNNABLE threads in the second tomcat (the one that answers
soap, tomcat 6 with xfire) went awa
> How best can I find the troubled thread on a running production system?
kill -QUIT
the thread dump will be printed into the catalina.out
Its best to restart the server after the thread dump, but since it's
handing anyway...
also include the heap info: jmap -heap
regards
Leon
-
We are running Tomcat 5.5.27 on Linux 2.6.18-53.1.4.el5xen (Red Hat
4.1.2-14) with Java 1.6.0_05 (32 bit) in a Xen virtualization
environment (not my server, so unsure what version that is). It has 3
webapps running, two of ours and Tomcat's manager.
Normally, when we run 'top', Java and it's
On 28.01.2009 12:00, Arne Riecken wrote:
Thanks for Your answer.
There are at least two (watchdog) ajp requests through the web server to the
workers every minute, and as i wrote, the ajp connection_pool_timeout ist
600, connectionTimeout in Tomcats server.xml is accordingly 60. So I
cannot
> is there an tomcat (5.5x) variable which gives back the context name such
> as webappRoot returns the path to the webapp!?
> I plan to use this to specify an logfile such as
> log4j.appender.logfile.File=${log.dir}/${contextnamevariable}_test.log
I'am using ServletContext.getContextPath() insid
Hi list,
is there an tomcat (5.5x) variable which gives back the context name such
as webappRoot returns the path to the webapp!?
I plan to use this to specify an logfile such as
log4j.appender.logfile.File=${log.dir}/${contextnamevariable}_test.log
Thanks
H
Mohit Anchlia wrote:
tomcat 6:
Is there a way to gracefully stop tomcat similar to apache?
There is a whole page here, if you understand it (I don't) :
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
Also, there is a special port defined in the server.xml/ tag,
which I believe works
Could you specify your understanding of a graceful *stop?
Within Apache HTTPD, I'm only aware of a graceful *restart*
But maybe I'm missing something...
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key availab
On linux we did /etc/init.d/tomcat stop but it doesn't look like it
gracefully stopped tomcat.
On Wed, Jan 28, 2009 at 7:54 AM, David kerber wrote:
> Mohit Anchlia wrote:
>>
>> tomcat 6:
>>
>> Is there a way to gracefully stop tomcat similar to apache?
>>
>> --
Mohit Anchlia wrote:
tomcat 6:
Is there a way to gracefully stop tomcat similar to apache?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
On win
tomcat 6:
Is there a way to gracefully stop tomcat similar to apache?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Josh Pollara wrote:
> I am making a transition from apache http -> tomcat. DNS is all configured
> correctly etc. example.com and *.example.com point to the same place.
>
> I'm quite certain that tomcat does not support wildcard virtual hosts, I just
> wanted to confirm with someone who was posi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pieter,
Pieter Temmerman wrote:
> Memory usage looks healthy, but CPU usage goes sky high (mainly caused
> by the Java Tomcat process).
That's interesting. Looking at your thread dump snippet, it looks like
your database connection pool is exhausted.
> From: Ken Johanson [mailto:tomcat-u...@kensystem.com]
> Subject: Servlet 2.5 and RequestDispatcher.include +
> Response.setHeader, invalid?
>
> It's my understanding that servlet 2.5 loosened the requirement that a
> included/callee Servlet (and JSP?) cannot set the resp headers/status,
> and sho
Hello:
This has been a truly frustrating problem. Here is what I did:
Tomcat 6.0.18
JDK 1.5 u 16
Eclipse w/ WTP 3.4.1
Ojdbc14dms.jar
Dms.jar
I placed my drivers in lib.
In web.xml, I put
jdbc/GFDataSource
javax.sql.DataSource
Container
I placed the following in th
Alternatively you may be able to create a wildcard CNAME in dns
Hope this helps.
Regards,
Serge Fonville
On Wed, Jan 28, 2009 at 2:25 PM, Serge Fonville wrote:
> On Wed, Jan 28, 2009 at 2:16 PM, Serge Fonville
> wrote:
>
>> I tried it at my dev machine and added an alias to the host section f
Mihamina Rakotomandimby (R12y) wrote:
Hi,
I have a test box on my LAN.
The internet connexion is shared by a router (linksys box)
Reading one of the last posts of this:
http://www.generation-nt.com/reponses/rmi-probleme-de-creation-d-un-serveur-sous-linux-ubuntu-entraide-59447.html?page=3#repon
According to the apache site the tomcat Cluster Deployer object does not work
in version 6. Is this accurate? If so has anyone heard of a fix for this in
the near future?
On Wed, Jan 28, 2009 at 2:16 PM, Serge Fonville
wrote:
> I tried it at my dev machine and added an alias to the host section for
> *.domain.tldevery attempt to access a tomcat host on a resolvable address
> works.
>
Sorry, my bad.
I had only configured a default host.
Probably then the only wa
Please paste your config because I just tried this and it does not work for me.
What tomcat version are you using?
-Original Message-
From: Serge Fonville [mailto:serge.fonvi...@gmail.com]
Sent: Wed 1/28/2009 5:16 AM
To: Tomcat Users List
Subject: Re: virtual hosts
I tried it at my dev
I tried it at my dev machine and added an alias to the host section for
*.domain.tldevery attempt to access a tomcat host on a resolvable address
works.
Hope this helps.
Regards,
Serge Fonville
On Wed, Jan 28, 2009 at 1:53 PM, Josh Pollara
wrote:
> I am making a transition from apache http ->
Hi,
If you really, really need the manager webapp, you can restrict access
to that one not only by password but also by source-ip, e.g. access is
only allowed from your office IP.
In server.xml:
Hubert
-Original Message-
From: Toby Kurien [mailto:tobyis7...@gm
I am making a transition from apache http -> tomcat. DNS is all configured
correctly etc. example.com and *.example.com point to the same place.
I'm quite certain that tomcat does not support wildcard virtual hosts, I just
wanted to confirm with someone who was positive.
-Original Message--
>If the threadMax would be too low in the connector, wouldn't the
> "freeze" be over once there are free connections? And also, how can a
> small threadMax make a thread hang? For example the one that is trying
> to read an XML file.
As a follow up on my own question. This is what the docs say:
A
Chris,
This is very helpful. It strongly suggests the issue is memory
management, not JFreeChart.
I'd put my money on bad hardware. Every single time I've seen a
release version of a JVM fail, it's because of bad memory, CPU,
motherboard, or the combination thereof.
I recommend trying
Hi,
Is your dns properly configured?
And what does your environment look like?
Regards,
Serge Fonville
On Wed, Jan 28, 2009 at 1:28 PM, Josh Pollara
wrote:
> Does Tomcat support wildcard virtual hosts?
>
> I'm looking to do something like this:
>
> *.example.com
>
>
> This d
I really appreciate your input Leon.
On Wed, 2009-01-28 at 11:07 +0100, Leon Rosenberg wrote:
> > "RMI TCP Connection(42)-173.x.x.x" - Thread t...@112
> > java.lang.Thread.State: RUNNABLE
>
> reading from socket, usually not a problem.
>
I thought so. Thanks.
> > "http-8081-35" - Thread t...
Does Tomcat support wildcard virtual hosts?
I'm looking to do something like this:
*.example.com
This does not work though. Any suggestions?
-josh
franziska.oliv...@postfinance.ch:
> I need a Tomcat version with Open SSL 9.8.0j (came out beginning of
> January 2009). Does anyone know when this version of OpenSSL will be
> integrated in a Tomcat distribution?
Probably never. At least, I don't know of an official Tomcat
distribution that is b
AFAIK Tomcat does not include OpenSSL.
If you want to use OpenSSL within Tomcat, you'll need to use the APR
(Apache Portable Runtime) which is using OpenSSL for all SSL-related
requests.
However, you'll need to download the OpenSSL/APR--dev-packages /
sources and compile them.
However, I have no
Thanks for Your answer.
There are at least two (watchdog) ajp requests through the web server to the
workers every minute, and as i wrote, the ajp connection_pool_timeout ist
600, connectionTimeout in Tomcats server.xml is accordingly 60. So I
cannot image how the web server can be more idle t
Hi all,
I need a Tomcat version with Open SSL 9.8.0j (came out beginning of January
2009). Does anyone know when this version of OpenSSL will be integrated in a
Tomcat distribution? I haven't found any information on this issue on the
Tomcat-Site.
Thanks in advance for your help!
Franziska
S
Hi,
I have encountered the following challenge regarding which I would like to
ask you!
A want to realize a logging system for tomcat that is capable of:
- logging the incoming request for Servlets (easy)
- logging the outgoing SQL queries inside Tomcat while maintaining a mapping
between the req
Hi,
I have a test box on my LAN.
The internet connexion is shared by a router (linksys box)
I test my application locally thourgh "http://localhost";.
But when testing, my application displays:
RemoteException occurred in server thread; nested exception is:
java.rmi.AccessException: Registry.
On Wed, Jan 28, 2009 at 10:42 AM, Pieter Temmerman
wrote:
>
>
>>Have you found any java.lang.Thread.State: RUNNABLE threads? They are
>>usually more interesting if it comes to a high cpu :-)
>
> These are the RUNNABLE threads on Tomcat 6:
>
> "RMI TCP Connection(42)-173.x.x.x" - Thread t...@112
>
Thanks to all for your helpful input.
As a result of trying to reproduce the problem on pre-production
servers, I used JMeter to generate some load.
Let me give some more specific information about the setup.
I have two Tomcat servers:
- Tomcat 5.5.7 (jdk 1.5.0_09) (I know, it's old. But this i
offbyone wrote:
I installed tomcat 6.0.18 using the windows installer. There is no
catalina.sh or catalina.bat to set this variable in. So what is the best
way to set it?
tomcat6w.exe ?
(This is just off the top of my head. tomcat6w is the GUI program that
allows to set a number of run-time p
Filip,
Thanks. If you could elaborate some more, then maybe I can go ahead and
implement this, and I'd be happy to send you the result, so you can use it
and save yourself some of the work.
Naaman
Filip Hanik - Dev Lists wrote:
>
> nlif wrote:
>> Hi all,
>>
>> We intend to run in a cluster,
Thanks, Chris,
Yes, this is an option, but we prefer being able to offload session at will.
However, if that proves to be too difficult to do, we may settle for the
behavior you describe.
Naaman
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Nilf,
>
>
82 matches
Mail list logo