Apache + Tomcat 500 Errors

Discussion in 'Server Operation' started by uniacid, Jun 11, 2009.

  1. uniacid

    uniacid New Member

    Running RHEL 5.3 / Apache 2 / Tomcat 5.5.23

    I've setup Tomcat with Mod_JK through apache and when trying to browse jsp files on the vhost I've set it up on I get a http 500 error, specifically saying it cannot find a file (this is for a client I am trying to get setup)

    "org.apache.jasper.JasperException: /Regional_Equip.jsp(6,0) File "/../setupcache2.jsp" not found"

    Not sure why this is as the Regional_equip.jsp file is in a folder within the root which houses the setupcache2.jsp file, any ideas why this is happening?

    I've set these up in my apache vhost conf

    JkMount /* jkworker
    JkMount /*.jsp jkworker

  2. topdog

    topdog Active Member HowtoForge Supporter

    That is simple, Regional_Equip.jsp expects to find the setupcache2.jsp in a directory above the one in which Regional_Equip.jsp is, not in the same directory.
  3. uniacid

    uniacid New Member

    Well according to the path it should be looking for that file above the original folder, not in the same directory.

    I didn't code this nor have any idea about java web development, just trying to set this up for a client.

    I see also if I go directly so the setupcache2.jsp file I get this error:


Share This Page