Win a copy of Pipeline as Code this week in the Cloud/Virtualization 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

File not found error when loading mod_jserv.so

 
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
ApJServSecretKey DISABLED
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!!!

Barry
 
Saloon Keeper
Posts: 23419
159
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Message for you sir! I think it is a tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic