This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

500 internal Server Error when integrate Apache 2.2.17 with tomcat 6.0.29  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I have installed j2SE Development kit 5.0 Update 14, J2SE Runtime Environment 5.0 Update 14, Apache 2.217 and Tomcat 6.0.29.After installation of Apache i was tested with http://localhost and result was "It is work".Also after installation of Tomcat i was tested with http://localhost:8080 and opened home page of Tomcat.After that i started with configurations.
1. Download “Tomcat-connectors-1.2.31-src.zip” and unzip it
2.I was copy the following files from “C:\tomcat-connectors-1.2.31-src\conf”
i. uriworkermap.properties
ii. workers.properties
iii. workers.properties.minimal
iiii. httpd.conf
3. I was paste in here – “C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf
4. Download “mod_jk-1.2.31-httpd-2.2.3.so” from the following path http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.31/
5. Rename from “mod_jk-1.2.31-httpd-2.2.3.so” to “mod_jk.so
Configure Apache
a. Open “httpd.conf” from “C:\Program Files\Apache Software
Foundation\Apache2.2\conf”
b. Add the following code snippet at the end of the file “httpd.conf”
LoadModule jk_module "C:/Program Files/Apache Software
Foundation/Apache2.2/modules/mod_jk.so"
JkWorkersFile "C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\workers.properties"
JkLogFile "C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\from_apache_mod_jk.log"
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
# Send servlet for context /examples to worker named ajp13
JkMount /examples ajp13
# Send JSPs for context /examples/* to worker named ajp13 JkMount /examples/* ajp13
Configure Tomcat
a.Open “server.xml” from “C:\apache-tomcat-6.0.16\conf\server.xml”
b. Add the following inside “<Server>” element
<Listener className="org.apache.jk.config.ApacheConfig" modJk="C:\Program Files\Apache Software Foundation\Apache2.2\modules\mod_jk.so" />
c. Add the following between “<Host>” “</Host>”
<Listener className="org.apache.jk.config.ApacheConfig" modJk="C:\Program Files\Apache Software Foundation\Apache2.2\modules\mod_jk.so" />

6) I was Start tomcat
7) Wait sometime 5 or 10 seconds
8) Start apache
9) I was Type “http://localhost/examples/”
10)Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, kireandreev@yahoo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I would like to give me any body explanation where i have mistake

Best regards.
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Kire Andreev wrote:More information about this error may be available in the server error log



Did you check the log?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!