Menu

#68 Oscar On Tomcat 6

open
nobody
None
5
2010-03-11
2010-03-11
No

Hi All,

Has anyone tried to install Oscar on Tomcat 6? I tried to compile it but received the error shown below. I'm using the the RELEASE_9_12 branch.

someuser@ubuntu:~/src/oscar_source/oscar_mcmaster/build$ ant

Buildfile: build.xml

BUILD FAILED
/home/someuser/src/oscar_source/oscar_mcmaster/build/build.xml:386: /usr/share/tomcat6/common/lib not found.

Total time: 1 second

Discussion

  • Anonymous

    Anonymous - 2010-03-11

    Kinda flying blind here, but I adjusted the Tomcat lib path in the ant script and now I get the error shown below. Any pointers in the right direction would be appreciated.

    Old Value:
    <fileset dir="${catalina}/common/lib">

    New Value:
    <fileset dir="${catalina}/lib">

    New Error:
    someuser@ubuntu:~/src/oscar_source/oscar_mcmaster/build$ ant
    Buildfile: build.xml

    BUILD FAILED
    /home/someuser/src/oscar_source/oscar_mcmaster/build/build.xml:401: taskdef class org.apache.catalina.ant.ReloadTask cannot be found

    Total time: 5 seconds

     
  • Anonymous

    Anonymous - 2010-03-11

    Ok - think I managed to solve the problem. Line 403 needed to be adjusted as well.

    Old Line:
    <pathelement path="${catalina}/server/lib/catalina-ant.jar"/>

    New Line:
    <pathelement path="${catalina}/lib/catalina-ant.jar"/>

     
  • Anonymous

    Anonymous - 2010-03-12

    May have spoke too soon. Although the compile seems to work fine, I still can't seem to get Oscar to run. Can anyone confirm if they've been able to get Oscar to work with Tomcat 6?

    Thanks,
    Kris

     
MongoDB Logo MongoDB