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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

File not found error when loading

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/ into server: /usr/apache/bin/httpd: fatal: /var/apache/libexec/ open failed: No such file or directory
./apachectl start: httpd could not be started
My 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/
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!!!

Saloon Keeper
Posts: 23419
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
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
    Bookmark Topic Watch Topic
  • New Topic