Re: slow servlet filter for ByteArrayOutputStream response Wrapper

2010-05-31 Thread Konstantin Kolinko
2010/6/1 Manny Mondeo : > Hi , > I have written a filter that strips the response of some html tags. > The filter is working and executing around 30milliseconds. How do you measure the time? > The problem is that the request takes around 30 seconds to load this in a > browser. The filter gets ex

slow servlet filter for ByteArrayOutputStream response Wrapper

2010-05-31 Thread Manny Mondeo
Hi , I have written a filter that strips the response of some html tags. The filter is working and executing around 30milliseconds. The problem is that the request takes around 30 seconds to load this in a browser. The filter gets executed fast but the status bar in the browser does not complete

Re: EL 2.2 in Tomcat 7 RC1/RC2 does not fully support method invocation, such as "#{helloWorldController.doSomething(helloWorldModel)}"

2010-05-31 Thread Mark Thomas
On 26/05/2010 01:22, Mark Thomas wrote: > On 25/05/2010 20:35, John Wu wrote: >> Same failure observed on Tomcat 7 RC1 and RC2. > > I can now reproduce this. The fix is next on my todo list. > > Note I echo Konstantin's comments about trying to get EL 2.2 working in > Tomcat 6. If it works, great

Re: tomcat clustering

2010-05-31 Thread Mark Thomas
On 31/05/2010 06:37, John Smith wrote: > deployed my war file deployDir="/usr/local/tomcat/webapps" after restarting > the tomcat my war file is not exploded and in log i am getting > > SEVERE: FarmWarDeployer can only work as host cluster subelement! This means that your top-level el

Re: Tomcat 4.1.30 failed to startup with 4GB memory

2010-05-31 Thread Ronald Klop
Op maandag, 31 mei 2010 17:40 schreef John Mok :> Hi, I am running Tomcat 4.1.30 on Ubuntu Linux 8.04.4 LTS. After moving the application from a 32-bit machine to a 64-bit machine with 4GB memory, suddenly tomcat failed to startup with the following error :- >Stopping service Tomcat-Standa

Re: problems at thejarbar.org

2010-05-31 Thread Yucca Nel
Many thanks for hepful responses my delay I reply is due to internet in afica -- From: "Mark Eggers" Sent: Monday, May 31, 2010 11:57 AM To: "Tomcat Users List" Subject: Re: problems at thejarbar.org I think you are running into a MySQL

Tomcat 4.1.30 failed to startup with 4GB memory

2010-05-31 Thread John Mok
Hi, I am running Tomcat 4.1.30 on Ubuntu Linux 8.04.4 LTS. After moving the application from a 32-bit machine to a 64-bit machine with 4GB memory, suddenly tomcat failed to startup with the following error :- >Stopping service Tomcat-Standalone >May 29, 2010 4:27:36 PM org.apache.coyote.http1

Re: problems at thejarbar.org

2010-05-31 Thread David Smith
Don't use that ... it still throws an error, reconnecting only after the exception is thrown. If using the db pooling in tomcat, it's better to include a validationQuery attribute in the element in your app's context.xml file. If on the other hand you are directly connecting the database on your

Re: SQLNestedException: Cannot create PoolableConnectionFactory

2010-05-31 Thread Pid *
Is this the right forum for your question? It looks like the db isn't running or isn't accessible. If there's a Tomcat problem, please include exact OS, JVM and Tomcat version numbers. p On 31 May 2010, at 12:30, ennidhi wrote: > > I am getting this exception. Everything seems to be fine. >

Re: Logger / Context

2010-05-31 Thread Pid *
On 31 May 2010, at 12:29, Stefan Rainer wrote: > Hello, > > we've been using context + logger for redirecting "stdout-logs" > from different servlets to different folders in tomcat 5.0.*: > > swallowOutput="true"> > directory="logs/axis/" prefix="StdOut_axis_" suffix=".log" > timestamp="true"/>

SQLNestedException: Cannot create PoolableConnectionFactory

2010-05-31 Thread ennidhi
I am getting this exception. Everything seems to be fine. hibernate config xml: # # http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> # # # # java:/comp/env/jdbc/iclose-messenger-broker-ds # # # # # org.hibernate.dialect.S

Logger / Context

2010-05-31 Thread Stefan Rainer
Hello, we've been using context + logger for redirecting "stdout-logs" from different servlets to different folders in tomcat 5.0.*: After upgrading to tomcat 6.*, this log redirects does not work anymore. Has anyone a hint or a link to some information how this could be done in Tomcat 6? th

Re: "Gracefull" restart of tomcat

2010-05-31 Thread Pid
On 31/05/2010 11:40, Petr Hracek wrote: > Dear users, > > I would like to ask you on the some thing which regards to the application > deployment and > neccessary restart of tomcat5. Tomcat 5? That's pretty old, and not supported any more. > When I am some servlet which are run under tomcat and

Re: Logger / Context

2010-05-31 Thread Pid
On 31/05/2010 11:51, Stefan Rainer wrote: > Hello, > > we've been using context + logger for redirecting "stdout-logs" > from different servlets to different folders in tomcat 5.0.*: > > > directory="logs/axis/" prefix="StdOut_axis_" suffix=".log" > timestamp="true"/> > > > After upgrading to

Logger / Context

2010-05-31 Thread Stefan Rainer
Hello, we've been using context + logger for redirecting "stdout-logs" from different servlets to different folders in tomcat 5.0.*: After upgrading to tomcat 6.*, this log redirects does not work anymore. Has anyone a hint or a link to some information how this could be done in Tomcat 6? th

Re: "Gracefull" restart of tomcat

2010-05-31 Thread Pankaj Tiwari
I am not sure if you had looked into deploy redeploy feature of tomcat. Probably, that is what you are looking for Perry On Mon, May 31, 2010 at 4:10 PM, Petr Hracek wrote: > Dear users, > > I would like to ask you on the some thing which regards to the application > deployment and > neccessary

"Gracefull" restart of tomcat

2010-05-31 Thread Petr Hracek
Dear users, I would like to ask you on the some thing which regards to the application deployment and neccessary restart of tomcat5. When I am some servlet which are run under tomcat and I have build up the new jar files for my application is it enought to copy this file to my location without ne

Re: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-31 Thread Konstantin Kolinko
2010/5/31 Licht Jiang : > java.lang.NoClassDefFoundError: Could not initialize class > com.myservice.web.TestClass > "Could not initialize" = the class is found, but its initialization failed. There can be many reasons for that, e.g. 1) missing dependent classes, 2) exception is thrown when execut

Re: problems at thejarbar.org

2010-05-31 Thread Konstantin Kolinko
2010/5/31 Mark Eggers : > http://lists.mysql.com/java/6578 > http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html > > Based on those two references, you'll need to modify your Realm database URL: > > connectionURL="jdbc:mysql://localhost:3306/yucca123_thejarbar

Re: problems at thejarbar.org

2010-05-31 Thread Mark Eggers
I think you are running into a MySQL database connection timeout. You can use a MySQL admin interface (command line, PHPAdmin, MySQL Workbench, etc.) to verify the idle connection timeout limit. There have been comments on the web concerning this. One such discussion and a solution are here: h

Re: Heap size for two container sharing single JVM

2010-05-31 Thread Johan Martinez
Thanks Chuck. These two tomcat containers are running under two different user accounts. I was exploring few things and found jps and jinfo commands, which showed two different processes for each container. Now that output makes more sense to me. -- jM. On Mon, May 24, 2010 at 2:03 PM, Caldaral