Hi Chris,
workers.properties
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
mod_jk_conf-auto
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
...
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12
Staring Tomcate generates these file, and httpd.conf include the
mod_jk_conf-auto file.
There is nothing else running on port 8007.
I'm very very lost:~(
rgds
Hans
At 13:35 8-3-01 +0100, you wrote:
>Hans Kind wrote:
>
> > Hi Chris,
> >
> > We run on a Solaris 2.7 server, with Apache DSO 1.3.14.
> >
> > The workers.properties file has been updated so that workers.tomcat_home,
> > workers.java_home point to the correct location on the server. Changed ps
> > to the correct syntax on Unix, ps=/.
> >
> > Used apxs to install mod_jk from source
> >
> > Included the following line in httpd.conf file:
> >
> > Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto
> >
> > http://www.kindserver.com:8080/examples/jsp/dates/date.jsp
> >
> > is working as expected
> >
> > http://www.kindserver.com/examples/jsp/dates/date.jsp
> >
> > results in a server error with the following in the mod_jk.log
> >
> > [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
> > [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
> >
> > rgds
> >
> > Hans
> >
> > At 15:47 7-3-01 +0100, you wrote:
> > >Hans Kind wrote:
> > > >
> > > > Hi,
> > > >
> > > > We got Apache running on port 80, and Tomcat on port 8080.
> > > >
> > > > Running http://www.kindserver.com:8080 takes me to the Tomcat
> example page,
> > > > and the JSP and JServ pages work ok.
> > > >
> > > > When I go to
> > > >
> > > > http://www.kindserver.com/examples/servlets/
> > > > http://www.kindserver.com/examples/jsp/
> > > >
> > > > all the examples return a document contains no data error.
> > > >
> > > > How do I setup Apache so that without the need of the port number
> in the
> > > > url, the JServ and JSP pages are handled bij Tomcat corecty.
> > > >
> > > > I went trough the install instructions, mailing lists and other
> > > > documentation, but couldn't find a slid answe:~(
> > > >
> > > > rgds
> > > >
> > > > Hans Kind
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, email: [EMAIL PROTECTED]
> > >
> > >Hans,
> > >You need to get and install the appropriate apache module;
> > >porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
> > >Cant really tell you more without details about you apache, tomcat
> > >versions
> > >and your system.
> > >
> > >Chris
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, email: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
>Hans,
>
>You are getting a connection refused error,
>http://www.linuxos.net/docs/solaris/common_err.html#korea146
>
>Since I can get the source files of the jsp dislayed
>on your site, it seems like the basic apache config is good;
>Do you have some lines like the folloing in "workers.properties"
>
>worker.ajp12.port=8007
>worker.ajp12.host=localhost
>worker.ajp12.type=ajp12
>
>and like the following in mod_jk.conf
>
>JkMount /*.jsp ajp12
>JkMount /servlet/* ajp12
>
>...
>JkMount /examples/servlet/* ajp12
>JkMount /examples/*.jsp ajp12
>
>Is there some other service running on
>the port 8007, or another reason why
>you cant connect there?
>
>Chris
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]