Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 5 of 5
  1. #1
    javierccs Guest

    Exclamation 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. #2
    javierccs Guest

    Default

    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?

  3. #3
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

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

    Greetings

  4. #4
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007
    Posts
    703

    Default

    Quote 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 Attached Files

  5. #5
    javierccs Guest

    Default

    god i love u guys.....


    i've crashed and burn several times...

    thank you so much

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •