I have been trying to get this installed for awhile now per the documentation but I think I may be missing something with the third party library setup. I downloaded all the required files unzipped them and took the appropriate jar files out and placed then in the /opt/open-xchange/lib directory. Am I supposed to leave the jar files in the folders instead of taking them out? I should also mention i renamed the files that where different names according to the directions. When I try to do the open xchange installation step I get missing symbol errors and it seems like it cannot locate the jar files. Any help would be greatly appreciated.
Announcement
Collapse
No announcement yet.
Installation of third party libraries
Collapse
X
-
ok, a short info here. you should have 2 folders:
1. /tmp/open-xchange (or whatever you prefer as build folder!)
and
2. /opt/open-xchange (this folder comes from the installation)
You are at the installation point and this means you must but the jar files into your /tmp/open-xchange/lib directory to build the ox server. when you have put all jars into the folder go whone level higher back to /tmp/open-xchange and try "ant install" here.
try again with all lib files at the correct place and when you still have a problem then post the first 5 missings libraries that java whines about here.
-
Build Faile Open-Xchange Admindaemon Installation
I am getting the following error when I attempt the build of the admindaemon.
Buildfile: build.xml
replacer:
[copy] Copying 10 files to /tmp/open-xchange-admin
compile:
[javac] Compiling 70 source files to /tmp/open-xchange-admin/classes
[javac] /tmp/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:86: cannot find symbol
[javac] symbol : class OXFolderAction
[javac] location: package com.openexchange.tools.oxfolder
[javac] import com.openexchange.tools.oxfolder.OXFolderAction;
[javac] ^
[javac] /tmp/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:744: cannot find symbol
[javac] symbol : class OXFolderAction
[javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
[javac] final OXFolderAction oxa = new OXFolderAction();
[javac] ^
[javac] /tmp/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:744: cannot find symbol
[javac] symbol : class OXFolderAction
[javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
[javac] final OXFolderAction oxa = new OXFolderAction();
[javac] ^
[javac] /tmp/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1611: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release
[javac] final String ret = (new sun.misc.BASE64Encoder().encode(pwhash));
[javac] ^
[javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/OXRunner.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/PropertyHandler.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
[javac] 1 warning
BUILD FAILED
/tmp/open-xchange-admin/build.xml:89: Compile failed; see the compiler error output for details.
Total time: 4 seconds
Comment
-
Sorry didn't mean to offend anyone, I just unfortunately am being pushed to finish this installation.
Command line used was same in documentation:
ant -Dlibpath=/opt/open-xchange/lib -Dextlibpath=/opt/open-xchange/lib -Dlib.dir=/opt/open-xchange/lib install
Java MySQL library = mysql-connector-java-3.1.14-bin.jar
I changed the name to match in the build file.
Comment
-
Originally posted by ap5000 View PostSorry didn't mean to offend anyone, I just unfortunately am being pushed to finish this installation.
Command line used was same in documentation:
ant -Dlibpath=/opt/open-xchange/lib -Dextlibpath=/opt/open-xchange/lib -Dlib.dir=/opt/open-xchange/lib install
Java MySQL library = mysql-connector-java-3.1.14-bin.jar
I changed the name to match in the build file.
you need all the libs again when you build the admindaemon. so the easiest day is to copy all the libs again into the admindaemon/lib dir. but this time you also need the ox_server.jar. this jar was made when you compiled the open-xchange server (your first posting) and this jar should be in /opt/open-xchange/lib (and it should also be in /tmp/open-xchange/lib) but only if you have successfully compiled the open-xchange server. to keep it short: compiling open-xchange server with "ant install" makes this jar and this ox_server.jar is the full server.
so, the admindaemon needs this jar because he needs core elements from the server.
hope this works for you but this stuff can also be found in the wiki installation documentLast edited by Guest; 03-05-2007, 11:21 PM.
Comment
-
Same error
Thanks for trying to help I do appreciate it. Unfortunately the steps you mentioned lead to the same error I posted above. And yes I did include those extra jar files you where talking about that were created from the first install. Is it possible that it does not like the version of mysql-connector I am using?
Comment
-
open-xchange-admin start failure
ok...the build of open-xchange-admin ist o.k.
But in the next step, i have following failure at start of open-xchange-admin
#:/etc/init.d/open-xchange-admin start
Starting Open-Xchange Admin Daemon: start-stop-daemon:
unrecognized option `--background'
Try `start-stop-daemon --help' for more information.
Any ideas ?Last edited by Guest; 03-06-2007, 04:28 PM.
Comment
Comment