Hi Parayali
,

Nope, these commands are present in the mod_jk_conf-auto file, generated when Tomcat is started. The file is called from the httpd.conf file, and is loaded.

rgds

Hans

At 09:04 8-3-01 -0800, you wrote:

Looks like you missed out LoadModule and JkWorkerFile

LoadModule    jk_module  modules/mod_jk.so
JkWorkersFile /http/apps/tomcat/conf/workers.properties
JkLogFile     /http/apps/apache/logs/mod_jk.log
JkLogLevel error
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
    -----Original Message----- From:  Christopher Albert [SMTP:[EMAIL PROTECTED]] Sent:  Thursday, March 08, 2001 7:50 AM To:    [EMAIL PROTECTED] Subject:       Re: Tomcat/Apache port number use

    Well Hans, I tried to ask all the simple, obvious questions. TOmcat is working fine(8080), Apache is working fine and seems properly configured. I can't give you any other advice but to go back, get the src for mod_jk and recompile and install it (using apxs if you can) with the right solaris parameters. There have been some postings on this list for those. Good luck, Chris  



    Hans Kind wrote: > > Hi Chris, > > Yes it does:~( > > rgds > > hans > > At 14:48 8-3-01 +0100, you wrote: > >Hans, > >I'm running out of ideas too. > >One last: does your server.xml file contain the lines > > > >  <!-- Apache AJP12 support. This is also used to shut down tomcat. > >           --> > >         <Connector > >className="org.apache.tomcat.service.PoolTcpConnector"> > >             <Parameter name="handler" > > > >value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/> > >             <Parameter name="port" value="8007"/> > >         </Connector> > > > >Chris > > > > > > > > > >Hans Kind wrote: > > > > > > 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] > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, email: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED]

    --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Reply via email to