• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache2 + TomCat4 + JK2 + Win2kPro

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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�
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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�
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic