phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] sync/doc/Installation Guide for Sync4j.html, 1.1


From: nomail
Subject: [Phpgroupware-cvs] sync/doc/Installation Guide for Sync4j.html, 1.1
Date: Wed, 26 May 2004 02:33:12 +0200

Update of /sync/doc
Added Files:
        Branch: 
          Installation Guide for Sync4j.html

date: 2004/05/26 00:33:12;  author: mkaemmerer;  state: Exp;

Log Message:
- added html version
=====================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
        <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; 
charset=windows-1252">
        <TITLE></TITLE>
        <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.2  (Win32)">
        <META NAME="AUTHOR" CONTENT="Matthias Leonhardt">
        <META NAME="CREATED" CONTENT="20030925;12135000">
        <META NAME="CHANGED" CONTENT="20040526;2303176">
        <STYLE>
        <!--
                @page { size: 21cm 29.7cm; margin-left: 1cm; margin-right: 1cm; 
margin-top: 2cm; margin-bottom: 2cm }
                P { margin-bottom: 0.21cm }
                P.western { font-family: "Arial", sans-serif }
                TD P { margin-bottom: 0.21cm }
                TD P.western { font-family: "Arial", sans-serif }
                TH P { margin-bottom: 0.21cm }
                TH P.western { font-family: "Arial", sans-serif; font-style: 
italic }
                TH P.cjk { font-style: italic }
                TH P.ctl { font-style: italic }
        -->
        </STYLE>
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<DIV TYPE=HEADER>
        <P CLASS="western" STYLE="margin-bottom: 0cm"><FONT FACE="Arial, 
sans-serif"><B><FONT SIZE=4 STYLE="font-size: 16pt">Sync4j
        and JBoss Installation, </FONT><FONT SIZE=3>Last edited: 
12.05.2004</FONT></B></FONT></P>
        <P CLASS="western" STYLE="margin-bottom: 0.5cm"><FONT FACE="Arial, 
sans-serif"><SPAN STYLE="font-weight: medium"><SPAN STYLE="font-style: 
normal">Matthias
        Leonhardt &lt;</SPAN></SPAN><A HREF="mailto:address@hidden";><SPAN 
STYLE="font-weight: medium"><SPAN STYLE="font-style: 
normal">address@hidden</SPAN></SPAN></A><SPAN STYLE="font-weight: medium"><SPAN 
STYLE="font-style: normal">
        <BR>Markus K&auml;mmerer &lt;</SPAN></SPAN><A 
HREF="mailto:address@hidden";><SPAN STYLE="font-weight: medium"><SPAN 
STYLE="font-style: normal">address@hidden</SPAN></SPAN></A></FONT></P>
</DIV>
<P CLASS="western" STYLE="margin-bottom: 0cm"><FONT COLOR="#000000"><FONT 
FACE="Arial, sans-serif">Download
the following files</FONT></FONT></P>
<P CLASS="western" STYLE="margin-bottom: 0cm"><BR>
</P>
<TABLE WIDTH=100% BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=0>
        <COL WIDTH=73*>
        <COL WIDTH=159*>
        <COL WIDTH=24*>
        <THEAD>
                <TR VALIGN=TOP>
                        <TH WIDTH=28%>
                                <P CLASS="western" ALIGN=LEFT 
STYLE="font-style: normal"><FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">Sync4j
                                1.2, with jboss</FONT></FONT></P>
                        </TH>
                        <TH WIDTH=62%>
                                <P CLASS="western" ALIGN=LEFT><FONT 
FACE="Arial, sans-serif"><FONT SIZE=2 STYLE="font-size: 9pt"><A 
HREF="http://sourceforge.net/project/showfiles.php?group_id=30236&amp;release_id=175307";><SPAN
 STYLE="font-weight: medium"><U><SPAN STYLE="font-style: normal"><FONT 
