My reasons:
- source has the fixes first...critical on production servers,
especially for security fixes. With source, you don't wait for Red Hat
to release something. A lag of several days can mean the difference
between weathering a storm and spending the weekend scrolling through
logs
Apache 2 HTTP + Tomcat + JK.
Updated with the most recent JK source version, 1.2.5.
http://localhost/johnturner/howto/apache2-tomcat4127-jk-rh9-howto.html
Virtual hosting HOWTO coming soon.
Comments and suggestions welcome.
John
Host name=www.site1.com appBase=/export/home/webroot/site1
Context path= docBase=/export/home/webroot/site1/ROOT
/Context
/Host
Better yet, make the Context docBase = ROOT so it is relative to the
Host's appBase.
Put JSP in /export/home/webroot/site1/ROOT. Put WEB-INF in
Thanks!
John
David Boyer wrote:
The current Jakarta release version is 2.0.2 which is from Fall 2002. If
anyone is interested in trying something newer, I've posted a build on
my web site:
http://web.bvu.edu/staff/david/tcservcfg/isapi_redirector2.zip
This based on the Tomcat 4.1.27 source
20 pages? What else is in there besides connector configuration? Just
curious
John
Bhaskar Marthi wrote:
dean,
As said by lot of members, it would be great if you can post your document
in the mailing list. BTW, did anyone try resin? How does it compare to
tomcat?
Thanks,
Bhaskar
I've never tried it, but change the path to c:\progra~1.
John
Lawence wrote:
Dear All,
I need to accomondate some old cgi scripts on my website but primarily it uses java. I am wondering which comb is better in terms of simplicity and usability.
By the way, I tried to enable CGI support
AFAIK, Lucene indexes files. How then, do you index a dynamic site?
The only files that exist on a dynamic site are source code files.
Servlets would never be indexed...how then do you index the content
returned from the servlet? Can Lucene do this?
The Lucene site is pretty sparse in
to support the authors and encourage similar titles, buy the Apress
or Wiley version instead.
John
Darryl L. Pierce wrote:
John Turner wrote:
The book was never published. The original publisher (Wrox) went out
of business and liquidated assets.
Was this recently? Just this past weekend I picked
Tim Funk wrote:
The JDBC spec states that when a connection is closed, all dependent
assets should also be closed. So if you are using a pool, make sure your
pool is compliant since the connection is never closed until the pool
closes it.
So, that means that if you have a pool of ten
.
In a nutshell, it can do what you want, but there is a lot of setup work
to construct documents and a lot of work to display results from
documents from queries.
-Tim
John Turner wrote:
AFAIK, Lucene indexes files. How then, do you index a dynamic site?
The only files that exist on a dynamic site
Ulrich Mayring wrote:
Lucene is not a search engine, but an API for writing a search engine,
so it can do everything that you can write in Java. By itself it does
nothing, like the JDK.
Thanks for the clarification.
I can only recommend Lucene, it is vastly superior to any pre-packaged
search
Ulrich Mayring wrote:
John Turner wrote:
Ulrich Mayring wrote:
I can only recommend Lucene, it is vastly superior to any
pre-packaged search engine, because you do not depend on specific
features or behavior, but can customize everything to your needs.
Assuming you have time, money, skills
I always use openssl myself, but from the sound of this thread, it sure
sounds like it is desperately needed! Thanks!
John
Lawrence, Gabriel wrote:
I'm working on a tool to pull out the private key. It should be done by
the end of the day. I will send something to the list when I have it
Sounds to me like a permissions/environment problem. For example,
starting Tomcat as root manually, but then the script tries to start
tomcat as some non-root user. If Tomcat starts as root, log files are
owned by root and non-root users cannot write to them. It should throw
an error
Yes. I know for sure one is due early Q1 2004. It is being written
from scratch for Tomcat 5, it will not be a Tomcat 4 book refreshed or
tweaked to support Tomcat 5.
John
Marco Tedone wrote:
Hi, is there in prevision any book about Tomcat 5?
Marco
Can't do anything without your config files.
Help us help you.
John
Patrick Zeiler wrote:
Hi list,
I am having slight problems with configuring tomcat to work with apache.
Used Versions:
Apache/2.0.47 + mod_jk2 + Tomcat/4.1.27
The configured contexts work fine and as supposed. The problem I
As long as you protect your WEB-INF and META-INF directories with the
appropriate Apache directives, and your connector mapping is correct,
and you don't use the Invoker servlet, you're good to go.
All of my virtual hosts have the Apache DocumentRoot setup that way.
John
Chad Arimura wrote:
The book was never published. The original publisher (Wrox) went out of
business and liquidated assets.
The rights to the performance handbook (and many other former Wrox
titles including the security handbook) were picked up by Apress. The
rights to the rest were picked up by Wiley. I
The one I know about, no. Its possible O'Reilly has one in the works,
but I don't know anything about it.
John
[EMAIL PROTECTED] wrote:
O'Reilly ?
John Turner wrote:
Yes. I know for sure one is due early Q1 2004. It is being written
from scratch for Tomcat 5, it will not be a Tomcat 4
?
--- John Turner [EMAIL PROTECTED] wrote:
The book was never published. The original
publisher (Wrox) went out of
business and liquidated assets.
The rights to the performance handbook (and many
other former Wrox
titles including the security handbook) were picked
up by Apress. The
rights to the rest
Also, while the Wrox side of the business seemed to be thriving, there
were several other publishing arms that may not have been doing much
more than soaking up profits with little return. As I said, Wrox was
just one of many publishing names used by Peer.
John
John Turner wrote:
Well, I
[EMAIL PROTECTED] wrote:
Hi,
I am using Apache 1.3.19 with Tomcat 4.1.24
I need to do a 64 bit compilation of mod_jk .
I tried to do a 32 bit compilation but there were some problems in the
Makefile.
What problems?
I need to know following things.
1. Where to get the source code for mod_jk.
If http://your.url:8080/yourApp doesn't work, you have to fix Tomcat
first (server.xml).
If http://your.url/yourApp doesn't work and http://your.url:8080/yourApp
does work, you have to fix mod_jk (or rather the JK settings in Apache's
httpd.conf).
HTH
John
Denise Mangano wrote:
Ok I'm a
Glad I could help. Relaxing is good advice. ;) Have fun!
John
Denise Mangano wrote:
There were a few things going on there... I should have taken a step
back and relaxed and given everything another look before I posted... My
apologies for that ... I panicked because of the bind that I am in.
Matt Raible wrote:
1. Does it support multiple processors? We have a Tomcat instance in
production on a NT box with 4 processors, but Tomcat only seems to use one.
Does the 1.4.2 JVM support MP?
Yes, at least on Sun hardware with Solaris 8, and Intel hardware with RH
Linux 7.x (duals only...we
Funky. Glad you got it solved!
John
Norris Shelton wrote:
We figured out the problem. He was working on a problem where
deployed .jsp files were not being picked up. He removed all
the work files and restarted tomcat from that directory. The
script that we use (why, because IT wrote it and
First thing I would try is putting your LoadModule line ABOVE every line
that uses Jk*, such as:
JkExtractSSL On
JkHTTPSIndicator HTTPS
JkSESSIONIndicator SSL_SESSION_ID
JkCIPHERIndicator SSL_CIPHER
JkCERTSIndicator SSL_CLIENT_CERT
As positioned in your post, the lines shown above would have no
Courtesy of Oscar Carrillo:
http://daydream.stanford.edu/tomcat/install_web_services.html#daemons
You need to download his tomcatd script, and copy it to /etc/rc.d/init.d.
Then execute: /sbin/chkconfig --del tomcatd
Then execute: /sbin/chkconfig --add tomcatd
Note you will need to modify the
Jon Skeet wrote:
I think a jk2 release (v1.2.5 I believe) is very close, and
has this bug fixed.
That's excellent news. When it's released, will I be able to just dump a new tomcat-jk2.jar in server/lib, and everything should spring to life, or is there more to it than that?
The release
that I want to connect to an AS/400 database using
connection pooling.
The only way I can get it to work is to manually insert the entries in the
server XML file and then re-start.
Any other pointer greatly appreciated.
Regards
Kevin
-Original Message-
From: John Turner [mailto:[EMAIL
You don't have a shared memory file configured in your properties files,
or if you do, it isn't accessible or writable.
John
Raj Dasgupta wrote:
After adding jk2 to my apache's httpd.conf, I see these errors on startup.
Any ideas on what this error indicates?
[Wed Sep 03 10:35:32 2003]
$CATALINA_HOME/webapps/myApp
$CATALINA_HOME/webapps/myApp/hello.jsp
$CATALINA_HOME/webapps/myApp/WEB-INF
$CATALINA_HOME/webapps/myApp/WEB-INF/classes
$CATALINA_HOME/webapps/myApp/WEB-INF/lib
$CATALINA_HOME/webapps/myApp/WEB-INF/web.xml
hello.jsp:
%
String myVar = new String(Hello World);
oops, that should be:
out.println(div align='center'h2 + myVar = /h2/div);
My bad.
John
John Turner wrote:
$CATALINA_HOME/webapps/myApp
$CATALINA_HOME/webapps/myApp/hello.jsp
$CATALINA_HOME/webapps/myApp/WEB-INF
$CATALINA_HOME/webapps/myApp/WEB-INF/classes
$CATALINA_HOME/webapps/myApp/WEB-INF
I defer to Yoav, as it is entirely possible (though not probable) that I
am on crack. But the thread referenced is most definitely talking about
mod_jk.
John
Jon Skeet wrote:
The release that Yoav is referencing is a new mod_jk, which
is an Apache DSO module, not a JAR file. So yes, I
Archives, this has come up before.
John
Jim Si wrote:
Hello Everyone,
Could anyone tell me some good reference books related to java
servlets? In
addition, any java books related to the Multimedia like showing
pictures,
playing videos and etc.
Thank you.
You have to map your servlet in web.xml.
FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker
John
Jason Jesso wrote:
When I go to my servlet I get HTTP Status 404 -
/jasonTest/servlet/foo/HelloWorld
The url is:
http://neptune/jasonTest/servlet/foo/HelloWorld
My config is as follows:
:
But, I don't want to use the invoker. I want to be able to specify
the servlet itself in web.xml.
The invoker is evil according to the link you gave me.
John Turner wrote:
You have to map your servlet in web.xml.
FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker
John
Jason Jesso
Mike Curwen wrote:
I define an Apache Virtual Host in httpd.conf:
VirtualHost xxx.xxx.xxx.xxx
JKMount /ATM tomcat1
JKMount /ATM/* tomcat1
I wouldn't do /ATM without a wildcard or something after it.
DocumentRoot /home/webhome/atm/htdocs/
ServerName www.foo.com
ServerAlias foo.com
Mike Curwen wrote:
So it's gonna be something like:
The Apache Vhost:
VirtualHost xxx.xxx.xxx.xxx
JKMount /*.jsp tomcat1
JKMount /fooservlet tomcat1
DocumentRoot /home/webhome/atm/htdocs/
ServerName www.foo.com
ServerAlias foo.com
ErrorLog /var/log/atm/error_log
CustomLog
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
John
Kenneth Ahn Jensen wrote:
After using Tomcat for a long time, I seem to be getting into trouble
lately. My Tomcat suddenly does not automatically find the servlets in
context-dir/WEB-INF/classes - so I have to make a web.xml file for
FAQ/archives (at least weekly if not daily)
NoClassDefFoundError != ClassNotFound
John
Tony LaPaso wrote:
Hi all,
I'm seeing behavior that seems contrary to the TC Documentation (seems to
happen a lot).
I'm running TC 5.0.9 on Win 2k, J2SDK 1.4.2_01.
I have some JAR files (for JavaMail) in
THIS IS BAD. PUT IT BACK and DON'T CHANGE IT.
John
wrote:
Hi,
I have edited my /etc/hosts file ,changed 127.0.0.1 to
172.20.15.188,and http://localhsot:8080/
still doesnot work.
--- [EMAIL PROTECTED] Hi,I have
installed rpm version of tomcat 4.1.24 on
Red hat Advanced
There are a number of ways.
If autoDeploy = true then you can just drop the WAR file in the Host's
appBase directory.
You can also use the manager app's various tasks (install, deploy, etc):
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
This is easily accomplished with
Could you clarify?
If you are using Apache, and you have *.jsp mapped correctly, your
programming resources won't be shown to the world.
Since all servlets are under WEB-INF, all you have to be concerned about
are JSP. Properties files, etc. go under WEB-INF, as well. Applciation
Excellent. Thank you for posting this, many IIS users have posted to
the list trying to get the redirector to work with IIS 6.
John
Nick Tatham wrote:
I posted this thread back in June-03 as I was having problems making the ISAPI redirector work under IIS 6 on Windows 2003. Now thanks
What's the difference between your production environment and your laptop?
Symlinks enabled? Invoker enabled? Etc.
John
Darryl L. Pierce wrote:
My company has been using 4.0.6 for about a year now and we've recently
upgraded to 4.1.27. On our production server, all works just fine: we
can
A couple of things:
1. Your workers.properties file (to me) seems needlessly complex. I
would cut it down to match Pascal's example.
2. In your server.xml, you have jmvRoute. I don't load balance, but
as far as I know it should be jvmRoute (note spelling).
3. You only sent one
This describes exactly where you should put files:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
And you also might find the ClassLoader HOWTO helpful:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
John
sheba Tasaduque wrote:
hi
ROFL
Shapira, Yoav wrote:
Howdy,
Thank you for the clear instructions ;) I believe I have a fairly firm
grasp on webapp structure as well as the rest of tomcat ;) But I'm sure
the original poster whose question I answered will find your response
beneficial.
Yoav Shapira
Millennium
Robert Charbonneau wrote:
It's not working as the root of the tomcat server on port 8080, but I wasn't
expecting it to. I want the root of the domain being able to serve JSPs and
Servlets so I don't have to create a subdirectory off of the root for this
purpose.
That won't work. You must
in 2.0 that points to the workers file. I thought that was
all I needed for the IIS part.
As for doesn't work. I get a 404-error page from IIS when I go to the web
page.
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 4:15 PM
To: Tomcat Users
It just needs to equal location of tomcat. I used to think it had to
match the ServerName...it doesn't. It's merely a pointer to the machine
that is running Tomcat. If Apache and Tomcat are on the same machine,
then localhost is fine.
John
Denise Mangano wrote:
According to the how-to, I
I woudl skip the Include statement and modify httpd.conf manually as you
have. For anything but a simple configuration, you have to do it
anyway, so there's no real loss.
John
Denise Mangano wrote:
Not really sure if this is a problem as of yet. I currently cannot test
my configuration ...
lists
mod_core and mod_so. I have all other modules added as DSO's.
Thanks :)
DEnise
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 11:08 AM
To: Tomcat Users List
Subject: Re: [OFF-TOPIC] Re: First mod_jk problem - can't
start apache
Raj Dasgupta wrote:
I am a novice with Tomcat and am trying to connect Tomcat to our Iplanet Web
Server 4.11 on Solaris using the JK2 connector. Here are my questions:
1. How do I download the JK2 connector? Everytime I try to download from
Sounds to me like an OS resource issue. Total number of allowed open
connections, etc. Since it worked on 7.x and not on 9, I would consider
that a default changed somewhere, somehow.
John
Also, the same Apache 1.3.X and Tomcat 3.X and 4.X configurations worked
perfectly on Red Hat 7.3, it
Hi -
Things I would check:
- apache's access and error log - is Apache trying to handle the
request instead of Tomcat?
- Tomcat's log - is Tomcat even getting the request?
- move mod_jk.conf to APACHE_HOME/conf, change your Include to match.
Then change JkLogLevel to debug or info (I forget
Christopher Garrett wrote:
Home appBase=/home/vhost1/public_html/webapps/...
...
Home appBase=/home/vhost2/public_html/webapps/...
- setting the docBase/path attributes in the child Context tag to some
directory within the appBase path:
Home
Thanks,
Denise
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 8:19 AM
To: Tomcat Users List
Subject: Re: First mod_jk problem - can't start apache with
Include statement
Hi -
Things I would check:
- apache's access and error log
.
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 9:20 AM
To: Tomcat Users List
Subject: Re: First mod_jk problem - can't start apache with
Include statement
What's the output of APACHE_HOME/bin/apachectl configtest?
John
Sure, as soon as you give us insight such as:
- what's wrong, exactly
- what error messages you're getting
- what version of Tomcat
- what version of Apache, what connector
- whether its working in Tomcat standalone, without Apache
- what URL you are trying to use
Specific information is best.
Hate to say it, but it sounds like your Apache is munged up.
If you delete the mod_jk.conf Include, and you delete all other JK stuff
from httpd.conf, your Apache starts up properly, with no errors?
What is the output of httpd -l?
John
Denise Mangano wrote:
OK, I tried adding the Jk
mod_auth.c
mod_so.c
mod_setenvif.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
Denise
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 10:25 AM
To: Tomcat Users List
Subject: Re: First mod_jk problem - can't
if I have a mod_jk problem at all until I get
my Apache running properly.
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 10:47 AM
To: Tomcat Users List
Subject: [OFF-TOPIC] Re: First mod_jk problem - can't start
apache with Include statement
When in doubt, check the docs.
Remote Address Filter and Remote Host Filter:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html
John
Mario Moroni wrote:
In order to develop in peace i'd like to limit my tomcat only to local
connections.
is it possible?
How?
..or should I make a
Many people have the same problem (archives!).
As far as I know, there is no redirector built and available for IIS 6.
You either have to build it yourself, or wait for someone else to
build it. Even if you build it, there's no guarantee the source that
works with IIS 5 will work unmodified
FAQ
http://jakarta.apache.org/tomcat/faq/connectors.html
and
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=tomcat+iis+5btnG=Google+Search
which would eventually lead you to:
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html
John
J Raf wrote:
Hi,
I also have a similar
Denise Mangano wrote:
Apache is configured for SSL and http://localhost and https://localhost
Tomcat : I can access http://localhost:8080 but not
https://localhost:8080
Why would this be the case?
Because Tomcat doesn't have SSL setup by default.
Check the SSL HOWTO in the docs for more
Yes. You wouldn't do it in a connector environment.
John
Denise Mangano wrote:
Even though I don't plan on using Tomcat as a standalone? My intention
is to run it behind Apache using mod_jk. All incoming traffic will be
coming in to my site from port 80 or port 443 which is configured on
Without more specific information, my guess is you don't have a JkMount
for /examples in your SSL VirtualHost for localhost.
John
Tran, Khiem (NIH/CIT) wrote:
Hi,
I am a newbie to Apache Tomcat. I got the instruction of the following URL.
http://myweb.cableone.net/kdubuisson/Install.PDF
I
Can you be more specific than doesn't work?
Have you done all of the configuration with your IIS connector required
for the second virtual host?
John
[EMAIL PROTECTED] wrote:
Hello. Thanks for taking the time to read this. First of all, I am
assuming that virtual hosts are where you have
To uninstall Tomcat:
rm -rf $CATALINA_HOME
John
Purvis Robert wrote:
I have been waiting for the RPM format files to appear on the Tomcat
download site, but they don't seem to be there yet. Is there any plan to
make Tomcat 4.1.27 available as RPMs? I personally always prefer installing
from
??? = whatever you put in url-pattern. That is Yoav's point...it is up
to you. Your choice.
John
L.Karam wrote:
Well, my servlet is in the directory: /admsite/servlet and is named
servletAdmSite.
What should be typed here: url-pattern???/url-pattern
And what is the URL to be adressed to,
Tomcat runs as whatever user executes the startup scripts in
$CATALINA_HOME/bin.
If that user is root, then Tomcat runs as root. If that user is
nobody, then Tomcat's effective user is nobody. There's no
(current) facility in Tomcat to switch UID as Apache does after startup.
As root,
a JkMount that effectively looks like ../rwtransform/*?
thanks
David
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 22 August 2003 18:07
To: Tomcat Users List
Subject: Re: 2 VirtualHosts now work, mod_jk not
I would try setting:
Alias /webappname /some/path/to/tomcat
Tomcat 4 = no
Tomcat 5 = I believe so
Apache = yes ($APACHE_HOME/bin/apachectl graceful OR
$APACHE_HOME/bin/apachectl restart)
John
Lars Nielsen Lind wrote:
Hi.
Is it possible to update and implement changes in server.xml and httpd.conf while Apache/Tomcat is running?
I want to be able to
Yep, its a restart. If you use restart then all open connections will
be dropped. If you use graceful, Apache will block new requests, and
wait until all open connections are closed before restarting.
So yes should probably be maybe. :)
John
Shapira, Yoav wrote:
Howdy,
Apache = yes
Hi -
If you have Apache 1.3 and your Apache has mod_ssl installed, you want EAPI.
If no mod_ssl, then no EAPI.
If Apache 2, then neither, use the mod_jk for Apache 2.
The binary should be fine.
HTH
John
Denise Mangano wrote:
Hi all.. Its been a while since I've posted... I'm in a pretty
Dan McCullough wrote:
I have not ever had any problems doing Tomcat/Apache/JDBC/MySQL/SSL, except these last
few times
at it has been problems with corupt downloads and incompatible mod_jk, and its a pain
trying to
find any mod_jk. So if you find it make sure it is compatiable with your
The HOWTO will work for all versions of Red Hat (and probably any other
Linux). The only gotcha is getting the correct mod_jk.so binary.
Everything else is the same as far as I can tell.
John
Michele Neylon:: Blacknight Solutions wrote:
Which version of Apache?
Which OS?
If it's RH with 1.3*
any problems then and won't notice any difference.
John
Jim Chase wrote:
Bingo.
I must admint I doubted you John. But you were right.
I untarred it with GNU tar and it worked immediately.
Thanks!
Jim
--- John Turner [EMAIL PROTECTED] wrote:
Don't use Solaris tar to unpack GNU software. GNU
David Wynter wrote:
So if I have a Context path=
docBase=/usr/local/jakarata-tomcat-4.1.12/webapp2/se / DocumentRoot
should be /usr/local/jakarata-tomcat-4.1.12/webapp2/se. If this case then
what about the other webapp in
/usr/local/jakarata-tomcat-4.1.12/webapp2/rwtransform how will I get to
Tomcat is perfectly capable of serving HTML documents. Set up a Host in
server.xml, and in that Host set up a Context to handle your static content.
If you're not using Apache now, there's no reason to use it in the
future just for serving static files.
John
[EMAIL PROTECTED] wrote:
Hi
I am
Try /*.jsp, not */*.jsp. I'm surprised the latter ever worked at all.
John
lcl wrote:
Hi all here ,
I have integrated tomcat4.1.27 and apache2.0.47 using mod_jk2, and work
fine, because I have set my apps souko as the default apps in tomcat, and
I want so in apache, so I define the
You're saying Tomcat runs around and changes the directory permissions?
I find that really hard to believe...I'm running Tomcat 3.1, 4.1.12,
4.1.18, and 4.1.27 in various places and have never seen this behavior.
John
Hertenstein Alain wrote:
Hello,
We have a Red Hat Linux 7.2 Server with
David Wynter wrote:
Hi,
It seems that the second VirtualHost I have set up for my second domain name
is not paasing the requests through mod_jk to Tomcat. It is not even clear
that you can support 2 virtualhosts for different domains with the same IP
address and port 80.
This is a separate
Advice:
Forget about servlets. Forget about serving all content from a servlet.
Too many variables, causing you too much confusion.
Take it one step at a time.
First: set up Tomcat so that you have 2 virtual hosts. Each virtual
host needs a SEPARATE appBase. If BOTH virtual hosts are to
David Wynter wrote:
Now I am getting somewhere.
I had left out the Directory directives in httpd.conf in my previous post
because I had editted it from the Tomcat site vhost example, one that had a
global directive, not for each VirtualHost. I found that the web.xml file
for the rwsite ahd a
Huh? 4.1.27 is a separate distribution. What do you mean by why isn't
there a new build? Just download it.
John
Vernon Smith wrote:
Is the only way to apply the patch by the following procedure:
1. unzip the jar file *
2. replace the class in the hotfix
3. zip into the jar file ago.
*
Hi -
AJP13 doesn't do SSL.
You set up multiple ports for a Tomcat Connector in server.xml. Copy
the one that is already there (CoyoteConnector on port 8009) and change
the port number to whatever you want.
Workers.properties:
# BEGIN workers.properties
worker.list=ajp13
For grins, I decided to setup an example. Here it is.
The server has multiple virtual hosts. There are currently 6 working,
this configuration describes how I added a seventh by copying a config
from one of the other 6 and changing values as needed.
The scenario:
One Tomcat instance
I would try setting:
Alias /webappname /some/path/to/tomcat/webappname
DocumentRoot /some/path/to/tomcat/webappname
Then:
JkMount /servlet/* ajp13
Then your URL of
http://some.host.com//webappname/servlet/webappname/templates/index.vm
should work. Even this should work:
Alias /
don't believe this...
Nobody heard of this before !?
Alain
-Message d'origine-
De : John Turner [mailto:[EMAIL PROTECTED]
Envoyé : vendredi, 22. août 2003 14:40
À : Tomcat Users List
Objet : Re: Folder Permissions taken over by Tomcat 4
You're saying Tomcat runs around and changes
It's not working for a couple reasons, not least of which there is no
servlet mapping in ROOT's web.xml file, and no entry for the default
Invoker.
Also, you haven't told us how you changed your JK2 properties file to
match the new URL, that is, if you did so (you need to).
Sooo...maybe you
This list is automated, there is no human managing it.
Filter = yes.
Complain = no.
John
Kannan Sundararajan wrote:
Normally there would be someone verifies the email before going inot users
group.. But seems no one is verifying.. It is flooding already in my inbox..
-Original
You've obviously never read a Microsoft EULA.
John
Mark R. Diggory wrote:
Typical Microsoft! Isn't it about time some of these companies that are
complaining about loosing so much money to these virus' sued Microsoft
for negligence.
Really, if all these companies are loosing so much money to
/ssl_error_log
TransferLog logs/ssl_access_log
Alias /ssl /var/tomcat4/webapps/ROOT/ssl
JkMount /ssl/servlet/* ajp13
JkMount /ssl/*.jsp ajp13
SSL stuff...
/VirtualHost
- Original Message -
From: John Turner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday
Message-
From: John Turner
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 10:30 PM
To: Tomcat Users List
Subject: Re: Apache-Tomcat-Struts 404 Not Found
Tomcat 4 and Tomcat 5 configuration with mod_jk are
the same.
Do you have something like this in your httpd.conf
file?
JkMount
It's the former. The latter doesn't occur on this list in my experience.
John
Lott, Carey wrote:
Since nobody has responded does this mean nobody has any more ideas on the
problem or am I getting the You idiot. The answer is staring you in the
face. silent treatment? If it is the latter, I
Don't use Solaris tar to unpack GNU software. GNU software requires GNU
tar. GNU tar and Solaris tar are incompatible.
Tomcat is a Java application. A binary Java application is a binary for
ALL operating systems, there are no distinctions.
Did you download and install the JDK?
The easiest
1 - 100 of 947 matches
Mail list logo