tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stewart Walker" <swal...@caspercollege.edu>
Subject Re: Integrating Tomcat 5 and Apache 2
Date Wed, 29 Sep 2004 02:13:29 GMT
What about this section below in catalina.out

INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 28, 2004 7:55:24 PM org.apache.jk.server.JkMain start
********** yik !!
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: /usr/lib/httpd/modules/jkjni.so:
/usr/lib/httpd/modules/jkjni.so: undefined symbol: apr_md5_final
********************8
Sep 28, 2004 7:55:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Sep 28, 2004 7:55:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/50 
config=/usr/java/tomcat-5.0.27/conf/jk2.properties
Sep 28, 2004 7:55:24 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3409 ms
Sep 28, 2004 7:57:50 PM org.apache.coyote.http11.Http11Protocol pause

do I have a problem with the libs?

There is  localhost_log.2004-09-28.txt in the logs directory along with
catalina.out.

[root@register logs]# cat *.txt
2004-09-28 19:55:24
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter:
init(): ruleChain: [org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News
/ Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]]
2004-09-28 19:55:24 StandardContext[/jsp-examples]ContextListener:
contextInitialized()
2004-09-28 19:55:24 StandardContext[/jsp-examples]SessionListener:
contextInitialized()
2004-09-28 19:55:24 StandardContext[/servlets-examples]ContextListener:
contextInitialized()
2004-09-28 19:55:24 StandardContext[/servlets-examples]SessionListener:
contextInitialized()
2004-09-28 19:56:24 StandardContext[/jsp-examples]SessionListener:
sessionDestroyed('8F92E42A3C2D558F075965E4A85372CC')
2004-09-28 19:57:52 StandardContext[/servlets-examples]SessionListener:
contextDestroyed()
2004-09-28 19:57:52 StandardContext[/servlets-examples]ContextListener:
contextDestroyed()
2004-09-28 19:57:52 StandardContext[/jsp-examples]SessionListener:
contextDestroyed()
2004-09-28 19:57:52 StandardContext[/jsp-examples]ContextListener:
contextDestroyed()