SIZE=2><FONT 
COLOR="#0000ff">http://sourceforge.net/project/showfiles.php?group_id=30236&amp;release_id=175307<BR>http://prdownloads.sourceforge.net/sync4j/sync4j-jboss-1.2.zip?download</FONT></FONT></SPAN></U></SPAN></A></FONT></FONT></P>
                        </TH>
                        <TH WIDTH=9%>
                                <P CLASS="western" ALIGN=CENTER><FONT 
COLOR="#000000"><FONT FACE="Arial, sans-serif"><FONT SIZE=2>50
                                MB</FONT></FONT></FONT></P>
                        </TH>
                </TR>
        </THEAD>
        <TBODY>
                <TR VALIGN=TOP>
                        <TH WIDTH=28%>
                                <P CLASS="western" ALIGN=LEFT 
STYLE="font-style: normal"><FONT COLOR="#000000">Java-SDK
                                (JRE does not work!) <BR>tested version: 
1.4.2</FONT></P>
                        </TH>
                        <TD WIDTH=62%>
                                <P CLASS="western" ALIGN=LEFT><FONT 
FACE="Arial, sans-serif"><A 
HREF="http://java.sun.com/j2se/downloads.html";><SPAN STYLE="font-weight: 
medium"><U><SPAN STYLE="font-style: normal"><FONT SIZE=2><FONT 
COLOR="#0000ff">http://java.sun.com/j2se/downloads.html</FONT></FONT></SPAN></U></SPAN></A></FONT></P>
                        </TD>
                        <TD WIDTH=9%>
                                <P CLASS="western" ALIGN=CENTER><FONT 
COLOR="#000000"><FONT FACE="Arial, sans-serif"><FONT SIZE=2>47
                                MB</FONT></FONT></FONT></P>
                        </TD>
                </TR>
        </TBODY>
</TABLE>
<P CLASS="western" STYLE="margin-bottom: 0cm"><BR>
</P>
<P CLASS="western" STYLE="margin-bottom: 0cm"><BR>
</P>
<TABLE WIDTH=100% BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=0>
        <COL WIDTH=128*>
        <COL WIDTH=128*>
        <THEAD>
                <TR VALIGN=TOP>
                        <TH WIDTH=50%>
                                <P CLASS="western"><FONT 
COLOR="#000000">Windows</FONT></P>
                        </TH>
                        <TH WIDTH=50%>
                                <P CLASS="western"><FONT 
COLOR="#000000">Linux</FONT></P>
                        </TH>
                </TR>
        </THEAD>
        <TBODY>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">extract
                                <FONT 
COLOR="#0000ff">sync4j-jboss-1.2.zip</FONT> to a directory
                                (name without spaces) i.e.:  <FONT 
COLOR="#0000ff">c:\Tools\ </FONT></FONT></FONT>
                                </P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">extract
                                <FONT 
COLOR="#0000ff">sync4j-jboss-1.2.zip</FONT> to a directory
                                (name without spaces) i.e.: <FONT 
COLOR="#0000ff">/usr/local</FONT></FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><BR>
                                </P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000">install as root</FONT></P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000">jboss
                                is running as root</FONT></P>
                        </TD>
                </TR>
                <TR>
                        <TD COLSPAN=2 WIDTH=100% VALIGN=TOP>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000">Note:
                                <FONT COLOR="#0000ff">sync4j-jboss-1.2.zip 
</FONT>contains
                                already a directory called sync4j</FONT></P>
                        </TD>
                </TR>
                <TR>
                        <TD COLSPAN=2 WIDTH=100% VALIGN=TOP>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">install
                                Java-SDK<BR>also to a directory without spaces! 
- the
                                sync4j-run-scripts can't handle spaces in 
directory names</FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><BR>
                                </P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">run <FONT COLOR="#0000ff">sh
                                j2sdk-1_4_2_04-linux-i586-rpm.bin</FONT> 
&ndash; it will extract
                                j2sdk-1_4_2_04-linux-i586-rpm in the current 
