tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luminous Heart <luminoushe...@yahoo.com>
Subject Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Date Mon, 01 Jul 2002 01:41:00 GMT
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 <luminousheart@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 <bpm@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:  
> >
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message