• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

File not found error when loading mod_jserv.so

Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying to use Tomcat with Apache on Solaris. I have been using Apache on NT for some time with no problems, but the setup on Unix machine seems to be a little more difficult. (At least for me)
Anyway, I am getting a File not Found error when I startup Apache. Specifically, the error is this:
Syntax error on line 1 of /usr/apache/tomcat/jakarta-tomcat-3.2.2/conf/MyConfig.conf:
Cannot load /var/apache/libexec/mod_jserv.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: /var/apache/libexec/mod_jserv.so: open failed: No such file or directory
./apachectl start: httpd could not be started
My mod_jserv.so file is in the /var/apache/libexec directory which is where apache seems to be looking for it. I have double and triple checked this. The top part of my configuration file for Tomcat (in the conf directory) looks like this:
LoadModule jserv_module libexec/mod_jserv.so
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServMountCopy on
ApJServLogLevel notice
ApJServDefaultPort 8007
AddType text/jsp .jsp
AddHandler jserv-servlet .jsp

Has anyone else ran into this problem? Any ideas?
Many thanks to you!!!

Posts: 20838
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unix version of "DLL Hell".
cd /var/apache/libexec
ln -s mod_jserv.so mod_jserv.so.1
Personally I found the mod_jk/ajpv13 system easier to work with, but at this point Tomcat 4 seems trustworthy, performs better, and sooner or later you're going to end up having to migrate anyway, so why not jump now and acquire a whole new set of problems ?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!