directory &ndash;
                                there you can use your preferred rpm-installer, 
don't forget to
                                deinstall all older JRE and SDKs<BR>(I used 
yast2 to deinstall
                                the older versions and the command <FONT 
COLOR="#0000ff">yast -i
                                j2sdk-1_4_2_04-linux-i586-rpm</FONT> to install 
the new one)<BR>set
                                valid symlinks to the Java-Environment 
</FONT></FONT>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif"><BR>valid
                                for SuSE 8.1:<BR>l<FONT COLOR="#0000ff">n -s
                                /usr/java/j2sdk1.4.2_04 /usr/lib/java<BR>ln -s
                                /usr/java/j2sdk1.4.2_04 
/usr/lib/java2</FONT><BR><BR>valid for
                                Redhat 9</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff">ln -s 
/usr/java/j2sdk1.4.2_04/bin/java
                                /usr/bin/java</FONT></P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif"><BR>perhaps
                                you have to remove old links before<BR>test 
your Java
                                installation and check the correct version 
with: cd /java-version</FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">To set the
                                environment variables</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">go to
                                &bdquo;Control 
Panel|System|Advanced|Environment Variables&ldquo;
                                and add:<BR><BR><FONT 
COLOR="#0000ff">J2EE_HOME=C:\Tools\Sync4j</FONT></FONT></FONT></P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif"><FONT 
COLOR="#0000ff">JAVA_HOME=C:\Tools\Java\j2sdk1.4.2_01
                                </FONT><BR><BR>(hint: compress this directory 
on NTFS file
                                systems)</FONT></FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">To set the
                                environment variables</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">edit
                                /etc/profile.d/alljava.sh or 
/etc/profile.local</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <BR>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">export
                                JAVA_HOME=/usr/lib/java<BR>export 
J2EE_HOME=/usr/local/lib/Sync4j</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <BR>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">test whether
                                your settings are remembered after your next 
login with</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif"><BR><FONT COLOR="#0000ff">set
                                | grep _HOME</FONT></FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <BR>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">set the
                                executable flag for the 
