Dear All,
I am getting a strange issue with an application deployed under tomcat
4(4.1.31) that when I am trying to upload a file through browser along with the
form data to the tomcat, file stream reader getting read timed out exception.
In fileupload application I am using following code snip
Godmar,
--- On Tue, 4/13/10 at 9:22 PM, Godmar Back wrote:
>
> What API function can be used to notify my application that
> it is about to
> be shut down, so that the thread in question can exit?
>
> First, is there a standard API that would work also in
> other J2EE containers
> besides Tomc
Hi,
I have a simple question I was unable to find an answer to even after 2
hours of reading documentation, APIs, and (partly) Tomcat source code.
In my web application, I'm using the 'reloadable='true'' attribute to
Context to reload the application automatically when a .class or jar files
chang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Russell,
On 4/13/2010 3:53 PM, Russell Uman wrote:
> tomcat server.xml:
> enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
> minSpareThreads="5" maxThreads="300"
> connectionTimeout="12" URIEncoding="UTF-8" />
On 13/04/2010 23:25, Russell Uman wrote:
we're trying to move from apache 2.0.52 with mod_jk 1.2.19 to apache
2.2.3 with mod_proxy_ajp in front of tomcat 5.5.28
mod_proxy_ajp was fairly new in 2.2.3, there are significant
improvements in it since then. Upgrading is essential if you want to
use
we're trying to move from apache 2.0.52 with mod_jk 1.2.19 to apache
2.2.3 with mod_proxy_ajp in front of tomcat 5.5.28
mod_proxy_ajp was fairly new in 2.2.3, there are significant
improvements in it since then. Upgrading is essential if you want to
use it in production.
Otherwise, go back
On 13/04/2010 20:53, Russell Uman wrote:
howdy!
we're trying to move from apache 2.0.52 with mod_jk 1.2.19 to apache
2.2.3 with mod_proxy_ajp in front of tomcat 5.5.28
mod_proxy_ajp was fairly new in 2.2.3, there are significant
improvements in it since then. Upgrading is essential if you w
On 13/04/2010 16:41, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 4/13/2010 10:45 AM, Pid wrote:
On 13/04/2010 14:36, Christopher Schultz wrote:
Karthik,
On 4/13/2010 5:32 AM, Karthik Nanjangude wrote:
Embed them in an iframe.
The design of this Web appl
On Tue, Apr 13, 2010 at 1:58 PM, laredotornado wrote:
> I've installed Tomcat 6.0.26 on my Mac 10.6.3 system. I'm trying to run it
> as a daemon on system startup and I was following the instructions here --
> http://www.malisphoto.com/tips/tomcatonosx.html#Anchor-JSVC. But the site
> says to u
Hi,
I've installed Tomcat 6.0.26 on my Mac 10.6.3 system. I'm trying to run it
as a daemon on system startup and I was following the instructions here --
http://www.malisphoto.com/tips/tomcatonosx.html#Anchor-JSVC. But the site
says to untar the "~/Downloads/tomcat-plist.tar.gz" file and I can'
comments below...
On Apr 13, 2010, at 3:40 PM, Bob Hall wrote:
> Gregor,
>
> --- On Tue, 4/13/10 at 1:19 PM, Gregor Schneider
> wrote:
>
>>>
>>> -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver
>>>
>> I'm not aware of that option within my standard sun jdk
>> 1.6.x - what
>> Java-version a
This looks to be a feature of Java HotSpot, and available since v1.4:
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
On Tue, Apr 13, 2010 at 4:19 PM, Gregor Schneider wrote:
> On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin
> wrote:
> > We use automatic restarts on OutOfMemory errors
Gregor,
--- On Tue, 4/13/10 at 1:19 PM, Gregor Schneider wrote:
> >
> > -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver
> >
> I'm not aware of that option within my standard sun jdk
> 1.6.x - what
> Java-version are you running offering this really useful
> feature?
>
I wasn't aware of it ei
On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin
wrote:
> We use automatic restarts on OutOfMemory errors and it works fantastically. I
> don't do it the way described here, though. I use the JVM's
> -XX:OnOutOfMemoryError option. I add the following to CATALINA_OPTS:
>
> -XX:OnOutOfMemoryError=/usr
howdy!
we're trying to move from apache 2.0.52 with mod_jk 1.2.19 to apache
2.2.3 with mod_proxy_ajp in front of tomcat 5.5.28
and we've run into a troubling bug/configuration/networking problem
with apache 2.0 and mod_proxy, things are very well behaved. apache has
a connection pool of tom
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff,
Okay, you're running into the limits of my knowledge of the APR
connector's internals.
On 4/13/2010 1:24 PM, Jeffrey Janner wrote:
> "http-172.16.27.1-443-Acceptor-0" daemon prio=6 tid=0x6425c400 nid=0xb6c4 in
> Object.wait() [0x65d7f000]
>
We use automatic restarts on OutOfMemory errors and it works fantastically. I
don't do it the way described here, though. I use the JVM's
-XX:OnOutOfMemoryError option. I add the following to CATALINA_OPTS:
-XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver
...which restarts tcServer whenever an
You're right, that was weird. Not sure what did that. It wasn't that way in
the original file. And it wasn't that way before I hit send. Here's the rest of
the dump, picking up from just before "encoding":
"RMI Scheduler(0)" daemon prio=6 tid=0x64885400 nid=0xaa8c waiting on condition
[0x6707
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeffrey,
On 4/13/2010 12:46 PM, Jeffrey Janner wrote:
> "http-172.16.27.1-443-Poller-7" daemon prio=6
> tid=0x649cnVVpEWVZadmQxSnJTbEpXDQpWVnBFV1ZaYWRtUXhTbkpUYkVwWERRcFdWbkJGVjFaYVlXUnRVWGhU
> YmtwVVlrVndXRVJSY0ZkV2JrSkdWakZhWVZsWFVuUlZXR2hVDQpZbXR3
On 4/13/2010 7:18 AM, Mirgorodskiy Eugene wrote:
Good afternoon.
I apologise if this theme described in documentation Tomcat, I badly understand
English language.
Whether you could not answer me is in tomcat 6.0.X
Service which automatically would start Tomcat, at end of its work as a result
of
I got no response. No error from Tomcat or the browser. In IE, the status bar
progress bar runs a bit, then goes to the end and disappears. The page doesn't
change.
I had to use jstack to get the dump. I just posted a sample of a few of the
connectors. I've included the entire dump file as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eugene,
On 4/13/2010 7:18 AM, Mirgorodskiy Eugene wrote:
> I apologise if this theme described in documentation Tomcat, I badly
> understand English language.
>
> Whether you could not answer me is in tomcat 6.0.X Service which
> automatically would s
Thanks, but is not available in 5.5 -- at least according to
the documentation.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]
Sent: Tuesday, April 13, 2010 11:03 AM
To: Tomcat Users List
Subject: Re: Hung threads
Looks like just idle threads, not really a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff,
On 4/13/2010 12:10 PM, Jeffrey Janner wrote:
> Sorry I was extremely clear. My config has each customer in a
> separate service structure, so each get his own set of connectors
> (IPs).
Gotcha.
> Yes, I am unable to get a response on this s
*** NOTICE *
This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is privileged,
confidential, and exempt from disclosure under applicable law. If the
reader of this
Looks like just idle threads, not really a problem
If you want the thread pool to shrink and stop idle threads, use an
element in server.xml
Filip
On 04/13/2010 08:50 AM, Jeffrey Janner wrote:
Before someone asks for it:
-Original Message-
From: Jeffrey Janner [mailto:jeffrey
Hi,
I have a problem with tomcat SSL session resuming using MSIE. In my webapp,
user authentication is done using the
"org.apache.catalina.authenticator.SingleSignOn" valve and a corresponding
realm (PKI authentication). Now accessing the webapp, which uses a frameset
that might be part of the pr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeffrey,
On 4/13/2010 10:44 AM, Jeffrey Janner wrote:
> I had a connector go from minimal connections (restart) to all threads
> hung overnight.
>
> The current thread dump shows the threads as follows:
>
> "http-172.16.27.1-443-150" daemon prio=6 t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 4/13/2010 10:45 AM, Pid wrote:
> On 13/04/2010 14:36, Christopher Schultz wrote:
> Karthik,
>
> On 4/13/2010 5:32 AM, Karthik Nanjangude wrote:
>> Embed them in an iframe.
The design of this Web application is in Tiles / Struts
On Tue, Apr 13, 2010 at 6:33 AM, Christopher Schultz
wrote:
>> Well, AFAIK it's either symlinks (which can be scripted in deployment
>> processes pretty easily) or put all that stuff in a separate context that
>> you never, ever, EVER undeploy :-)
Sheesh, yeah. Multitasking #FAIL. Garcon, more c
Before someone asks for it:
-Original Message-
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Sent: Tuesday, April 13, 2010 9:44 AM
To: Tomcat Users List
Subject: Hung threads
I had a connector go from minimal connections (restart) to all threads
hung overnight.
The curr
Don't know if you guys are aware of it, but the above mentioned system
have been compromised.
According to their blog
(https://blogs.apache.org/infra/entry/apache_org_04_09_2010), the ASF
infrastructure-team recommends to change your passwords for said
systems.
Rgds
Gregor
--
just because you'r
I had a connector go from minimal connections (restart) to all threads
hung overnight.
The current thread dump shows the threads as follows:
"http-172.16.27.1-443-150" daemon prio=6 tid=0x66793800 nid=0xe43c in
Object.wait() [0x7063f000]
java.lang.Thread.State: WAITING (on object monitor)
On 13/04/2010 14:36, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karthik,
On 4/13/2010 5:32 AM, Karthik Nanjangude wrote:
Embed them in an iframe.
The design of this Web application is in Tiles / Struts format.
When we did load testing ..we did not encounter any
(With apologies to Karthik, as I inadvertently sent this to him directly)
On 13/04/2010 10:32, Karthik Nanjangude wrote:
Hi
Embed them in an iframe.
The design of this Web application is in Tiles / Struts format.
When we did load testing ..we did not encounter any problems.
Perhaps your lo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
On 4/12/2010 4:55 PM, Michael Dockery wrote:
> because tomcat has the root for the client cert loaded into its truststore,
> and the matching client cert "subject" name (ie: user) loaded in its auth
> realm
> the client is therefo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karthik,
On 4/13/2010 5:32 AM, Karthik Nanjangude wrote:
>>> Embed them in an iframe.
>
> The design of this Web application is in Tiles / Struts format.
> When we did load testing ..we did not encounter any problems.
If your load testing did not de
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hassan,
On 4/12/2010 9:24 PM, Hassan Schroeder wrote:
> On Mon, Apr 12, 2010 at 6:08 PM, Sam Stephens wrote:
>
>> I have a forum application. When we update it we want to distribute a
>> new war file (previously we updated all files individually). I
Good afternoon.
I apologise if this theme described in documentation Tomcat, I badly understand
English language.
Whether you could not answer me is in tomcat 6.0.X
Service which automatically would start Tomcat, at end of its work as a result
of an error or failure
in software work.
If such ser
2010/4/13 Peter Kovgan :
> I have simple and standard MyFaces app. deployed, that worked successfully on
> 6.0.18 tomcat on the same OS(Ubuntu kernel 2.6.31-20-generic, i686).
>
> After deploy on 6.0.26 it stops to work correctly.
>
For the #{} expressions to be recognized in Tomcat 6, your web
ap
On 13/04/2010 04:38, red phoenix wrote:
I set following statement in conf/server.xml, it can run well before
tomcat6.0.20,when I modify class file,tomcat can reload automaticly.
But when I use tomcat 6.0.2,I find it can't reload automaticly,why? Where is
wrong? How to do it?
Really 6.0.2 ?
Hi
>> Embed them in an iframe.
The design of this Web application is in Tiles / Struts format.
When we did load testing ..we did not encounter any problems.
The Tags are in embedded in function adv1() format
And the script function is provided by the 3rd party sponsor.
Any ideas 's for thi
I have simple and standard MyFaces app. deployed, that worked successfully on
6.0.18 tomcat on the same OS(Ubuntu kernel 2.6.31-20-generic, i686).
After deploy on 6.0.26 it stops to work correctly.
1)
message bundles not recognized,
code like that not working:
it does not see the message, tr
On 13/04/2010 02:24, Hassan Schroeder wrote:
> On Mon, Apr 12, 2010 at 6:08 PM, Sam Stephens wrote:
>
>> I have a forum application. When we update it we want to distribute a
>> new war file (previously we updated all files individually). If we
>> give out a new war file to our customers the imag
On 13/04/2010 08:53, Karthik Nanjangude wrote:
Hi
SPEC
JDK 1.5
TOMCAT 5.x (JBOSS Embedded)
OS : LINUX
Problem
Our application caters to B2C process with embedded with 3rd party URL's for
Advertisement process in display
How ever some times this URL's are slow in response, hence our web p
Hi
SPEC
JDK 1.5
TOMCAT 5.x (JBOSS Embedded)
OS : LINUX
Problem
Our application caters to B2C process with embedded with 3rd party URL's for
Advertisement process in display
How ever some times this URL's are slow in response, hence our web page
rendering is slow
Is there any way to solve
46 matches
Mail list logo