A good HOWTO about Certificate Management and creating your own CA
is on http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/c118.html
Another one is here: http://www.corserv.com/freebsd/apache-ssl-howto.html
(not so detailed, but not that good either)
At 15:28 25.07.2003 +1000, you wrote:
Hi!
I am
so
confused, I need a beer.
S, I won't be finishing the task this week.
Simon Pabst wrote:
A good HOWTO about Certificate Management and creating your own CA
is on http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/c118.html
Another one is here: http://www.corserv.com/freebsd/apache-ssl
this weekend and ditch RH's
distro copy.
find /usr openssl.conf -type f
find /usr -name openssl.conf
etc...
Nope.
I mean, when you configure these things, the sey parametric values have
to go somewhere, right ?
That does it, download, compile, install OpenSSL this weekend. Ouch!
Simon Pabst wrote:
I
1. Generate a private key:
openssl genrsa -des3 -out privkey.pem 2048
(this should prompt you for a
passphrase)http://www.openssl.org/docs/HOWTO/keys.txt
2. a) Generate a self-signed test certificate:
openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095
2. b) If you want to use a
Latest (source) releases with mod_jk2 (from oldest to newest) :
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.24/src/jakarta-tomcat-connectors-4.1.24-src.tar.gz
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/release/v1.1M1/
At 10:42 24.07.2003 +0200, you wrote:
Question :
I've made a servlet and I can run it when I type the url :
http://server.mynetwork.be:8080 http://server.mynetwork.be:8080
The URL will automatically switch to
https://server.mynetwork.be:8443/index.html
https://server.mynetwork.be:8443/index.html
openssl-0.9.7 alongside 0.9.6-3 because
redHat7.1 has dependency problems otherside.
This is very irritating !
TIA (DIV=danke im voraus?)
:(
Simon Pabst wrote:
That configure of yours is not quite right:
the following is required for Apache with SSL/HTTPS Support (still called
mod_ssl
application with Apache 2.0 acting as frontend.
With the help of apachewiki and Simon Pabst I've
succesfuly setup Tomcat 4.1.24 with Apache 2.0.47,
running Sun JDK 1.4.1 with mod_jk2 2.0.2 (jni and pcre
enabled), using Unix sockets (not TCP). Obviously
Tomcat is running on the same machine as Apache...
My
+1000, you wrote:
In RH7.1 under /etc/ssh there are several ssh_host_* keys and config
files.
They seem to be for remote client logins.
Would my newly generated OpenSSL keys and certificate conflict with them
???
What's the difference between the two ???
Sorry for the newbie questions...
Simon Pabst
href=/main.css looks like wrong syntax,
either use:
href=main.css
(if your html files linking to that css file are in the same directory)
or:
href=/html/main.css
(if your html files are somewhere else, you need to specify the URI to the
CSS file, i.e. the local part of the URL without the Host-
Download http://www.modssl.org/source/mod_ssl-2.8.14-1.3.27.tar.gz and
follow the included INSTALL instructions.
At 16:35 24.07.2003 +0530, you wrote:
Hi,
I installed apache_1.3.27.tgz .
I want to make ssl run from browser. Which additional package do i need to
install? OR some changes in
debug=0/
/Host
/Engine
/Service
/Server
Cheers,
Vijay.
Simon Pabst wrote:
forgot, you need to put that -f configfile stuff into two different
shutdown.sh's too
(i personally don't use the shutdown mechanism for stopping Tomcats, a
kill -9 works better ;-)
At 01:08 24.07.2003 +0200, you
Where did you set export serverRoot=/opt/apache2 ? (without trailing
slash, though that shouldn't matter since most unixes tolerate double
slashes in a path)
It needs to be set in tomcat/bin/catalina.sh.
Besides now you say your config.file is /opt/httpd/conf/workers2.properties ?
Then
hmm weird, mod_jk2.so should be there after a successful make with no errors,
what connector source release did you download?
What was your jk2 configure?
If you used --with-apache2 instead of --with-apxs2 then mod_jk2 won't be
built as .so but instead as static module into httpd core.
Maybe its
try the dos start command:
start tomcat\bin\startup.bat
(start /? for help)
At 19:17 24.07.2003 +, you wrote:
i have an question about how to start the tomcat servlet container as
an windows-process from the ms-dos command prompt without getting a new
cmd-window.
Its that when i start my java
The 128m won't get used/allocated on Tomcat/Java start already (AFAIK),
only when you do a lot of memory intensive things (you could use a
webserver stress tool to increase the load on the server so memory grows)
At 13:52 24.07.2003 -0400, you wrote:
after assigning the following environment
Set the JAVA_HOME in tomcat/bin/catalina.sh, not in your shell.
Since catalina.sh runs from sh and not tcsh, you need to use sh variable
syntax:
either:
JAVA_HOME=usr/java2
export JAVA_HOME
or:
export JAVA_HOME=usr/java2
At 13:39 24.07.2003 -0400, you wrote:
Hello everyone, hopefully someone
should do it like this :
./configure
--enable-ssl
--with-ssl=/usr/bin
--prefix=/usr/local/apache
TIA :(
Simon Pabst wrote:
Hmm i guess $APACHE_HOME points to Redhats Apache Home or where?
The make should be done in the source directory, not in the Apache
installation home.
Just forget
np, four eyes see more than two ;-)
At 09:31 23.07.2003 +0200, you wrote:
Simon, thanks, it did help. Looks like I missed it for some reason.
Ori.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 6:34 PM
To: Tomcat Users List
Subject: RE:
wrote:
Hiya, thanks for the tip.
When I ran ./configure --help, the option --enable-ssl is missing.
So I tried this :
./configure
--with-apache=
--with-ssl=
--prefix=
So komme ich auch nicht weiter !
Those options are not available in configure !?!
TIA :(
Simon Pabst wrote:
This should go
Propably you have a memory leak or a too small Java Heap (Sun's default is
128m i think),
so the old generation in your Java Heap hasn't any free memory anymore
under load
and does a lot of Full Garbage Collections which lead to Stop-the-world
behaviour.
Use the following Java Options to
One tomcat with HTTP and HTTPS connector would be the simplest solution,
just it won't work with the same context having two different directories
(AFAIK).
So either you use one tomcat and server.xml with two different Contexts, or
you have use one tomcat installation, 2 different server.xml's,
forgot, you need to put that -f configfile stuff into two different
shutdown.sh's too
(i personally don't use the shutdown mechanism for stopping Tomcats, a kill
-9 works better ;-)
At 01:08 24.07.2003 +0200, you wrote:
One tomcat with HTTP and HTTPS connector would be the simplest solution,
Did you try this?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg97652.html
At 09:31 22.07.2003 +0200, you wrote:
I've seen many posts on the subject, yet none helped me.
I've got a tomcat 4.1.24 webapp, connected via mod_jk to apache 2.0.46.
for some reason, mod_jk takes precedence over
Tomcat Contexts are configured in server.xml
If docBase is a relative path it points to a sub-directory of tomcat/webapps
If you want to have your application directory somewhere else you need to
use an absolute pathname for docBase.
The docBase directory should contain the following
design
experts with an ethical outlook
http://www.wangjammers.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Simon Pabst
E-Mail
hmm no, if you have just one Tomcat, it shouldn't be necessary.
At 15:58 21.07.2003 +0100, you wrote:
On Mon, 21 Jul 2003 16:43:05 +0200, Simon Pabst [EMAIL PROTECTED] wrote:
You need to use tomcatId jvmRoute for stickySession to work (don't know
if it works with default settings), for example
Jul 2003 17:41:13 +0200, Simon Pabst [EMAIL PROTECTED] wrote:
hmm no, if you have just one Tomcat, it shouldn't be necessary.
I guessed as much. The thing is, I can see that the browser is just never
getting the JSESSIONID cookies when accessing via Apache.
If you access directly to Tomcat
Coyote is not synonym for jk2, its just the new Tomcat Connector name,
which you can use for HTTP (as in your case on port 8180),
and AJP13 connections for both mod_jk 1 and 2 (on 8009 with
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler).
See
Seems like your JkMount isn't working, since the error comes from Apache,
what does the auto generated mod_jk.conf look like?
At 17:15 20.07.2003 +0200, you wrote:
Simon Pabst schrieb:
Coyote is not synonym for jk2, its just the new Tomcat Connector name,
which you can use for HTTP (as in your
Sure thing, just use two different directories for the test and production
webapp
and put the jar files in
/path/to/webapp-test/WEB-INF/lib
and
/path/to/webapp-prod/WEB-INF/lib
and use two different Contexts:
Context path=/test docBase=/path/to/webapp-test ...
Context path=/prod
-generated mod_jk.conf is only good for learning the proper
setup anyway ;-)
At 22:45 20.07.2003 +0200, you wrote:
Volker schrieb:
Simon Pabst schrieb:
Seems like your JkMount isn't working, since the error comes from Apache,
what does the auto generated mod_jk.conf look like?
Hi,
Ir e m o v
Just put touch and chown shm.file in Apache control script (either
apachectl or /etc/init.d/apache), and if you want in catalina.sh too
At 16:11 18.07.2003 -0700, you wrote:
My Apache HTTPD and Tomcat installation cosists for following version:
1. RedHat 8.0
2. Apache HTTPD 2.0.47 (from source)
Look at the docs:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
and the archive:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg98062.html
At 11:10 19.07.2003 -0300, you wrote:
Sorry,
but i guess i am a little bit confused. First, which file(s) should i
download ? Second,
yes its milliseconds, my fault sorry
At 00:08 18.07.2003 -0700, you wrote:
Simon Pabst wrote:
try reasonable values like 10 mins (600)
Are you sure that is seconds...I think it's milliseconds.
- Original Message -
From: joseph lam [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
connections will Apache make? Auto grow?
Joseph Lam
Simon Pabst wrote:
You can tune CoyoteConnector acceptCount and timeout values.
acceptCount=10 should be fine, though you never know (test test test :-)
timeout value (in seconds) shouldn't be set to 0 (infinite) or too high,
else your socket
If the 404 error comes from Apache your JkMount doesn't work properly (for
10.0.0.1)
Look for errors in mod_jk.log or error_log.
Also try putting a proper ServerName in httpd.conf
(http://httpd.apache.org/docs/mod/core.html#servername)
and set UseCanonicalName off
PROTECTED]
--
Simon Pabst
E-Mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Jk2Connector
Joe Krause
--
Simon Pabst
E-Mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I tried jikes, it failed the testing though, as it produced compile errors
for our app where javac did not.
At 11:25 17.07.2003 -0300, you wrote:
Hi people,
I´m configuring Tomcat on Solaris as a production system to serve one app
on our intranet. It really doesn´t have any static page, so
You can tune CoyoteConnector acceptCount and timeout values.
acceptCount=10 should be fine, though you never know (test test test :-)
timeout value (in seconds) shouldn't be set to 0 (infinite) or too high,
else your socket count will go up much as time goes by (which not only
consumes file
For Apache 1.3 you're better off with mod_jk1 since mod_jk2 requires APR
libraries which aren't included with Apache 1.x.
Building those on Solaris is propably compiler hell ;-).
Download mod_jk 1 source here:
Use Apache 2 with worker mpm if you want round robin to work with mod_jk1/2
sticky session.
Use mod_jk 1 or 2 as connector.
See
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
[INFO] ChannelSocket - -server has been restarted or reset this connection
[INFO] ChannelSocket - -server has been restarted or reset this connection
and on and on..
- Original Message -
From: Simon Pabst [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, July 16
or reset this connection
[INFO] ChannelSocket - -server has been restarted or reset this connection
and on and on..
- Original Message -
From: Simon Pabst [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 3:25 PM
Subject: Re: Tomcat-ModJK2 -- [error
that error_log message typically comes up if workers2.properties is not
found or loaded
put the following in global httpd.conf (not into a (SSL) VirtualHost):
JkSet config.file /path/to/workers2.properties
Also check that Apache hast permissions to read it,
and that you don't have and IfModule
seconds as far as i know,
not entirely sure though,
anyone else knows?
At 13:27 17.07.2003 -0400, you wrote:
Sorry, but
¿timeout is in seconds or in milliseconds ?
Thanks
Mauricio Nuñez
El Jue 17 Jul 2003 12:22, Simon Pabst escribió:
You can tune CoyoteConnector acceptCount and timeout values
hm no, my brain keeps information only as long as he needs it, i.e. max. 1
hour ;-)
thanks for the info though Norm.
At 07:07 18.07.2003 +1000, you wrote:
Simon
It says milliseconds in the Tomcat docs (remember them?) for the connectors.
Norm
- Original Message -
From: Simon Pabst [EMAIL
tomcat-users.xml hast to be defined in tomcat/conf/server.xml too,
look at the default server.xml of Tomcat for how to do that,
and here
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html#Configuring%20Manager%20Application%20Access
To set CATALINA_HOME for Tomcat on linux put
We've got a similar issue, though this in on Linux and using channelUnix/JNI instead
of normal tcp channelSocket.
We're using Apache2/mod_jk2 (built from tomcat-connectors-1.1M1).
On heavy load, there are over 3000 sockets open by one Tomcat/JVM, they don't seem to
go down again too while
Tomcat Users List [EMAIL PROTECTED] schrieb am 16.07.03 09:26:14:
Simon Pabst wrote:
We had the same problem, see this thread
http://www.mail-archive.com/[EMAIL PROTECTED]/msg97638.html
Unless mod_jk Developers fix this, the only possible solution seems to
build and use Apache 2
operations
[Wed Jul 16 09:16:29 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
This will probably say enough (for some). It tells me that jk will not
work. But I don't understand why.
Anybody ?
On Tuesday, July 15, 2003, at 11:29 PM, Simon Pabst wrote
, Simon Pabst wrote:
Your JK Stuff in httpd.conf looks a bit wrong to me,
and the error means that workers.properties is either not found or not
loaded,
try this:
httpd.conf:
#For Apache 1.x additional modules should be normally in
apache/libexec dir, not in modules as in your
Normally there's no need for replicating your webapp,
just put it somewhere outside the tomcat directories and point the
application contexts in both tomcats to that directory (with absolute
pathnames)
At 17:13 16.07.2003 +0200, you wrote:
Hello,
I have two Tomcat Servers working in session
Download and install latest version of openssl (normally in /usr/local/ssl
or /usr/local/openssl):
http://www.openssl.org/
Apache 1.x:
download and install modssl: http://www.modssl.org/
edit SSL Stuff in apache/conf/httpd.conf to suit your needs
Apache 2.x:
build from source with:
./configure
morning Simon.
Thanks for the research.
Norm
- Original Message -
From: Simon Pabst [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 3:58 AM
Subject: Re: Re: mod_jk round robin problem stateless session beans
I did a short test with Apache 2 worker mpm
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Simon Pabst
E-Mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail
What does your mod_jk configuration in httpd.conf look like?
Any errors in mod_jk.log?
Does the 404 error come from tomcat or apache?
At 12:50 16.07.2003 -0700, you wrote:
I build an apache 1.3.27 server and mod_jk as a DSO and it loads correctly
and is recognized by the apache server.
The
I think mod_jk works both with Coyote and old AJP13 connector (did for me
at least).
The tomcat http port on 8080 shouldn't cause any trouble, besides it helps
with testing -
if the JSP Page is accessible over 8080 then Apache/mod_jk is the problem.
At 15:57 16.07.2003 -0400, you wrote:
Try
Since the 404 comes from Tomcat, Apache/mod_jk should be working.
Can you call the jsp over Tomcat's HTTP Connector (port 8080)?
like this http://localhost:8080/myapp/index.jsp
instead of http://localhost/myapp/index.jsp
Are there any errors in tomcat/logs/catalina.out or
The 404 error comes
Most important is to change the default shutdown/http/ajp connector ports
in tomcat/conf/server.xml,
else only one Tomcat will run.
At 17:07 16.07.2003 -0400, you wrote:
Howdy,
It's easily possible: just install them to different locations, i.e.
with a different CATALINA_HOME environment
Think John meant the Jk Configuration entries of your httpd.conf, not your
worers.properties - i also asked for that in a previous post.
If you want help, answer the questions :-)
At 14:35 16.07.2003 -0700, you wrote:
John Turner wrote:
This will go a lot faster if you please post your JK
Post the JK2 configuration of your httpd.conf and workers2.properties
and your AJP Connector configuration of tomcat/conf/server.xml and
tomcat/conf/jk2.properties
What Apache/mod_jk2/Tomcat version are you using?
Is Tomcat running, are any errors in tomcat/logs/catalina.out?
Did you build
- Original Message -
From: Simon Pabst [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 7:17 AM
Subject: mod_jk round robin problem stateless session beans
We have the following setup:
One Apache with HTTPS/SSL with mod_jk (one load balancer
Where do you have JkMount for examples Context?
In global httpd.conf or in a VirtualHost for Port 80?
Try putting the JkMount into the SSL VirtualHost too (which is configured
in apache2/conf/ssl.conf)
At 16:09 15.07.2003 +0200, you wrote:
Hi!
I installed mod_jk and it is working for http, but
-
From: Simon Pabst [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 7:17 AM
Subject: mod_jk round robin problem stateless session beans
We have the following setup:
One Apache with HTTPS/SSL with mod_jk (one load balancer, sticky
sessions
on) in front
We had the same problem, see this thread
http://www.mail-archive.com/[EMAIL PROTECTED]/msg97638.html
Unless mod_jk Developers fix this, the only possible solution seems to
build and use Apache 2 with Multithreading support (i used the worker mpm,
perchild should work too, see
If the Webserver offers a dynamic page for download, thats usually a sign
for wrong configuration in the Webserver.
Propably the ISAPI Filter is misconfigured.
See
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html#Configuring%20the%20ISAPI%20Redirector
and
A Tomcat site written in PHP,
now if that ain't a good advertisement for Tomcat ;-)
(i myself like PHP better anyway -
ok ok before a flamewar starts:
each of them has its own right to exist)
At 13:50 15.07.2003 -0700, you wrote:
Hi All. There is a site that has some info on Tomcat.
They have some
mod_jk2 needs Apache APR libraries to work.
These aren't included with Apache 1.x, only Apache 2.x
- The easier thing to build mod_jk2 is to do it with Apache 2,
- However you could also download and build the Apache APR libraries
(http://www.apache.org/dist/apr/)
and then build mod_jk2 with
you need to use autoDeploy,
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%20Application%20Deployment
At 21:52 15.07.2003 +0200, you wrote:
Hello,
I work with Apache + Tomcat 4.0.6 and I want deploy war file.
The problem is that when I start Tomcat not decompress
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Simon Pabst
E-Mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That looks like a trailing slash problem,
you requested /Friss, but mounted only /Friss/
Either use the following JkMount additionally:
JkMount /Friss worker1
Or use Apache's mod_rewrite to put a trailing slash to URL if it there is none.
http://httpd.apache.org/docs/misc/rewriteguide.html
Also
We have the following setup:
One Apache with HTTPS/SSL with mod_jk (one load balancer, sticky sessions
on) in front
Eight Tomcats in back
Round Robin doesn't work, but instead the Users are distributed on the
Tomcats like this:
Tomcat No.| User Count (approx. daily)
T1 70
T2
Your Java Virtual Machine(s) could be crashing.
Search for HotSpot Virtual Machine Error in catalina.out and your
application logs.
We had a problem with crashing JVM's (JDK 1.4.1) on Tomcat 4.1.24 (on
Linux) and using ConcurrentGC/ParNewGC.
With ParallelGC the JVM works stable (although
Look here: http://jakarta.apache.org/tomcat/faq/misc.html#listing
At 19:05 14.07.2003 -0500, you wrote:
Thanks for the reply. Actually, I don't worry about people can do view
source. I just don't like the fact that they can type in the folder and
list the whole directory tree on the browser.
Use the following to avoid those warnings:
[uri:localhost/*.jsp]
group=ajp13:localhost:8009
mod_jk2 Version 2.0.0 isn't too recent either, try upgrading.
At 09:33 13.07.2003 +0200, you wrote:
That's not the issue!!
1.I add at httpd.conf :JkSet config.file
(posted this 2 days ago already)
Thats a compile problem when you compile mod_jk2 --with-jni and recent
Apache 2 versions,
follow http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatFAQ/ModJK2OnRedHat
then everything should work fine.
(you only need jni if you want to use fast unix sockets or
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html#Web%20Application%20Compilation
(didn't work for me though, had some CLASSPATH problems which i didn't
investigate further yet)
At 12:31 13.07.2003 +0800, you wrote:
Hi,
How do you precompile jsps for tomcat? Is it possible to
Change Apache User and Group in httpd.conf to same as Tomcat User.
Make a script in /etc/init.d for tomcat which starts up tomcat with
cd /path/to/tomcat
su - tomcatuser -c bin/startup.sh
(su needs root privileges to run without password)
set the following in workers2.properties to avoid log
serverRoot is the Apache Home Directory (or maybe IIS on windows?)
Not sure about setting this on windows,
on unix i put the following in tomcat/bin/catalina.sh:
export serverRoot=/path/to/apache
on Windows in bin/catalina.bat it should be sth. like
set serverRoot=C:\Program Files\Apache
11.07.2003 -0400, you wrote:
Thank you very much. It was actually the root of the Tomcat and not Apache.
Regards
Jay
-Original Message-
From: Simon Pabst [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 3:14 AM
To: Tomcat Users List
Subject: Re: Apache 2.0.46 + Tomcat 4.1.24 -- ${serverRoot
Answer to your last question:
Thats a compile problem when you compile mod_jk2 --with-jni,
follow http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatFAQ/ModJK2OnRedHat
then everything should work fine.
(you only need jni if you want to use fast unix sockets or Tomcat inprocess
with Apache)
The
I'd try a more recent version of the session replication stuff, which will
be used in tomcat 5 also (think it uses a similar codebase like that
javagroups stuff):
http://cvs.apache.org/~fhanik/index.html
However there's an obstacle (true for that older version too)
Make sure all your session
Could be a Memory Leak/Garbage Collection issue (we had a similar problem
with a memory intensive app),
maybe your heap is too small and java is running many Full GC's.
Start java with -verbose:gc and look in tomcat/logs/catalina.out for
Garbage Collections.
(set Environment Variables JAVA_OPTS
Is the Directory Index displayed by Apache or Tomcat?
At 14:16 11.07.2003 -0400, you wrote:
I guess I don't understand what it is you want, then.
AFAIK, putting index.jsp (or any JSP) in Apache's DirectoryIndex does
nothing...Apache will never treat it as an index file. Unless JK2 handles
If your application is running on same Tomcat/JVM then blocking GC calls
could still lead to that effect for hello.jsp too.
Are you using Apache/mod_jk/Tomcat or Tomcat standalone?
HTTPS Connections?
Does the Problem occur only with IE or with other Browsers (Mozilla) too?
I read once something
Tomcat 4.1 processes need some extra memory besides the heap i believe,
so the total process memory will always be bigger than the maximum
specified heap
(unless this isn't a bug or a misunderstanding of me of course :-)
Our Tomcat 4.1.24 on Redhat Linux with 1GB heapsize consumes about 1,25GB
One Apache listening on Port 80 and 443 is a standard setup for HTTPS, i
don't see any reason for a second Apache
when your firewall blocks access to Port 80 from outside.
Only reason for this would be if you're concerned about SSL Performance
with heavy traffic and want a separate machine for
-verbose:gc may affect performance a bit (cpu/disk), but since your system
doesn't run so well anyway, oh well :-)
Using a higher acceptCount doesn't hurt much (needs maybe 1k memory for
each queue place i think)
On earlier Java Versions there is a switch to turn on incremental Garbage
If you are using a webserver stresstest tool like siege
(http://www.joedog.org/siege) be sure to have a delay (5secs or more)
between the requests.
Because otherwise if the requests come too fast, the load balancing round
robin will get screwed up (i think mod_jk(2)'s worker stats aren't
Hmm, sure you don't use a proxy connection toconnect to tomcat instead of
mod_jk? :-)
My other guess would be to check Apache's httpd.conf for
UseCanonicalName and ServerName
If ServerName is my.hostname.com and UseCanonicalName is on Apache uses
always Servername instead of the URL you typed
Just use an empty String as Context path in tomcat/conf/server.xml, for
example:
Context path= docBase=/path/to/webapp debug=0/
If you want to have both URLs working but not configure everything twice,
another method would be to leave the application as is and use Apache's
mod_rewrite to
I think you can leave all entries commented when you're using channelSockets,
however when you use channelUnix (fast unix sockets) you need some entries
in jk2.properties.
(see http://www.pubbitch.org/jboss/mod_jk2.html for details)
At 14:28 10.07.2003 -0700, you wrote:
Under what circumstances
Look for a xml entry with org.apache.catalina.valves.AccessLogValve then
comment it out.
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html)
At 15:37 09.07.2003 +0200, you wrote:
Hi,
i have noticed that tomcat logs all calls to the file localhost_access_log.
Is it possible to
95 matches
Mail list logo