tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Urban" <jur...@parkcitysolutions.com>
Subject RE: Apache/2 and Tomcat/4 not talking
Date Thu, 24 Oct 2002 15:27:32 GMT
It also happens while holding the phone in your left hand while talking to a
client and trying to key in a workers.properties file with only your right
hand at the same time.

Jim


-----Original Message-----
From: Milt Epstein [mailto:mepstein@uiuc.edu]
Sent: Thursday, October 24, 2002 10:19 AM
To: Tomcat Users List
Subject: RE: Apache/2 and Tomcat/4 not talking

On Thu, 24 Oct 2002, Turner, John wrote:

> Thanks...that "1" vs. "l" deal is something new, this is the first
> time I've seen anyone post about that.  I never would have thought
> to check it, I will have to file that away for future debugging
> reference.

Actually, it's something *old*.  People who've used old typewriters
will be familiar with the '1' vs. 'l' confusion.  ("Typewriter?!  What
the heck is a typewriter?!")

:-)


> > -----Original Message-----
> > From: Jim Urban [mailto:jurban@parkcitysolutions.com]
> > Sent: Thursday, October 24, 2002 8:55 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Apache/2 and Tomcat/4 not talking
> >
> >
> > It was a combination of minor things that snowballed into a big thing.
> >
> > 1. A typo in my workers.properties file. (worker.list=ajp13 and
> > worker.ajp13.type=ajpl3 the first is a one and the other a
> > lower case L).
> > Surprisingly I didn't get any error message about this!
> > 2. An incomplete mod_jk.conf (because tomcat couldn't find my
> > mod_jk.dll?).
> > 3. SSL request didn't make it to Tomcat because I missed the
> > JkMounts in the
> > <VirtualHost localhost:443> of httpd.conf.
> >
> > It was my sloppiness.  I've been using Tomcat and Apache for
> > 2 years and I
> > got complacent.
> >
> > Jim Urban - jurban@parkcitysolutions.com
> > Park City Solutions Inc.
> > Clinical Connectivity Suite Product Manager
> > Suite 295
> > 500 Park Blvd.
> > Itasca, IL  60143
> > Voice:  (630) 250-3045 x106
> > Fax:  (630) 250-3046
> >
> > CONFIDENTIALITY NOTICE
> > This message and any included attachments are from Park City
> > Solutions Inc.
> > and are intended only for the entity to which it is
> > addressed. The contained
> > information is confidential and privileged material. If you
> > are not the
> > intended recipient, you are hereby notified that any use,
> > dissemination, or
> > copying of this communication is strictly prohibited and may
> > be unlawful. If
> > you have received this communication in error please notify
> > the sender of
> > the delivery error by e-mail or call Park City Solutions Inc.
> > corporate
> > offices at (435) 654-0621
> >
> > -----Original Message-----
> > From: Turner, John [mailto:JTurner@AAS.com]
> > Sent: Thursday, October 24, 2002 7:31 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Apache/2 and Tomcat/4 not talking
> >
> >
> > Wait!  Complete the circle for the archives...what was the solution?
> >
> > John
> >
> >
> > > -----Original Message-----
> > > From: Jim Urban [mailto:jurban@parkcitysolutions.com]
> > > Sent: Thursday, October 24, 2002 8:27 AM
> > > To: 'Milt Epstein'; 'Tomcat Users List'
> > > Subject: RE: Apache/2 and Tomcat/4 not talking
> > >
> > >
> > > Thanks for all the help.  I have gotten everything working.
> > > I have Apache/2
> > > with SSL serving the static content and forwarding the
> > > servlet requests to
> > > Tomcat 4.0.4 under JDK 1.3 on W2K.  To the doubters I say "It
> > > can be done"
> > > and the people in this community are vary helpful if you
> > ask the right
> > > questions.
> > >
> > > Thanks!
> > >
> > > Jim Urban - jurban@parkcitysolutions.com
> > > Park City Solutions Inc.
> > > Clinical Connectivity Suite Product Manager
> > > Suite 295
> > > 500 Park Blvd.
> > > Itasca, IL  60143
> > > Voice:  (630) 250-3045 x106
> > > Fax:  (630) 250-3046
> > >
> > > CONFIDENTIALITY NOTICE
> > > This message and any included attachments are from Park City
> > > Solutions Inc.
> > > and are intended only for the entity to which it is
> > > addressed. The contained
> > > information is confidential and privileged material. If you
> > > are not the
> > > intended recipient, you are hereby notified that any use,
> > > dissemination, or
> > > copying of this communication is strictly prohibited and may
> > > be unlawful. If
> > > you have received this communication in error please notify
> > > the sender of
> > > the delivery error by e-mail or call Park City Solutions Inc.
> > > corporate
> > > offices at (435) 654-0621
> > >
> > > -----Original Message-----
> > > From: Milt Epstein [mailto:mepstein@uiuc.edu]
> > > Sent: Wednesday, October 23, 2002 5:14 PM
> > > To: Tomcat Users List; jurban@parkcitysolutions.com
> > > Subject: RE: Apache/2 and Tomcat/4 not talking
> > >
> > > On Wed, 23 Oct 2002, Jim Urban wrote:
> > >
> > > > I have the following in my Apache httpd.conf:
> > > >
> > > > # Static files in the webapp are served by apache
> > > > Alias /ccs_v32 y:/tomcat4.0.4/webapps/ccs_v32
> > > > # All servlets goes to worker1
> > > > JkMount /*/servlet/* worker1
> > > >
> > > > The alias works because Apache serves my static files just fine.
> > >
> > > Not sure you can do that -- i.e. put that '*' before the
> > "/servlet/".
> > > (But not sure that's your problem either.)  You might try it without
> > > it, i.e. use "/servlet/*" as the pattern, or perhaps
> > > "/ccs_v32/servlet/*".
> > >
> > >
> > > > Here is my workers.properties:
> > > >
> > > > workers.apache_log=d:/apache_43/apache2/logs/
> > > > workers.tomcat_home=y:/tomcat4.0.4
> > > > workers.java_home=d:/jdk1.3/
> > > > ps=/
> > > >
> > > > # Define worker, ajp13
> > > > worker.list=worker1
> > > >
> > > > # Set properties for worker1 (ajp13)
> > > > worker.worker1.type=ajp13
> > > > worker.worker1.host=localhost
> > > > worker.worker1.port=8009
> > > > worker.worker1.lbfactor=50
> > > > worker.worker1.cachesize=10
> > > > worker.worker1.cache_timeout=600
> > > > worker.worker1.socket_keepalive=1
> > > > worker.worker1.socket_timeout=300
> > > >
> > > > Jim
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Milt Epstein [mailto:mepstein@uiuc.edu]
> > > > Sent: Tuesday, October 22, 2002 7:06 PM
> > > > To: Tomcat Users List; jurban@parkcitysolutions.com
> > > > Subject: Re: Apache/2 and Tomcat/4 not talking
> > > >
> > > > On Tue, 22 Oct 2002, Jim Urban wrote:
> > > >
> > > > > I have spent the past two days trying to get Apache/2 to
> > > forward servlet
> > > > > requests to Tomcat.  Here are the particulars:
> > > > >
> > > > > Java 1.3.0
> > > > > Win 2K SP3
> > > > > Tomcat 4.0.4
> > > > > Apache/2 0.43
> > > > > AJP13
> > > > > SSL
> > > > >
> > > > > Mod_jk.conf
> > > > > ########## Auto generated on Tue Oct 22 12:01:16 CDT
> > > 2002##########
> > > > >
> > > > > <IfModule !mod_jk.c>
> > > > >   LoadModule jk_module modules/mod_jk.dll
> > > > > </IfModule>
> > > > >
> > > > > JkWorkersFile "y:/Tomcat4.0.4/conf/jk/workers.properties"
> > > > > JkLogFile "y:/Tomcat4.0.4/logs/mod_jk.log"
> > > > >
> > > > > JkLogLevel debug
> > > > > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> > > > [ ... ]
> > > >
> > > > You don't have any JkMount directives.  JkMount directives
> > > are of the
> > > > form:
> > > >
> > > > JkMount url-pattern worker-name
> > > >
> > > > They tell Apache what URL's (based on a match of the URL
> > pattern) to
> > > > forward to Tomcat.  worker-name should be defined in
> > > > workers.properties with a number of:
> > > >
> > > > worker.worker-name.property=value
> > > >
> > > > where property is { host, port, type }.
> > > >
> > > > Milt Epstein
> > > > Research Programmer
> > > > Integration and Software Engineering (ISE)
> > > > Campus Information Technologies and Educational Services (CITES)
> > > > University of Illinois at Urbana-Champaign (UIUC)
> > > > mepstein@uiuc.edu
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <mailto:tomcat-user-help@jakarta.apache.org>
> > > >
> > >
> > > Milt Epstein
> > > Research Programmer
> > > Integration and Software Engineering (ISE)
> > > Campus Information Technologies and Educational Services (CITES)
> > > University of Illinois at Urbana-Champaign (UIUC)
> > > mepstein@uiuc.edu
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message