httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dietmar.Muel...@eurotours.at
Subject [users@httpd] Antwort: Re: [users@httpd] Think offtopic... mod_jk2 and Tomcat
Date Tue, 20 May 2003 08:24:05 GMT

To use mod_jk you have to use an AJP connector on port 8009.
IMHO it is not possible to connect via browser to AJP connector.

In the server.xml the connector def could look like:

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="10" maxProcessors="75"
               acceptCount="20" debug="0"/>

But read the very well docu at:

http://www.galatea.com/flashguides/index

and look into the tomcat user group:

http://marc.theaimsgroup.com/?l=tomcat-user&

regards Dietmar





"stakys" <stakys@punktas.lt> am 20.05.2003 09:55:28

Bitte antworten an users@httpd.apache.org

An:    <users@httpd.apache.org>
Kopie:
Thema: Re: [users@httpd] Think offtopic... mod_jk2 and Tomcat


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" <ruixian.bao@pp.inet.fi>
To: <users@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" <Owen.Boyle@swx.com>
> > To: <users@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








---------------------------------------------------------------------
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


Mime
View raw message