filter to change jsessionid cookie almost done, but need little help

2002-09-28 Thread Phillip Rhodes

I am writing a package that will facilitate sso between java based 
applications that will be released open source and free.

Part of the problem is that the tomcat cookie name is NOT at all 
configurable.
When jsessionid is set, the host of the domain is present, the scope is set 
to the webapp, etc...

I wrote a filter that reads the jsessionid and change the scope and domain 
that it can be read by any application in that domain.
My problem is that in the first request in my filter (and to the app), the 
cookie may not be set.
No problem (or so i thought!) .  I created a HttpResponseWrapper and 
HttpRequestWrapper and pass that onto the filter chain.
When someone calls addCookie on the response (my wrapper) , I put in in my 
requestwrapper, so I can read cookies that are set in the present 
request/response.
After I do the filter.doChain method, I again check for the jsessionid 
cookie.  It's not set in the HttpRequestWrapper that I passed onto the 
chain, but I DO know it's being set by the time my browser gets it.

Here is the Code:
http://test.rhoderunner.com/jsso/src/com/rhoderunner/jsso/SSOCookieFilter.java

http://test.rhoderunner.com/jsso/src/com/rhoderunner/jsso/SSORequestWrapper.java

http://test.rhoderunner.com/jsso/src/com/rhoderunner/jsso/SSOResponseWrapper.java

Here you can even test it!  Turn on cookie notification.  The jsessionid is 
set as usual.  Do a refresh of the page, and you will see the new 
jsessionid cookie!  I want my new cookie to be the one that's first set.  I 
don't want to have to do a refresh (or go to another page).

http://test.rhoderunner.com/jetspeed/ssocookiefilter/index.jsp  this url 
may be done periodically, it's my test box.

Thanks.  I hope my sso solution helps folks when complete.  This is just 
part of it.







--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




start new thread from servlet?

2002-10-27 Thread Phillip Rhodes
Sorry, I searched and searched for four hours all over the place and have 
not found a definitive how-to or example.
Sorry if this is off-topic...

In my servlet, I will be running long reports.  I want to kick off a new 
thread that will run the report.
I read somewhere that I have to join my new thread to the thread of my 
servlet to avoid problems.

Can anyone point me to a how-to on this?
Thanks!

Phillip


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



Re: Auth problem

2002-11-06 Thread Phillip Rhodes
You should never touch or do anything with jsessionid.
This is part of the container, and part of the spec.

You can control security by putting information into your httpsession, or 
creating your own cookie.
In short, I would not rely upon the presence of jsessionid to do authorization.


At 12:55 PM 11/5/2002 +0100, you wrote:
Hi all,

I have defined several security constraints on my servlet context and I
would like to maintain the jsessionid that the login page receives on the
login error page in case of authentification fail. Is this possible on
Tomcat 3.3.1? If so, do you know if it is also possible in any JBoss
version?


Thanks in advance,
Jose Andres


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




looking for tomcat instance create tool.

2002-11-12 Thread Phillip Rhodes
I was wondering if anyone created an application that will allow users on a 
unix system to create a new instance of tomcat.

Basically, the configuration files would be templated and would create a 
new instance of tomcat with new ports, etc...

Interest in this tool?
Thanks.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



rc.local problem starting tomcat instances

2001-01-30 Thread Phillip Rhodes

I put the following in my rc.local file.  If I have it in a "start.sh" file,
it works.  It brings up everything.  However, in rc.local, it does not work,
and I do not see anything in my log files.

Other commands that I have in rc.local do start (e.g. apache).
Thanks so much!


JAVA_HOME=/usr/local/jdk1.2.2
cd /usr/local/jakarta-tomcat-3.2.1
su rhodespc -cm "bin/tomcat.sh start -f rhoderunner/conf/server.xml"
su noise -cm "bin/tomcat.sh start -f noise/conf/server.xml"
su pdanen -cm "bin/tomcat.sh start -f klaver4/conf/server.xml"


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Too big of a jsp file crashes tomcat jvm

2001-03-29 Thread Phillip Rhodes

Using tomcat 3.2 and NT 4.0, apache

