File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Apache2 + TomCat4 + JK2 + Win2kPro Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Apache2 + TomCat4 + JK2 + Win2kPro" Watch "Apache2 + TomCat4 + JK2 + Win2kPro" New topic
Author

Apache2 + TomCat4 + JK2 + Win2kPro

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello!
I'm installing Apache2 (port:8080) + TomCat4 + JK2 in Win2kPro. The JK2 installation are normally, but, when i run http://localhost:8080/examples, appears this message:
"[B]The servlet container is temporary unavailable or being upgraded[B]", as a "500 Internal Server Error".
Do anybody help me?
Tks,
Andr�
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

You're running Apache web server on port 8080 ?

What are some of your configuration file settings?

And my last question is JK or JK2 ? I just want to confirm, because people get them confused all the time.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have installed in my system the IIS 5 on port 80, and Apache2 in port 8080.
I use JK2, with TOmCat4.
To the atual configuration, I utilize the address as reference:
http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html
I cut and paste the jk2.properties and workers2.properties, editing the paths conform my system.
In httpd.conf, I put the following:
LoadModule jk2_module modules/mod_jk2.dll
There are the position of my configuration.
Do you help me?
Tks attend!
[]'s
ARS Kumar
Ranch Hand

Joined: May 22, 2000
Posts: 108
Hi
Check the following too in your setup.
1. httpd.conf
LoadModule jk2_module modules/mod_jk2-2.0.43.dll
2. workers2.properties
Put this file in the conf directory of Apache after creating with the following entries.
# Define the communication channel
[channel.socket:localhost:8009]
# Uri mapping
[uri:/examples/*]
[shm]
file=apacheinstallroot\logs\shm.file
size=1048576
This is enough for the minimum configuration.
[ June 24, 2003: Message edited by: ARS Kumar ]

ARS Kumar<br />Sun Certified Programmer for Java 2 Platform.<br /><a href="http://www.automatedsqa.com/" target="_blank" rel="nofollow">http://www.automatedsqa.com/</a>
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
The follow message are appears: The servlet container is temporary unavailable or being upgraded
In my TOMCAT_HOME\stderr.log file, the follow:
+------------------------------------------------+
Created catalinaLoader in:
C:\tomcat\server\lib
java.lang.NoClassDefFoundError: org/xml/sax/InputSource
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:201)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
java.lang.NullPointerException
at org.apache.catalina.startup.BootstrapService.stop(BootstrapService.java:259)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:309)
+------------------------------------------------+
I start the installation proccess four times... no success.
Tks attend!
[]'s
Andr�
 
jQuery in Action, 2nd edition
 
subject: Apache2 + TomCat4 + JK2 + Win2kPro
 
Threads others viewed
Configuring Apache 2 & Tomcat 5.0.28
Is Tomcat4 in Win2k Case Sensitive?
The Apache2 service terminated error
HTTP 404 Error
tomcat6 and apache
MyEclipse, The Clear Choice