Announcement

Collapse
No announcement yet.

installation on debian etch failed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • installation on debian etch failed

    hello, this is my first post so please be gentle....


    i've been trying to install open xchange groupware following the wiki:

    http://wiki.open-xchange.com/wiki/in...e_Installation

    however i keep gettin this error when trying to compile:

    Code:
    jahdebian:/tmp/open-xchange# ant -Dlib.dir=/opt/open-xchange/lib install
    Buildfile: build.xml
    
    prepare:
    
    patchVersionJava:
         [copy] Copying 1 file to /tmp/open-xchange/src/com/openexchange/server
    
    compile:
        [javac] Compiling 984 source files to /tmp/open-xchange/build
        [javac] /tmp/open-xchange/src/com/openexchange/ajax/AJAXFile.java:340: cannot find symbol
        [javac] symbol  : method setFileSizeMax(long)
        [javac] location: class org.apache.commons.fileupload.servlet.ServletFileUpload
        [javac]                             upload.setFileSizeMax(checker.getFileQuotaMax());
        [javac]                                       ^
        [javac] Note: Some input files use or override a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] Note: Some input files use unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
        [javac] 1 error
    
    BUILD FAILED
    /tmp/open-xchange/build.xml:114: Compile failed; see the compiler error output for details.
    
    Total time: 18 seconds
    i've been searching all over the Internet and can't seem to find a solution, i've double checked all the binaries, and the only difference is that i didn't find mysql-connector-java-3.1.13-bin.jar and had to use mysql-connector-java-3.1.14-bin.jar

    i made the change in the build.xml and i still get the same error


    please if someone can help me out with this

  • #2
    someone???

    please just tell me if i need more reading


    in the 340 line of the AJAXFile.java i have this....

    Code:
    upload.setFileSizeMax(checker.getFileQuotaMax());

    and on the 114 of the build.xml i can see this:

    Code:
    encoding="US-ASCII" source="1.5" compiler="javac1.5" target="1.5">
    can anyone help me with this?

    Comment


    • #3
      Hi,

      are you sure the commons-fileupload is the correct version and installed properly? You may also try to use Java 1.5.

      Greetings

      Comment


      • #4
        Originally posted by javierccs View Post
        hello, this is my first post so please be gentle....


        i've been trying to install open xchange groupware following the wiki:

        http://wiki.open-xchange.com/wiki/in...e_Installation

        however i keep gettin this error when trying to compile:

        Code:
        jahdebian:/tmp/open-xchange# ant -Dlib.dir=/opt/open-xchange/lib install
        Buildfile: build.xml
        
        prepare:
        
        patchVersionJava:
             [copy] Copying 1 file to /tmp/open-xchange/src/com/openexchange/server
        
        compile:
            [javac] Compiling 984 source files to /tmp/open-xchange/build
            [javac] /tmp/open-xchange/src/com/openexchange/ajax/AJAXFile.java:340: cannot find symbol
            [javac] symbol  : method setFileSizeMax(long)
            [javac] location: class org.apache.commons.fileupload.servlet.ServletFileUpload
            [javac]                             upload.setFileSizeMax(checker.getFileQuotaMax());
            [javac]                                       ^
            [javac] Note: Some input files use or override a deprecated API.
            [javac] Note: Recompile with -Xlint:deprecation for details.
            [javac] Note: Some input files use unchecked or unsafe operations.
            [javac] Note: Recompile with -Xlint:unchecked for details.
            [javac] 1 error
        
        BUILD FAILED
        /tmp/open-xchange/build.xml:114: Compile failed; see the compiler error output for details.
        
        Total time: 18 seconds
        i've been searching all over the Internet and can't seem to find a solution, i've double checked all the binaries, and the only difference is that i didn't find mysql-connector-java-3.1.13-bin.jar and had to use mysql-connector-java-3.1.14-bin.jar

        i made the change in the build.xml and i still get the same error


        please if someone can help me out with this

        As far as I understand the most recent commons-fileupload 1.2 versions seems to break it's own API... :-(

        Please try the attached one.
        Attached Files

        Comment


        • #5
          god i love u guys.....


          i've crashed and burn several times...

          thank you so much

          Comment

          Working...
          X