Re: The requested resource (/manager/status) is not available

2011-07-03 Thread Thomas Freitag
old, lots of bugs and security vulnerabilities fixed since then), better install a current Tomcat downloaded from http://tomcat.apache.org. It has both contexts (/manager and /docs) deployed. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAA

Re: Null-pointer exception from response.encodeUrl under Windows Tomcat 7

2011-06-09 Thread Thomas Freitag
ould definitely /not/ work without a scheme. You're right. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk3wg+UACgkQGE5pHr3PKuXyDQCeO9d1x8ScRhVjpbWX+zJ7MVAh b2EAnjv1dRtrD2GCjaiWL6pXn4QB0PSb =K0

Re: Null-pointer exception from response.encodeUrl under Windows Tomcat 7

2011-06-08 Thread Thomas Freitag
ient can be logged with %{Location}o. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk3wZy8ACgkQGE5pHr3PKuVDfQCfVV8nB4w6hB0LTD+D7jh9I47B kzEAoIEe01ttRrFab0MEuE13U7nkBy9u =dz8u -END PG

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-05 Thread Thomas Freitag
hat large perm gen? You mean these params: "-XX:PermSize=768m -XX:MaxPermSize=1000m" ? Well, my app is under intensive development now and I need to reload context quite often. I know it's a big numbers, but without that after few reloads I'm getting a memory exception. Yes,

Re: HowTo place Manager-App

2011-05-05 Thread Thomas Freitag
file cannot be reloaded without restarting Tomcat." (see: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html) I'd suggests option 2, even if the quoted argument does not really hold in your case... Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE-

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-05 Thread Thomas Freitag
/lib/tomcat > -Djava.io.tmpdir=/usr/lib/tomcat/temp Looks okay for me, just curious: Do you really need that large perm gen? Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk3CoAsACgkQGE5pHr3

Re: Logrotate killing Tomcat

2011-04-29 Thread Thomas Freitag
orker.institucional-homologacao-west.cache_timeout=1800 At least recycle_timeout and cache_timeout deprecated since several years, see http://tomcat.apache.org/connectors-doc/reference/workers.html for description of connection_pool_timeout. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Ve

Re: Log rotate catalina.out

2011-04-28 Thread Thomas Freitag
e don't top post, it really confused me, when I was rereading this mail. HTH and regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk25vGcACgkQGE5pHr3PKuUCZACfSNhMJ3aKb1

Re: Fix the cookie path with mod_jk

2011-04-20 Thread Thomas Freitag
th, at least for the JSESSIONID cookie. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2vxDwACgkQGE5pHr3PKuWp4ACeKI1BxAC+OUj6Z/kAcLml5hnC vTUAn1CLYnXua/hmFwNSA/o/Hs601Sd7 =c1Yh -END PGP SIGNATURE-

Re: Fix the cookie path with mod_jk

2011-04-19 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, On 18.04.11 um 16:42, Christopher Schultz wrote: > Thomas, > > On 4/18/2011 3:34 AM, Thomas Freitag wrote: > > Hi Yu > > > > On 18.04.11 um 16:19, Yu Kikuchi wrote: > >> Hello All. > > &g

Re: Fix the cookie path with mod_jk

2011-04-18 Thread Thomas Freitag
7;t work with Apache httpd 2.2.3, because mod_headers supports the edit function only for Version 2.2.4 and newer. - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2r6aAACgkQGE5pHr3PKuU9vgCfcYAyi69G4wLiLU1

Re: Log rotate catalina.out

2011-04-17 Thread Thomas Freitag
r log4j debug messages (at least during Tomcat startup, some lines with prefix "LOG4J" should appear). > And this is what I have in the application context: > > > > Thanks, > Igorr, Regards, - -- Thomas Freitag -BEGIN PGP S

Re: Log rotate catalina.out

2011-04-17 Thread Thomas Freitag
der (and disable it). If no logging framework is used, "swallowOutput" in your context configuration (see http://tomcat.apache.org/tomcat-6.0-doc/config/context.html) might help to keep your catalina.out clean. Regards, - -- Thomas Freitag

Re: tomcat shows 404 error for existing pages

2011-04-11 Thread Thomas Freitag
directory > resp. That looks fine. Post your server.xml and check wether appBase is correctly set. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2jbBIACgkQGE5pHr3PKuVcnwCeIQAH1vu1sKvzS5cB

Re: Bug Help

2011-03-31 Thread Thomas Freitag
n mind that the mod_jk config is given in seconds and the Tomcat-Connector config is given in milliseconds! A connection timeout of several minutes is a good value to start with. If you have problems, please post relevant lines of your logs. Set the mod_jk log level to INFO. Regards, - -- Thomas Fre

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Thomas Freitag
on restart. That could be done with a combination of Apache httpd and mod_jk (my preffered way), mod_proxy_ajp or mod_proxy_http. For mod_jk there is a very good documented, almost ready to start configuration in the source download. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Ve

Re: Not able to get webapp context to work in Tomcat6

2011-03-15 Thread Thomas Freitag
h attribute, check the docBase attribute, and change your DB passwords. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1/g+kACgkQGE5pHr3PKuU+yQCgiTAtg/q7O6E/jEQLssIyOmuG PD8An2KNK49g78o9xqDeJJAEYQhzXkjL =Aipy -END PGP SIGNATURE- --

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Thomas Freitag
guration. You will have to make an educated guess (usually configure more ressources than necessary), monitor the resource usage, and adapt the configuration to your needs. [1] http://tomcat.apache.org/tomcat-7.0-doc/config/listeners.html Regards, - -- Thomas Freitag -BEGIN PGP SIGNATUR

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-14 Thread Thomas Freitag
ces. Test it in your system... Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1/CqkACgkQGE5pHr3PKuWldQCfag8Uy0K445QX6uMhyJLjRtzL Et8AnjSva8LzilB3gp7Zobc1TdRr0J/S =/Zul -END PGP SIGNATURE- -

Re: axis

2011-03-14 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Robert, On 03/14/2011 08:38 PM, robert.jen...@surecomp.com wrote: > Does tomcat include the apache axis or do I have to download and install > separately? Tomcat does not include axis. Regards, - -- Thomas Freitag -BEGIN PGP SIG

Re: On stopping tomcat getting error

2011-03-14 Thread Thomas Freitag
down handler to initiate a clean shutdown. This clean shutdown might need some time (up to some minutes) to complete, depending on your applications. You should check if initiating a shutdown during startup works in your environment. Otherwise waiting until the shutdownport (you could check this

Re: Sticky Session Problem Tomcat 6.0.29

2011-03-10 Thread Thomas Freitag
; and <http://httpd.apache.org/docs/current/mod/mod_log_config.html#formats> for access log configuration. Post relevant excerpts of your Tomcat (-block) and Apache httpd config (mod_proxy-block or mod_jk workers.properties). Regards, - -- Thomas Freitag -BEGIN

Re: Error in Tomcat when redeploying the Web application

2011-03-03 Thread Thomas Freitag
lopement purposes and is a bit simpler. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1v17sACgkQGE5pHr3PKuX+ZgCggEJ1JxCOOhbyptDc6Huvq1np HjUAn3ZzxNpH7ePd+S5w+dtuh1GDrkef =yvKD -END PGP SIGNATURE-

Re: Error in Tomcat when redeploying the Web application

2011-03-03 Thread Thomas Freitag
nt you just have to change the docBase attribute to point to the new war file. Another option is to copy the war file somewhere on the same filesystem your tomcat is installed and move it to your webapps/ directory. [1] http://tomcat.apache.org/tomcat-7.0-doc/config/context.html Regards, -