Problem with BLOBs

Kalyan Pamarthy <[email protected]> Sun, 6 Mar 2005 03:30:24 -0800 (PST)
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
hello,

Im new to this forum. I have been trying out the
various samples given in Ozone samples directory. 

I have successfuly used Servlets and Jsp with ozone in
a  small ozone based application.

The org.ozoneDB.* packages are being identified
properly in all other samples examples BLOB.

Can anyone plz tell me any solution. Do I have to add
anything to the Classpath? Do I need to download
anything from CVS?

When i try to execute " ozoneAnt" on the BLOB
samples(src code updated from CVS), i get the
following errors:

classes:
    [javac] Compiling 2 source files to
/home/ozone-1.2/samples/blob/build
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:6:
package org.ozoneDB does n
ot exist
    [javac] import org.ozoneDB.*;
    [javac] ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:7:
package org.ozoneDB.blob d
oes not exist
    [javac] import org.ozoneDB.blob.*;
    [javac] ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:6: package
org.ozoneDB d
oes not exist
    [javac] import org.ozoneDB.*;
    [javac] ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:7: package
org.ozoneDB.b
lob does not exist
    [javac] import org.ozoneDB.blob.*;
    [javac] ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:28: cannot
find symbol
    [javac] symbol  : class RemoteDatabase
    [javac] location: class BLOBBench
    [javac]     RemoteDatabase db;
    [javac]     ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:43: cannot
find symbol
    [javac] symbol  : class RemoteDatabase
    [javac] location: class BLOBBench
    [javac]     public BLOBBench( RemoteDatabase _db,
int _poolsize, int _buffer
size, int _pagesize, int _rangeMin,
    [javac]                       ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:174:
cannot find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOBBench
    [javac]     private void verifyBlob( BLOBContainer
_blob, int _actObj ) thro
ws Exception {
[javac]                              ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:20:
cannot find symbol
    [javac] symbol  : class RemoteDatabase
    [javac] location: class BLOB
    [javac]         RemoteDatabase db = new
RemoteDatabase();
    [javac]         ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:20:
cannot find symbol
    [javac] symbol  : class RemoteDatabase
    [javac] location: class BLOB
    [javac]         RemoteDatabase db = new
RemoteDatabase();
    [javac]                                 ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:33:
cannot find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOB
    [javac]         BLOBContainer blob =
(BLOBContainer)db.createObject( BLOBCon
tainerImpl.class.getName(), 0, name );
    [javac]         ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:33:
cannot find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOB
    [javac]         BLOBContainer blob =
(BLOBContainer)db.createObject( BLOBCon
tainerImpl.class.getName(), 0, name );
    [javac]                               ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:33:
cannot find symbol
    [javac] symbol  : class BLOBContainerImpl
    [javac] location: class BLOB
    [javac]         BLOBContainer blob =
(BLOBContainer)db.createObject( BLOBCon
tainerImpl.class.getName(), 0, name );
    [javac]                                           
                  ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:38:
cannot find symbol
    [javac] symbol  : class BLOBOutputStream
    [javac] location: class BLOB
    [javac]         BLOBOutputStream out = new
BLOBOutputStream( blob );
    [javac]         ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:38:
cannot find symbol
    [javac] symbol  : class BLOBOutputStream
    [javac] location: class BLOB
    [javac]         BLOBOutputStream out = new
BLOBOutputStream( blob );
    [javac]                                    ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:56:
cannot find symbol
    [javac] symbol  : class BLOBInputStream
    [javac] location: class BLOB
    [javac]         BLOBInputStream in = new
BLOBInputStream( blob );
    [javac]         ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:56:
cannot find symbol
    [javac] symbol  : class BLOBInputStream
    [javac] location: class BLOB
    [javac]         BLOBInputStream in = new
BLOBInputStream( blob );
    [javac]                                  ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:75:
cannot find symbol
    [javac] symbol  : class BLOBOutputStream
    [javac] location: class BLOB
    [javac]         out = new BLOBOutputStream( blob
);
    [javac]                   ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:82:
cannot find symbol
    [javac] symbol  : class ExternalTransaction
    [javac] location: class BLOB
    [javac]         ExternalTransaction tx =
db.newTransaction();
    [javac]         ^
    [javac] /home/ozone-1.2/samples/blob/BLOB.java:95:
cannot find symbol
    [javac] symbol  : class BLOBInputStream
    [javac] location: class BLOB
    [javac]         in = new BLOBInputStream( blob );
    [javac]                  ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:80: cannot
find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOBBench
    [javac]                     BLOBContainer blob =
(BLOBContainer)db.objectFor
Name( names[actObj] );
[javac]                     ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:80: cannot
find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOBBench
    [javac]                     BLOBContainer blob =
(BLOBContainer)db.objectFor
Name( names[actObj] );
    [javac]                                          
^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:112:
cannot find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOBBench
    [javac]                     BLOBContainer blob =
(BLOBContainer)db.objectFor
Name( names[i] );
    [javac]                     ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:112:
cannot find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOBBench
    [javac]                     BLOBContainer blob =
(BLOBContainer)db.objectFor
Name( names[i] );
    [javac]                                          
^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:134:
cannot find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOBBench
    [javac]         BLOBContainer blob =
(BLOBContainer)db.createObject( BLOBCon
tainerImpl.class.getName(), 0, name );
    [javac]         ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:134:
cannot find symbol
    [javac] symbol  : class BLOBContainer
    [javac] location: class BLOBBench
    [javac]         BLOBContainer blob =
(BLOBContainer)db.createObject( BLOBCon
tainerImpl.class.getName(), 0, name );
    [javac]                               ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:134:
cannot find symbol
    [javac] symbol  : class BLOBContainerImpl
    [javac] location: class BLOBBench
    [javac]         BLOBContainer blob =
(BLOBContainer)db.createObject( BLOBCon
tainerImpl.class.getName(), 0, name );
    [javac]                                           
                  ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:140:
cannot find symbol
    [javac] symbol  : class BLOBOutputStream
    [javac] location: class BLOBBench
    [javac]         BLOBOutputStream out = new
BLOBOutputStream( blob );
    [javac]         ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:140:
cannot find symbol
    [javac] symbol  : class BLOBOutputStream
    [javac] location: class BLOBBench
    [javac]         BLOBOutputStream out = new
BLOBOutputStream( blob );
    [javac]                                    ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:178:
cannot find symbol
    [javac] symbol  : class BLOBInputStream
    [javac] location: class BLOBBench
    [javac]         BLOBInputStream in = new
BLOBInputStream( _blob );
    [javac]         ^
    [javac]
/home/ozone-1.2/samples/blob/BLOBBench.java:178:
cannot find symbol
    [javac] symbol  : class BLOBInputStream
    [javac] location: class BLOBBench
    [javac]         BLOBInputStream in = new
BLOBInputStream( _blob );
    [javac]                   


Thanks in advance


         


	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click