-URGENT HELP-ozone installation problems....
"ss" <[email protected]> 29 Nov 2005 06:56:05 -0000
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multipart mime message --Next_1133247364---0-203.199.83.32-12388 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline this is what i did.....and the errors follow...plz help...i hv a presentati= on tomorrow=0A=0AE:\>set OZONE_HOME=3DE:\jdk1.4\bin\ozone-1.2=0A=0AE:\>set = OZONE_PATH=3DE:\jdk1.4\bin\ozone-1.2\bin=0A=0AE:\>set OZONE_JVM=3Djava=0A= =0AE:\>set OZONE_JAVAC=3Djavac=0A=0AE:\>cd E:\jdk1.4\bin\ozone-1.2\samples\= simple=0A=0AE:\jdk1.4\bin\ozone-1.2\samples\simple>set OZONE_HOME=3DE:\jdk1= .4\bin\ozone-1.2=0A=0AE:\jdk1.4\bin\ozone-1.2\samples\simple>set PATH=3D%OZ= ONE_HOME%\bin;%PATH%=0A=0AE:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt = =0A=0A=0A=0AWarning: JAVA_HOME environment variable is not set.=0A If buil= d fails because sun.* classes could not be found=0A you will need to set t= he JAVA_HOME environment variable=0A to the installation directory of java= . =0AException in thread "main" java.lang.NoClassDefFoundError: org/apache/= tools/ant/=0AMain=0A=0AOn Tue, 29 Nov 2005 Per Nyfelt wrote :=0A>On Monday = 28 November 2005 17.05, ss wrote:=0A> > HI,=0A> > i tried your commands....= got the following result....=0A> >=0A> >=0A> > E:\>set OZONE_HOME=3DE:\jdk1= .4\bin\ozone-1.2=0A> >=0A> > E:\>set PATH=3D%OZONE_HOME%\bin;%PATH%=0A> >= =0A> > E:\>E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt=0A>=0A>what???= =0A>=0A>E:\>E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt=0A>is wrong of = course=0A>run ozoneAnt FROM THE DIRECTORY E:\jdk1.4\bin\ozone-1.2\samples\s= imple=0A>after environment variables has been set!=0A>=0A>One more try:=0A>= E:\jdk1.4\bin\ozone-1.2\samples\simple>set OZONE_HOME=3DE:\jdk1.4\bin\ozone= -1.2=0A>E:\jdk1.4\bin\ozone-1.2\samples\simple>set PATH=3D%OZONE_HOME%\bin;= %PATH%=0A>E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt=0A>=0A>Where E:\j= dk1.4\bin\ozone-1.2\samples\simple> is the directory you should be=0A>in NO= T something that is part of the command. There are 3 commands that you=0A>r= un from the directory E:\jdk1.4\bin\ozone-1.2\samples\simple. They are=0A>= =0A>set OZONE_HOME=3DE:\jdk1.4\bin\ozone-1.2=0A>set PATH=3D%OZONE_HOME%\bin= ;%PATH%=0A>ozoneAnt=0A>=0A>=0A> > 'E:\jdk1.4\bin\ozone-1.2\samples\simple' = is not recognized as an internal=0A> > or ext ernal command,=0A> > operable= program or batch file.=0A> >=0A> > E:\>cd E:\jdk1.4\bin\ozone-1.2\samples\= simple>ozoneAnt=0A> >=0A> > E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt= =0A> >=0A> > Warning: JAVA_HOME environment variable is not set.=0A> > If= build fails because sun.* classes could not be found=0A> > you will need= to set the JAVA_HOME environment variable=0A> > to the installation dire= ctory of java.=0A> >=0A> > Exception in thread "main" java.lang.NoClassDefF= oundError:=0A> > org/apache/tools/ant/ Main=0A> > E:\jdk1.4\bin\ozone-1.2\s= amples\simple>=0A> >=0A> > On Mon, 28 Nov 2005 Per Nyfelt wrote :=0A> > >Th= e error means ozoneAnt cannot find the ant.jar in %OZONE_HOME%\lib, not=0A>= > > sure why and I do not have a windows machine to test on until this=0A>= > > week-end.=0A> > >=0A> > >What if you:=0A> > >=0A> > >set OZONE_HOME=3D= E:\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 you get the= same result?=0A> > >=0A> > >Regards,=0A> > >Per=0A> > >=0A> > >On Monday 2= 8 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=0A>= > > > is that when the following stmt is executed :=0A> > > >=0A> > > >=0A= > > > > E:\jdk1.4\bin\ozone-1.2\samples\simple>E:\jdk1.4\bin\ozone-1.2\bin\= ozon=0A> > > >eAnt the error message is:=0A> > > > The system cannot find t= he specified path=0A> > > > Exception in thread "main" java.lang.NoClassDef= FoundError:=0A> > > > org/apache/tools/ant/Main .......plz help me out urge= ntly=0A> > > >=0A> > > > On Sun, 27 Nov 2005 Per Nyfelt wrote :=0A> > > > >= If you have %OZONE_HOME%\bin included in the PATH you can run the=0A> > > >= > build file (called build.xml btw) by typing ozoneAnt. Actually=0A> > > >= > standing in the sample\simple directory you can build by typing=0A> > > = > > ..\..\bin\ozoneAnt. This is already described in the README file=0A> > = > > > 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 hope it to b the last=0A> > > > > > time..= ... the ozone server is successfully compiled.... but the=0A> > > > > > pro= blem is in the running of the example: there is a problem in=0A> > > > > > = starting the client....there is no build.bat file that needs to b=0A> > > >= > > run to build the client....nor could i find 'make' newhere=0A> > > > >= > ..........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=0A>= > > > > > > package. The binary distribution is already compiled and is th= e=0A> > > > > > > easiest one to get started with.=0A> > > > > > >The sourc= e distribution contains all source code but no compiled=0A> > > > > > > or = packaged classes and needs to be built before it can be used.=0A> > > > > >= >=0A> > > > > > >To get started with the binary distribution do the follow= ing:=0A> > > > > > >1. unzip ozone-1.2-bin.zip to a directory of choice (eg= .=0A> > > > > > > c:\ozone-1.2) 2. set OZONE_HOME to this directory (e.g.= =0A> > > > > > > c:\ozone-1.2)=0A> > > > > > >3. create a classes directory= (c:\ozone-1.2\classes) where you can=0A> > > > > > > put your own code i.e= .=0A> > > > > > >both interface and implementation classes tht needs to be = visible=0A> > > > > > > for the server should be in here.=0A> > > > > > >An= alternative to this, which is mentioned in the samples, is to=0A> > > > > = > > start ozone from the directory where your=0A> > > > > > >classes are co= mpiled (both current directory and=0A> > > > > > > OZONE_HOME\classes are i= ncluded in the classpath per default.=0A> > > > > > >=0A> > > > > > >That's= it; you are now ready to try something out. Client code=0A> > > > > > > th= at connects to the server needs the ozoneServer.jar to be able=0A> > > > > = > > to connect to the server. Look in the samples and in the users=0A> > > = > > > > guide for 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 directory.= =0A> > > > > > >=0A> > > > > > >A database directory holds all files of an = ozone database. To=0A> > > > > > > initialize an empty database start the o= zone install tool:=0A> > > > > > >=0A> > > > > > > ozoneInst -d<data_direc= tory>=0A> > > > > > >=0A> > > > > > >e.g.=0A> > > > > > >c:\ozone-1.2\bin\>= ozoneInst -dc:/ozone-1.2/data=0A> > > > > > >=0A> > > > > > >To see all pos= sible parameters of ozoneInst type 'ozoneInst -h'.=0A> > > > > > >=0A> > > = > > > >2. Start the server.=0A> > > > > > >=0A> > > > > > > ozone -d<data_= directory> -u<username>=0A> > > > > > >-u can be omitted=0A> > > > > > >e.g= .=0A> > > > > > >c:\ozone-1.2\bin\>ozone -dc:/ozone-1.2/data=0A> > > > > > = >=0A> > > > > > >You will get some status information and after the initial= isation=0A> > > > > > > ozone is up and running. You can setup as many data= bases and you=0A> > > > > > > can run as many servers as you need on one sy= stem. To define=0A> > > > > > > users and to do other administration things= use the admin tool:=0A> > > > > > >=0A> > > > > > > ozoneAdmin=0A> > > > = > > >=0A> > > > > > >To see all possible commands and parameters of ozoneAd= min type=0A> > > > > > > 'ozoneAdmin -h'.=0A> > > > > > >=0A> > > > > > >Yo= u can also try the adminGui which 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 server must be ab= le to access=0A> > > > > > > the class files of the application. To run the= ozone samples, you=0A> > > > > > > may add "." to your CLASSPATH and start= the ozone server INSIDE=0A> > > > > > > THE SAMPLE DIRECTORY. Alternativel= y put your compiled classes in=0A> > > > > > > %OZONE_HOME%\classes.=0A> >= > > > > >=0A> > > > > > >1. Start the server.=0A> > > > > > >=0A> > > > > = > >Open a new console. Change directory to=0A> > > > > > > <OZONE_HOME>/sam= ples/simple. Install a new database via=0A> > > > > > > 'ozoneInst -d<db_di= r>'. Start the server via 'ozone -d<db_dir>=0A> > > > > > > -u<username>' a= s described above.=0A> > > > > > >=0A> > > > > > >2. Start the Client.=0A> = > > > > > >=0A> > > > > > >Open a new console. Change directory to=0A> > > = > > > > <OZONE_HOME>/samples/simple. Build the client via=0A> > > > > > > '= ../../build.[sh|bat]' or 'make'. Start the client via 'ojvm=0A> > > > > > >= Client'.=0A> > > > > > >=0A> > > > > > >Good luck!=0A> > > > > > >=0A> > >= > > > >On Saturday 26 November 2005 13.36, ss wrote:=0A> > > > > > > > sor= ry to bother u again:=0A> > > > > > > >=0A> > > > > > > > 1. the problem wi= th 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 N= ovember 2005 05.23, ss wrote:=0A> > > > > > > > > > 1. i ve changed my ozon= e home to=0A> > > > > > > > > >=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=0A> > > > > > > > > things up and running first before a= ttempting to build the=0A> > > > > > > > > server from source.=0A> > > > > = > > > >=0A> > > > > > > > > > 2. kindly specify the step by step procedure= to build this=0A> > > > > > > > > > ant build script (where to edit,how to= save,how to execute=0A> > > > > > > > > > etc.) as i ve no idea abt it....= ..plz help me out=0A> > > > > > > > >=0A> > > > > > > > >I just did! 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 thr= ead "main" java.lang.NoClassDefFoundError:=0A> > > > > > > > > > org/ozoneD= B/core/Server wat might b the reason 4=0A> > > > > > > > > > this???????=0A= > > > > > > > > >=0A> > > > > > > > >Something is wrong with your classpath= . Probably the linefeed=0A> > > > > > > > > problem that makes the scripts = uninterpretable by windows.=0A> > > > > > > > >=0A> > > > > > > > > > On Fr= i, 25 Nov 2005 Per Nyfelt wrote :=0A> > > > > > > > > > >As a told you earl= ier: you need to edit your batch files=0A> > > > > > > > > > > and replace = linefeed (LF) with Carriage Return Linefeed=0A> > > > > > > > > > > (CRLF)!= =0A> > > > > > > > > > >=0A> > > > > > > > > > >One way to do this is to cr= eate a simple ant build script:=0A> > > > > > > > > > ><project name=3D"scr= iptfix" default=3D"lineend" basedir=3D".">=0A> > > > > > > > > > > <target= name=3D"lineend">=0A> > > > > > > > > > > <fixcrlf srcdir=3D"server/bin"= includes=3D"**/*.bat" />=0A> > > > > > > > > > > </target>=0A> > > > > > = > > > > ></project>=0A> > > > > > > > > > >=0A> > > > > > > > > > >If you a= re building from src do the following:=0A> > > > > > > > > > >1. Make sure = server\bin\ozoneAnt.bat has the right end of=0A> > > > > > > > > > > line c= haracters. In notepad they will look like empty=0A> > > > > > > > > > > box= es replace all boxes with an enter (sorry for the=0A> > > > > > > > > > > p= ain) 2. cd server=0A> > > > > > > > > > >3. execute the build.bat script (t= his will also fix all=0A> > > > > > > > > > > your EOL characters in build/= bin to match your system) 4.=0A> > > > > > > > > > > Your ozone distributio= n 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 targe= t besides the default one=0A> > > > > > > > > > > that builds a structure l= ike the binary distribution that=0A> > > > > > > > > > > might be of intere= st.=0A> > > > > > > > > > >=0A> > > > > > > > > > >Good luck!=0A> > > > > >= > > > > >=0A> > > > > > > > > > >/Per=0A> > > > > > > > > > >=0A> > > > > = > > > > > >On Friday 25 November 2005 13.36, ss wrote:=0A> > > > > > > > > = > > > i ve installed the src version of ozone n set the=0A> > > > > > > > = > > > > variables as follows: ozone_home:=0A> > > > > > > > > > > > E:\jdk1= .4\bin\ozone-1.2 ozone_path:=0A> > > > > > > > > > > > E:\jdk1.4\bin\ozone-= 1.2\server\bin ozone_jvm: java=0A> > > > > > > > > > > > ozone_javac: javac= =0A> > > > > > > > > > > >=0A> > > > > > > > > > > > if any correction is t= o b made in thse variables do=0A> > > > > > > > > > > > inform=0A> > > > > = > > > > > > >=0A> > > > > > > > > > > > i get the following message when th= is is executed:=0A> > > > > > > > > > > > ozoneInst -d E:\jdk1.4\bin\ozone-= 1.2\data=0A> > > > > > > > > > > > offrem $Id: ozoneInst.bat,v 1.2 2002/12/= 29 11:15:55=0A> > > > > > > > > > > > per_nyfelt Exp $call ojvm.bat org.ozo= neDB.tools.Install=0A> > > > > > > > > > > > -d E:\jdk1.4\bin\ozone-1.2\dat= a=0A> > > > > > > > > > > >=0A> > > > > > > > > > > > i could not find the = path for making the changes u=0A> > > > > > > > > > > > suggested.........p= lz 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=0A> = > > > > > > > > > > AJAX search engine that makes searching your log files = as=0A> > > > > > > > > > > easy as surfing the web. DOWNLOAD SPLUNK!=0A> >= > > > > > > > > > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3D= click=0A> > > > > > > > > > > _____________________________________________= __=0A> > > > > > > > > > >Ozone-users mailing list=0A> > > > > > > > > > >O= [email protected]=0A> > > > > > > > > > >https://lists.sourc= eforge.net/lists/listinfo/ozone-users=0A> > > > > > >=0A> > > > > > >------= -------------------------------------------------=0A> > > > > > >This SF.ne= t email is sponsored by: Splunk Inc. Do you grep through=0A> > > > > > > lo= g files for problems? Stop! Download the new AJAX search=0A> > > > > > > = engine that makes searching your log files as easy as surfing the=0A> > > >= > > > 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]=0A> > > > > > >https://lists.sourcef= orge.net/lists/listinfo/ozone-users=0A> > > > >=0A> > > > >----------------= ---------------------------------------=0A> > > > >This SF.net email is spo= nsored by: Splunk Inc. Do you grep through log=0A> > > > > files for proble= ms? Stop! Download the new AJAX search engine that=0A> > > > > makes sear= ching your log files as easy as surfing the web. DOWNLOAD=0A> > > > > SPL= UNK! http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick=0A> > > = > >_______________________________________________=0A> > > > >Ozone-users m= ailing list=0A> > > > >[email protected]=0A> > > > >https:/= /lists.sourceforge.net/lists/listinfo/ozone-users=0A> > >=0A> > >----------= ---------------------------------------------=0A> > >This SF.net email is s= ponsored by: Splunk Inc. Do 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=3D7637&alloc_id=3D16865&op=3Dclick=0A> > >___________= ____________________________________=0A> > >Ozone-users mailing list=0A> > = >[email protected]=0A> > >https://lists.sourceforge.net/lis= ts/listinfo/ozone-users=0A>=0A>=0A>----------------------------------------= ---------------=0A>This SF.net email is sponsored by: Splunk Inc. Do you gr= ep through log files=0A>for problems? Stop! Download the new AJAX search = engine that makes=0A>searching 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>[email protected]=0A>https://lists.sourcefo= rge.net/lists/listinfo/ozone-users=0A --Next_1133247364---0-203.199.83.32-12388 Content-type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <P>=0Athis is what i did.....and the errors follow...plz help...i hv a pres= entation tomorrow<BR>=0A<BR>=0AE:\>set OZONE_HOME=3DE:\jdk1.4\bin\ozone-= 1.2<BR>=0A<BR>=0AE:\>set OZONE_PATH=3DE:\jdk1.4\bin\ozone-1.2\bin<BR>=0A= <BR>=0AE:\>set OZONE_JVM=3Djava<BR>=0A<BR>=0AE:\>set OZONE_JAVAC=3Dja= vac<BR>=0A<BR>=0AE:\>cd E:\jdk1.4\bin\ozone-1.2\samples\simple<BR>=0A<BR= >=0AE:\jdk1.4\bin\ozone-1.2\samples\simple>set OZONE_HOME=3DE:\jdk1.4\bi= n\ozone-1.2<BR>=0A<BR>=0AE:\jdk1.4\bin\ozone-1.2\samples\simple>set PATH= =3D%OZONE_HOME%\bin;%PATH%<BR>=0A<BR>=0AE:\jdk1.4\bin\ozone-1.2\samples\sim= ple>ozoneAnt <BR>=0A<BR>=0A<BR>=0A<BR>=0AWarning: JAVA_HOME environment = variable is not set.<BR>=0A If build fails because sun.* classes coul= d not be found<BR>=0A you will need to set the JAVA_HOME environment = variable<BR>=0A to the installation directory of java. <BR>=0AExcepti= on in thread "main" java.lang.NoClassDefFoundError: org/apache/to= ols/ant/<BR>=0AMain<BR>=0A<BR>=0AOn Tue, 29 Nov 2005 Per Nyfelt wrote :<BR>= =0A>On Monday 28 November 2005 17.05, ss wrote:<BR>=0A> > HI,<BR>= =0A> > i tried your commands....got the following result....<BR>=0A&g= t; ><BR>=0A> ><BR>=0A> > E:\>set OZONE_HOME=3DE:\jdk1.4\b= in\ozone-1.2<BR>=0A> ><BR>=0A> > E:\>set PATH=3D%OZONE_HOME%= \bin;%PATH%<BR>=0A> ><BR>=0A> > E:\>E:\jdk1.4\bin\ozone-1.2\= samples\simple>ozoneAnt<BR>=0A><BR>=0A>what???<BR>=0A><BR>=0A&g= t;E:\>E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt<BR>=0A>is wr= ong of course<BR>=0A>run ozoneAnt FROM THE DIRECTORY E:\jdk1.4\bin\ozone= -1.2\samples\simple<BR>=0A>after environment variables has been set!<BR>= =0A><BR>=0A>One more try:<BR>=0A>E:\jdk1.4\bin\ozone-1.2\samples\s= imple>set OZONE_HOME=3DE:\jdk1.4\bin\ozone-1.2<BR>=0A>E:\jdk1.4\bin\o= zone-1.2\samples\simple>set PATH=3D%OZONE_HOME%\bin;%PATH%<BR>=0A>E:\= jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt<BR>=0A><BR>=0A>Where = E:\jdk1.4\bin\ozone-1.2\samples\simple> is the directory you should be<B= R>=0A>in NOT something that is part of the command. There are 3 commands= that you<BR>=0A>run from the directory E:\jdk1.4\bin\ozone-1.2\samples\= simple. They are<BR>=0A><BR>=0A>set OZONE_HOME=3DE:\jdk1.4\bin\ozone-= 1.2<BR>=0A>set PATH=3D%OZONE_HOME%\bin;%PATH%<BR>=0A>ozoneAnt<BR>=0A&= gt;<BR>=0A><BR>=0A> > 'E:\jdk1.4\bin\ozone-1.2\samples\simple' is = not recognized as an internal<BR>=0A> > or ext ernal command,<BR>=0A&= gt; > operable program or batch file.<BR>=0A> ><BR>=0A> > E:= \>cd E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt<BR>=0A> ><= BR>=0A> > E:\jdk1.4\bin\ozone-1.2\samples\simple>ozoneAnt<BR>=0A&g= t; ><BR>=0A> > Warning: JAVA_HOME environment variable is not set.= <BR>=0A> > If build fails because sun.* classes could not be f= ound<BR>=0A> > you will need to set the JAVA_HOME environment = variable<BR>=0A> > to the installation directory of java.<BR>= =0A> ><BR>=0A> > Exception in thread "main" java.lang= .NoClassDefFoundError:<BR>=0A> > org/apache/tools/ant/ Main<BR>=0A>= ; > E:\jdk1.4\bin\ozone-1.2\samples\simple><BR>=0A> ><BR>=0A>= ; > On Mon, 28 Nov 2005 Per Nyfelt wrote :<BR>=0A> > >The error= means ozoneAnt cannot find the ant.jar in %OZONE_HOME%\lib, not<BR>=0A>= > > sure why and I do not have a windows machine to test on until th= is<BR>=0A> > > week-end.<BR>=0A> > ><BR>=0A> > >= What if you:<BR>=0A> > ><BR>=0A> > >set OZONE_HOME=3DE:\j= dk1.4\bin\ozone-1.2<BR>=0A> > >set PATH=3D%OZONE_HOME%\bin;%PATH%<= 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> > >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 client is to b build in the example of sample\simple<BR>= =0A> > > > is that when the following stmt is executed :<BR>=0A= > > > ><BR>=0A> > > ><BR>=0A> > > > E:\= jdk1.4\bin\ozone-1.2\samples\simple>E:\jdk1.4\bin\ozone-1.2\bin\ozon<BR>= =0A> > > >eAnt the error message is:<BR>=0A> > > > = The system cannot find the specified path<BR>=0A> > > > Excepti= on in thread "main" java.lang.NoClassDefFoundError:<BR>=0A> &g= t; > > org/apache/tools/ant/Main .......plz help me out urgently<BR>= =0A> > > ><BR>=0A> > > > On Sun, 27 Nov 2005 Per Ny= felt wrote :<BR>=0A> > > > >If you have %OZONE_HOME%\bin inc= luded in the PATH you can run the<BR>=0A> > > > > build file= (called build.xml btw) by typing ozoneAnt. Actually<BR>=0A> > > &= gt; > standing in the sample\simple directory you can build by typing<BR= >=0A> > > > > ..\..\bin\ozoneAnt. This is already described = in the README file<BR>=0A> > > > > btw...<BR>=0A> > &g= t; > ><BR>=0A> > > > >Regards,<BR>=0A> > > &g= t; >Per<BR>=0A> > > > ><BR>=0A> > > > >On = Saturday 26 November 2005 18.54, ss wrote:<BR>=0A> > > > > &= gt; thnx 4 d cooperation so far.......i jst hope it to b the last<BR>=0A>= ; > > > > > time..... the ozone server is successfully compi= led.... but the<BR>=0A> > > > > > problem is in the runni= ng of the example: there is a problem in<BR>=0A> > > > > >= ; starting the client....there is no build.bat file that needs to b<BR>=0A&= gt; > > > > > run to build the client....nor could i find 'm= ake' newhere<BR>=0A> > > > > > ..........plz suggest smth= ng<BR>=0A> > > > > ><BR>=0A> > > > > > = On Sat, 26 Nov 2005 Per Nyfelt wrote :<BR>=0A> > > > > > = >OK, one more try:<BR>=0A> > > > > > ><BR>=0A> &= gt; > > > > >Ozone releases comes in two flavors: a binary a= nd a source<BR>=0A> > > > > > > package. The binary di= stribution is already compiled and is the<BR>=0A> > > > > &g= t; > easiest one to get started with.<BR>=0A> > > > > >= ; >The source distribution contains all source code but no compiled<BR>= =0A> > > > > > > or packaged classes and needs to be b= uilt before it can be used.<BR>=0A> > > > > > ><BR>=0A= > > > > > > >To get started with the binary distributi= on do the following:<BR>=0A> > > > > > >1. unzip ozone= -1.2-bin.zip to a directory of choice (eg.<BR>=0A> > > > > &= gt; > c:\ozone-1.2) 2. set OZONE_HOME to this directory (e.g.<BR>=0A>= > > > > > > c:\ozone-1.2)<BR>=0A> > > > >= > >3. create a classes directory (c:\ozone-1.2\classes) where you ca= n<BR>=0A> > > > > > > put your own code i.e.<BR>=0A>= ; > > > > > >both interface and implementation classes th= t needs to be visible<BR>=0A> > > > > > > for the serv= er should be in here.<BR>=0A> > > > > > >An alternativ= e to this, which is mentioned in the samples, is to<BR>=0A> > > &g= t; > > > start ozone from the directory where your<BR>=0A> >= > > > > >classes are compiled (both current directory and<B= R>=0A> > > > > > > OZONE_HOME\classes are included in = the classpath per default.<BR>=0A> > > > > > ><BR>=0A&= gt; > > > > > >That's it; you are now ready to try someth= ing out. Client code<BR>=0A> > > > > > > that connects= to the server needs the ozoneServer.jar to be able<BR>=0A> > > &g= t; > > > to connect to the server. Look in the samples and in the = users<BR>=0A> > > > > > > guide for things to get star= ted with and try out.<BR>=0A> > > > > > >If later you = need more full blown apps look in the ozoneApps cvs<BR>=0A> > > &g= t; > > > module (also released as ozone applications in source for= ge)<BR>=0A> > > > > > ><BR>=0A> > > > >= > >Running the ozone server<BR>=0A> > > > > > >= ------------------------<BR>=0A> > > > > > ><BR>=0A>= ; > > > > > >1. Initialize database directory.<BR>=0A>= > > > > > ><BR>=0A> > > > > > >A da= tabase directory holds all files of an ozone database. To<BR>=0A> > &= gt; > > > > initialize an empty database start the ozone instal= l tool:<BR>=0A> > > > > > ><BR>=0A> > > > = > > > ozoneInst -d<data_directory><BR>= =0A> > > > > > ><BR>=0A> > > > > > &= gt;e.g.<BR>=0A> > > > > > >c:\ozone-1.2\bin\>ozoneI= nst -dc:/ozone-1.2/data<BR>=0A> > > > > > ><BR>=0A>= > > > > > >To see all possible parameters of ozoneInst t= ype 'ozoneInst -h'.<BR>=0A> > > > > > ><BR>=0A> >= ; > > > > >2. Start the server.<BR>=0A> > > > &g= t; > ><BR>=0A> > > > > > > o= zone -d<data_directory> -u<username><BR>=0A> > > > = > > >-u can be omitted<BR>=0A> > > > > > >e.g= .<BR>=0A> > > > > > >c:\ozone-1.2\bin\>ozone -dc:/o= zone-1.2/data<BR>=0A> > > > > > ><BR>=0A> > >= > > > >You will get some status information and after the init= ialisation<BR>=0A> > > > > > > ozone is up and running= . You can setup as many databases and you<BR>=0A> > > > > &g= t; > can run as many servers as you need on one system. To define<BR>=0A= > > > > > > > users and to do other administration thi= ngs use the admin tool:<BR>=0A> > > > > > ><BR>=0A>= > > > > > > ozoneAdmin<BR>=0A> &g= t; > > > > ><BR>=0A> > > > > > >To see = all possible commands and parameters of ozoneAdmin type<BR>=0A> > >= ; > > > > 'ozoneAdmin -h'.<BR>=0A> > > > > > = ><BR>=0A> > > > > > >You can also try the adminGui = which is a Swing based admin tool<BR>=0A> > > > > > ><= BR>=0A> > > > > > > ozoneAdminGui<BR>=0A= > > > > > > ><BR>=0A> > > > > > >= Trying out the ozone samples<BR>=0A> > > > > > >------= ----------------------<BR>=0A> > > > > > ><BR>=0A> = > > > > > >IMPORTANT NOTE: the VM of the ozone server mus= t be able to access<BR>=0A> > > > > > > the class file= s of the application. To run the ozone samples, you<BR>=0A> > > &g= t; > > > may add "." to your CLASSPATH and start the ozo= ne server INSIDE<BR>=0A> > > > > > > THE SAMPLE DIRECT= ORY. Alternatively put your compiled classes in<BR>=0A> > > = > > > > %OZONE_HOME%\classes.<BR>=0A> > > > > &g= t; ><BR>=0A> > > > > > >1. Start the server.<BR>=0A= > > > > > > ><BR>=0A> > > > > > >= Open a new console. Change directory to<BR>=0A> > > > > >= > <OZONE_HOME>/samples/simple. Install a new database via<BR>=0A&= gt; > > > > > > 'ozoneInst -d<db_dir>'. Start the s= erver via 'ozone -d<db_dir><BR>=0A> > > > > > > = -u<username>' as described above.<BR>=0A> > > > > >= ><BR>=0A> > > > > > >2. Start the Client.<BR>=0A&g= t; > > > > > ><BR>=0A> > > > > > >Op= en a new console. Change directory to<BR>=0A> > > > > > &= gt; <OZONE_HOME>/samples/simple. Build the client via<BR>=0A> >= > > > > > '../../build.[sh|bat]' or 'make'. Start the clien= t via 'ojvm<BR>=0A> > > > > > > Client'.<BR>=0A> &g= t; > > > > ><BR>=0A> > > > > > >Good lu= ck!<BR>=0A> > > > > > ><BR>=0A> > > > >= > >On Saturday 26 November 2005 13.36, ss wrote:<BR>=0A> > >= ; > > > > > sorry to bother u again:<BR>=0A> > > &g= t; > > > ><BR>=0A> > > > > > > > 1. the= problem with binary version is that i could not find<BR>=0A> > > = > > > > > build.bat file in it......suggest sumthng<BR>=0A&g= t; > > > > > > ><BR>=0A> > > > > > &= gt; > 2. plz give me a brief intro of "ant build script"<BR>= =0A> > > > > > > ><BR>=0A> > > > > &= gt; > > On Sat, 26 Nov 2005 Per Nyfelt wrote :<BR>=0A> > > &= gt; > > > > >On Saturday 26 November 2005 05.23, ss wrote:<B= R>=0A> > > > > > > > > > 1. i ve changed my o= zone home to<BR>=0A> > > > > > > > > ><BR>=0A= > > > > > > > > > > :E:\jdk1.4\bin\ozone-1.2\= server<BR>=0A> > > > > > > > > ><BR>=0A> &= gt; > > > > > > > > hope it works out<= BR>=0A> > > > > > > > ><BR>=0A> > > >= ; > > > > >No it is not correct for the source distribution.= <BR>=0A> > > > > > > > >I would strongly you swi= tch to the binary distribution. Get<BR>=0A> > > > > > >= ; > > things up and running first before attempting to build the<BR>= =0A> > > > > > > > > server from source.<BR>=0A&= gt; > > > > > > > ><BR>=0A> > > > > = > > > > > 2. kindly specify the step by step procedure= to build this<BR>=0A> > > > > > > > > > ant = build script (where to edit,how to save,how to execute<BR>=0A> > >= > > > > > > > etc.) as i ve no idea abt it......plz h= elp me out<BR>=0A> > > > > > > > ><BR>=0A> &g= t; > > > > > > >I just did! I dont know how to make it= any clearer.<BR>=0A> > > > > > > > ><BR>=0A>= > > > > > > > > > 3. when ozone -d = E:\jdk1.4\bin\ozone-1.2\server\data -u<BR>=0A> > > > > > = > > > > is executed , the err mssg is<BR>=0A> > >= ; > > > > > > > Exception in thread "main" j= ava.lang.NoClassDefFoundError:<BR>=0A> > > > > > > >= ; > > org/ozoneDB/core/Server wat might b the reason 4<BR>=0A> >= ; > > > > > > > > this???????<BR>=0A> > > = > > > > > ><BR>=0A> > > > > > > >= >Something is wrong with your classpath. Probably the linefeed<BR>=0A&g= t; > > > > > > > > problem that makes the scripts u= ninterpretable by windows.<BR>=0A> > > > > > > > &g= t;<BR>=0A> > > > > > > > > > On Fri, 25 Nov 2= 005 Per Nyfelt wrote :<BR>=0A> > > > > > > > > &= gt; >As a told you earlier: you need to edit your batch files<BR>=0A>= > > > > > > > > > > and replace linefeed (LF= ) with Carriage Return Linefeed<BR>=0A> > > > > > > &g= t; > > > (CRLF)!<BR>=0A> > > > > > > > >= ; > ><BR>=0A> > > > > > > > > > >One= way to do this is to create a simple ant build script:<BR>=0A> > >= ; > > > > > > > ><project name=3D"scriptfix= " default=3D"lineend" basedir=3D"."><BR>=0A>= > > > > > > > > > > <= target name=3D"lineend"><BR>=0A> > > > > > &= gt; > > > > <fixcrlf= srcdir=3D"server/bin" includes=3D"**/*.bat" /><BR>= =0A> > > > > > > > > > > &nb= sp;</target><BR>=0A> > > > > > > > > > = ></project><BR>=0A> > > > > > > > > >= ; ><BR>=0A> > > > > > > > > > >If you a= re building from src do the following:<BR>=0A> > > > > > = > > > > >1. Make sure server\bin\ozoneAnt.bat has the right = end of<BR>=0A> > > > > > > > > > > line ch= aracters. In notepad they will look like empty<BR>=0A> > > > &g= t; > > > > > > boxes replace all boxes with an enter (sor= ry for the<BR>=0A> > > > > > > > > > > pai= n) 2. cd server<BR>=0A> > > > > > > > > > >= ;3. execute the build.bat script (this will also fix all<BR>=0A> > &g= t; > > > > > > > > your EOL characters in build/bin= to match your system) 4.<BR>=0A> > > > > > > > >= ; > > Your ozone distribution are now in server\build - this is<BR>= =0A> > > > > > > > > > > your OZONE_HOME (= unless you copy the files elsewhere if<BR>=0A> > > > > > = > > > > > course)<BR>=0A> > > > > > > &= gt; > > ><BR>=0A> > > > > > > > > > = >There is also a dist.bin target besides the default one<BR>=0A> >= > > > > > > > > > that builds a structure like = the binary distribution that<BR>=0A> > > > > > > > = > > > might be of interest.<BR>=0A> > > > > > &g= t; > > > ><BR>=0A> > > > > > > > > &= gt; >Good luck!<BR>=0A> > > > > > > > > > = ><BR>=0A> > > > > > > > > > >/Per<BR>= =0A> > > > > > > > > > ><BR>=0A> > &= gt; > > > > > > > >On Friday 25 November 2005 13.36= , ss wrote:<BR>=0A> > > > > > > > > > > &g= t; i ve installed the src version of ozone n set the<BR>=0A> > = > > > > > > > > > > variables as follows: ozo= ne_home:<BR>=0A> > > > > > > > > > > > = E:\jdk1.4\bin\ozone-1.2 ozone_path:<BR>=0A> > > > > > >= ; > > > > > E:\jdk1.4\bin\ozone-1.2\server\bin ozone_jvm: ja= va<BR>=0A> > > > > > > > > > > > ozone_= javac: javac<BR>=0A> > > > > > > > > > > &= gt;<BR>=0A> > > > > > > > > > > > if an= y correction is to b made in thse variables do<BR>=0A> > > > &g= t; > > > > > > > inform<BR>=0A> > > > >= > > > > > > ><BR>=0A> > > > > > >= ; > > > > > i get the following message when this is execute= d:<BR>=0A> > > > > > > > > > > > ozoneI= nst -d E:\jdk1.4\bin\ozone-1.2\data<BR>=0A> > > > > > >= ; > > > > > offrem $Id: ozoneInst.bat,v 1.2 2002/12/29 11:15= :55<BR>=0A> > > > > > > > > > > > per_n= yfelt Exp $call ojvm.bat org.ozoneDB.tools.Install<BR>=0A> > > >= ; > > > > > > > > -d E:\jdk1.4\bin\ozone-1.2\data<B= R>=0A> > > > > > > > > > > ><BR>=0A>= > > > > > > > > > > > i could not find th= e path for making the changes u<BR>=0A> > > > > > > &g= t; > > > > suggested.........plz help me out.......urgently<BR>= =0A> > > > > > > > > > ><BR>=0A> > &= gt; > > > > > > > >--------------------------------= -----------------------<BR>=0A> > > > > > > > > = > >This SF.net email is sponsored by: Splunk Inc. Do you grep<BR>=0A&= gt; > > > > > > > > > > through log files for= problems? Stop! Download the new<BR>=0A> > > > >= ; > > > > > > AJAX search engine that makes searching you= r log files as<BR>=0A> > > > > > > > > > >= easy as surfing the web. DOWNLOAD SPLUNK!<BR>=0A> > > > = > > > > > > > http://ads.osdn.com/?ad_id=3D7637&al= loc_id=3D16865&op=3Dclick<BR>=0A> > > > > > > >= > > > _______________________________________________<BR>=0A> = > > > > > > > > > >Ozone-users mailing list<B= R>=0A> > > > > > > > > > >Ozone-users@list= s.sourceforge.net<BR>=0A> > > > > > > > > > &= gt;https://lists.sourceforge.net/lists/listinfo/ozone-users<BR>=0A> >= > > > > ><BR>=0A> > > > > > >---------= ----------------------------------------------<BR>=0A> > > > &g= t; > >This SF.net email is sponsored by: Splunk Inc. Do you grep thro= ugh<BR>=0A> > > > > > > log files for problems? = Stop! Download the new AJAX search<BR>=0A> > > > > >= ; > engine that makes searching your log files as easy as surfing the<BR= >=0A> > > > > > > web. DOWNLOAD SPLUNK!<BR= >=0A> > > > > > > http://ads.osdn.com/?ad_id=3D7637&am= p;alloc_id=3D16865&op=3Dclick<BR>=0A> > > > > > > = _______________________________________________<BR>=0A> > > > &= gt; > >Ozone-users mailing list<BR>=0A> > > > > > &= gt;[email protected]<BR>=0A> > > > > > &g= t;https://lists.sourceforge.net/lists/listinfo/ozone-users<BR>=0A> > = > > ><BR>=0A> > > > >------------------------------= -------------------------<BR>=0A> > > > >This SF.net email i= s sponsored by: Splunk Inc. Do you grep through log<BR>=0A> > > &g= t; > files for problems? Stop! Download the new AJAX search = engine that<BR>=0A> > > > > makes searching your log files a= s easy as surfing the web. DOWNLOAD<BR>=0A> > > > &= gt; SPLUNK! http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op= =3Dclick<BR>=0A> > > > >____________________________________= ___________<BR>=0A> > > > >Ozone-users mailing list<BR>=0A&g= t; > > > >[email protected]<BR>=0A> > >= ; > >https://lists.sourceforge.net/lists/listinfo/ozone-users<BR>=0A&= gt; > ><BR>=0A> > >-----------------------------------------= --------------<BR>=0A> > >This SF.net email is sponsored by: Splun= k Inc. Do you grep through log<BR>=0A> > > files for problems?&nbs= p; Stop! Download the new AJAX search engine that<BR>=0A> > >= ; makes searching your log files as easy as surfing the web. DO= WNLOAD<BR>=0A> > > SPLUNK! http://ads.osdn.com/?ad_id=3D7637&a= lloc_id=3D16865&op=3Dclick<BR>=0A> > >________________________= _______________________<BR>=0A> > >Ozone-users mailing list<BR>=0A= > > >[email protected]<BR>=0A> > >https:/= /lists.sourceforge.net/lists/listinfo/ozone-users<BR>=0A><BR>=0A><BR>= =0A>-------------------------------------------------------<BR>=0A>Th= is SF.net email is sponsored by: Splunk Inc. Do you grep through log files<= BR>=0A>for problems? Stop! Download the new AJAX search engi= ne that makes<BR>=0A>searching your log files as easy as surfing the&nbs= p; web. DOWNLOAD SPLUNK!<BR>=0A>http://ads.osdn.com/?ad_id=3D7637&= amp;alloc_id=3D16865&op=3Dclick<BR>=0A>_____________________________= __________________<BR>=0A>Ozone-users mailing list<BR>=0A>Ozone-users= @lists.sourceforge.net<BR>=0A>https://lists.sourceforge.net/lists/listin= fo/ozone-users<BR>=0A=0A</P>=0A<br><br>=0A<a href=3D"http://adworks.rediff.= com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/15071914= 90@Middle5?PARTNER=3D3"><IMG SRC=3D"http://adworks.rediff.com/cgi-bin/AdWor= ks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_= query=3Dnull&PARTNER=3D3" BORDER=3D0 VSPACE=3D0 HSPACE=3D0></a>=0A --Next_1133247364---0-203.199.83.32-12388-- ------------------------------------------------------- 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