start/stop-scripts:<BR></FONT></FONT><BR>
                                </P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#0000ff"><FONT FACE="Arial, sans-serif">chmod
                                +x $J2EE_HOME/bin/*.sh<BR>chmod +x 
$J2EE_HOME/sync4j-1.2/bin/*.sh</FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">cd
                                %J2EE_HOME%\sync4j-1.2</FONT></FONT></P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">bin\start.bat</FONT></FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">cd
                                $J2EE_HOME/sync4j-1.2</FONT></FONT></P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#0000ff"><FONT FACE="Arial, sans-serif">sh
                                bin/start.sh</FONT></FONT></P>
                        </TD>
                </TR>
                <TR>
                        <TD COLSPAN=2 WIDTH=100% VALIGN=TOP>
                                <P CLASS="western"><FONT FACE="Arial, 
sans-serif"><SPAN STYLE="font-style: normal"><FONT COLOR="#000000">test
                                jboss with, now jboss should be accessible under
                                </FONT></SPAN><A 
HREF="http://localhost:8080/sync4j/";><SPAN STYLE="font-weight: medium"><SPAN 
STYLE="font-style: normal"><FONT 
COLOR="#0000ff">http://localhost:8080/sync4j/</FONT></SPAN></SPAN></A></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">now
                                customize <FONT 
COLOR="#0000ff">%J2EE_HOME%\sync4j-1.2\install.properties
                                </FONT></FONT></FONT>
                                </P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">now
                                customize <FONT 
COLOR="#0000ff">$J2EE_HOME/sync4j-1.2/install.properties</FONT></FONT></FONT></P>
                        </TD>
                </TR>
                <TR>
                        <TD COLSPAN=2 WIDTH=100% VALIGN=TOP>
                                <P CLASS="western" STYLE="margin-left: 1.25cm; 
margin-bottom: 0cm; border: 1px solid #000000; padding: 0.05cm; font-style: 
normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">-&gt; change
                                server name if needed 
(optional)</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-left: 1.25cm; 
margin-bottom: 0cm; border: 1px solid #000000; padding: 0.05cm">
                                <SPAN STYLE="font-style: normal"><FONT 
FACE="Arial, sans-serif"><FONT 
COLOR="#000000">server-name=</FONT></FONT></SPAN><A 
HREF="http://localhost:8080/";><SPAN STYLE="font-style: normal"><FONT 
FACE="Arial, sans-serif"><FONT COLOR="#000000">http://<SPAN STYLE="font-weight: 
medium">localhost</SPAN>:8080</FONT></FONT></SPAN></A></P>
                                <P CLASS="western" STYLE="margin-left: 1.25cm; 
margin-bottom: 0cm; border: 1px solid #000000; padding: 0.05cm">
                                <FONT FACE="Arial, sans-serif"><SPAN 
STYLE="font-style: normal"><FONT COLOR="#000000">-&gt;
                                with this setting, sync4j is hosted on 
</FONT></SPAN><A HREF="http://localhost:8080/sync";><SPAN STYLE="font-style: 
normal"><FONT 
COLOR="#0000ff">http://localhost:8080/sync</FONT></SPAN></A></FONT></P>
                                <P CLASS="western" STYLE="margin-left: 1.25cm; 
margin-bottom: 0cm; border: 1px solid #000000; padding: 0.05cm; font-style: 
normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">context-path=/</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-left: 1.25cm; 
margin-bottom: 0cm; border: 1px solid #000000; padding: 0.05cm; font-style: 
normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">-&gt; change
                                the old line to (important)</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-left: 1.25cm; 
border: 1px solid #000000; padding: 0.05cm; font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">modules-to-install=<SPAN STYLE="font-weight: 
medium">phpgw_sync-0.1</SPAN></FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">now get the
                                file <FONT 
COLOR="#0000ff">phpgw_sync-0.1.s4j</FONT> from
                                /sync4j/package in phpGW sync module 
</FONT></FONT>
                                </P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">and
                                copy this file to <FONT 
COLOR="#0000ff">%J2EE_HOME%\sync4j-1.2\modules</FONT>
                                directory</FONT></FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">now get the
                                file <FONT 
COLOR="#0000ff">phpgw_sync-0.1.s4j</FONT> from
                                /sync4j/package in phpGW sync module 
and</FONT></FONT></P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">copy
                                this file to <FONT 
COLOR="#0000ff">%J2EE_HOME%/sync4j-1.2/modules
                                directory</FONT></FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">now
                                initialize jboss and sync4j 
module</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <BR>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">cd
                                %J2EE_HOME%\sync4j-1.2</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif"><FONT COLOR="#0000ff">bin\install.cmd
                                jboss</FONT><BR></FONT></FONT><BR>
                                </P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif"><FONT 
COLOR="#ff0000">always</FONT>
                                answer &ldquo;n&rdquo; to all 
questions</FONT></FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">now
                                initialize jboss and sync4j 
module</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif"><BR><FONT COLOR="#0000ff">cd
                                $J2EE_HOME/sync4j-1.2</FONT></FONT></FONT></P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif"><FONT 
COLOR="#0000ff">sh
                                bin/install.sh jboss</FONT> <BR><BR><FONT 
COLOR="#ff0000">always</FONT>
                                answer &ldquo;n&rdquo; to all 
questions</FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">now start
                                initialization of internal modules in the same
                                directory<BR><BR><FONT 
COLOR="#0000ff">bin\install-modules.cmd
                                jboss</FONT><BR></FONT></FONT><BR>
                                </P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">again,
                                <FONT COLOR="#ff0000">always</FONT> answer 
&ldquo;n&rdquo; to all
                                question</FONT></FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">now start
                                initialization of internal modules in the same 
directory<BR></FONT></FONT><BR>
                                </P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif"><FONT 
COLOR="#0000ff">sh
                                bin/install-modules.sh 
jboss</FONT><BR><BR>again, <FONT COLOR="#ff0000">always</FONT>
                                answer &ldquo;n&rdquo; to all 
question</FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><BR>
                                </P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">Somehow
                                there is a problem with the META-INF Directory 
it contains the
                                wrong data. The Meta-inf has the right data but 
is not read under
                                Linux. So do the following:</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <BR>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">cd
                                
$J2EE_HOME/sync4j-1.2/default/config/xml</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <BR>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">rm -rf
                                META-INF</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">mv Meta-inf
                                META-INF</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <BR>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#000000"><FONT FACE="Arial, 
sans-serif">now install
                                the modules again</FONT></FONT></P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <BR>
                                </P>
                                <P CLASS="western" STYLE="margin-bottom: 0cm; 
font-style: normal">
                                <FONT COLOR="#0000ff"><FONT FACE="Arial, 
sans-serif">cd
                                $J2EE_HOME/sync4j-1.2</FONT></FONT></P>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif"><FONT 
COLOR="#0000ff">sh
                                bin/install-modules.sh jboss</FONT><BR>again, 
<FONT COLOR="#ff0000">always</FONT>
                                answer &ldquo;n&rdquo; to all 
question</FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">start
                                the jboss server with sync4j in the same 
directory<BR><BR><FONT COLOR="#0000ff">bin\start.cmd</FONT></FONT></FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="font-style: 
normal"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">start
                                the jboss server with sync4j in the same 
directory<BR><BR><FONT COLOR="#0000ff">sh
                                bin/start.sh</FONT></FONT></FONT></P>
                        </TD>
                </TR>
                <TR>
                        <TD COLSPAN=2 WIDTH=100% VALIGN=TOP>
                                <P CLASS="western"><SPAN STYLE="font-style: 
normal"><FONT FACE="Arial, sans-serif"><FONT COLOR="#000000">test
                                your installation with your browser go to 
</FONT></FONT></SPAN><A HREF="http://localhost:8080/";><SPAN STYLE="font-style: 
normal"><FONT FACE="Arial, sans-serif"><FONT 
COLOR="#0000ff">http://localhost:8080</FONT></FONT></SPAN></A></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 
0cm"><FONT FACE="Arial, sans-serif"><FONT COLOR="#000000">the
                                default location of phpGW is </FONT><A 
HREF="http://localhost/phpgw";><FONT 
COLOR="#0000ff">http://localhost/phpgw</FONT></A><FONT COLOR="#000000"><BR>to
                                change this and the default login user 
(demo/guest) edit file</FONT></FONT></P>
                                <P CLASS="western"><FONT COLOR="#000000"><FONT 
FACE="Arial, sans-serif"><FONT 
COLOR="#0000ff">%J2EE_HOME%\sync4j-1.2\default\config\properties\config\Sync4j.properties</FONT><I><BR></I>and
                                do install modules again, than restart jboss 
<BR>Instead of the
                                default user &ldquo;demo&rdquo; you may use 
every user which has
                                access to the sync module.</FONT></FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western"><FONT FACE="Arial, 
sans-serif"><FONT COLOR="#000000">the
                                default location of phpGW is </FONT><A 
HREF="http://localhost/phpgw";><FONT 
COLOR="#0000ff">http://localhost/phpgw</FONT></A><FONT COLOR="#000000"><BR>to
                                change this and the default login user 
(demo/guest) edit
                                file<BR></FONT><I><FONT 
COLOR="#0000ff">$J2EE_HOME/sync4j-1.2/default/config/properties/config/Sync4j.properties</FONT><FONT
 COLOR="#000000"><BR></FONT></I><FONT COLOR="#000000">and
                                do install modules again, than restart jboss 
<BR>Instead of the
                                default user &ldquo;demo&rdquo; you may use 
every user which has
                                access to the sync module.</FONT></FONT></P>
                        </TD>
                </TR>
                <TR>
                        <TD COLSPAN=2 WIDTH=100% VALIGN=TOP>
                                <P CLASS="western"><FONT FACE="Arial, 
sans-serif"><FONT COLOR="#000000">Now
                                everything is ready. Test synchronization with 
URL
                                </FONT><A HREF="http://localhost:8080/";><FONT 
COLOR="#000080">http://localhost:8080
                                </FONT></A><FONT COLOR="#000000">and user 
&ldquo;demo&rdquo; with
                                password &ldquo;guest&rdquo;</FONT></FONT></P>
                        </TD>
                </TR>
        </TBODY>
</TABLE>
<P CLASS="western" STYLE="margin-bottom: 0cm"><FONT 
COLOR="#000000"><BR><BR></FONT><BR>
</P>
<P CLASS="western" STYLE="margin-bottom: 0cm"><FONT COLOR="#000000"><B>Some
tips for tweaking your installation</B></FONT></P>
<P CLASS="western" STYLE="margin-bottom: 0cm"><BR>
</P>
<TABLE WIDTH=100% BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=0>
        <COL WIDTH=128*>
        <COL WIDTH=128*>
        <THEAD>
                <TR VALIGN=TOP>
                        <TH WIDTH=50%>
                                <P CLASS="western"><FONT 
COLOR="#000000">Windows</FONT></P>
                        </TH>
                        <TH WIDTH=50%>
                                <P CLASS="western"><FONT 
COLOR="#000000">Linux</FONT></P>
                        </TH>
                </TR>
        </THEAD>
        <TBODY>
                <TR>
                        <TD COLSPAN=2 WIDTH=100% VALIGN=TOP>
                                <P CLASS="western"><BR>
                                </P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western"><FONT COLOR="#000000"><FONT 
FACE="Arial, sans-serif">to
                                change logging level edit the
                                file<BR><FONT 
COLOR="#0000ff">%J2EE_HOME%\sync4j-1.2\lib\logging\logging.properties</FONT><BR></FONT>change
                                all occurrences INFO to ALL for highest logging 
level</FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western" STYLE="margin-bottom: 
0cm"><FONT COLOR="#000000"><FONT FACE="Arial, sans-serif">to
                                change logging level edit the
                                file<BR><I><FONT 
COLOR="#0000ff">$J2EE_HOME/sync4j-1.2/lib/logging/logging.properties</FONT></I></FONT></FONT></P>
                                <P CLASS="western"><FONT COLOR="#000000"><FONT 
FACE="Arial, sans-serif"><I>change
                                all occurrences INFO to ALL for highest logging 
level</I></FONT></FONT></P>
                        </TD>
                </TR>
                <TR VALIGN=TOP>
                        <TD WIDTH=50%>
                                <P CLASS="western"><FONT COLOR="#000000"><FONT 
FACE="Arial, sans-serif">Log
                                files are written to <BR><FONT 
COLOR="#0000ff">%J2EE_HOME%\server\sync4j\log\</FONT><BR>remember
                                that full logging is a performance killer and 
the log files are
                                deleted at every reboot of 
jboss</FONT></FONT></P>
                        </TD>
                        <TD WIDTH=50%>
                                <P CLASS="western"><FONT COLOR="#000000"><FONT 
FACE="Arial, sans-serif">Log
                                files are written to <BR><I><FONT 
COLOR="#0000ff">$J2EE_HOME/server/sync4j/log/</FONT><BR></I>remember
                                that full logging is a performance killer and 
the log files are
                                deleted at every reboot of 
jboss</FONT></FONT></P>
                        </TD>
                </TR>
        </TBODY>
</TABLE>
<P CLASS="western" STYLE="margin-bottom: 0cm"><BR>
</P>
<P CLASS="western" STYLE="margin-bottom: 0cm"><BR>
</P>
</BODY>
</HTML>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]