Re: Apache 2.2.8+tomcat 6.0.16+Window vista & http 404
my mod_jk.conf looks like somthing like this: LoadModule jk_module "C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so" JkWorkersFile "C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/conf/jk/workers.properties" JkLogFile "C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/logs/mod_jk.log" JkLogLevel trace I don't see any JkMount directives anywhere in the configs you posted. That's the directive that tells Apache Httpd to send requests for tomcat back to tomcat. Assuming you are mounting a webapp named "examples" from tomcat, the JkMount would be: JkMount/examples/* ajp13 Restarted whole thing. Still I can not go to follwoing web page. http://localhost/examples/jsp/index.html BTW, what exactly do you get instead of the page? A 404 error? Is it from Httpd or Tomcat? Tomcat's 404s actually have "Apache Tomcat" included in the default error. --David rangeli nepal wrote: Recently I installed apache and tomcat. Environment is depicted int subject line. They both work nice and fine independently. I am trying to integrate them with mod_jk. I belive I followed all the steps suggested by document. 1. I downloaded mod_jk ( 1.2.26) kept it as mod_jk.so in modules directory and added following in line httpd.conf LoadModule jk_module modules/mod_jk.so 2. Went to tomcat Installation, changed server.xml. Added following lines. Afte the line Then Added After the line started the tomcat mod_jk.conf was created. 3. Went back to http.conf Added following line at the end Include C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/conf/auto/mod_jk.conf-auto Also added following lines after LoadModules JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" Restarted whole thing. Still I can not go to follwoing web page. http://localhost/examples/jsp/index.html 4. Created workers.properties file in ./con/jk ( in tomcat installation). It looks like follwoing # Define 1 real worker using ajp13 worker.list=ajp13 # Set properties for ajp13 (ajp13) worker.ajp13.type=ajp13 worker.ajp13.host=localhost worker.ajp13.port=8009 After Reading couple of messages on newsgroup, I thought it will solve the issue if I move the Section from mod_jk.conf to httpd.conf but no avail. my mod_jk.conf looks like somthing like this: LoadModule jk_module "C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so" JkWorkersFile "C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/conf/jk/workers.properties" JkLogFile "C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/logs/mod_jk.log" JkLogLevel trace am I missing something? Worst thing I can not see mod_jk log Thank you. rn -- David Smith Programmer/Analyst College of Agriculture and Life Sciences Cornell University B32 Morrison Hall Ithaca, NY 14853 Phone: (607) 255-4521 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache 2.2.8+tomcat 6.0.16+Window vista & http 404
Thank you Rainer for your reply. Based on your suggestion I did following 0. removed the auto from Include directive. 1. There was log entry specified in mod_jk.conf. It was pointing to the log file in tomcat directory I changed in point to the log file in apache directory. restarted things. 2. Moved the entries to httpd.conf. no effect. 3. Commented out the entries just to see if log is created or not no effect. I think may be my shared library is corrupted but again apache should have complained. On Sat, Jul 19, 2008 at 7:51 AM, Rainer Jung <[EMAIL PROTECTED]> wrote: > rangeli nepal schrieb: > >> Recently I installed apache and tomcat. Environment is depicted int >> subject >> line. They both work nice and fine independently. >> >> I am trying to integrate them with mod_jk. >> >> I belive I followed all the steps suggested by document. >> >> 1. I downloaded mod_jk ( 1.2.26) kept it as mod_jk.so in modules directory >> and added following in line httpd.conf >> >> LoadModule jk_module modules/mod_jk.so >> > > This alone should already define a default log file mod_jk.log in the logs > sub directory of your Apache web server (not the Tomcat directory) and > configure it with log level info. Of course you can overwrite that, if you > want. If the mod_jk.conf file you wrote doesn't work, is the default log > file there? > > > 3. Went back to http.conf Added following line at the end >> >> Include >> >> C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/conf/auto/mod_jk.conf-auto >> > > -auto ? > > my mod_jk.conf looks like somthing like this: >> > > no -auto? > > Regards, > > Rainer > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Apache 2.2.8+tomcat 6.0.16+Window vista & http 404
rangeli nepal schrieb: Recently I installed apache and tomcat. Environment is depicted int subject line. They both work nice and fine independently. I am trying to integrate them with mod_jk. I belive I followed all the steps suggested by document. 1. I downloaded mod_jk ( 1.2.26) kept it as mod_jk.so in modules directory and added following in line httpd.conf LoadModule jk_module modules/mod_jk.so This alone should already define a default log file mod_jk.log in the logs sub directory of your Apache web server (not the Tomcat directory) and configure it with log level info. Of course you can overwrite that, if you want. If the mod_jk.conf file you wrote doesn't work, is the default log file there? 3. Went back to http.conf Added following line at the end Include C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/conf/auto/mod_jk.conf-auto -auto ? my mod_jk.conf looks like somthing like this: no -auto? Regards, Rainer - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache 2.2.8+tomcat 6.0.16+Window vista & http 404
Recently I installed apache and tomcat. Environment is depicted int subject line. They both work nice and fine independently. I am trying to integrate them with mod_jk. I belive I followed all the steps suggested by document. 1. I downloaded mod_jk ( 1.2.26) kept it as mod_jk.so in modules directory and added following in line httpd.conf LoadModule jk_module modules/mod_jk.so 2. Went to tomcat Installation, changed server.xml. Added following lines. Afte the line Then Added After the line started the tomcat mod_jk.conf was created. 3. Went back to http.conf Added following line at the end Include C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/conf/auto/mod_jk.conf-auto Also added following lines after LoadModules JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" Restarted whole thing. Still I can not go to follwoing web page. http://localhost/examples/jsp/index.html 4. Created workers.properties file in ./con/jk ( in tomcat installation). It looks like follwoing # Define 1 real worker using ajp13 worker.list=ajp13 # Set properties for ajp13 (ajp13) worker.ajp13.type=ajp13 worker.ajp13.host=localhost worker.ajp13.port=8009 After Reading couple of messages on newsgroup, I thought it will solve the issue if I move the Section from mod_jk.conf to httpd.conf but no avail. my mod_jk.conf looks like somthing like this: LoadModule jk_module "C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so" JkWorkersFile "C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/conf/jk/workers.properties" JkLogFile "C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/logs/mod_jk.log" JkLogLevel trace am I missing something? Worst thing I can not see mod_jk log Thank you. rn