> Stewart,
>
> I think it will be in catalina.2004-09-28.log by default. You'll need to
> try the request again as this valve dumps the request details.
>
> PJ
>
> On Wed, 2004-09-29 at 09:45, Stewart Walker wrote:
>> Here is a snip of the catalina.out after enabling
>> RequestDumperValve
>>
>> catalina.out
>>
>> Sep 28, 2004 5:30:59 PM
>> org.apache.catalina.core.StandardHostDeployer install
>> INFO: Installing web application at context path /webdav from URL
>> file:/usr/java
>> /tomcat-5.0.27/webapps/webdav
>> Sep 28, 2004 5:30:59 PM org.apache.coyote.http11.Http11Protocol
>> start
>> INFO: Starting Coyote HTTP/1.1 on http-8080
>> Sep 28, 2004 5:30:59 PM org.apache.jk.server.JkMain start
>> INFO: APR not loaded, disabling jni components:
>> java.io.IOException: java.lang.UnsatisfiedLinkError:
>> /usr/lib/httpd/modules/jkjni.so: /usr/lib/httpd/modules/jkjni.so:
>> undefined symbol: apr_md5_final
>> Sep 28, 2004 5:30:59 PM org.apache.jk.common.ChannelSocket
>> init
>> INFO: JK2: ajp13 listening on /0.0.0.0:8009
>> Sep 28, 2004 5:30:59 PM org.apache.jk.server.JkMain start
>> INFO: Jk running ID=0 time=1/50  config=/usr/java/tomcat-
>> 5.0.27/conf/jk2.propert
>> ies
>> Sep 28, 2004 5:30:59 PM org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 3464 ms
>> Sep 28, 2004 5:32:22 PM org.apache.coyote.http11.Http11Protocol
>> pause
>> INFO: Pausing Coyote HTTP/1.1 on http-8080
>> Sep 28, 2004 5:32:23 PM
>> org.apache.catalina.core.StandardService stop
>> INFO: Stopping service Catalina
>> Sep 28, 2004 5:32:23 PM
>> org.apache.catalina.core.StandardHostDeployer remove
>> INFO: Removing web application at context path /admin
>> Sep 28, 2004 5:32:23 PM org.apache.catalina.logger.LoggerBase
>> stop
>> INFO: unregistering logger
>> Catalina:type=Logger,path=/admin,host=localhost
>>
>>
>> On 29 Sep 2004 at 9:16, Peter Johnson wrote:
>>
>> > Stewart,
>> >
>> > Try enabling the RequestDumperValve in server.xml. I think you'll find
>> > it has something to do with the difference between
>> > "com.datatel.server.servlets.webadvisor.WebAdvisor" and
>> > "datatel/openweb" ... well that is my first thought anyway.
>> >
>> > PJ
>> >
>> > On Wed, 2004-09-29 at 08:28, Stewart Walker wrote:
>> > > Redhat Linux Enterprise
>> > > httpd-2.0.46-40.ent
>> > > j2sdk1.4.2_05
>> > > tomcat-5.0.27
>> > > jakarta-tomcat-connectors-jk2-2.0.4-src
>> > >
>> > > For the record.. If I run the servlets
>> > >
>> > > http://server.edu:8080/servlet/com.datatel.server.servlets.webadvis
>> > > or.WebAdvisor?ACTION=Login they work fine.
>> > >
>> > >
>> > > Going over the
>> > > Chapter 8. Integrating Tomcat 5 and Apache 2 at
>> > > http://cymulacrum.net/writings/tomcat5/c875.html
>> > > Everthing (./confgure, make & ldd ) went fine.
>> > > Found that the
>> > > $CATALINA/logs/jk2.shm and the jk2.socket files.
>> > > For some reason arn't being created when tomcat starts.
>> > >
>> > > Tomcat isn't complaining about anything as far as I can tell.
>> > >
>> > > 2004-09-28 15:53:34 StandardContext[]WebAdvisor: Initializing
>> > > WebAdvisorContext
>> > > 2004-09-28 15:53:34 StandardContext[]WebAdvisor: No cache
>> > > found, creating new session cache.
>> > > 2004-09-28 15:57:09 StandardContext[/servlets-
>> > > examples]InvokerFilter(ApplicationFilterConfig[name=Path Mapped
>> > > Filter, filterClass=filters.ExampleFilter]): 4 milliseconds
>> > >
>> > > Tomcat starts and stops and serves the pages when directed as
>> > > above.
>> > >
>> > > Went back thru
>> > > Chapter 8. Integrating Tomcat 5 and Apache 2
>> > > Appendix A. mod_jk2 404 Error Problem
>> > > Appendix C. Building mod_jk2 on Red Hat Enterprise Linux 3
>> > > (RHEL)
>> > > double checked everything.
>> > >
>> > > Went ahead and started httpd and tried the uri setting
>> > >
>> > > # Uri mapping for datatel
>> > > [uri:/datatel/openweb/*]
>> > >
>> > > in workers2.properties and
>> > > got the 404 error.
>> > >
>> > > Commented out the uri settings there and put
>> > >
>> > > <Location "/datatel/openweb/*">
>>
>  > > JkUriSet worker ajp13
>> > > </Location>
>> > >
>> > > in etc/httpd/conf/httpd.conf
>> > >
>> > > Gave it a shot and recieved
>> > >
>> > > 500 Internal Server Error
>> > > (httpd error log logged )
>> > > [Tue Sep 28 15:45:36 2004] [error] uriEnv.init() map to invalid
>> > > worker /datatel/openweb/*-0 ajp13 and [Tue Sep 28 15:57:32 2004]
>> > > [error] mod_jk2.handle() No worker for /datatel/openweb/index.html
>> > > When I tried index.html
>> > >
>> > > I'm almost there was hoping some one would have an idea on what is
>> > > going on
>> > >
>> > > Thanks
>> > >
>> > >                  \\|//
>> > >               -(@ @)-
>> > > ===oOO==(_)==OOo======================
>> > >
>> > > Stewart Walker
>> > > swalker@caspercollege.edu
>> > >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For
>> > additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>> >
>>
>>
>>                  \\|//
>>               -(@ @)-
>> ===oOO==(_)==OOo======================
>>
>> Stewart Walker
>> swalker@caspercollege.edu
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


-- 
       \\|//
      -(@ @)-
===oOO==(_)==OOo===============
swalker@caspercollege.edu

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


Mime
View raw message