You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Boyle Owen <Ow...@swx.com> on 2003/05/20 09:23:56 UTC

RE: [users@httpd] Think offtopic... mod_jk and Tomcat

>-----Original Message-----
>From: stakys [mailto:stakys@punktas.lt]
>

Not as Offtopic as installing RedHat on IBM thinkpads or whatever...

>Hi, i configured everything like says the how-to in the
>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhostho
>wto, but when
>i start apache i see theese in my httpd-error.log:
>tail -f /var/log/httpd-error.log
>
>[Mon May 19 16:24:20 2003] [notice] uriEnv.setAttribute() the worker
>directive is deprecated. Use 'group' instead.

These messages are at level "[notice]" so they're just letting you know
that something is using a deprecated class. It still works however, so
just ignore them for the time being.

>[Mon May 19 16:24:21 2003] [error] mod_jk child init 1 0

This is an "error" - something went wrong with mod_jk during startup.
Not the most informative error message I've ever seen, but read on...

>And when i try to access to the pages http://192.168.0.2 or 
>127.0.0.1 i get to the page like this:
>Internal Server Error
> etc...
>[Mon May 19 16:28:23 2003] [error] channelSocket.open() connect failed
>127.0.0.1:8009 61 Connection refused
>[Mon May 19 16:28:23 2003] [error] ajp13.connect() failed
>ajp13:localhost:8009
>[Mon May 19 16:28:23 2003] [error] ajp13.service() failed to connect
>endpoint errno=61 Connection refused
>[Mon May 19 16:28:23 2003] [error] ajp13.service() Error  forwarding
>ajp13:localhost:8009 1 1
>[Mon May 19 16:28:23 2003] [notice] ajp13.done() close endpoint
>ajp13:localhost:8009 error_state 1
>[Mon May 19 16:28:23 2003] [error] mod_jk.handler() Error connecting to
>tomcat 120000

mod_jk is attempting to connect but is getting a TCP/IP "connection
refused" error. Either your tomcat server is not running at all, or it's
listening on a different port (i.e. not 8009) or you have some other
network level problem.

