Problem with OJB deployment

D

Déborah

Hello,
I have to use OJB to compare it with other framewors (under Windows 2000)
So, I read the directives of the tutorial1 installation
(http://db.apache.org/ojb/tutorial1.html)



-----------------------------------------------------
Running the Tutorial Application
To execute the application described in this tutorial, you must prepare the
tutorials from the source distribution of OJB. This is accomplished via Ant
build scripts which are executed by a script in the "bin" directory of the
OJB distribution. (Note: This tutorial assumes that you have already
downloaded the OJB source distribution.) Note: There is no need to configure
a database in order to run these applications. The tutorial applications
ship with HSQLDB integration, all you need to do is run the
prepare-tutorials Ant target.
Unpack the OJB source distribution, make sure that your current working
directory is the top level directory of the OJB distribution and run the
following script:
On Windows 9x/NT/2000/XP:
Prepare the Tutorials: bin\build.bat prepare-tutorials
Execute this Tutorial: bin\tutorial1.bat
----------------------------------------------------

When I run the command bin\build.bat prepare-tutorials
This is the result i read :

C:\db-ojb-1.0.rc4>bin\build.bat prepare-tutorials
Buildfile: build.xml

splash:

set-archive-name:

set-archive-name-date:

detect-jdk:

check-jdk12proxy-classes:

check-jndi-classes:

use-jdk12:

use-jdk13:

use-jdk14:
[echo] detected JDK 1.4

init:

prepare:
[mkdir] Created dir: C:\db-ojb-1.0.rc4\target
[mkdir] Created dir: C:\db-ojb-1.0.rc4\target\classes
[mkdir] Created dir: C:\db-ojb-1.0.rc4\target\classestest
[mkdir] Created dir: C:\db-ojb-1.0.rc4\target\classesjca
[mkdir] Created dir: C:\db-ojb-1.0.rc4\dist
[copy] Copied 1 empty directory to C:\db-ojb-1.0.rc4\target\src
[copy] Copying 24 files to C:\db-ojb-1.0.rc4\target\srctest

BUILD FAILED
file:C:/db-ojb-1.0.rc4/build.xml:143: C:\db-ojb-1.0.rc4\src\jca not found.

Total time: 10 seconds


The processus begins, that's à bit good, but I really don't know where
should be "src/jca" in my directory...

What is "jca", it's certainly a package ? and where could I get it to run
OJB ?
Is there anybody who has ever seen this problem ?

Thanks a lot for your help..

Déborah.
 
R

Raoul Markus

Déborah said:
Is there anybody who has ever seen this problem ?
yes. me. I have the very same problem with db-ojb-1.0.rc4.tgz on linux. Have
not found a clue to get it running.
Thanks a lot for your help..
surprisingly, the db-ojb-1.0rc3 seems to work better. no problems to run the
test suite junit. Try this one, i got it to work in around 2 hrs.

Raoul
 
J

Johann

try the db-ojb-1.0.rc4-src

Raoul Markus said:
yes. me. I have the very same problem with db-ojb-1.0.rc4.tgz on linux. Have
not found a clue to get it running.

surprisingly, the db-ojb-1.0rc3 seems to work better. no problems to run the
test suite junit. Try this one, i got it to work in around 2 hrs.

Raoul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top