OPEN-XCHANGE
You are here: Community > Mailinglist
freshmeat.net
[OX User] Getting syncML working with community edition 0.8.2-1

Marc Wapelhorst marc at wapelhorst.net
Wed Jan 10 18:20:34 CET 2007


Am Mi 10.01.2007 13:38 schrieb Marc Hartmann :

> Hi,
> this jarfiles are in:
>
> $HOMEOFOPENXCHANGE/lib
>
> be carefull, because you also need the postgres jar File for the
> connection (not for the war file creation). So later on, if you put
> the
> war file on the server you also have to put the postgres jar or a
> symlink to that where the syncml application is searching for it (in
> $HOMEOFTOMCAT/webapps/syncml/WEB-INF/lib/).

OK I have done this.
Iget this compile Errors. Something is missing.






root at ox:/opt/OXSyncML# ant war
Buildfile: build.xml

init:
    [mkdir] Created dir: /opt/OXSyncML/bin
    [mkdir] Created dir: /opt/OXSyncML/jar
    [mkdir] Created dir: /opt/OXSyncML/war

revision:
     [copy] Copying 1 file to /opt/OXSyncML/src/com/openexchange/syncml

compile:
    [javac] Compiling 78 source files to /opt/OXSyncML/bin
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:41: package
javax.servlet does not exist
    [javac] import javax.servlet.ServletContext;
    [javac]                     ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:42: package
javax.servlet does not exist
    [javac] import javax.servlet.ServletException;
    [javac]                     ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:43: package
javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServletRequest;
    [javac]                          ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:44: package
javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServletResponse;
    [javac]                          ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:60: package
com.openexchange.tools.webdav does not exist
    [javac] import com.openexchange.tools.webdav.OXServlet;
    [javac]                                     ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:68: cannot
find symbol
    [javac] symbol: class OXServlet
    [javac] public class SyncMLServlet extends OXServlet {
    [javac]                                    ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/metinf/MetInf.java:28:
warning: sun.misc.BASE64Decoder is Sun proprietary API and may be
removed in a future release
    [javac] import sun.misc.BASE64Decoder;
    [javac]                ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:76: cannot
find symbol
    [javac] symbol  : class ServletContext
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]     private static ServletContext context = null;
    [javac]                    ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:111: cannot
find symbol
    [javac] symbol  : class ServletException
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]     public void oxinit() throws ServletException {
    [javac]                                 ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:207: cannot
find symbol
    [javac] symbol  : class HttpServletRequest
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]     protected void doGet(HttpServletRequest req,
HttpServletResponse resp)
    [javac]                          ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:207: cannot
find symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]     protected void doGet(HttpServletRequest req,
HttpServletResponse resp)
    [javac]                                                  ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:208: cannot
find symbol
    [javac] symbol  : class ServletException
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                     throws IOException, ServletException {
    [javac]                                         ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:263: cannot
find symbol
    [javac] symbol  : class HttpServletRequest
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]     protected void doPost(HttpServletRequest req,
HttpServletResponse resp)
    [javac]                           ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:263: cannot
find symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]     protected void doPost(HttpServletRequest req,
HttpServletResponse resp)
    [javac]                                                   ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:264: cannot
find symbol
    [javac] symbol  : class ServletException
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                     throws IOException, ServletException {
    [javac]                                         ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:112: cannot
find symbol
    [javac] symbol  : variable httpAuth
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]             httpAuth = false;
    [javac]             ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:113: cannot
find symbol
    [javac] symbol  : method getServletContext()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]             context = getServletContext();
    [javac]                       ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:115: cannot
find symbol
    [javac] symbol  : method getServletConfig()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                     String loglevelprop =
getServletConfig().getInitParameter(
    [javac]                                           ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:120: cannot
find symbol
    [javac] symbol  : method getServletConfig()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                     String disableLargeObjs =
getServletConfig().getInitParameter(
    [javac]                                               ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:123: cannot
find symbol
    [javac] symbol  : method getServletConfig()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                     String enableSyncParticipatingApps =
getServletConfig()
    [javac]                                                          ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:131: cannot
find symbol
    [javac] symbol  : method getServletContext()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]             String configFile =
getServletContext().getRealPath(
    [javac]                                 ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:176: cannot
find symbol
    [javac] symbol  : variable super
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]             super.destroy();
    [javac]             ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:195:
warning: sun.misc.BASE64Decoder is Sun proprietary API and may be
removed in a future release
    [javac]             byte[] decoded = new
sun.misc.BASE64Decoder().decodeBuffer(auth);
    [javac]                                          ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:322: cannot
find symbol
    [javac] symbol  : method getServletConfig()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                             String filename =
getServletConfig().getInitParameter(
    [javac]                                               ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:326: cannot
find symbol
    [javac] symbol  : method getServletContext()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                             path =
getServletContext().getRealPath("/");
    [javac]                                    ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:333: cannot
find symbol
    [javac] symbol  : variable HttpServletResponse
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                    
resp.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e
    [javac]                                    ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:408: cannot
find symbol
    [javac] symbol  : method
initializeService(java.lang.String,java.lang.String)
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                             AuthCode =
initializeService(username, password) ? 200 : 401;
    [javac]                                        ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:419: cannot
find symbol
    [javac] symbol  : variable HttpServletResponse
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                    
resp.sendError(HttpServletResponse.SC_BAD_REQUEST, e.getMessage());
    [javac]                                    ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:463: cannot
find symbol
    [javac] symbol  : variable HttpServletResponse
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                            
resp.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, ex
    [javac]                                            ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:476: cannot
find symbol
    [javac] symbol  : variable HttpServletResponse
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                            
resp.sendError(HttpServletResponse.SC_SERVICE_UNAVAILABLE,
    [javac]                                            ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:485: cannot
find symbol
    [javac] symbol  : variable no
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                     loadUserTimeZone(no, userpass);
    [javac]                                      ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:486: cannot
find symbol
    [javac] symbol  : variable no
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                     factory = new OXObjectFactory(no);
    [javac]                                                   ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:507: cannot
find symbol
    [javac] symbol  : method getServletConfig()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                             String filename =
getServletConfig().getInitParameter(
    [javac]                                               ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:510: cannot
find symbol
    [javac] symbol  : method getServletContext()
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                             String path =
getServletContext().getRealPath("/");
    [javac]                                           ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:520: cannot
find symbol
    [javac] symbol  : variable HttpServletResponse
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                    
resp.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
    [javac]                                    ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:560: cannot
find symbol
    [javac] symbol  : variable no
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]             return new OXObjectFactory(no);
    [javac]                                        ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:568: cannot
find symbol
    [javac] symbol  : variable super
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]                     return super.getWritableConnection();
    [javac]                            ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:580: cannot
find symbol
    [javac] symbol  : variable user
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]             return user;
    [javac]                    ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:584: cannot
find symbol
    [javac] symbol  : variable no
    [javac] location: class com.openexchange.syncml.SyncMLServlet
    [javac]             return no;
    [javac]                    ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/SyncMLServlet.java:589:
package no does not exist
    [javac]             no.user.remove("ManagementErrorTempSaving");
    [javac]               ^
    [javac]
/opt/OXSyncML/src/com/openexchange/syncml/metinf/MetInf.java:139:
warning: sun.misc.BASE64Decoder is Sun proprietary API and may be
removed in a future release
    [javac]                             NextNonce = (new
BASE64Decoder()).decodeBuffer(parser.getOptional("NextNonce")).toString();
    [javac]                                              ^
    [javac] 38 errors
    [javac] 3 warnings


Powered by Open-Xchange.com




More information about the User mailing list