I have a jsp file that if I would invoke, it would crash the jvm (and 
tomcat along with it).  Through testing, I have discovered it is due to 
size of the jsp file (or rather the size of it's precompiled java file)

Can I direct tomcat to use another compiler (e.g. javac)?  How is the jsp 
compiler specified in tomcat?

The jsp file is kind of big because I am using struts, I have 10 rows by 7 
columns of check boxes!


#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 47454E45524154452F4F502D41500E435050084B
#




how about a tomcat instance create tool?

2002-12-30 Thread Phillip Rhodes
I see that there is a manager application, but this only manages one 
instance of tomcat...

How about a tool that would create multiple instances of tomcat, with a 
virtual host, etc that is templated version of tomcat.
In this manner, I can create 10 different instances of tomcat, without 
worrying about port conflicts, etc.

I could do it as a java webapp, or even a webmin module

Any interest or thoughts?




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



debug info inside chain.doFilter(req, res)?

2004-04-04 Thread Phillip Rhodes
Hi tomcats.
I have written a filter where I am calling
chain.doFilter(req, res);
and it is dying in this method call.  I am not getting anything besides the 
below stacktrace in my code.

Is there anything more I can do to figure out what is going wrong inside 
this method call?

Thanks very much.
Pillip
Using tomcat 4.1.29
The jsp that I am invoking works fine without the filter.
org.apache.jasper.JasperException
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
com.rhoderunner.longrequest.RequestRunner.run(RequestRunner.java:136)
at java.lang.Thread.run(Thread.java:534)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: debug info inside chain.doFilter(req, res)?

2004-04-05 Thread Phillip Rhodes
The line number in my code to which the error  refers is a call to 
chain.doFilter(req,res)

I want to know what error is occurring up the filter chain.

Thanks.



At 08:44 AM 4/5/2004 -0400, you wrote:

Hi,
RequestRunner is your class, and you have a line number, so what's the
problem?
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Phillip Rhodes [mailto:[EMAIL PROTECTED]
>Sent: Sunday, April 04, 2004 11:53 PM
>To: [EMAIL PROTECTED]
>Subject: debug info inside chain.doFilter(req, res)?
>
>
>Hi tomcats.
>I have written a filter where I am calling
>chain.doFilter(req, res);
>and it is dying in this method call.  I am not getting anything besides
the
>below stacktrace in my code.
>
>Is there anything more I can do to figure out what is going wrong
inside
>this method call?
>
>Thanks very much.
>Pillip
>
>Using tomcat 4.1.29
>The jsp that I am invoking works fine without the filter.
>
>
>org.apache.jasper.JasperException
> at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
>254)
> at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295
)
> at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio
>nFilterChain.java:247)
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
>hain.java:193)
> at
>com.rhoderunner.longrequest.RequestRunner.run(RequestRunner.java:136)
> at java.lang.Thread.run(Thread.java:534)
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ApplicationHttpRequest not using HttpServletRequestWrapper problem

2004-04-12 Thread Phillip Rhodes
I wrote a really neat servlet filter that I will release open source.
What it does is allow any servlet or jsp that "runs long" to be
intercepted and display a "processing your request" page to the user while
the request is processing on the server.

The filter intercepts a request, wrappers the response and request and
kicks off the request in a different thread.  The filter will immediately
return to the client browser with a "wait page" that will periodically
poll the working thread to see if the long running request is done.

However, things are not working as I planned.  I have been testing it
thoroughly and the wrapped response is fine.  All my code works correctly
if I just "block" the request.  By "block" i mean, I don't respond to the
request to the client until the jsp, servlet or whatever completes the
chain processing.

It seems that the ApplicationHttpRequest is not calling my subclass of
HttpServletRequestWrapper.  I declared a "getAttributeNames" method in my
RequestWrapper, but it is not invoked.  Instead Tomcat is calling the
getAttributeNames method on the ORIGINAL request object.   This also
happens to be the same request object that I returned from already
(substituting a wait page for the actual expected content).  I *think*
that when I respond to the request, tomcat invalidates it. Unfortunately,
the request is still being processed, just in a different thread.

I threw the war file on at server of mine (tomcat 4.1.27) so you can check
it out and see it in action.
All source is here
http://test.rhoderunner.com/longrequest/

What I am looking for is some advice on how to solve this problem.  I am
almost totally out of ideas on how to solve this one.
Thanks.

Here is a stacktrace from Tomcat 4.1.30

java.lang.NullPointerException
at
org.apache.coyote.tomcat4.CoyoteRequestFacade.getAttributeNames(CoyoteRequestFacade.java:142)
at
org.apache.catalina.core.ApplicationHttpRequest.setRequest(ApplicationHttpRequest.java:512)
at
org.apache.catalina.core.ApplicationHttpRequest.(ApplicationHttpRequest.java:125)
at
org.apache.catalina.core.ApplicationDispatcher.wrapRequest(ApplicationDispatcher.java:921)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:547)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



