You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Luminous Heart <lu...@yahoo.com> on 2002/07/01 00:11:31 UTC
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Do I understand that mod_jk version 1 works with
tomcat4.1 and apache2.0.x? I somehow understood from
the configuration files, that look for mod_jk2.so that
you can not use but jk2. If my understanding is wrong
please let me know, and if you got any config tips on
that.
Thanks.
--- Liam Morley <lm...@gdc.wpi.edu> wrote:
> I've temporarily given up on trying to configure
> mod_jk2 as my last post
> on the issue came up without a response. (I'm
> secretly hoping that the
> person developing jk2 is listening and is currently
> looking through the
> logs I posted seeing if anything looks familiar..
> other than that, I'm
> sticking with mod_jk v1 for production and getting
> ready to see if 4.1.6
> is the answer to my prayers tomorrow.)
>
> Liam Morley
>
> Luminous Heart wrote:
>
> >Was anyone able to get this combination to work on
> >Linux? I am having lots of problems compiling
> >especially mod_jk2.
> >
> >If anyone can share their configuration, or suggest
> a
> >mini HowTo, I would appreciate that.
> >
> >Regards.
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! - Official partner of 2002 FIFA World Cup
> >http://fifaworldcup.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Jacob Kjome <ho...@visi.com>.
That error happens when you define the following for JMX beans support: in
server.xml.
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
and you don't define the Coyote ajp1.3 connector
If you use the older ajp1.3 connector, comment the above listeners out.
Jake
At 04:43 PM 6/30/2002 -0700, you wrote:
>I am doing similar to what you have here. When I start
>my tomcat I get this error in my catalina.out
><Quote>
>INFO: Initializing Coyote HTTP/1.1 on port 8003
>ServerLifecycleListener: createMBeans: MBeanException
>java.lang.Exception: ManagedBean is not found with
>Ajp13Connector
> at
>org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
>-----
>----
>---
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Starting service Tomcat-Standalone
>Apache Tomcat/4.1.3
></Quote>
>
>Then I start my apache with apachectl startssl. When I
>go to my
>http://www.myserver.com:8003/examples/jsp/dates/date.jsp
>I get this error:
><Quote>
>type Exception report
>
>message
>
>description The server encountered an internal error
>() that prevented it from fulfilling this request.
>
>exception
>
>javax.servlet.ServletException: Servlet.init() for
>servlet jsp threw exception
> at
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:947)
> at
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:656)
></Quote>
>
>What am I doing wrong?
>
>--- Brian Millett <bp...@ec-group.com> wrote:
> > On Sun, 2002-06-30 at 17:11, Luminous Heart wrote:
> > > Do I understand that mod_jk version 1 works with
> > > tomcat4.1 and apache2.0.x?
> >
> > Here is my "stuff" for tomcat 4.1.6, apache 2.0.39,
> > redhat 7.2
> >
> > server.xml: (comment out the jk2 stuff)
> >
> > <!-- Define a Coyote/JK2 AJP 1.3 Connector on
> > port 8009 -->
> > <!--
> > <Connector
> >
>className="org.apache.coyote.tomcat4.CoyoteConnector"
> > port="8009" minProcessors="5"
> > maxProcessors="75"
> > enableLookups="true"
> > redirectPort="8443"
> > acceptCount="10" debug="0"
> > connectionTimeout="20000"
> > useURIValidationHack="false"
> >
> >
>protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> > -->
> >
> > <!-- Define an AJP 1.3 Connector on port 8009
> > -->
> >
> > <Connector
> > className="org.apache.ajp.tomcat4.Ajp13Connector"
> > port="8009" minProcessors="5"
> > maxProcessors="75"
> > acceptCount="10" debug="3"/>
> >
> >
> > Then in the apache httpd.conf I include this
> > mod_jk.conf file:
> > <IfModule mod_jk.c>
> >
>###############################################################################
> > # Apache Coyote JK Configuration File
> >
> >
>###############################################################################
> >
> > JkWorkersFile
> > /opt/apache/conf/workers.properties
> > JkLogFile /opt/apache/logs/mod_jk.log
> > JkLogLevel debug
> >
> > Alias /examples
> > "/opt/jakarta-tomcat/webapps/examples"
> > <Directory "/opt/jakarta-tomcat/webapps/examples">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /examples ajp13
> > JkMount /examples/* ajp13
> >
> > Alias /struts-example
> > "/opt/jakarta-tomcat/webapps/struts-example"
> > <Directory
> > "/opt/jakarta-tomcat/webapps/struts-example">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /struts-example ajp13
> > JkMount /struts-example/* ajp13
> >
> > Alias /struts-documentation
> > "/opt/jakarta-tomcat/webapps/struts-documentation"
> > <Directory
> > "/opt/jakarta-tomcat/webapps/struts-documentation">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /struts-documentation ajp13
> > JkMount /struts-documentation/* ajp13
> >
> > Alias /struts-exercise-taglib
> > "/opt/jakarta-tomcat/webapps/struts-exercise-taglib"
> > <Directory
> >
>"/opt/jakarta-tomcat/webapps/struts-exercise-taglib">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /struts-exercise-taglib ajp13
> > JkMount /struts-exercise-taglib/* ajp13
> >
> > Alias /cocoon "/opt/jakarta-tomcat/webapps/cocoon"
> > <Directory "/opt/jakarta-tomcat/webapps/cocoon">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /cocoon ajp13
> > JkMount /cocoon/* ajp13
> >
> > </IfModule>
> >
> >
> > --
> > Brian Millett
> > Enterprise Consulting Group "Shifts in paradigms
> > (314) 205-9030 often cause nose
> > bleeds."
> > bpm@ec-group.com Greg Glenn
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Liam Morley <lm...@gdc.wpi.edu>.
Brian,
then it seems you're running jk1, not jk2 then, the same connector as in
previous versions of tomcat.
Liam Morley
Brian Millett wrote:
>On Sun, 2002-06-30 at 17:11, Luminous Heart wrote:
>
>
>>Do I understand that mod_jk version 1 works with
>>tomcat4.1 and apache2.0.x?
>>
>>
>
>Here is my "stuff" for tomcat 4.1.6, apache 2.0.39, redhat 7.2
>
>server.xml: (comment out the jk2 stuff)
>
> <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
> <!--
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="8009" minProcessors="5" maxProcessors="75"
> enableLookups="true" redirectPort="8443"
> acceptCount="10" debug="0" connectionTimeout="20000"
> useURIValidationHack="false"
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> -->
>
> <!-- Define an AJP 1.3 Connector on port 8009 -->
>
> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> port="8009" minProcessors="5" maxProcessors="75"
> acceptCount="10" debug="3"/>
>
>
>Then in the apache httpd.conf I include this mod_jk.conf file:
><IfModule mod_jk.c>
>###############################################################################
># Apache Coyote JK Configuration File
>###############################################################################
>
> JkWorkersFile /opt/apache/conf/workers.properties
> JkLogFile /opt/apache/logs/mod_jk.log
> JkLogLevel debug
>
>Alias /examples "/opt/jakarta-tomcat/webapps/examples"
><Directory "/opt/jakarta-tomcat/webapps/examples">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
></Directory>
>JkMount /examples ajp13
>JkMount /examples/* ajp13
>
>Alias /struts-example "/opt/jakarta-tomcat/webapps/struts-example"
><Directory "/opt/jakarta-tomcat/webapps/struts-example">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
></Directory>
>JkMount /struts-example ajp13
>JkMount /struts-example/* ajp13
>
>Alias /struts-documentation
>"/opt/jakarta-tomcat/webapps/struts-documentation"
><Directory "/opt/jakarta-tomcat/webapps/struts-documentation">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
></Directory>
>JkMount /struts-documentation ajp13
>JkMount /struts-documentation/* ajp13
>
>Alias /struts-exercise-taglib
>"/opt/jakarta-tomcat/webapps/struts-exercise-taglib"
><Directory "/opt/jakarta-tomcat/webapps/struts-exercise-taglib">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
></Directory>
>JkMount /struts-exercise-taglib ajp13
>JkMount /struts-exercise-taglib/* ajp13
>
>Alias /cocoon "/opt/jakarta-tomcat/webapps/cocoon"
><Directory "/opt/jakarta-tomcat/webapps/cocoon">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
></Directory>
>JkMount /cocoon ajp13
>JkMount /cocoon/* ajp13
>
></IfModule>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: apache2.0.39 + tomcat4.1.x Virtual Hosts
Posted by Rupert Young <ru...@liberty.nildram.co.uk>.
How do you have your JkMount ? Is it inside the <VirtualHost> directive ?
If not, then I think thr apps will be global.
Rupert
> -----Original Message-----
> From: Luminous Heart [mailto:luminousheart@yahoo.com]
> Sent: 02 July 2002 18:28
> To: Tomcat Users List
> Subject: apache2.0.39 + tomcat4.1.x Virtual Hosts
>
>
> I managed to upgrade to the above combo on Linux. My
> site runs 2 different domain names. Each of these
> domains has 3 subsites something like sub1.domain1.com
> and sub2.domain2.com.
>
> All my applications set in /usr/local/tomcat/webapps.
> I have Virtual Hosts and Contexts defined for my
> applications. For example AppX1 should only be
> accessed from www.domain2.com/AppX1/index.jsp, when I
> type www.domain1.com/AppX1/index.jsp I still can see
> that application.
>
> My server.xml defines Host for each domain I have,
> also these hosts are mapped to VirtualHosts in my
> mod_jk.conf.
>
> Why virtual hosts is not working with 2.0.39 while the
> same configuration was working fine with 1.3.14 with
> tc2.3.x?
>
> If anyone has a tip I would appreciate it so much.
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
apache2.0.39 + tomcat4.1.x Virtual Hosts
Posted by Luminous Heart <lu...@yahoo.com>.
I managed to upgrade to the above combo on Linux. My
site runs 2 different domain names. Each of these
domains has 3 subsites something like sub1.domain1.com
and sub2.domain2.com.
All my applications set in /usr/local/tomcat/webapps.
I have Virtual Hosts and Contexts defined for my
applications. For example AppX1 should only be
accessed from www.domain2.com/AppX1/index.jsp, when I
type www.domain1.com/AppX1/index.jsp I still can see
that application.
My server.xml defines Host for each domain I have,
also these hosts are mapped to VirtualHosts in my
mod_jk.conf.
Why virtual hosts is not working with 2.0.39 while the
same configuration was working fine with 1.3.14 with
tc2.3.x?
If anyone has a tip I would appreciate it so much.
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Re[2]: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Luminous Heart <lu...@yahoo.com>.
I am not sure why I am having bad luck with that combo
on Linux then!
--- Jacob Kjome <ho...@visi.com> wrote:
> Hello Luminous,
>
> Works fine for me using Tomcat-4.1.6, Apache-2.0.39,
> and j2sdk1.4.0_01
> on Win2k.
>
> Jake
>
> Monday, July 01, 2002, 2:28:22 PM, you wrote:
>
> LH> I am using new directory for each version of
> tomcat.
> LH> But the problem, that I noticed is that
> tomcat4.1.x
> LH> does not like JDK1.4. Is it only me?
>
>
> LH> --- "Craig R. McClanahan" <cr...@apache.org>
> wrote:
> >>
> >>
> >> On Mon, 1 Jul 2002, Brian Millett wrote:
> >>
> >> > Date: Mon, 01 Jul 2002 07:13:09 -0500
> >> > From: Brian Millett <bp...@ec-group.com>
> >> > Reply-To: Tomcat Users List
> >> <to...@jakarta.apache.org>
> >> > To: Tomcat Users List
> >> <to...@jakarta.apache.org>
> >> > Subject: Re: apache2.0.39 + tomcat4.1.x +
> >> mod_jk2.so
> >> >
> >> > On Sun, 2002-06-30 at 20:41, Luminous Heart
> wrote:
> >> > > It seems that tomcat4.1.6 and tomcat4.1.3
> (for
> >> this
> >> > > matter) do not like jdk1.4! I get errors
> about
> >> not
> >> > > being able to compile jsp files. If I switch
> >> Java_Home
> >> > > to jdk1.2 it compiles fine. But of course 1.2
> >> does not
> >> > > support some of the new features in tomcat
> like
> >> > > keepSocketAlive.
> >> > >
> >> > I only get jsp errors when I forget to delete
> the
> >> work dir after
> >> > upgrading a version of jasper. Try deleting
> >> 'work/*', then try again.
> >>
> >> Or install the new Tomcat in a new directory.
> >> Installing new versions on
> >> top of old ones is just asking for trouble.
> >>
> >> Craig
> >>
> >>
> >> > --
> >> > Brian Millett
> >> > Enterprise Consulting Group "Shifts in
> >> paradigms
> >> > (314) 205-9030 often cause
> >> nose bleeds."
> >> > bpm@ec-group.com Greg Glenn
> >> >
> >> >
> >> > --
> >> > To unsubscribe, e-mail:
> >>
> <ma...@jakarta.apache.org>
> >> > For additional commands, e-mail:
> >> <ma...@jakarta.apache.org>
> >> >
> >> >
> >>
> >>
> >> --
> >> To unsubscribe, e-mail:
> >>
> <ma...@jakarta.apache.org>
> >> For additional commands, e-mail:
> >> <ma...@jakarta.apache.org>
> >>
>
>
> LH>
> __________________________________________________
> LH> Do You Yahoo!?
> LH> Yahoo! - Official partner of 2002 FIFA World Cup
> LH> http://fifaworldcup.yahoo.com
>
> LH> --
> LH> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> LH> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> Best regards,
> Jacob
> mailto:hoju@visi.com
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re[2]: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Jacob Kjome <ho...@visi.com>.
Hello Luminous,
Works fine for me using Tomcat-4.1.6, Apache-2.0.39, and j2sdk1.4.0_01
on Win2k.
Jake
Monday, July 01, 2002, 2:28:22 PM, you wrote:
LH> I am using new directory for each version of tomcat.
LH> But the problem, that I noticed is that tomcat4.1.x
LH> does not like JDK1.4. Is it only me?
LH> --- "Craig R. McClanahan" <cr...@apache.org> wrote:
>>
>>
>> On Mon, 1 Jul 2002, Brian Millett wrote:
>>
>> > Date: Mon, 01 Jul 2002 07:13:09 -0500
>> > From: Brian Millett <bp...@ec-group.com>
>> > Reply-To: Tomcat Users List
>> <to...@jakarta.apache.org>
>> > To: Tomcat Users List
>> <to...@jakarta.apache.org>
>> > Subject: Re: apache2.0.39 + tomcat4.1.x +
>> mod_jk2.so
>> >
>> > On Sun, 2002-06-30 at 20:41, Luminous Heart wrote:
>> > > It seems that tomcat4.1.6 and tomcat4.1.3 (for
>> this
>> > > matter) do not like jdk1.4! I get errors about
>> not
>> > > being able to compile jsp files. If I switch
>> Java_Home
>> > > to jdk1.2 it compiles fine. But of course 1.2
>> does not
>> > > support some of the new features in tomcat like
>> > > keepSocketAlive.
>> > >
>> > I only get jsp errors when I forget to delete the
>> work dir after
>> > upgrading a version of jasper. Try deleting
>> 'work/*', then try again.
>>
>> Or install the new Tomcat in a new directory.
>> Installing new versions on
>> top of old ones is just asking for trouble.
>>
>> Craig
>>
>>
>> > --
>> > Brian Millett
>> > Enterprise Consulting Group "Shifts in
>> paradigms
>> > (314) 205-9030 often cause
>> nose bleeds."
>> > bpm@ec-group.com Greg Glenn
>> >
>> >
>> > --
>> > To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> > For additional commands, e-mail:
>> <ma...@jakarta.apache.org>
>> >
>> >
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
>> <ma...@jakarta.apache.org>
>>
LH> __________________________________________________
LH> Do You Yahoo!?
LH> Yahoo! - Official partner of 2002 FIFA World Cup
LH> http://fifaworldcup.yahoo.com
LH> --
LH> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
LH> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
Best regards,
Jacob mailto:hoju@visi.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Luminous Heart <lu...@yahoo.com>.
I am using new directory for each version of tomcat.
But the problem, that I noticed is that tomcat4.1.x
does not like JDK1.4. Is it only me?
--- "Craig R. McClanahan" <cr...@apache.org> wrote:
>
>
> On Mon, 1 Jul 2002, Brian Millett wrote:
>
> > Date: Mon, 01 Jul 2002 07:13:09 -0500
> > From: Brian Millett <bp...@ec-group.com>
> > Reply-To: Tomcat Users List
> <to...@jakarta.apache.org>
> > To: Tomcat Users List
> <to...@jakarta.apache.org>
> > Subject: Re: apache2.0.39 + tomcat4.1.x +
> mod_jk2.so
> >
> > On Sun, 2002-06-30 at 20:41, Luminous Heart wrote:
> > > It seems that tomcat4.1.6 and tomcat4.1.3 (for
> this
> > > matter) do not like jdk1.4! I get errors about
> not
> > > being able to compile jsp files. If I switch
> Java_Home
> > > to jdk1.2 it compiles fine. But of course 1.2
> does not
> > > support some of the new features in tomcat like
> > > keepSocketAlive.
> > >
> > I only get jsp errors when I forget to delete the
> work dir after
> > upgrading a version of jasper. Try deleting
> 'work/*', then try again.
>
> Or install the new Tomcat in a new directory.
> Installing new versions on
> top of old ones is just asking for trouble.
>
> Craig
>
>
> > --
> > Brian Millett
> > Enterprise Consulting Group "Shifts in
> paradigms
> > (314) 205-9030 often cause
> nose bleeds."
> > bpm@ec-group.com Greg Glenn
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Mon, 1 Jul 2002, Brian Millett wrote:
> Date: Mon, 01 Jul 2002 07:13:09 -0500
> From: Brian Millett <bp...@ec-group.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
>
> On Sun, 2002-06-30 at 20:41, Luminous Heart wrote:
> > It seems that tomcat4.1.6 and tomcat4.1.3 (for this
> > matter) do not like jdk1.4! I get errors about not
> > being able to compile jsp files. If I switch Java_Home
> > to jdk1.2 it compiles fine. But of course 1.2 does not
> > support some of the new features in tomcat like
> > keepSocketAlive.
> >
> I only get jsp errors when I forget to delete the work dir after
> upgrading a version of jasper. Try deleting 'work/*', then try again.
Or install the new Tomcat in a new directory. Installing new versions on
top of old ones is just asking for trouble.
Craig
> --
> Brian Millett
> Enterprise Consulting Group "Shifts in paradigms
> (314) 205-9030 often cause nose bleeds."
> bpm@ec-group.com Greg Glenn
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Brian Millett <bp...@ec-group.com>.
On Sun, 2002-06-30 at 20:41, Luminous Heart wrote:
> It seems that tomcat4.1.6 and tomcat4.1.3 (for this
> matter) do not like jdk1.4! I get errors about not
> being able to compile jsp files. If I switch Java_Home
> to jdk1.2 it compiles fine. But of course 1.2 does not
> support some of the new features in tomcat like
> keepSocketAlive.
>
I only get jsp errors when I forget to delete the work dir after
upgrading a version of jasper. Try deleting 'work/*', then try again.
--
Brian Millett
Enterprise Consulting Group "Shifts in paradigms
(314) 205-9030 often cause nose bleeds."
bpm@ec-group.com Greg Glenn
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Sun, 30 Jun 2002, Luminous Heart wrote:
> Date: Sun, 30 Jun 2002 18:41:00 -0700 (PDT)
> From: Luminous Heart <lu...@yahoo.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
>
> It seems that tomcat4.1.6 and tomcat4.1.3 (for this
> matter) do not like jdk1.4! I get errors about not
> being able to compile jsp files. If I switch Java_Home
> to jdk1.2 it compiles fine. But of course 1.2 does not
> support some of the new features in tomcat like
> keepSocketAlive.
>
That's interesting ... I've had no problems compiling JSP pages under JDK
1.4.0_01 (Linux version). There must be something different about your
setup -- of course, it's kinda hard to debug without knowing details about
what kind of errors you are getting, whether you're doing a stock install
or something unique, whether the sample apps work or not ...
Craig
> I guess I should stop here and wait till tc4.1 has
> matured before I dip in it.
>
> Regards.
>
> --- Luminous Heart <lu...@yahoo.com> wrote:
> > I am doing similar to what you have here. When I
> > start
> > my tomcat I get this error in my catalina.out
> > <Quote>
> > INFO: Initializing Coyote HTTP/1.1 on port 8003
> > ServerLifecycleListener: createMBeans:
> > MBeanException
> > java.lang.Exception: ManagedBean is not found with
> > Ajp13Connector
> > at
> >
> org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
> > -----
> > ----
> > ---
> > at
> > java.lang.reflect.Method.invoke(Method.java:324)
> > at
> >
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> > Starting service Tomcat-Standalone
> > Apache Tomcat/4.1.3
> > </Quote>
> >
> > Then I start my apache with apachectl startssl. When
> > I
> > go to my
> >
> http://www.myserver.com:8003/examples/jsp/dates/date.jsp
> > I get this error:
> > <Quote>
> > type Exception report
> >
> > message
> >
> > description The server encountered an internal error
> > () that prevented it from fulfilling this request.
> >
> > exception
> >
> > javax.servlet.ServletException: Servlet.init() for
> > servlet jsp threw exception
> > at
> >
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:947)
> > at
> >
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:656)
> > </Quote>
> >
> > What am I doing wrong?
> >
> > --- Brian Millett <bp...@ec-group.com> wrote:
> > > On Sun, 2002-06-30 at 17:11, Luminous Heart wrote:
> > > > Do I understand that mod_jk version 1 works with
> > > > tomcat4.1 and apache2.0.x?
> > >
> > > Here is my "stuff" for tomcat 4.1.6, apache
> > 2.0.39,
> > > redhat 7.2
> > >
> > > server.xml: (comment out the jk2 stuff)
> > >
> > > <!-- Define a Coyote/JK2 AJP 1.3 Connector on
> > > port 8009 -->
> > > <!--
> > > <Connector
> > >
> >
> className="org.apache.coyote.tomcat4.CoyoteConnector"
> > > port="8009" minProcessors="5"
> > > maxProcessors="75"
> > > enableLookups="true"
> > > redirectPort="8443"
> > > acceptCount="10" debug="0"
> > > connectionTimeout="20000"
> > > useURIValidationHack="false"
> > >
> > >
> >
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> > > -->
> > >
> > > <!-- Define an AJP 1.3 Connector on port 8009
> > > -->
> > >
> > > <Connector
> > > className="org.apache.ajp.tomcat4.Ajp13Connector"
> > > port="8009" minProcessors="5"
> > > maxProcessors="75"
> > > acceptCount="10" debug="3"/>
> > >
> > >
> > > Then in the apache httpd.conf I include this
> > > mod_jk.conf file:
> > > <IfModule mod_jk.c>
> > >
> >
> ###############################################################################
> > > # Apache Coyote JK Configuration File
> >
> > >
> > >
> >
> ###############################################################################
> > >
> > > JkWorkersFile
> > > /opt/apache/conf/workers.properties
> > > JkLogFile /opt/apache/logs/mod_jk.log
> > > JkLogLevel debug
> > >
> > > Alias /examples
> > > "/opt/jakarta-tomcat/webapps/examples"
> > > <Directory "/opt/jakarta-tomcat/webapps/examples">
> > > Options Indexes MultiViews All
> > > AllowOverride FileInfo AuthConfig Limit
> > > <Limit GET POST>
> > > Order deny,allow
> > > Deny from all
> > > Allow from 192.168.250.
> > > </Limit>
> > > </Directory>
> > > JkMount /examples ajp13
> > > JkMount /examples/* ajp13
> > >
> > > Alias /struts-example
> > > "/opt/jakarta-tomcat/webapps/struts-example"
> > > <Directory
> > > "/opt/jakarta-tomcat/webapps/struts-example">
> > > Options Indexes MultiViews All
> > > AllowOverride FileInfo AuthConfig Limit
> > > <Limit GET POST>
> > > Order deny,allow
> > > Deny from all
> > > Allow from 192.168.250.
> > > </Limit>
> > > </Directory>
> > > JkMount /struts-example ajp13
> > > JkMount /struts-example/* ajp13
> > >
> > > Alias /struts-documentation
> > > "/opt/jakarta-tomcat/webapps/struts-documentation"
> > > <Directory
> > >
> > "/opt/jakarta-tomcat/webapps/struts-documentation">
> > > Options Indexes MultiViews All
> > > AllowOverride FileInfo AuthConfig Limit
> > > <Limit GET POST>
> > > Order deny,allow
> > > Deny from all
> > > Allow from 192.168.250.
> > > </Limit>
> > > </Directory>
> > > JkMount /struts-documentation ajp13
> > > JkMount /struts-documentation/* ajp13
> > >
> > > Alias /struts-exercise-taglib
> > >
> > "/opt/jakarta-tomcat/webapps/struts-exercise-taglib"
> > > <Directory
> > >
> >
> "/opt/jakarta-tomcat/webapps/struts-exercise-taglib">
> > > Options Indexes MultiViews All
> > > AllowOverride FileInfo AuthConfig Limit
> > > <Limit GET POST>
> > > Order deny,allow
> > > Deny from all
> > > Allow from 192.168.250.
> > > </Limit>
> > > </Directory>
> > > JkMount /struts-exercise-taglib ajp13
> > > JkMount /struts-exercise-taglib/* ajp13
> > >
> > > Alias /cocoon "/opt/jakarta-tomcat/webapps/cocoon"
> > > <Directory "/opt/jakarta-tomcat/webapps/cocoon">
> > > Options Indexes MultiViews All
> > > AllowOverride FileInfo AuthConfig Limit
> > > <Limit GET POST>
> > > Order deny,allow
> > > Deny from all
> > > Allow from 192.168.250.
> > > </Limit>
> > > </Directory>
> > > JkMount /cocoon ajp13
> > > JkMount /cocoon/* ajp13
> > >
> > > </IfModule>
> > >
> > >
> > > --
> > > Brian Millett
> > > Enterprise Consulting Group "Shifts in
> > paradigms
> > > (314) 205-9030 often cause
> > nose
> > > bleeds."
> > > bpm@ec-group.com Greg Glenn
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > >
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> >
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Luminous Heart <lu...@yahoo.com>.
It seems that tomcat4.1.6 and tomcat4.1.3 (for this
matter) do not like jdk1.4! I get errors about not
being able to compile jsp files. If I switch Java_Home
to jdk1.2 it compiles fine. But of course 1.2 does not
support some of the new features in tomcat like
keepSocketAlive.
I guess I should stop here and wait till tc4.1 has
matured before I dip in it.
Regards.
--- Luminous Heart <lu...@yahoo.com> wrote:
> I am doing similar to what you have here. When I
> start
> my tomcat I get this error in my catalina.out
> <Quote>
> INFO: Initializing Coyote HTTP/1.1 on port 8003
> ServerLifecycleListener: createMBeans:
> MBeanException
> java.lang.Exception: ManagedBean is not found with
> Ajp13Connector
> at
>
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
> -----
> ----
> ---
> at
> java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.3
> </Quote>
>
> Then I start my apache with apachectl startssl. When
> I
> go to my
>
http://www.myserver.com:8003/examples/jsp/dates/date.jsp
> I get this error:
> <Quote>
> type Exception report
>
> message
>
> description The server encountered an internal error
> () that prevented it from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Servlet.init() for
> servlet jsp threw exception
> at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:947)
> at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:656)
> </Quote>
>
> What am I doing wrong?
>
> --- Brian Millett <bp...@ec-group.com> wrote:
> > On Sun, 2002-06-30 at 17:11, Luminous Heart wrote:
> > > Do I understand that mod_jk version 1 works with
> > > tomcat4.1 and apache2.0.x?
> >
> > Here is my "stuff" for tomcat 4.1.6, apache
> 2.0.39,
> > redhat 7.2
> >
> > server.xml: (comment out the jk2 stuff)
> >
> > <!-- Define a Coyote/JK2 AJP 1.3 Connector on
> > port 8009 -->
> > <!--
> > <Connector
> >
>
className="org.apache.coyote.tomcat4.CoyoteConnector"
> > port="8009" minProcessors="5"
> > maxProcessors="75"
> > enableLookups="true"
> > redirectPort="8443"
> > acceptCount="10" debug="0"
> > connectionTimeout="20000"
> > useURIValidationHack="false"
> >
> >
>
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> > -->
> >
> > <!-- Define an AJP 1.3 Connector on port 8009
> > -->
> >
> > <Connector
> > className="org.apache.ajp.tomcat4.Ajp13Connector"
> > port="8009" minProcessors="5"
> > maxProcessors="75"
> > acceptCount="10" debug="3"/>
> >
> >
> > Then in the apache httpd.conf I include this
> > mod_jk.conf file:
> > <IfModule mod_jk.c>
> >
>
###############################################################################
> > # Apache Coyote JK Configuration File
>
> >
> >
>
###############################################################################
> >
> > JkWorkersFile
> > /opt/apache/conf/workers.properties
> > JkLogFile /opt/apache/logs/mod_jk.log
> > JkLogLevel debug
> >
> > Alias /examples
> > "/opt/jakarta-tomcat/webapps/examples"
> > <Directory "/opt/jakarta-tomcat/webapps/examples">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /examples ajp13
> > JkMount /examples/* ajp13
> >
> > Alias /struts-example
> > "/opt/jakarta-tomcat/webapps/struts-example"
> > <Directory
> > "/opt/jakarta-tomcat/webapps/struts-example">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /struts-example ajp13
> > JkMount /struts-example/* ajp13
> >
> > Alias /struts-documentation
> > "/opt/jakarta-tomcat/webapps/struts-documentation"
> > <Directory
> >
> "/opt/jakarta-tomcat/webapps/struts-documentation">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /struts-documentation ajp13
> > JkMount /struts-documentation/* ajp13
> >
> > Alias /struts-exercise-taglib
> >
> "/opt/jakarta-tomcat/webapps/struts-exercise-taglib"
> > <Directory
> >
>
"/opt/jakarta-tomcat/webapps/struts-exercise-taglib">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /struts-exercise-taglib ajp13
> > JkMount /struts-exercise-taglib/* ajp13
> >
> > Alias /cocoon "/opt/jakarta-tomcat/webapps/cocoon"
> > <Directory "/opt/jakarta-tomcat/webapps/cocoon">
> > Options Indexes MultiViews All
> > AllowOverride FileInfo AuthConfig Limit
> > <Limit GET POST>
> > Order deny,allow
> > Deny from all
> > Allow from 192.168.250.
> > </Limit>
> > </Directory>
> > JkMount /cocoon ajp13
> > JkMount /cocoon/* ajp13
> >
> > </IfModule>
> >
> >
> > --
> > Brian Millett
> > Enterprise Consulting Group "Shifts in
> paradigms
> > (314) 205-9030 often cause
> nose
> > bleeds."
> > bpm@ec-group.com Greg Glenn
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Luminous Heart <lu...@yahoo.com>.
I am doing similar to what you have here. When I start
my tomcat I get this error in my catalina.out
<Quote>
INFO: Initializing Coyote HTTP/1.1 on port 8003
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with
Ajp13Connector
at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
-----
----
---
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.3
</Quote>
Then I start my apache with apachectl startssl. When I
go to my
http://www.myserver.com:8003/examples/jsp/dates/date.jsp
I get this error:
<Quote>
type Exception report
message
description The server encountered an internal error
() that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for
servlet jsp threw exception
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:947)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:656)
</Quote>
What am I doing wrong?
--- Brian Millett <bp...@ec-group.com> wrote:
> On Sun, 2002-06-30 at 17:11, Luminous Heart wrote:
> > Do I understand that mod_jk version 1 works with
> > tomcat4.1 and apache2.0.x?
>
> Here is my "stuff" for tomcat 4.1.6, apache 2.0.39,
> redhat 7.2
>
> server.xml: (comment out the jk2 stuff)
>
> <!-- Define a Coyote/JK2 AJP 1.3 Connector on
> port 8009 -->
> <!--
> <Connector
>
className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="8009" minProcessors="5"
> maxProcessors="75"
> enableLookups="true"
> redirectPort="8443"
> acceptCount="10" debug="0"
> connectionTimeout="20000"
> useURIValidationHack="false"
>
>
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> -->
>
> <!-- Define an AJP 1.3 Connector on port 8009
> -->
>
> <Connector
> className="org.apache.ajp.tomcat4.Ajp13Connector"
> port="8009" minProcessors="5"
> maxProcessors="75"
> acceptCount="10" debug="3"/>
>
>
> Then in the apache httpd.conf I include this
> mod_jk.conf file:
> <IfModule mod_jk.c>
>
###############################################################################
> # Apache Coyote JK Configuration File
>
>
###############################################################################
>
> JkWorkersFile
> /opt/apache/conf/workers.properties
> JkLogFile /opt/apache/logs/mod_jk.log
> JkLogLevel debug
>
> Alias /examples
> "/opt/jakarta-tomcat/webapps/examples"
> <Directory "/opt/jakarta-tomcat/webapps/examples">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
> </Directory>
> JkMount /examples ajp13
> JkMount /examples/* ajp13
>
> Alias /struts-example
> "/opt/jakarta-tomcat/webapps/struts-example"
> <Directory
> "/opt/jakarta-tomcat/webapps/struts-example">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
> </Directory>
> JkMount /struts-example ajp13
> JkMount /struts-example/* ajp13
>
> Alias /struts-documentation
> "/opt/jakarta-tomcat/webapps/struts-documentation"
> <Directory
> "/opt/jakarta-tomcat/webapps/struts-documentation">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
> </Directory>
> JkMount /struts-documentation ajp13
> JkMount /struts-documentation/* ajp13
>
> Alias /struts-exercise-taglib
> "/opt/jakarta-tomcat/webapps/struts-exercise-taglib"
> <Directory
>
"/opt/jakarta-tomcat/webapps/struts-exercise-taglib">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
> </Directory>
> JkMount /struts-exercise-taglib ajp13
> JkMount /struts-exercise-taglib/* ajp13
>
> Alias /cocoon "/opt/jakarta-tomcat/webapps/cocoon"
> <Directory "/opt/jakarta-tomcat/webapps/cocoon">
> Options Indexes MultiViews All
> AllowOverride FileInfo AuthConfig Limit
> <Limit GET POST>
> Order deny,allow
> Deny from all
> Allow from 192.168.250.
> </Limit>
> </Directory>
> JkMount /cocoon ajp13
> JkMount /cocoon/* ajp13
>
> </IfModule>
>
>
> --
> Brian Millett
> Enterprise Consulting Group "Shifts in paradigms
> (314) 205-9030 often cause nose
> bleeds."
> bpm@ec-group.com Greg Glenn
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Posted by Brian Millett <bp...@ec-group.com>.
On Sun, 2002-06-30 at 17:11, Luminous Heart wrote:
> Do I understand that mod_jk version 1 works with
> tomcat4.1 and apache2.0.x?
Here is my "stuff" for tomcat 4.1.6, apache 2.0.39, redhat 7.2
server.xml: (comment out the jk2 stuff)
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="3"/>
Then in the apache httpd.conf I include this mod_jk.conf file:
<IfModule mod_jk.c>
###############################################################################
# Apache Coyote JK Configuration File
###############################################################################
JkWorkersFile /opt/apache/conf/workers.properties
JkLogFile /opt/apache/logs/mod_jk.log
JkLogLevel debug
Alias /examples "/opt/jakarta-tomcat/webapps/examples"
<Directory "/opt/jakarta-tomcat/webapps/examples">
Options Indexes MultiViews All
AllowOverride FileInfo AuthConfig Limit
<Limit GET POST>
Order deny,allow
Deny from all
Allow from 192.168.250.
</Limit>
</Directory>
JkMount /examples ajp13
JkMount /examples/* ajp13
Alias /struts-example "/opt/jakarta-tomcat/webapps/struts-example"
<Directory "/opt/jakarta-tomcat/webapps/struts-example">
Options Indexes MultiViews All
AllowOverride FileInfo AuthConfig Limit
<Limit GET POST>
Order deny,allow
Deny from all
Allow from 192.168.250.
</Limit>
</Directory>
JkMount /struts-example ajp13
JkMount /struts-example/* ajp13
Alias /struts-documentation
"/opt/jakarta-tomcat/webapps/struts-documentation"
<Directory "/opt/jakarta-tomcat/webapps/struts-documentation">
Options Indexes MultiViews All
AllowOverride FileInfo AuthConfig Limit
<Limit GET POST>
Order deny,allow
Deny from all
Allow from 192.168.250.
</Limit>
</Directory>
JkMount /struts-documentation ajp13
JkMount /struts-documentation/* ajp13
Alias /struts-exercise-taglib
"/opt/jakarta-tomcat/webapps/struts-exercise-taglib"
<Directory "/opt/jakarta-tomcat/webapps/struts-exercise-taglib">
Options Indexes MultiViews All
AllowOverride FileInfo AuthConfig Limit
<Limit GET POST>
Order deny,allow
Deny from all
Allow from 192.168.250.
</Limit>
</Directory>
JkMount /struts-exercise-taglib ajp13
JkMount /struts-exercise-taglib/* ajp13
Alias /cocoon "/opt/jakarta-tomcat/webapps/cocoon"
<Directory "/opt/jakarta-tomcat/webapps/cocoon">
Options Indexes MultiViews All
AllowOverride FileInfo AuthConfig Limit
<Limit GET POST>
Order deny,allow
Deny from all
Allow from 192.168.250.
</Limit>
</Directory>
JkMount /cocoon ajp13
JkMount /cocoon/* ajp13
</IfModule>
--
Brian Millett
Enterprise Consulting Group "Shifts in paradigms
(314) 205-9030 often cause nose bleeds."
bpm@ec-group.com Greg Glenn
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>