Re: Re: -URGENT HELP-ozone installation problems....
"ss" <[email protected]> 28 Nov 2005 17:05:16 -0000
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multipart mime message --Next_1133197516---0-203.199.83.27-18722 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =0A=0AHI,=0Ai tried your commands....got the following result....=0A=0A= =0AE:\>set OZONE_HOME=3DE:\jdk1.4\bin\ozone-1.2=0A=0AE:\>set PATH=3D%OZONE_= HOME%\bin;%PATH%=0A=0AE:\>E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt= =0A'E:\jdk1.4\bin\ozone-1.2\samples\simple' is not recognized as an interna= l or ext=0Aernal command,=0Aoperable program or batch file.=0A=0AE:\>cd E:\= jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt=0A=0AE:\jdk1.4\bin\ozone-1.2\s= amples\simple>ozoneAnt=0A=0AWarning: JAVA_HOME environment variable is not = set.=0A If build fails because sun.* classes could not be found=0A you wi= ll need to set the JAVA_HOME environment variable=0A to the installation d= irectory of java.=0A=0AException in thread "main" java.lang.NoClassDefFound= Error: org/apache/tools/ant/=0AMain=0AE:\jdk1.4\bin\ozone-1.2\samples\simpl= e>=0A=0AOn Mon, 28 Nov 2005 Per Nyfelt wrote :=0A>The error means ozoneAnt = cannot find the ant.jar in %OZONE_HOME%\lib, not sure=0A>why and I do not h= ave a windows machine to test on until this week-end.=0A>=0A>What if you:= =0A>=0A>set OZONE_HOME=3DE:\jdk1.4\bin\ozone-1.2=0A>set PATH=3D%OZONE_HOME%= \bin;%PATH%=0A>E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt=0A>=0A>Do yo= u get the same result?=0A>=0A>Regards,=0A>Per=0A>=0A>On Monday 28 November = 2005 13.53, ss wrote:=0A> > Sorry to be back again:=0A> > problem when the = client is to b build in the example of sample\simple is=0A> > that when the= following stmt is executed :=0A> >=0A> >=0A> > E:\jdk1.4\bin\ozone-1.2\sam= ples\simple>E:\jdk1.4\bin\ozone-1.2\bin\ozoneAnt=0A> > the error message is= :=0A> > The system cannot find the specified path=0A> > Exception in thread= "main" java.lang.NoClassDefFoundError:=0A> > org/apache/tools/ant/Main ...= ....plz help me out urgently=0A> >=0A> > On Sun, 27 Nov 2005 Per Nyfelt wro= te :=0A> > >If you have %OZONE_HOME%\bin included in the PATH you can run t= he build=0A> > > file (called build.xml btw) by typing ozoneAnt. Actually s= tanding in the=0A> > > sample\simple directory you can build by typing ..\.= .\bin\ozoneAnt. This=0A> > > is already described in the README file btw...= =0A> > >=0A> > >Regards,=0A> > >Per=0A> > >=0A> > >On Saturday 26 November = 2005 18.54, ss wrote:=0A> > > > thnx 4 d cooperation so far.......i jst hop= e it to b the last time.....=0A> > > > the ozone server is successfully com= piled.... but the problem is in the=0A> > > > running of the example: there= is a problem in starting the=0A> > > > client....there is no build.bat fil= e that needs to b run to build the=0A> > > > client....nor could i find 'ma= ke' newhere ..........plz suggest smthng=0A> > > >=0A> > > > On Sat, 26 Nov= 2005 Per Nyfelt wrote :=0A> > > > >OK, one more try:=0A> > > > >=0A> > > >= >Ozone releases comes in two flavors: a binary and a source package.=0A> >= > > >The binary distribution is already compiled and is the easiest one to= =0A> > > > > get started with.=0A> > > > >The source distribution contains = all source code but no compiled or=0A> > > > > packaged classes and needs t= o be built before it can be used.=0A> > > > >=0A> > > > >To get started wit= h the binary distribution do the following:=0A> > > > >1. unzip ozone-1.2-b= in.zip to a directory of choice (eg. c:\ozone-1.2)=0A> > > > >2. set OZONE_= HOME to this directory (e.g. c:\ozone-1.2)=0A> > > > >3. create a classes d= irectory (c:\ozone-1.2\classes) where you can put=0A> > > > > your own code= i.e.=0A> > > > >both interface and implementation classes tht needs to be = visible for=0A> > > > > the server should be in here.=0A> > > > >An alterna= tive to this, which is mentioned in the samples, is to start=0A> > > > > oz= one from the directory where your=0A> > > > >classes are compiled (both cur= rent directory and OZONE_HOME\classes=0A> > > > > are included in the class= path per default.=0A> > > > >=0A> > > > >That's it; you are now ready to tr= y something out. Client code that=0A> > > > > connects to the server needs = the ozoneServer.jar to be able to=0A> > > > > connect to the server. Look i= n the samples and in the users guide for=0A> > > > > things to get started = with and try out.=0A> > > > >If later you need more full blown apps look in= the ozoneApps cvs=0A> > > > > module (also released as ozone applications = in source forge)=0A> > > > >=0A> > > > >Running the ozone server=0A> > > > = >------------------------=0A> > > > >=0A> > > > >1. Initialize database dir= ectory.=0A> > > > >=0A> > > > >A database directory holds all files of an o= zone database. To=0A> > > > > initialize an empty database start the ozone = install tool:=0A> > > > >=0A> > > > > ozoneInst -d<data_directory>=0A> > >= > >=0A> > > > >e.g.=0A> > > > >c:\ozone-1.2\bin\>ozoneInst -dc:/ozone-1.2/= data=0A> > > > >=0A> > > > >To see all possible parameters of ozoneInst typ= e 'ozoneInst -h'.=0A> > > > >=0A> > > > >2. Start the server.=0A> > > > >= =0A> > > > > ozone -d<data_directory> -u<username>=0A> > > > >-u can be om= itted=0A> > > > >e.g.=0A> > > > >c:\ozone-1.2\bin\>ozone -dc:/ozone-1.2/dat= a=0A> > > > >=0A> > > > >You will get some status information and after the= initialisation=0A> > > > > ozone is up and running. You can setup as many = databases and you can=0A> > > > > run as many servers as you need on one sy= stem. To define users and to=0A> > > > > do other administration things use= the admin tool:=0A> > > > >=0A> > > > > ozoneAdmin=0A> > > > >=0A> > > > = >To see all possible commands and parameters of ozoneAdmin type=0A> > > > >= 'ozoneAdmin -h'.=0A> > > > >=0A> > > > >You can also try the adminGui whic= h is a Swing based admin tool=0A> > > > >=0A> > > > > ozoneAdminGui=0A>= > > > >=0A> > > > >Trying out the ozone samples=0A> > > > >---------------= -------------=0A> > > > >=0A> > > > >IMPORTANT NOTE: the VM of the ozone se= rver must be able to access the=0A> > > > > class files of the application.= To run the ozone samples, you may add=0A> > > > > "." to your CLASSPATH an= d start the ozone server INSIDE THE SAMPLE=0A> > > > > DIRECTORY. Alternati= vely put your compiled classes in=0A> > > > > %OZONE_HOME%\classes.=0A> > = > > >=0A> > > > >1. Start the server.=0A> > > > >=0A> > > > >Open a new con= sole. Change directory to <OZONE_HOME>/samples/simple.=0A> > > > > Install = a new database via 'ozoneInst -d<db_dir>'. Start the server=0A> > > > > via= 'ozone -d<db_dir> -u<username>' as described above.=0A> > > > >=0A> > > > = >2. Start the Client.=0A> > > > >=0A> > > > >Open a new console. Change dir= ectory to <OZONE_HOME>/samples/simple.=0A> > > > > Build the client via '..= /../build.[sh|bat]' or 'make'. Start the=0A> > > > > client via 'ojvm Clien= t'.=0A> > > > >=0A> > > > >Good luck!=0A> > > > >=0A> > > > >On Saturday 26= November 2005 13.36, ss wrote:=0A> > > > > > sorry to bother u again:=0A> = > > > > >=0A> > > > > > 1. the problem with binary version is that i could = not find=0A> > > > > > build.bat file in it......suggest sumthng=0A> > > > = > >=0A> > > > > > 2. plz give me a brief intro of "ant build script"=0A> > = > > > >=0A> > > > > > On Sat, 26 Nov 2005 Per Nyfelt wrote :=0A> > > > > > = >On Saturday 26 November 2005 05.23, ss wrote:=0A> > > > > > > > 1. i ve ch= anged my ozone home to=0A> > > > > > > > :E:\jdk1.4\bin\ozone-1.2\server=0A= > > > > > > > >=0A> > > > > > > > hope it works out=0A> > > > > > >=0A> = > > > > > >No it is not correct for the source distribution.=0A> > > > > > = >I would strongly you switch to the binary distribution. Get things=0A> > >= > > > > up and running first before attempting to build the server from=0A= > > > > > > > source.=0A> > > > > > >=0A> > > > > > > > 2. kindly specify = the step by step procedure to build this ant=0A> > > > > > > > build script= (where to edit,how to save,how to execute etc.) as=0A> > > > > > > > i ve = no idea abt it......plz help me out=0A> > > > > > >=0A> > > > > > >I just d= id! I dont know how to make it any clearer.=0A> > > > > > >=0A> > > > > > >= > 3. when ozone -d E:\jdk1.4\bin\ozone-1.2\server\data -u=0A> > > > > > = > > is executed , the err mssg is=0A> > > > > > > > Exception in thread "m= ain" java.lang.NoClassDefFoundError:=0A> > > > > > > > org/ozoneDB/core/Ser= ver wat might b the reason 4 this???????=0A> > > > > > >=0A> > > > > > >Som= ething is wrong with your classpath. Probably the linefeed=0A> > > > > > > = problem that makes the scripts uninterpretable by windows.=0A> > > > > > >= =0A> > > > > > > > On Fri, 25 Nov 2005 Per Nyfelt wrote :=0A> > > > > > > >= >As a told you earlier: you need to edit your batch files and=0A> > > > > = > > > > replace linefeed (LF) with Carriage Return Linefeed (CRLF)!=0A> > >= > > > > > >=0A> > > > > > > > >One way to do this is to create a simple an= t build script:=0A> > > > > > > > ><project name=3D"scriptfix" default=3D"l= ineend" basedir=3D".">=0A> > > > > > > > > <target name=3D"lineend">=0A> >= > > > > > > > <fixcrlf srcdir=3D"server/bin" includes=3D"**/*.bat" />=0A= > > > > > > > > > </target>=0A> > > > > > > > ></project>=0A> > > > > > > = > >=0A> > > > > > > > >If you are building from src do the following:=0A> >= > > > > > > >1. Make sure server\bin\ozoneAnt.bat has the right end of lin= e=0A> > > > > > > > > characters. In notepad they will look like empty boxe= s=0A> > > > > > > > > replace all boxes with an enter (sorry for the pain)= =0A> > > > > > > > >2. cd server=0A> > > > > > > > >3. execute the build.ba= t script (this will also fix all your=0A> > > > > > > > > EOL characters in= build/bin to match your system)=0A> > > > > > > > >4. Your ozone distribut= ion are now in server\build - this is=0A> > > > > > > > > your OZONE_HOME (= unless you copy the files elsewhere if=0A> > > > > > > > > course)=0A> > > = > > > > > >=0A> > > > > > > > >There is also a dist.bin target besides the = default one that=0A> > > > > > > > > builds a structure like the binary dis= tribution that might be=0A> > > > > > > > > of interest.=0A> > > > > > > > = >=0A> > > > > > > > >Good luck!=0A> > > > > > > > >=0A> > > > > > > > >/Per= =0A> > > > > > > > >=0A> > > > > > > > >On Friday 25 November 2005 13.36, s= s wrote:=0A> > > > > > > > > > i ve installed the src version of ozone n s= et the=0A> > > > > > > > > > variables as follows: ozone_home: E:\jdk1.4\b= in\ozone-1.2=0A> > > > > > > > > > ozone_path: E:\jdk1.4\bin\ozone-1.2\ser= ver\bin=0A> > > > > > > > > > ozone_jvm: java=0A> > > > > > > > > > ozone_j= avac: javac=0A> > > > > > > > > >=0A> > > > > > > > > > if any correction i= s to b made in thse variables do inform=0A> > > > > > > > > >=0A> > > > > >= > > > > i get the following message when this is executed:=0A> > > > > > >= > > > ozoneInst -d E:\jdk1.4\bin\ozone-1.2\data=0A> > > > > > > > > > offr= em $Id: ozoneInst.bat,v 1.2 2002/12/29 11:15:55=0A> > > > > > > > > > per_n= yfelt Exp $call ojvm.bat org.ozoneDB.tools.Install -d=0A> > > > > > > > > >= E:\jdk1.4\bin\ozone-1.2\data=0A> > > > > > > > > >=0A> > > > > > > > > > i= could not find the path for making the changes u=0A> > > > > > > > > > sug= gested.........plz help me out.......urgently=0A> > > > > > > > >=0A> > > >= > > > > >-------------------------------------------------------=0A> > > >= > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep=0A> > = > > > > > > > through log files for problems? Stop! Download the new AJAX= =0A> > > > > > > > > search engine that makes searching your log files as e= asy as=0A> > > > > > > > > surfing the web. DOWNLOAD SPLUNK!=0A> > > > > >= > > > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick=0A> > = > > > > > > > _______________________________________________=0A> > > > > >= > > >Ozone-users mailing list=0A> > > > > > > > >[email protected]= orge.net=0A> > > > > > > > >https://lists.sourceforge.net/lists/listinfo/oz= one-users=0A> > > > >=0A> > > > >------------------------------------------= -------------=0A> > > > >This SF.net email is sponsored by: Splunk Inc. Do = you grep through log=0A> > > > > files for problems? Stop! Download the n= ew AJAX search engine that=0A> > > > > makes searching your log files as ea= sy as surfing the web. DOWNLOAD=0A> > > > > SPLUNK! http://ads.osdn.com/?= ad_id=3D7637&alloc_id=3D16865&op=3Dclick=0A> > > > >_______________________= ________________________=0A> > > > >Ozone-users mailing list=0A> > > > >Ozo= [email protected]=0A> > > > >https://lists.sourceforge.net/lis= ts/listinfo/ozone-users=0A> > >=0A> > >------------------------------------= -------------------=0A> > >This SF.net email is sponsored by: Splunk Inc. D= o you grep through log=0A> > > files for problems? Stop! Download the new= AJAX search engine that=0A> > > makes searching your log files as easy as = surfing the web. DOWNLOAD=0A> > > SPLUNK! http://ads.osdn.com/?ad_id=3D76= 37&alloc_id=3D16865&op=3Dclick=0A> > >_____________________________________= __________=0A> > >Ozone-users mailing list=0A> > >[email protected]= orge.net=0A> > >https://lists.sourceforge.net/lists/listinfo/ozone-users=0A= >=0A>=0A>-------------------------------------------------------=0A>This SF= .net email is sponsored by: Splunk Inc. Do you grep through log files=0A>fo= r problems? Stop! Download the new AJAX search engine that makes=0A>searc= hing your log files as easy as surfing the web. DOWNLOAD SPLUNK!=0A>http:= //ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick=0A>_______________= ________________________________=0A>Ozone-users mailing list=0A>Ozone-users= @lists.sourceforge.net=0A>https://lists.sourceforge.net/lists/listinfo/ozon= e-users=0A --Next_1133197516---0-203.199.83.27-18722 Content-type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <P>=0A <BR>=0A<BR>=0AHI,<BR>=0Ai tried your commands....got the follo= wing result....<BR>=0A<BR>=0A<BR>=0AE:\>set OZONE_HOME=3DE:\jdk1.4\bin\o= zone-1.2<BR>=0A<BR>=0AE:\>set PATH=3D%OZONE_HOME%\bin;%PATH%<BR>=0A<BR>= =0AE:\>E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt<BR>=0A'E:\jdk1= .4\bin\ozone-1.2\samples\simple' is not recognized as an internal or ext<BR= >=0Aernal command,<BR>=0Aoperable program or batch file.<BR>=0A<BR>=0AE:\&g= t;cd E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt<BR>=0A<BR>=0AE:\jdk= 1.4\bin\ozone-1.2\samples\simple>ozoneAnt<BR>=0A<BR>=0AWarning: JAVA_HOM= E environment variable is not set.<BR>=0A If build fails because sun.= * classes could not be found<BR>=0A you will need to set the JAVA_HOM= E environment variable<BR>=0A to the installation directory of java.<= BR>=0A<BR>=0AException in thread "main" java.lang.NoClassDefFound= Error: org/apache/tools/ant/<BR>=0AMain<BR>=0AE:\jdk1.4\bin\ozone-1.2\sampl= es\simple><BR>=0A<BR>=0AOn Mon, 28 Nov 2005 Per Nyfelt wrote :<BR>=0A>= ;The error means ozoneAnt cannot find the ant.jar in %OZONE_HOME%\lib, not = sure<BR>=0A>why and I do not have a windows machine to test on until thi= s week-end.<BR>=0A><BR>=0A>What if you:<BR>=0A><BR>=0A>set OZON= E_HOME=3DE:\jdk1.4\bin\ozone-1.2<BR>=0A>set PATH=3D%OZONE_HOME%\bin;%PAT= H%<BR>=0A>E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt<BR>=0A><= BR>=0A>Do you get the same result?<BR>=0A><BR>=0A>Regards,<BR>=0A&= gt;Per<BR>=0A><BR>=0A>On Monday 28 November 2005 13.53, ss wrote:<BR>= =0A> > Sorry to be back again:<BR>=0A> > problem when the clien= t is to b build in the example of sample\simple is<BR>=0A> > that whe= n the following stmt is executed :<BR>=0A> ><BR>=0A> ><BR>=0A&g= t; > E:\jdk1.4\bin\ozone-1.2\samples\simple>E:\jdk1.4\bin\ozone-1.2\b= in\ozoneAnt<BR>=0A> > the error message is:<BR>=0A> > The syste= m cannot find the specified path<BR>=0A> > Exception in thread "= main" java.lang.NoClassDefFoundError:<BR>=0A> > org/apache/tools= /ant/Main .......plz help me out urgently<BR>=0A> ><BR>=0A> > O= n Sun, 27 Nov 2005 Per Nyfelt wrote :<BR>=0A> > >If you have %OZON= E_HOME%\bin included in the PATH you can run the build<BR>=0A> > >= file (called build.xml btw) by typing ozoneAnt. Actually standing in the<B= R>=0A> > > sample\simple directory you can build by typing ..\..\b= in\ozoneAnt. This<BR>=0A> > > is already described in the README f= ile btw...<BR>=0A> > ><BR>=0A> > >Regards,<BR>=0A> >= ; >Per<BR>=0A> > ><BR>=0A> > >On Saturday 26 November = 2005 18.54, ss wrote:<BR>=0A> > > > thnx 4 d cooperation so far= .......i jst hope it to b the last time.....<BR>=0A> > > > the = ozone server is successfully compiled.... but the problem is in the<BR>=0A&= gt; > > > running of the example: there is a problem in starting t= he<BR>=0A> > > > client....there is no build.bat file that need= s to b run to build the<BR>=0A> > > > client....nor could i fin= d 'make' newhere ..........plz suggest smthng<BR>=0A> > > ><BR>= =0A> > > > On Sat, 26 Nov 2005 Per Nyfelt wrote :<BR>=0A> &g= t; > > >OK, one more try:<BR>=0A> > > > ><BR>=0A>= ; > > > >Ozone releases comes in two flavors: a binary and a so= urce package.<BR>=0A> > > > >The binary distribution is alre= ady compiled and is the easiest one to<BR>=0A> > > > > get s= tarted with.<BR>=0A> > > > >The source distribution contains= all source code but no compiled or<BR>=0A> > > > > packaged= classes and needs to be built before it can be used.<BR>=0A> > > = > ><BR>=0A> > > > >To get started with the binary dist= ribution do the following:<BR>=0A> > > > >1. unzip ozone-1.2= -bin.zip to a directory of choice (eg. c:\ozone-1.2)<BR>=0A> > > &= gt; >2. set OZONE_HOME to this directory (e.g. c:\ozone-1.2)<BR>=0A> = > > > >3. create a classes directory (c:\ozone-1.2\classes) whe= re you can put<BR>=0A> > > > > your own code i.e.<BR>=0A>= > > > >both interface and implementation classes tht needs to = be visible for<BR>=0A> > > > > the server should be in here.= <BR>=0A> > > > >An alternative to this, which is mentioned i= n the samples, is to start<BR>=0A> > > > > ozone from the di= rectory where your<BR>=0A> > > > >classes are compiled (both= current directory and OZONE_HOME\classes<BR>=0A> > > > > ar= e included in the classpath per default.<BR>=0A> > > > ><BR>= =0A> > > > >That's it; you are now ready to try something ou= t. Client code that<BR>=0A> > > > > connects to the server n= eeds the ozoneServer.jar to be able to<BR>=0A> > > > > conne= ct to the server. Look in the samples and in the users guide for<BR>=0A>= > > > > things to get started with and try out.<BR>=0A> >= ; > > >If later you need more full blown apps look in the ozoneApp= s cvs<BR>=0A> > > > > module (also released as ozone applica= tions in source forge)<BR>=0A> > > > ><BR>=0A> > > = > >Running the ozone server<BR>=0A> > > > >-----------= -------------<BR>=0A> > > > ><BR>=0A> > > > >= 1. Initialize database directory.<BR>=0A> > > > ><BR>=0A>= > > > >A database directory holds all files of an ozone databa= se. To<BR>=0A> > > > > initialize an empty database start th= e ozone install tool:<BR>=0A> > > > ><BR>=0A> > > &= gt; > ozoneInst -d<data_directory><BR>=0A> = > > > ><BR>=0A> > > > >e.g.<BR>=0A> > >= > >c:\ozone-1.2\bin\>ozoneInst -dc:/ozone-1.2/data<BR>=0A> >= ; > > ><BR>=0A> > > > >To see all possible paramete= rs of ozoneInst type 'ozoneInst -h'.<BR>=0A> > > > ><BR>=0A&= gt; > > > >2. Start the server.<BR>=0A> > > > ><= BR>=0A> > > > > ozone -d<data_directo= ry> -u<username><BR>=0A> > > > >-u can be omitted<B= R>=0A> > > > >e.g.<BR>=0A> > > > >c:\ozone-1.= 2\bin\>ozone -dc:/ozone-1.2/data<BR>=0A> > > > ><BR>=0A&g= t; > > > >You will get some status information and after the in= itialisation<BR>=0A> > > > > ozone is up and running. You ca= n setup as many databases and you can<BR>=0A> > > > > run as= many servers as you need on one system. To define users and to<BR>=0A> = > > > > do other administration things use the admin tool:<BR>= =0A> > > > ><BR>=0A> > > > > &n= bsp;ozoneAdmin<BR>=0A> > > > ><BR>=0A> > > > >= ;To see all possible commands and parameters of ozoneAdmin type<BR>=0A> = > > > > 'ozoneAdmin -h'.<BR>=0A> > > > ><BR>=0A&= gt; > > > >You can also try the adminGui which is a Swing based= admin tool<BR>=0A> > > > ><BR>=0A> > > > >&n= bsp; ozoneAdminGui<BR>=0A> > > > ><BR>=0A> > &= gt; > >Trying out the ozone samples<BR>=0A> > > > >---= -------------------------<BR>=0A> > > > ><BR>=0A> > &g= t; > >IMPORTANT NOTE: the VM of the ozone server must be able to acce= ss the<BR>=0A> > > > > class files of the application. To ru= n the ozone samples, you may add<BR>=0A> > > > > ".&quo= t; to your CLASSPATH and start the ozone server INSIDE THE SAMPLE<BR>=0A>= ; > > > > DIRECTORY. Alternatively put your compiled clas= ses in<BR>=0A> > > > > %OZONE_HOME%\classes.<BR>=0A> >= > > ><BR>=0A> > > > >1. Start the server.<BR>=0A&g= t; > > > ><BR>=0A> > > > >Open a new console. Ch= ange directory to <OZONE_HOME>/samples/simple.<BR>=0A> > > &= gt; > Install a new database via 'ozoneInst -d<db_dir>'. Start the= server<BR>=0A> > > > > via 'ozone -d<db_dir> -u<us= ername>' as described above.<BR>=0A> > > > ><BR>=0A> &= gt; > > >2. Start the Client.<BR>=0A> > > > ><BR>= =0A> > > > >Open a new console. Change directory to <OZON= E_HOME>/samples/simple.<BR>=0A> > > > > Build the client = via '../../build.[sh|bat]' or 'make'. Start the<BR>=0A> > > > &= gt; client via 'ojvm Client'.<BR>=0A> > > > ><BR>=0A> >= ; > > >Good luck!<BR>=0A> > > > ><BR>=0A> > &= gt; > >On Saturday 26 November 2005 13.36, ss wrote:<BR>=0A> > = > > > > sorry to bother u again:<BR>=0A> > > > >= ><BR>=0A> > > > > > 1. the problem with binary versio= n is that i could not find<BR>=0A> > > > > > build.bat fi= le in it......suggest sumthng<BR>=0A> > > > > ><BR>=0A>= ; > > > > > 2. plz give me a brief intro of "ant build = script"<BR>=0A> > > > > ><BR>=0A> > > > = > > On Sat, 26 Nov 2005 Per Nyfelt wrote :<BR>=0A> > > > = > > >On Saturday 26 November 2005 05.23, ss wrote:<BR>=0A> >= > > > > > > 1. i ve changed my ozone home to<BR>=0A> = > > > > > > > :E:\jdk1.4\bin\ozone-1.2\server<BR>=0A&g= t; > > > > > > ><BR>=0A> > > > > > &= gt; > hope it works out<BR>=0A> > > > > >= ><BR>=0A> > > > > > >No it is not correct for the = source distribution.<BR>=0A> > > > > > >I would strong= ly you switch to the binary distribution. Get things<BR>=0A> > > &= gt; > > > up and running first before attempting to build the serv= er from<BR>=0A> > > > > > > source.<BR>=0A> > &g= t; > > > ><BR>=0A> > > > > > > > 2.&nbs= p; kindly specify the step by step procedure to build this ant<BR>=0A> &= gt; > > > > > > build script (where to edit,how to save,h= ow to execute etc.) as<BR>=0A> > > > > > > > i ve n= o idea abt it......plz help me out<BR>=0A> > > > > > >= <BR>=0A> > > > > > >I just did! I dont know how to mak= e it any clearer.<BR>=0A> > > > > > ><BR>=0A> > = > > > > > > 3. when ozone -d E:\jdk1.4\bin\oz= one-1.2\server\data -u<BR>=0A> > > > > > > > is exe= cuted , the err mssg is<BR>=0A> > > > > > > >= Exception in thread "main" java.lang.NoClassDefFoundError:<BR>= =0A> > > > > > > > org/ozoneDB/core/Server wat migh= t b the reason 4 this???????<BR>=0A> > > > > > ><BR>= =0A> > > > > > >Something is wrong with your classpath= . Probably the linefeed<BR>=0A> > > > > > > problem th= at makes the scripts uninterpretable by windows.<BR>=0A> > > > = > > ><BR>=0A> > > > > > > > On Fri, 25 Nov= 2005 Per Nyfelt wrote :<BR>=0A> > > > > > > > >= As a told you earlier: you need to edit your batch files and<BR>=0A> >= ; > > > > > > > replace linefeed (LF) with Carriage Re= turn Linefeed (CRLF)!<BR>=0A> > > > > > > > ><BR= >=0A> > > > > > > > >One way to do this is to cr= eate a simple ant build script:<BR>=0A> > > > > > > &g= t; ><project name=3D"scriptfix" default=3D"lineend&quo= t; basedir=3D"."><BR>=0A> > > > > > > >= ; > <target name=3D"lineend"><BR>=0A= > > > > > > > > > &nb= sp; <fixcrlf srcdir=3D"server/bin" includes=3D"**/*= .bat" /><BR>=0A> > > > > > > > > = </target><BR>=0A> > > > > > > > = ></project><BR>=0A> > > > > > > > ><BR>= =0A> > > > > > > > >If you are building from src= do the following:<BR>=0A> > > > > > > > >1. Mak= e sure server\bin\ozoneAnt.bat has the right end of line<BR>=0A> > &g= t; > > > > > > characters. In notepad they will look like= empty boxes<BR>=0A> > > > > > > > > replace all= boxes with an enter (sorry for the pain)<BR>=0A> > > > > &g= t; > > >2. cd server<BR>=0A> > > > > > > >= >3. execute the build.bat script (this will also fix all your<BR>=0A>= ; > > > > > > > > EOL characters in build/bin to ma= tch your system)<BR>=0A> > > > > > > > >4. Your = ozone distribution are now in server\build - this is<BR>=0A> > > &= gt; > > > > > your OZONE_HOME (unless you copy the files els= ewhere if<BR>=0A> > > > > > > > > course)<BR>=0A= > > > > > > > > ><BR>=0A> > > > >= > > > >There is also a dist.bin target besides the default one= that<BR>=0A> > > > > > > > > builds a structure= like the binary distribution that might be<BR>=0A> > > > > = > > > > of interest.<BR>=0A> > > > > > > &= gt; ><BR>=0A> > > > > > > > >Good luck!<BR>= =0A> > > > > > > > ><BR>=0A> > > > &= gt; > > > >/Per<BR>=0A> > > > > > > > &= gt;<BR>=0A> > > > > > > > >On Friday 25 November= 2005 13.36, ss wrote:<BR>=0A> > > > > > > > > &= gt; i ve installed the src version of ozone n set the<BR>=0A> >= > > > > > > > > variables as follows: ozone_home:&= nbsp; E:\jdk1.4\bin\ozone-1.2<BR>=0A> > > > > > > >= > > ozone_path: E:\jdk1.4\bin\ozone-1.2\server\bin<BR>=0A> = > > > > > > > > > ozone_jvm: java<BR>=0A> >= ; > > > > > > > > ozone_javac: javac<BR>=0A> >= ; > > > > > > > ><BR>=0A> > > > > &g= t; > > > > if any correction is to b made in thse variables do = inform<BR>=0A> > > > > > > > > ><BR>=0A> &= gt; > > > > > > > > i get the following message whe= n this is executed:<BR>=0A> > > > > > > > > >= ozoneInst -d E:\jdk1.4\bin\ozone-1.2\data<BR>=0A> > > > > &= gt; > > > > offrem $Id: ozoneInst.bat,v 1.2 2002/12/29 11:15:55= <BR>=0A> > > > > > > > > > per_nyfelt Exp $ca= ll ojvm.bat org.ozoneDB.tools.Install -d<BR>=0A> > > > > >= ; > > > > E:\jdk1.4\bin\ozone-1.2\data<BR>=0A> > > >= ; > > > > > ><BR>=0A> > > > > > > &g= t; > > i could not find the path for making the changes u<BR>=0A> = > > > > > > > > > suggested.........plz help me = out.......urgently<BR>=0A> > > > > > > > ><BR>= =0A> > > > > > > > >----------------------------= ---------------------------<BR>=0A> > > > > > > > &= gt;This SF.net email is sponsored by: Splunk Inc. Do you grep<BR>=0A> &g= t; > > > > > > > through log files for problems? = Stop! Download the new AJAX<BR>=0A> > > > > > >= > > search engine that makes searching your log files as easy as<BR>= =0A> > > > > > > > > surfing the web. DOWN= LOAD SPLUNK!<BR>=0A> > > > > > > > > http://ads.= osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick<BR>=0A> > = > > > > > > > ________________________________________= _______<BR>=0A> > > > > > > > >Ozone-users maili= ng list<BR>=0A> > > > > > > > >Ozone-users@lists= .sourceforge.net<BR>=0A> > > > > > > > >https://= lists.sourceforge.net/lists/listinfo/ozone-users<BR>=0A> > > > = ><BR>=0A> > > > >----------------------------------------= ---------------<BR>=0A> > > > >This SF.net email is sponsore= d by: Splunk Inc. Do you grep through log<BR>=0A> > > > > fi= les for problems? Stop! Download the new AJAX search engine tha= t<BR>=0A> > > > > makes searching your log files as easy as = surfing the web. DOWNLOAD<BR>=0A> > > > > SPLUNK= ! http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick<BR>= =0A> > > > >_______________________________________________<= BR>=0A> > > > >Ozone-users mailing list<BR>=0A> > >= > >[email protected]<BR>=0A> > > > >h= ttps://lists.sourceforge.net/lists/listinfo/ozone-users<BR>=0A> > >= ;<BR>=0A> > >-----------------------------------------------------= --<BR>=0A> > >This SF.net email is sponsored by: Splunk Inc. Do yo= u grep through log<BR>=0A> > > files for problems? Stop!&nbs= p; Download the new AJAX search engine that<BR>=0A> > > makes sear= ching your log files as easy as surfing the web. DOWNLOAD<BR>= =0A> > > SPLUNK! http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D= 16865&op=3Dclick<BR>=0A> > >__________________________________= _____________<BR>=0A> > >Ozone-users mailing list<BR>=0A> > = >[email protected]<BR>=0A> > >https://lists.sou= rceforge.net/lists/listinfo/ozone-users<BR>=0A><BR>=0A><BR>=0A>---= ----------------------------------------------------<BR>=0A>This SF.net = email is sponsored by: Splunk Inc. Do you grep through log files<BR>=0A>= for problems? Stop! Download the new AJAX search engine that ma= kes<BR>=0A>searching your log files as easy as surfing the web.&nb= sp; DOWNLOAD SPLUNK!<BR>=0A>http://ads.osdn.com/?ad_id=3D7637&alloc_= id=3D16865&op=3Dclick<BR>=0A>_______________________________________= ________<BR>=0A>Ozone-users mailing list<BR>=0A>[email protected]= rceforge.net<BR>=0A>https://lists.sourceforge.net/lists/listinfo/ozone-u= sers<BR>=0A=0A</P>=0A<br><br>=0A<a href=3D"http://adworks.rediff.com/cgi-bi= n/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5= ?PARTNER=3D3"><IMG SRC=3D"http://adworks.rediff.com/cgi-bin/AdWorks/sigimpr= ess.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=3Dnu= ll&PARTNER=3D3" BORDER=3D0 VSPACE=3D0 HSPACE=3D0></a>=0A --Next_1133197516---0-203.199.83.27-18722-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click