setting crosscontext attribute to true in auto-deployed webapp??

2004-03-25 Thread Phillip Rhodes
Hello all, I have a quick question concerning the crosscontext
attribute.  I have two webapps that need to work together,
via one app obtaining the ServletContext for the other. I
understand that I need to set the crosscontext attribute
of the Context to 'true' in order for getContext()
to work correctly..
However, I am relying (currently) on Tomcat's auto-deployment
of war files, to deploy my apps.  So I'm wondering, is there a
way to tell Tomcat to make the crosscontext attribute, of the
Context of the auto-deployed app, equal true?  Or am I forced
to manually configure the  element in server.xml if
I want to enforce that setting?
Thanks,

Phillip Rhodes

--
When the 1st Amendment no longer protects your voice.
And when the 4th Amendment no longer protects your privacy or your stuff.
Thank God we have the 2nd Amendment to tell our elected representatives 
that enough is enough.
It's time to put "... from my cold, dead hands" back where it belongs.

FREE AMERICA
Vote Libertarian
www.lp.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: setting crosscontext attribute to true in auto-deployed webapp??

2004-03-25 Thread Phillip Rhodes

Hi,
That's what the  server.xml element is for.
Ah, thank you, Yoav! That's exactly
what I needed.
TTYL,

Phillip R.



--
When the 1st Amendment no longer protects your voice.
And when the 4th Amendment no longer protects your privacy or your stuff.
Thank God we have the 2nd Amendment to tell our elected representatives 
that enough is enough.
It's time to put "... from my cold, dead hands" back where it belongs.

FREE AMERICA
Vote Libertarian
www.lp.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSP works, Servlet does not work

2004-03-27 Thread Phillip Rhodes
Robert Mazur wrote:
SUMAMRY:
JSP's work, but servlets give:
HTTP Status 404 - /sampleapp/servlet/samplepackage.SampleServlet
Offhand, this sounds like the problem people experience because
newer versions of Tomcat ship with the Invoker servlet
disabled by default.  Take a look at this page,
and see if this helps:
http://www.cs.fiu.edu/~downeyt/cgs4825/context.html

You can tell if this is the problem you're having if
you define a servlet mapping in your web.xml and you
can access your servlet that way, but accessing it using
the /servlet/whatever url pattern fails.
HTH.. otherwise, hopefully some of the more knowledgeable
list members will chime in..
TTYL,

Phil

--
When the 1st Amendment no longer protects your voice.
And when the 4th Amendment no longer protects your privacy or your stuff.
Thank God we have the 2nd Amendment to tell our elected representatives 
that enough is enough.
It's time to put "... from my cold, dead hands" back where it belongs.

FREE AMERICA
Vote Libertarian
www.lp.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: I know this is a stupid question

2004-03-28 Thread Phillip Rhodes
Dan Agarlita wrote:
Hi all,
how do I catch http errors with tomcat?
404 Error, 403 Error. I put the same question 2 years ago :) but I forgot
I remember that are some tags in config xml, something like  ?
You can put this in your web.xml file:


404
/Error.jsp


403
/Error.jsp

where  can contain any code
you want to handle with your own page.
You can also handle exceptions that propogate all the way
to the container this way:

 java.lang.Exception 
/Error.jsp

You can, of course, have more than one of these tags,
so that different exception types cause different results.
TTYL,

Phillip

--
When the 1st Amendment no longer protects your voice.
And when the 4th Amendment no longer protects your privacy or your stuff.
Thank God we have the 2nd Amendment to tell our elected representatives 
that enough is enough.
It's time to put "... from my cold, dead hands" back where it belongs.

FREE AMERICA
Vote Libertarian
www.lp.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSP works, Servlet does not work

2004-03-29 Thread Phillip Rhodes
Parsons Technical Services wrote:

Look at all your servlets and ask what can they do if you call them
directly. Can their use be twisted?
Now let your imagination flow.

Gotta agree w/ Doug. The Invoker servlet has nasty connotations.
I like having it turned on, just for development, as it can
sometimes be a convenience.  But for any externally exposed,
production system, it probably should be turned off.
Also, along those same lines... there's a train of thought
that says it's bad because having URL patterns like
/servlet/MyServlet tip off users as to what underlying
technology your application uses.  And while "security
through obscurity" is somewhat frowned up, I agree that
there's no point giving would be hackers any additional
info for free.
So with that in mind, you might want to consider the fact
that you can remap all your URL patterns as you see fit.
For example, you could configure Tomcat to use a .asp
extension, instead of .jsp!  Yeah it's only a minor advantage,
but think about it.. if Joe Script Kiddie sees .asp or .aspx
extensions on your site, he's going to start running IIS
exploits against your site.. none of which are going to work
if you're using standalone Tomcat, or Tomcat + different HTTP server.
So maybe he gets bored and moves on to somebody else's server.
Anyway, just something to think about...