Can you connect to tomcat directly? (http://localhost:8009/)?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>
>Hmmz whats wrong with this ? How to solve theese errors?
>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Think offtopic... mod_jk2 and Tomcat

Posted by stakys <st...@punktas.lt>.
After installing it was 8180 but i made backup of originall server.xml and
copied server.xml file from that how-to so for now it's 8009.
----- Original Message -----
From: "BAO RuiXian" <ru...@pp.inet.fi>
To: <us...@httpd.apache.org>
Sent: Tuesday, May 20, 2003 10:41 AM
Subject: Re: [users@httpd] Think offtopic... mod_jk2 and Tomcat


> How about localhost:8080, which is the standard port for tomcat?
>
> Best
>
> Bao
>
> stakys wrote:
> > Hmmz no i cannot connect to tomcat by going to http://localhost:8009/ i
got
> > connection refused.
> >
> >
> > ----- Original Message -----
> > From: "Boyle Owen" <Ow...@swx.com>
> > To: <us...@httpd.apache.org>
> > Sent: Tuesday, May 20, 2003 10:23 AM
> > Subject: RE: [users@httpd] Think offtopic... mod_jk and Tomcat
> >
> >
> >
> >>-----Original Message-----
> >>From: stakys [mailto:stakys@punktas.lt]
> >>
> >
> >
> > Not as Offtopic as installing RedHat on IBM thinkpads or whatever...
> >
> >
> >>Hi, i configured everything like says the how-to in the
> >>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhostho
> >>wto, but when
> >>i start apache i see theese in my httpd-error.log:
> >>tail -f /var/log/httpd-error.log
> >>
> >>[Mon May 19 16:24:20 2003] [notice] uriEnv.setAttribute() the worker
> >>directive is deprecated. Use 'group' instead.
> >
> >
> > These messages are at level "[notice]" so they're just letting you know
> > that something is using a deprecated class. It still works however, so
> > just ignore them for the time being.
> >
> >
> >>[Mon May 19 16:24:21 2003] [error] mod_jk child init 1 0
> >
> >
> > This is an "error" - something went wrong with mod_jk during startup.
> > Not the most informative error message I've ever seen, but read on...
> >
> >
> >>And when i try to access to the pages http://192.168.0.2 or
> >>127.0.0.1 i get to the page like this:
> >>Internal Server Error
> >>etc...
> >>[Mon May 19 16:28:23 2003] [error] channelSocket.open() connect failed
> >>127.0.0.1:8009 61 Connection refused
> >>[Mon May 19 16:28:23 2003] [error] ajp13.connect() failed
> >>ajp13:localhost:8009
> >>[Mon May 19 16:28:23 2003] [error] ajp13.service() failed to connect
> >>endpoint errno=61 Connection refused
> >>[Mon May 19 16:28:23 2003] [error] ajp13.service() Error  forwarding
> >>ajp13:localhost:8009 1 1
> >>[Mon May 19 16:28:23 2003] [notice] ajp13.done() close endpoint
> >>ajp13:localhost:8009 error_state 1
> >>[Mon May 19 16:28:23 2003] [error] mod_jk.handler() Error connecting to
> >>tomcat 120000
> >
> >
> > mod_jk is attempting to connect but is getting a TCP/IP "connection
> > refused" error. Either your tomcat server is not running at all, or it's
> > listening on a different port (i.e. not 8009) or you have some other
> > network level problem.
> >
> > Can you connect to tomcat directly? (http://localhost:8009/)?
> >
> > Rgds,
> > Owen Boyle
> > Disclaimer: Any disclaimer attached to this message may be ignored.
> >
> >
> >>Hmmz whats wrong with this ? How to solve theese errors?
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>The official User-To-User support forum of the Apache HTTP
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Think offtopic... mod_jk2 and Tomcat

Posted by BAO RuiXian <ru...@pp.inet.fi>.
How about localhost:8080, which is the standard port for tomcat?

Best

Bao

stakys wrote:
> Hmmz no i cannot connect to tomcat by going to http://localhost:8009/ i got
> connection refused.
> 
> 
> ----- Original Message -----
> From: "Boyle Owen" <Ow...@swx.com>
> To: <us...@httpd.apache.org>
> Sent: Tuesday, May 20, 2003 10:23 AM
> Subject: RE: [users@httpd] Think offtopic... mod_jk and Tomcat
> 
> 
> 
>>-----Original Message-----
>>From: stakys [mailto:stakys@punktas.lt]
>>
> 
> 
> Not as Offtopic as installing RedHat on IBM thinkpads or whatever...
> 
> 
>>Hi, i configured everything like says the how-to in the
>>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhostho
>>wto, but when
>>i start apache i see theese in my httpd-error.log:
>>tail -f /var/log/httpd-error.log
>>
>>[Mon May 19 16:24:20 2003] [notice] uriEnv.setAttribute() the worker
>>directive is deprecated. Use 'group' instead.
> 
> 
> These messages are at level "[notice]" so they're just letting you know
> that something is using a deprecated class. It still works however, so
> just ignore them for the time being.
> 
> 
>>[Mon May 19 16:24:21 2003] [error] mod_jk child init 1 0
> 
> 
> This is an "error" - something went wrong with mod_jk during startup.
> Not the most informative error message I've ever seen, but read on...
> 
> 
>>And when i try to access to the pages http://192.168.0.2 or
>>127.0.0.1 i get to the page like this:
>>Internal Server Error
>>etc...
>>[Mon May 19 16:28:23 2003] [error] channelSocket.open() connect failed
>>127.0.0.1:8009 61 Connection refused
>>[Mon May 19 16:28:23 2003] [error] ajp13.connect() failed
>>ajp13:localhost:8009
>>[Mon May 19 16:28:23 2003] [error] ajp13.service() failed to connect
>>endpoint errno=61 Connection refused
>>[Mon May 19 16:28:23 2003] [error] ajp13.service() Error  forwarding
>>ajp13:localhost:8009 1 1
>>[Mon May 19 16:28:23 2003] [notice] ajp13.done() close endpoint
>>ajp13:localhost:8009 error_state 1
>>[Mon May 19 16:28:23 2003] [error] mod_jk.handler() Error connecting to
>>tomcat 120000
> 
> 
> mod_jk is attempting to connect but is getting a TCP/IP "connection
> refused" error. Either your tomcat server is not running at all, or it's
> listening on a different port (i.e. not 8009) or you have some other
> network level problem.
> 
> Can you connect to tomcat directly? (http://localhost:8009/)?
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
> 
> 
>>Hmmz whats wrong with this ? How to solve theese errors?
>>
>>
>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Think offtopic... mod_jk2 and Tomcat

Posted by stakys <st...@punktas.lt>.
Hmmz no i cannot connect to tomcat by going to http://localhost:8009/ i got
connection refused.


----- Original Message -----
From: "Boyle Owen" <Ow...@swx.com>
To: <us...@httpd.apache.org>
Sent: Tuesday, May 20, 2003 10:23 AM
Subject: RE: [users@httpd] Think offtopic... mod_jk and Tomcat


>-----Original Message-----
>From: stakys [mailto:stakys@punktas.lt]
>

Not as Offtopic as installing RedHat on IBM thinkpads or whatever...

>Hi, i configured everything like says the how-to in the
>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhostho
>wto, but when
>i start apache i see theese in my httpd-error.log:
>tail -f /var/log/httpd-error.log
>
>[Mon May 19 16:24:20 2003] [notice] uriEnv.setAttribute() the worker
>directive is deprecated. Use 'group' instead.

These messages are at level "[notice]" so they're just letting you know
that something is using a deprecated class. It still works however, so
just ignore them for the time being.

>[Mon May 19 16:24:21 2003] [error] mod_jk child init 1 0

This is an "error" - something went wrong with mod_jk during startup.
Not the most informative error message I've ever seen, but read on...

>And when i try to access to the pages http://192.168.0.2 or
>127.0.0.1 i get to the page like this:
>Internal Server Error
> etc...
>[Mon May 19 16:28:23 2003] [error] channelSocket.open() connect failed
>127.0.0.1:8009 61 Connection refused
>[Mon May 19 16:28:23 2003] [error] ajp13.connect() failed
>ajp13:localhost:8009
>[Mon May 19 16:28:23 2003] [error] ajp13.service() failed to connect
>endpoint errno=61 Connection refused
>[Mon May 19 16:28:23 2003] [error] ajp13.service() Error  forwarding
>ajp13:localhost:8009 1 1
>[Mon May 19 16:28:23 2003] [notice] ajp13.done() close endpoint
>ajp13:localhost:8009 error_state 1
>[Mon May 19 16:28:23 2003] [error] mod_jk.handler() Error connecting to
>tomcat 120000

mod_jk is attempting to connect but is getting a TCP/IP "connection
refused" error. Either your tomcat server is not running at all, or it's
listening on a different port (i.e. not 8009) or you have some other
network level problem.

Can you connect to tomcat directly? (http://localhost:8009/)?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.

>
>Hmmz whats wrong with this ? How to solve theese errors?
>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org