JSP buffer over flow
From:
Christopher Schultz
To:
Tomcat Users List
Date:
02/02/2011 04:33 AM
Subject:
Re: OutOfMemory issue
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Aparna,
On 2/1/2011 8:27 AM, Aparna1 V wrote:
> Yes, we were on jdk 1.4 and now we have moved to 1.6.
> After this,
Dear All,
We are facing connection pool busy problem in tomcat 6.0.29. Till we finalize
our investigation, we need connection pool to be refreshed before all
connections get busy. Say for example if we have connection pool size 60, then
it should get refresh when 15 connections get busy. We kno
Jan,
The limit of open files on linux/unix systems for normal users may be
quite low by default (for example 1024). From my experience, this may
lead to "Too many open files" errors during high load even if your
application is working fine. Try increasing this limit, also check
your application as
Hi,
if I understand your issue right, you want to put the URL into the mapping in
the URIworkermapping properties
instead of
/someApp1|/*=worker1
/someApp2|/*=worker2
you write
/app1.you.com|/*=worker1
/app2.you.com|/*=worker2
This way, you can address the tomcat workers with different doma
On Wed, Feb 2, 2011 at 6:26 AM, Caldarale, Charles R
wrote:
>> From: jan gestre [mailto:ipcopper...@gmail.com]
>> Subject: Re: Optimize CPU Hogging Tomcat 6
>
>> Here's a snippet of the thread dump using jstack:
>
> Nothing there of any interest; all the ones you showed weren't running and
> were
A simple answer to your question is to create additional entries
to your Tomcat server.xml file. While I know that there are some on this
list who disagree with this method, I personally find that configuring
hosts and contexts in the server.xml file very simple as it makes adding
new hosts to
On 01/02/2011 16:23, robert.jen...@surecomp.com wrote:
> url=" jdbc:sqlserver://allmatch-test:1433;databaseName=system;"
Try removing the space at the start of the connection url
Mark
-
To unsubscribe, e-mail: users-un
Hi,
We are trying to setup a webserver that will serve multiple aspx (..Net)
websites
and and jsp (Java) websites.
The webserver is a Windows 2008 R2 64 bit machine with IIS7.
I have also installed Tomcat 6.0.30 running as a service. The sample web
application works with no problem on http://lo
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Tuesday, February 01, 2011 3:08 PM
> To: Tomcat Users List
> Subject: RE: tomcat datasource definitions - shared vs individual
>
> > From: Jason Pringle [mailto:jason.prin...@amdocs.com]
> > Subje
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: help setting up connection pool with sql server
> Filip recently applied a patch that allows a username and
> password to be supplied. Here's the BZ entry:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49543
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
On 2/1/2011 11:32 AM, robert.jen...@surecomp.com wrote:
> Update: problem found and corrected.. now working... caused by a
> leading space in the url setting url="
> jdbc:sqlserver://allmatch-test:1433;databaseName=system;"
Oops.
> Update: I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
On 2/1/2011 8:40 AM, James Godrej wrote:
> On lan I am able to correctly see it but from internet things are not working.
Can you be more specific? What does "not working" mean?
> I tried understanding mod_jk page but I was unable to get to t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
On 2/1/2011 9:17 AM, robert.jen...@surecomp.com wrote:
> I have a war file that is produced by the Oracle version of Eclipse
> and the created war file works with Websphere and WebLogic.
>
> I have been attempting to deploy this war file in T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
On 2/1/2011 7:59 AM, Kupper ext-FA, Thomas wrote:
> And yes, we did upgrade from RHEL5.5 to RHEL5.6 and the tomcat
> packages were upgrade. But since compiling did'nt work before I'm not
> sure what the impact of this update is. Getting rid of
> From: Jason Pringle [mailto:jason.prin...@amdocs.com]
> Subject: tomcat datasource definitions - shared vs individual
> Is there any way to define a global database pool without
> touching server.xml?
Don't think so. Sounds like a reasonable enhancement request (which would have
more chance
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Aparna,
On 2/1/2011 8:27 AM, Aparna1 V wrote:
> Yes, we were on jdk 1.4 and now we have moved to 1.6.
> After this, we were facing the BufferOverFlow on this particular page so
> we increased the buffer size to 4 MB ( yes .. 4 MiB).
What buffer i
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html says "Any nested
elements, e.g. elements, that are defined in a default Context will
be created once for each Context to which the default applies. They will not be
shared between Context elements."
Default contexts:
$CATALINA_BASE/c
Philip Anil-QBW348 wrote:
I tried to uninstall IIS
(http://forums.aspfree.com/microsoft-iis-12/how-to-uninstall-iis-38783.h
tml), .Net 2 framework etc. but strangely enough, it remained.
So I did Start|Run|inetmgr and lo and behold, found "Default Web Page"
camped out on port 80. I deleted it, an
Hello,
We are running Tomcat 6.0.26 on Windows Server 2008 R2 Enterprise 64 Bit using
IIS and isapi redirector version 1.2.30 (just upgraded to 1.2.31). The 6
months or so we have been using Tomcat have been plagued with intermittent
periods crashes and instability. Specifically, tomcat requ
> From: jan gestre [mailto:ipcopper...@gmail.com]
> Subject: Re: Optimize CPU Hogging Tomcat 6
> Here's a snippet of the thread dump using jstack:
Nothing there of any interest; all the ones you showed weren't running and were
therefore not contributing to the CPU usage.
> Also, here's my cata
On Tue, Feb 1, 2011 at 10:33 PM, Caldarale, Charles R
wrote:
>> From: jan gestre [mailto:ipcopper...@gmail.com]
>> Subject: Optimize CPU Hogging Tomcat 6
>
>> We have an Apache Tomcat 6 server (HA cluster using DRBD) that is
>> hogging the CPU, this happens when there are simultaneous users
>> acc
Hi Konstantin,
I see... :-)
Thanks a lot,
János
On Feb 1, 2011, at 11:39 AM, Konstantin Kolinko wrote:
> 2011/2/1 János Löbb :
>> It is Tomcat 6.0.29 on OSX 10.6.5. If I ssh to the machine and shutdown
>> Tomcat and later boot it back again, all those components which are using
>> AWT are n
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan
> Rosenberg
> Subject: Re: Shared context.xml on WIndows XP
> I removed the from server.xml,
> created conf/Catalina/[host]/images.xml & put the Context
> element in there, without the path attribute.
> Seems to be wo
I tried to uninstall IIS
(http://forums.aspfree.com/microsoft-iis-12/how-to-uninstall-iis-38783.h
tml), .Net 2 framework etc. but strangely enough, it remained.
So I did Start|Run|inetmgr and lo and behold, found "Default Web Page"
camped out on port 80. I deleted it, and the Tomcat welcome page co
Makes sense, I think. For example, I removed the from server.xml, created
conf/Catalina/[host]/images.xml & put the Context element in there,
without the path attribute.
Seems to be working fine, so I think I did it right?
--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat
> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com]
> Subject: ssl application
> What I am trying to figure out is how to configure tomcat
> so that my application is only available via ssl.
As I think we've mentioned several times over the past week or two, you really,
rea
That message sounds like IIS's default site page.
Stop IIS if you don't need it for something else.
If you do, you've got some reading & thinking to do.
> -Original Message-
> From: Philip Anil-QBW348 [mailto:anil.phi...@motorolasolutions.com]
> Sent: Monday, January 31, 2011 5:53 PM
> To:
Tomcat and HTTPD are separate entities. You will need to download and install
both of them.
Please review the documentation on using httpd to proxy to Tomcat and decide on
which method you wish to use.
Or ask your vendor.
> -Original Message-
> From: Lava Saleem [mailto:lnsal...@ualr.ed
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan
> Rosenberg
> Subject: Re: Shared context.xml on WIndows XP
> Hmmm ... what about if I put them in
> conf/Catalina/[host]/context.xml
That will specify attributes for a webapp named "context". If you want those
attrib
Hmmm ... what about if I put them in
conf/Catalina/[host]/context.xml
Will that work?
--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org/
On Tue, Feb 1, 2011 at 12:57 PM, Caldarale, Charles R
wrote:
>> From: shmol...@gmail.co
Caldarale, Charles R wrote:
From: Brett Delle Grazie [mailto:brett.dellegra...@gmail.com]
Subject: Re: cannot access welcome page on Windows Server 2003 R2 SP2
On 1 February 2011 16:50, Philip Anil-QBW348
wrote:
I found, using netstat, that process with pid 4 opened port 80. I killed
the pro
On 2/1/2011 12:40 PM, Brett Delle Grazie wrote:
Hi,
On 1 February 2011 16:50, Philip Anil-QBW348
wrote:
I found, using netstat, that process with pid 4 opened port 80. I killed
the process tree from Task Manager and the system shut down saying it
was a system critical process (DCOM).
Might b
Thad,
Worked like a charm... thanks..
Sincerely,
Robert Jenkin
Surecomp Services, Inc.
2 Hudson Place, 4th Floor
Hoboken, NJ 07030
Skype: robert.jenkin
Office: 201 217 1437 | Direct: 201 716 1219 | Mobile: 908 251 0537
http://www.Surecomp.com
-Original Message-
From: Thad Humphries [mai
While doing some SSL research last week, I stumbled on this:
https://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration
If you wish to secure the entire tomcat installation (which can be done
regardless of how you provide SSL), add the follo
Hi Chuck,
yeah I have read what you quote before but my question is that
I need to set apache httpd as a proxy and I'm not sure if it buildin within
the apache tomcat and what about the mod_jk do I need to download it ?
On Tue, Feb 1, 2011 at 12:04 PM, Caldarale, Charles R <
chuck.caldar...@unisy
Hello all...
I have configured ssl on tomcat 7 and I am able to access my application via
ssl and non-ssl. What I am trying to figure out is how to configure tomcat so
that my application is only available via ssl. Is there a way to do this? I
have read the tomcat 7 document on ssl, but, did no
> From: Lava Saleem [mailto:lnsal...@ualr.edu]
> Subject: apache question
> I have a simple question regarding apache
Apache is a software organization. To quote from the home page: "The ASF is
made up of nearly 100 top level projects that cover a wide range of
technologies. Chances are if yo
> From: Brett Delle Grazie [mailto:brett.dellegra...@gmail.com]
> Subject: Re: cannot access welcome page on Windows Server 2003 R2 SP2
> On 1 February 2011 16:50, Philip Anil-QBW348
> wrote:
> > I found, using netstat, that process with pid 4 opened port 80. I killed
> > the process tree from T
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan
> Rosenberg
> Subject: Tomcat on Windows XP: WAR file not fully unpacked
> I'm on Windows XP, local Tomcat running. Most of the time when I
> upload (from the local machine) a .war file via the Manager HTML UI,
> I find
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan
> Rosenberg
> Subject: Re: Shared context.xml on WIndows XP
> I solved my problem by defining some Contexts in server.xml
Bad idea. elements should be in each webapp's META-INF/context.xml
file, or in conf/Catalina/[
2011/2/1 André Warnier :
> Konstantin Kolinko wrote:
>>
>> 2011/2/1 Tom Kielty :
>>>
>>> Konstantin,
>>>
>>> Thanks for the reply. I tried to look for a defect but must not have
>>> looked in the right place. It says this is a minor defect. Is there anyway
>>> to increase the priority as this is a
2011/2/1 Jonathan Rosenberg :
> I'm on Windows XP, local Tomcat running. Most of the time when I
> upload (from the local machine) a .war file via the Manager HTML UI,
> I find that it is only partially unpacked into the app dir.
>
> In particular, only the WEB-INF folder is there & it contains on
I'm on Windows XP, local Tomcat running. Most of the time when I
upload (from the local machine) a .war file via the Manager HTML UI,
I find that it is only partially unpacked into the app dir.
In particular, only the WEB-INF folder is there & it contains only 1
file. If I unpack the uploaded WA
Hi,
On 1 February 2011 16:50, Philip Anil-QBW348
wrote:
> I found, using netstat, that process with pid 4 opened port 80. I killed
> the process tree from Task Manager and the system shut down saying it
> was a system critical process (DCOM).
Might be malware...
--
Best Regards,
Brett Delle Gr
Thanks to all for their help. After some more investigation, I
realized I really didn't want Tomcatto follow the sym links. I solved
my problem by defining some Contexts in server.xml so that, for
eample, /images looked for a specific folder (not under Tomcat's
control)
--
Jonathan Rosenberg
Fou
On 1/28/11 7:39 AM, Brett Delle Grazie wrote:
On 27 January 2011 15:17, Roy McMorran wrote:
Can anyone point me to a document detailing how to replace Tomcat's internal
logging (via JULI) with logback? Not for access logs, or the logging output
of webapps, but the Tomcat internal logging that
Hi Jonathan,
checkout this thread for an answer:
http://old.nabble.com/Understanding-the-Persistent-Session-Manager-td30757126.html
Cheers,
Martin
On Tue, Feb 1, 2011 at 3:40 PM, Jonathan Leibiusky wrote:
> Hi, I'm trying to use PersistentManager so I can store my sessions in some
> kind of st
I found, using netstat, that process with pid 4 opened port 80. I killed
the process tree from Task Manager and the system shut down saying it
was a system critical process (DCOM).
Anil
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Monday, January
> From: Michael Heinen [mailto:mhn4...@googlemail.com]
> Subject: memory leak warning "ThreadLocal with key of type [null]" in 6.0.29
> Is this a false alarm or wrong usage?
Pretty much any usage of ThreadLocal in a thread-pooling environment is wrong
usage, unless you are very careful to clean
> From: Aparna1 V [mailto:aparna...@tcs.com]
> Subject: RE: OutOfMemory issue
> There is no heap dump.
You have to take one. Again, read the link:
http://wiki.apache.org/tomcat/OutOfMemory
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thu
2011/2/1 János Löbb :
> It is Tomcat 6.0.29 on OSX 10.6.5. If I ssh to the machine and shutdown
> Tomcat and later boot it back again, all those components which are using AWT
> are not usable. However if I Apple Remote Desktop to the machine, open up
> Terminal there, shut down Tomcat and sta
Hi,
I have a simple question regarding apache, I found out that I need to use
apache httpd with tomcat, I have already installed tomcat apache in my
server my question is does tomcat comes already with buildin apache
httpd ? and what about mod_jk do I need to download it ?
Thanks
LS
Update: problem found and corrected.. now working... caused by a leading space
in the url setting url="
jdbc:sqlserver://allmatch-test:1433;databaseName=system;"
Update: I have amended the code not to supply a username/password to
getConnection since it is not supported. I have gotten past that
Hi,
It is Tomcat 6.0.29 on OSX 10.6.5. If I ssh to the machine and shutdown Tomcat
and later boot it back again, all those components which are using AWT are not
usable. However if I Apple Remote Desktop to the machine, open up Terminal
there, shut down Tomcat and start it up, all AWT compone
Update: I have amended the code not to supply a username/password to
getConnection since it is not supported. I have gotten past that point. But
now it is reporting the following;
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of cla
ss 'com.microsoft.sqlserver.jdbc.S
Hi Charles,
Thanks for the suggestion.
There is no heap dump. I can see just the following in my stdout:
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at
java.
Konstantin Kolinko wrote:
2011/2/1 Tom Kielty :
Konstantin,
Thanks for the reply. I tried to look for a defect but must not have looked in
the right place. It says this is a minor defect. Is there anyway to increase
the priority as this is a problem when writing scripts to automatically resta
Hi,
I got following warning after stopping my context with Tomcat 6.0.29
01.02.2011 15:58:00 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/myapp] created a ThreadLocal with
key of type [null] (value [com.MyClass$1@7cef53]) and a value of
Hello all... hope all is well
I am trying to configure a connection pool with Tomcat 7 and Sql Server 2005
I am getting the following error message when Tomcat starts
Feb 1, 2011 10:38:16 AM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: null
F
> From: Michel Getraide [mailto:getra...@gmail.com]
> Subject: Re: reload a class file without restarting Tomcat
> But I cannot restart tomcat neither use the tomcat's
> manager since it is a shared host (godaddy)
If the hosting service does not provide you with a means of restarting your
weba
Thanks. But I cannot restart tomcat neither use the tomcat's manager since
it is a shared host (godaddy)
On Tue, Feb 1, 2011 at 4:01 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Michel Getraide [mailto:getra...@gmail.com]
> > Subject: reload a class file without restar
Hi, I'm trying to use PersistentManager so I can store my sessions in some
kind of storage and be able to use a load balancer.
But I see that it takes a few seconds for tomcat to save sessions in the
storage, even if I set maxIdleBackup parameter to 0, it will take around 2
or 3 seconds to store it
> From: jan gestre [mailto:ipcopper...@gmail.com]
> Subject: Optimize CPU Hogging Tomcat 6
> We have an Apache Tomcat 6 server (HA cluster using DRBD) that is
> hogging the CPU, this happens when there are simultaneous users
> accessing at the same time, which should be considered normal because
Hi Everyone,
We have an Apache Tomcat 6 server (HA cluster using DRBD) that is
hogging the CPU, this happens when there are simultaneous users
accessing at the same time, which should be considered normal because
they're only 30. How will I optimize Tomcat?
Here's my server.xml file:
[root@node1
2011/2/1 Tom Kielty :
> Konstantin,
>
> Thanks for the reply. I tried to look for a defect but must not have looked
> in the right place. It says this is a minor defect. Is there anyway to
> increase the priority as this is a problem when writing scripts to
> automatically restart Tomcat?
It is
I have a war file that is produced by the Oracle version of Eclipse and the
created war file works with Websphere and WebLogic.
I have been attempting to deploy this war file in Tomcat 7. After receiving
some helpful advice from this mail group I have been able to deploy the
application. Thanks
> From: Aparna1 V [mailto:aparna...@tcs.com]
> Subject: Re: OutOfMemory issue
> The heap space is set to 128 MB,
> and Max Perm is set to 64mb.
The longer you avoid looking inside the heap or collecting real data, the
longer it's going to be before you have an answer. To repeat yesterday's
> From: Michel Getraide [mailto:getra...@gmail.com]
> Subject: reload a class file without restarting Tomcat
> Tomcat version is 5.0.27.
Not supported - move up.
> Is there a way that the class be reloaded without restarting the server (the
> server restarts once a day only since it is a shared
Hi,
I am trying to use Apache as a front end to an application which runs on a
Tomcat server.
On lan I am able to correctly see it but from internet things are not working.
I tried understanding mod_jk page but I was unable to get to the correct
settings.
apache vhost can be read here
http://past
Hi Christopher,
Yes, we were on jdk 1.4 and now we have moved to 1.6.
After this, we were facing the BufferOverFlow on this particular page so
we increased the buffer size to 4 MB ( yes .. 4 MiB).
There is no increase in the number of users.
The heap space is set to 128 MB,
and Max Perm is
Hi Chris,
Thanks for your help, I had some days off - that's why my answer is a bit late.
> Did you upgrade recently? This is an internal API that is subject to
> change, and might have changed during an upgrade that left files in your
> "work" directory.
Compiling isn't working since the server
Konstantin,
Thanks for the reply. I tried to look for a defect but must not have looked in
the right place. It says this is a minor defect. Is there anyway to increase
the priority as this is a problem when writing scripts to automatically restart
Tomcat?
Thanks
Tom
-Original Message
2011/2/1 Tom Kielty :
> I have installed Tomcat 7.0.6 via the zip on one of my Windows 2003 R2
> machine and ran the service.bat file. The service installs and will start
> with no problems. However when I try to stop the service I have issues. If I
> try via the Service Control Manager, the sta
I have installed Tomcat 7.0.6 via the zip on one of my Windows 2003 R2 machine
and ran the service.bat file. The service installs and will start with no
problems. However when I try to stop the service I have issues. If I try via
the Service Control Manager, the status bar goes half way then sto
Hi,
I have a webapp (java, jsp, struts,mysql) on a shared host.
Tomcat version is 5.0.27.
I have my webapp locally. When i do a slight change in a java file, I would
like to be able to upload the updated recompiled class file in my webapp on
the shared host.
Is there a way that the class be reloade
75 matches
Mail list logo