Problem with OJB deployment

Discussion in 'Java' started by Déborah, Aug 8, 2003.

  1. Déborah

    Déborah Guest

    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.
    Déborah, Aug 8, 2003
    #1
    1. Advertising

  2. Déborah

    Raoul Markus Guest

    Déborah wrote:
    > 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
    Raoul Markus, Aug 17, 2003
    #2
    1. Advertising

  3. Déborah

    Johann Guest

    try the db-ojb-1.0.rc4-src

    Raoul Markus <> wrote in message news:<bhonee$t7j$03$-online.com>...
    > Déborah wrote:
    > > 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
    Johann, Aug 29, 2003
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Benny Ng
    Replies:
    0
    Views:
    4,395
    Benny Ng
    Oct 3, 2005
  2. FULL NAME

    OJB and SQLServer or MySQL

    FULL NAME, Jun 12, 2004, in forum: Java
    Replies:
    1
    Views:
    483
    FULL NAME
    Jun 12, 2004
  3. Jezzer

    OJB.proprties & websphere

    Jezzer, Mar 14, 2006, in forum: Java
    Replies:
    1
    Views:
    345
    Jezzer
    Mar 16, 2006
  4. Amit Jain
    Replies:
    6
    Views:
    520
    Amit Jain
    Nov 10, 2008
  5. Amit Jain
    Replies:
    3
    Views:
    1,737
Loading...

Share This Page