Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Tomcat4.1, jk2, and apache 1.3

Mark Claassen

2003-10-10

Replies:

Repost. I forgot to include some necessary information

Well, I figured out how to get jk2 and apache 1.3
working...sort of. Now I am getting this error. I have seen
lots of others ask about this, but no real answers. Does
anyone have one now? I get the following error when I try to access
http://blah/examples/

(error) [jk_msg_ajp.c (447)]: msgAjp.receive(): Bad signature 5374
(error) [jk_channel_socket.c (549)]: channelSocket.receive(): Bad header
(error) [jk_workerEnv.c (482)]: workerEnv.processCallbacks() Error reading
reply
(error) [jk_worker_ajp13.c (416)]: ajp13.service() ajpGetReply recoverable
error 21000
(error) [jk_msg_ajp.c (447)]: msgAjp.receive(): Bad signature 5374
(error) [jk_channel_socket.c (549)]: channelSocket.receive(): Bad header
(error) [jk_workerEnv.c (482)]: workerEnv.processCallbacks() Error reading
reply
(error) [jk_worker_ajp13.c (416)]: ajp13.service() ajpGetReply recoverable
error 21000
(error) [jk_worker_ajp13.c (512)]: ajp13.service() Error forwarding
ajp13:localhost:8019

Part of worker2.properties
--------------------------
[logger.file:0]
level=DEBUG
file=${serverRoot}/log/jk2.log

[shm]
file=/opt/OCIEsys/apache/MAC/tmp/jk2.shm
size=1048576

# Example socket channel, override port and host.
[channel.socket:localhost:8019]
tomcatId=localhost:8019
port=8009
host=localhost

# define the worker
[ajp13:localhost:8019]
channel=channel.socket:localhost:8019

[status:]
info=Status worker,display runtime information channel.socket:localhost:8019
# Map the Tomcat examples webapp to the Web server uri space

[uri:/examples/*]
info=Map the whole webapp
group=ajp13:localhost:8019
context=/examples/*
debug=9




> -----Original Message-----
> From: Mark Claassen [mailto:mac@(protected)]
> Sent: Friday, October 10, 2003 8:21 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat4.1, jk2, and apache 1.3
>
>
> Well, I figured out how to get jk2 and apache 1.3
> working...sort of. Now I am getting this error. I have seen
> lots of others ask about this, but no real answers. Does
> anyone have one now?
>
> (error) [jk_msg_ajp.c (447)]: msgAjp.receive(): Bad signature 5374
> (error) [jk_channel_socket.c (549)]: channelSocket.receive():
> Bad header
> (error) [jk_workerEnv.c (482)]: workerEnv.processCallbacks()
> Error reading reply
> (error) [jk_worker_ajp13.c (416)]: ajp13.service()
> ajpGetReply recoverable error 21000
> (error) [jk_msg_ajp.c (447)]: msgAjp.receive(): Bad signature 5374
> (error) [jk_channel_socket.c (549)]: channelSocket.receive():
> Bad header
> (error) [jk_workerEnv.c (482)]: workerEnv.processCallbacks()
> Error reading reply
> (error) [jk_worker_ajp13.c (416)]: ajp13.service()
> ajpGetReply recoverable error 21000
> (error) [jk_worker_ajp13.c (512)]: ajp13.service() Error
> forwarding ajp13:localhost:8019 1 0
> (error) [mod_jk2.c (427)]: mod_jk.handler() Error connecting
> to tomcat 21000
>
> Mark
>
>
>
> > -----Original Message-----
> > From: Mark Claassen [mailto:mac@(protected)]
> > Sent: Thursday, October 09, 2003 9:06 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat4.1, jk2, and apache 1.3
> >
> >
> > What are the two lines that you mean? These two in the http.conf?
> >
> > LoadModule    jk2_module libexec/mod_jk2.so
> > Include tomcat/conf/auto/mod_jk.conf
> >
> > What goes in the mod_jk.conf file?
> >
> > > -----Original Message-----
> > > From: Curley, Thomas [mailto:thomas.curley@(protected)]
> > > Sent: Thursday, October 09, 2003 3:39 AM
> > > To: Tomcat Users List
> > > Subject: RE: Tomcat4.1, jk2, and apache 1.3
> > >
> > >
> > > Fully agree - the connector tomcat/apache doc is a mess - can't
> > > understand why the connector developers cannot write a
> simple doc as
> > > part of release procedure or ask for help in documenting this.
> > >
> > > I'm alo trying to integrate Apache 1.3, TC 4.1.27 using
> jk2 on RH7.3
> > >
> > > From what I see you need mod_jk2.so (build this), jk2.properties,
> > > workers2.properties. Avoid going the auto config route in httpd
> > > just add the 2 lines for the jk2 module.
> > >
> > >
> > > Thomas
> > >
> > >
> > > -----Original Message-----
> > > From: Mark Claassen [mailto:mac@(protected)]
> > > Sent: 08 October 2003 23:18
> > > To: tomcat-user@(protected)
> > > Subject: Tomcat4.1, jk2, and apache 1.3
> > >
> > >
> > > Hi. I am trying to get the mod_jk2 to load into apache
> 1.3 and I am
> > > slowly going insane. I have "googled" my way around the web and
> > > have seen lots of people ask the same type of question I
> am asking,
> > > but there are few good answers. (I feel a bit like that
> guy in the
> > > commercial that "finished" the internet.)
> > >
> > > I have in my httpd.conf file:
> > > LoadModule    jk2_module libexec/mod_jk2.so
> > > Include    tomcat/conf/auto/mod_jk.conf
> > >
> > > I have read that there is a way to get tomcat to produce its own
> > > mod_jk.conf-auto file, but I cannot find how to do it. I have
> > > looked at the jk2 docs a lot, but it seems that they are for a
> > > different
> > > (incompatible) version. The JkMount directives cannot be
> > > added manually either, since mod_jk2 doesn't seem to
> > > understand these.
> > >
> > > What magic do I need to do so that tomcat 4.1 can produce the jk2
> > > config file automatically?
> > >
> > > Thanks,
> > > Mark
> > >
> > >
> > > ---------------------
> > > "Nonviolence is the answer to the crucial political and moral
> > > questions of our time; the need for man to overcome
> oppression and
> > > violence without resorting to oppression and violence. "
> > > -- Martin Luther King Jr.
> > >
> > > Mark Claassen
> > > Donnell Systems, Inc.
> > > 300 S. St. Louis Blvd. Ste. 203
> > > South Bend, IN 46617
> > > E-mail: mailto:mark.claassen@(protected)
> > > Voice: (574)232-3784
> > > Fax: (574)232-4014
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> > > For additional commands, e-mail:
> tomcat-user-help@(protected)
> > >
> > > **************************************************************
> > > *******************************
> > > This email and any attachments are confidential and
> intended for the
> > > sole use of the intended recipient(s).If you receive this
> email in
> > > error please notify emailadmin@(protected)
> it from your
> > > system. Any unauthorized dissemination, retransmission,
> or copying
> > > of this email and any attachments is prohibited.
> Euroconex does not
> > > accept any responsibility for any breach of confidence, which may
> > > arise from the use of email. Please note that any views
> or opinions
> > > presented in this email are solely those of the author and do
> > > not necessarily represent those of the Company. This message
> > > has been scanned for known computer viruses.
> > > **************************************************************
> > > *******************************
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> > > For additional commands, e-mail:
> tomcat-user-help@(protected)
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> > For additional commands, e-mail: tomcat-user-help@(protected)
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.