TTYL,

Phil

--
When the 1st Amendment no longer protects your voice.
And when the 4th Amendment no longer protects your privacy or your stuff.
Thank God we have the 2nd Amendment to tell our elected representatives 
that enough is enough.
It's time to put "... from my cold, dead hands" back where it belongs.

FREE AMERICA
Vote Libertarian
www.lp.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tomcat http server giving 404 for directories

2000-11-08 Thread Phillip Rhodes



I installed the release binaries and started it 
up.  I left all the defaults.  
 
If I go to it, http://www.rhoderunner.com:8080 I can 
not get past the first html page.  The links (e.g. JSP Examples) all return 
404 errors.  The directories are there.
 
tomcat.log says "Error reading request Resource 
temporarily unavailable: Resource temporarily unavailable"
 
Thanks!
 
 
FreeBSD 3.4, JDK 1.2.2
 
 


make tomcat use apache docroot for jsps?

2000-11-08 Thread Phillip Rhodes



How can I get tomcat to look in the webserver 
document root for a JSP?  I call a jsp in my apache document root and I get 
the following error:
JSP file 
"/usr/local/jakarta-tomcat/webapps/ROOT/hello.jsp (No such file or directory)" 
not found 
 
I am running apache 1.3.9, latest tomcat.  
FreeBSD 3.4 stable, JDK1.2.2 native.
Thanks!
 
AddType test/jsp .jspAddHandler jserv-servlet 
.jsp
 
LoadModule jserv_module 
libexec/apache/mod_jserv.soApJServManual 
onApJServDefaultProtocol ajpv12ApJServSecretKey 
DISABLEDApJServMountCopy onApJServLogLevel noticeApJServLogFile 
/usr/local/etc/apache/mod_jserv.log
 
ApJServDefaultHost localhostApJServDefaultPort 
8007
 
# 1 Creating an Apache virtual host 
configurationNameVirtualHost 216.55.177.74
 
DocumentRoot 
/usr/local/www/rhoderunnerServerName www.rhoderunner.comApJServMount 
/examples 
ajpv12://localhost:8007/examples
 


Re: How to recompile mod_jserv.so

2000-11-10 Thread Phillip Rhodes

Did you use:
apxs -c -o mod_jserv.so *.c 


- Original Message - 
From: "Anton Betha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 10, 2000 6:58 AM
Subject: Re: How to recompile mod_jserv.so


> I did so, I think I also used "-o", and I received no
> error when compiling.
> But starting apache end in an error loading mod_jserv:
> "undefined symbol: jserv_error_exit".
> So what's wrong?!
> 
> --- Phillip C Rhodes <[EMAIL PROTECTED]>
> schrieb: > You use the apxs command.  It should come
> with your
> > apache bin
> > directory.  If you do a search on the tomcat site
> > for 'apxs' you would see
> > the exct command.
> > 
> > I think it is apxs -f mod_jserv.so *.c
> > 
> > 
> > 
> > On Thu, 9 Nov 2000, [iso-8859-1] Anton Betha wrote:
> > 
> > > What do I have to install to recompile
> > mod_jserv.so.
> > > I tried it with Suse 6.4 and the packetes gcc +
> > > linclude, but it won't start.
> > > 
> > >
> >
> __
> > > Do You Yahoo!?
> > > Gesendet von Yahoo! Mail - http://mail.yahoo.de
> > > Yahoo! Mail auf Ihrem Handy? -
> > http://mobil.yahoo.de
> > > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> Yahoo! Mail auf Ihrem Handy? - http://mobil.yahoo.de
> 




Re: Howto: mod_jk + tomcat 3.2.1 + apache 1.3.14 + virtual host

2001-01-05 Thread Phillip Rhodes

This kind of got long and detailed.   I would like it to be reused if
possible in the faq.

I did it.  I have 3 virtual hosts in Apache, with 3 different instances of
Tomcat.  One for each virtual host.

I am running apache 1.3.9 on FreeBSD, jdk1.2.2, tomcat 3.2.1

