tomcat5.5

Tomcat restart, no all apps start

Hello, I've an interesting problem about start/restart of tomcat 5.5 I've deployed n webapps on my tomcat. All webapps work correctly. Every time when I restart tomcat, never happen that all webapps starts. If I "click" manually over tomcat manager start link of that webapp no started, that webapp start. Can anyone suggest me any so...

Enabling strong ciphers in Tomcat 5.

Hello. I am attempting to refine the suite of ciphers that my webapp allows. In Tomcat's server.xml I have the following connector defined: <Connector port="443" maxHttpHeaderSize="8192" maxThreads="3000" minSpareThreads="250" maxSpareThreads="500" enableLookups="false" disableUploadTimeout="true" acce...

Tomcat not recognizing the DLL files

i've an application which am trying to deploy in Window's Tomcat 5.5 - as an Axis Webservice. The application uses few DLL files, which I've placed the in the dir - $TOMCAT_HOME\common\endorsed\ and specified the same in the java.library.path. But the DLL files are not recognized by the Tomcat. Following Exception is thrown: java.lang...

Reduce number of Tomcat's Daemon Threads

I'm using Tomcat 5.5 with Eclipse and at every startup the Tomcat spawns about 15 to 20 Daemon threads. It's usefull if you want to handle several requests "at once". This is superficial on my development server and wastes ressources. How can I reduce this number of Daemon threads? ...

error PermGen space when run service tomcat

Please help me, when i run my application using startup.bat, it is ok. But i make service tomcat and run with service, it throw error PermGen space (out of memory) . How to deal this error ? ...

Working log4j config ignored by Spring classes

Hi, I use log4j and he work just fine. A log4j.xml file is in my classpath, i use appender and category... again, it's work just fine for my code or code of other librairy. But the spring classes continue to flood stdout with message i want to log elsewhere. It's beggin to be anoying. Offending message : org.springframework.jms : som...

Find out the number of connections to tomcat server

I have a Java/JEE web application deployed on Tomcat Server 5.5.17. I want to know the number of clients which are connected to the server. How can we find it out? ...

tomcat 5.5 setting up context path with virtual hosts (non webapps directory)

Hi. I have been a web developer for a couple of years (some ASP, mostly PHP) and have recently taken on Java/JSP in the last two years. The one thing I have tried repeatedly but continue to fail to wrap my head around is the way to setup a working JSP application in another location that is NOT the webapps folder. Rocking my applicati...

tomcat 5.5 web.xml change WEB-INF/lib directory

I have a jruby rails app that has some jar dependencies in rails lib/java. I prefer this to just putting them straight in lib as it separates my java libs from ruby libs. Works locally using jruby. Problem is, on deploy, tomcat is looking for a bunch of these jars (such as jruby) in WEB-INF/lib, not WEB-INF/lib/java. I think i need t...

What's wrong with my log4j filter ? ( It make tomcat hang up ! )

Hi, We recently add a filter to our log4j configuration with a custom filter. The goal is to stop repeating the same log again and again, but replace it by : the log + "last line repeated x times" We have write the following filter, who works fine. But then, we have beggin to remark strange deadlock and hang up of tomcat5.5. When w...

Tomcat or JVM crash dump file?

Our Tomcat server terminated unexpectedly. (It runs as a windows service; the system event log shows an error: Event ID 7034). Where can I find a dump of a JVM crash, or some indication of why the Tomcat service actually stopped running? I see a number of exceptions in our application log (our web framework, Wicket is unable to seriali...

Python module for Tomcat 5.5 manager

Is there any python module for managing remotely running tomcat 5.5 server? Or, could you help me to write python script for deploying local .war file on remote tomcat server? ...

Jruby Rails app on Tomcat CPU Usage spikes

This might also belong on serverfault. It's kind of a combo between server config and code (I think) Here's my setup: Rails 2.3.5 app running on jruby 1.3.1 Service Oriented backend over JMS with activeMQ 5.3 and mule 2.2.1 Tomcat 5.5 with opts: "-Xmx1536m -Xms256m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled" Java jdk 1.5.0_19 ...

tomcat as windows service - increase max java heap memory

i have tomcat5.5 installed as a windows service, and I need to change the java memory pool. however, when i enter any amount more than 1348 mb, the service doesn't start. IS there any way to get around this? Would it help if I installed it the non-windows-service way? TIA ...

x-forward-for on tomcat 5.5.25

I am working on getting x-forward-for to work on tomcat 5.5.25, I know a patch has gone out for Tomcat 6.0.24, but we can't upgrade our tomcat version right now. So I did some digging into the Tomcat 6.0.24 and found the RemoteIPValve.class(the class that implements x-forward-for) is located in catalina.jar. My question is has anybody ...

jvm crash after system upgrade

We have a tomcat application that started crashing every 10-15 minutes after we upgraded the OS ("aptitude dist-upgrade" of the system, which is a 32-bit Debian Lenny). java didn't get upgraded. A Full thread dump is generated in catalina.out when jvm crashes. But there is no error/exception showing in any of the threads. Does anyone k...

Eclipse takes ages to display breakpoint when running tomcat

Hi, When tomcat hits a breakpoint in Eclipse, the execution thread stops, but the breakpoint takes absolutely ages to appear in Eclipse. The same is true if I try to inspect a variable; the first time takes about 2 minutes. After that, the debug session is fine. What with that and the CONSTANT need to keep re-publishing to tomcat every...

how to access tomcat user directories through php

I have to access/write directories through php that are created by tomcat by upload process. php apache:apache cant able to access tomcat:tomcat directories. Please tell me what i should change to work it out. ...

How to Redirect ot my asp.net intranet website from current JSP(java) Site

Hi, I wants to redirect to my asp.net intranet website from current JSP (java) site by putting a url in my current in java site hosted under tomcat Any suggestion really appreciated. ...

Invalid keystore format from tomcat

I'm using tomcat5.5.17 and java1.6. I tried to setup ssl. After generating the key/cert using keytool and modified server.xml. I got the following error when I restart tomcat. Apr 6, 2010 5:35:34 PM org.apache.coyote.http11.Http11BaseProtocol start SEVERE: Error starting endpoint java.io.IOException: Invalid keystore format at s...