create a subdirectory in /usr/local/jakarta-tomcat-3.2.1 for each apache
virtual host you want to run a tomcat instance for.  You can call them
tomcat1, tomcat2, and tomcat3

copy /usr/local/jakarta-tomcat-3.2.1/conf into each of your new
subdirectories.
The following commands are just used to clarify the above stepI know you
know this!
cd /usr/local/jakarta-tomcat-3.2.1/
cp -R conf ./tomcat1
cp -R conf ./tomcat2
cp -R conf ./tomcat3
So now there is a ./tomcat1/conf, ./tomcat2/conf and a ./tomcat3/conf

You need to edit each server.xml in each of the conf directories that you
have just created.
Edit Steps:

1)
Find the ContextManage element and add the attribute "home", as shown below.
This allows tomcat to create what it needs in each of the subdirectories
that you have created.

When you edit the 2nd and 3rd server.xml files, just change tomcat1 to
tomcat2, and so on.

2)
Find the connector for HTTP.  This defaults to 8080 or something like that,
but in any case, it is a STUPID default, because you have default http,
ajp12 and ajp13 ports right next to each other.  I like to increment my
ports as I increment my instances.  Change the first server.xml file to use
an http port of "7001", the second one can be 7002, and so one.  (A brief
aside for the enlightened, my scheme is 7000's for HTTP, 8000's for ajp12
and 9000's for ajp13)

If you don't understand the above, don't worry, just find the line below and
change the value to "7001" for you first server.xml, use 7002 for your
second server.xml, 7003 for yourand so on.







3)
Find the connector for ajp12.  Change the port to 8001.  Use 8002, and so on
for your other server.xml's






4)
Add this line right after where the above line ends!  For subsequent
server.xml files, increment the port of 9001 to 9002







5)  Add the following right after the line above.  Change the name attribute
of element host. This value will be the virtual host as it is known to
apache. Change docbase to point to your web server document root!


  


You are now done with server.xml file editing.

6)
Now edit the /usr/local/jakarta-tomcat-3.2.1/conf /workers.properties file.
You should read the HOWTO on this, but just follow the pattern that I have
done:  You can see my file at
http://www.rhoderunner.com/tomcatconf/workers.properties

Make sure your JAVA_HOME, PS environment variable are set correctly.
You want to create a 2 workers for every virtual host.  One worker will be
of type ajp12, and the other will be ajp13
I used a portion of the domain appended to the type of worker to name it.
This makes it much easier when you are setting up your apache conf file.
For example, here is my def for "ajp13rhoderunner".  Notice that I use port
9001 for the ajp13.  Remember the schema I defined earlier?  We use 9000 for
ajp3, and 8000 for ajp2

#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13rhoderunner.port=9001
worker.ajp13rhoderunner.host=localhost
worker.ajp13rhoderunner.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  > lbfactor must be > 0
#  > Low lbfactor means less work done by the worker.
worker.ajp13rhoderunner.lbfactor=1


Edit your apache httpd.conf file  Here is how I defined 2 virtual hosts:
# Load mod_jk
#
LoadModulejk_module  libexec/apache/mod_jk.so
AddModule mod_jk.c


# Configure mod_jk
#
JkWorkersFile /usr/local/jakarta-tomcat-3.2.1/conf/workers.properties
JkLogFile /usr/local/etc/apache/mod_jk.log
JkLogLevelerror



DocumentRoot /usr/local/www/rhoderunner
ServerName www.rhoderunner.com
JkMount /*.jsp ajp13rhoderunner
JkMount /servlet/* ajp13rhoderunner


DocumentRoot /usr/local/www/klaver4.com
ServerName www.klaver4.com
JkMount /*.jsp ajp13klaver4
JkMount /servlet/* ajp13klaver4




Start apache and tomcat

JAVA_HOME=/usr/local/jdk1.2.2
bin/tomcat.sh start -f tomcat1/conf/server.xml
bin/tomcat.sh start -f tomcat2/conf/server.xml
bin/tomcat.sh start -f tomcat3/conf/server.xml











- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 8:02 PM
Subject: Howto: mod_jk + tomcat 3.2.1 + apache 1.3.14 + virtual host


> I can successfully create two virtual hosts ( mod_jk + tomcat 3.2.1 +
> apache 1.3.14 ) with ONE instance of tomcat.  I would like to be able to
> let the tow virtual hosts' owner to start their instance of tomcat.  In
> that case, tomcat's instance will own by them instead of NOBODY.
>
> the currently HOWTO o