Petstore deployment with Pointbase database

Discussion in 'Java' started by amitg@cse.iitb.ac.in, Jun 27, 2005.

  1. Guest

    Hi I am trying to install java Petstore(v1.4) applicaion with
    SUNWappserver. Follwed every step as mentioned in the
    petstore_home/docs/install.html file viz

    export J2EE_HOME to SUNWappserver directory
    export PATH to SUNWappserver/bin directory

    start Pointbase server
    $pointbase_home/tools/serveroption/startserver.sh

    start application server on domain1
    $J2EE_HOME/bin/asadmin start-domain domain1

    $petstore_home/src/asant undeploy
    $petstore_home/src/asant

    journey this far was smooth. Everything worked just fine.
    next I did

    $asant deploy
    after executing the above command the output was something like
    this(not the complete output, just the error part)

    -------------------
    deploy-opc:
    [echo] deploying ../src/apps/opc/build/opc.ear
    [exec] CLI171 Command deploy failed : Deploying application in
    domain failed; No local string defined -- Inconsistent Module State
    [exec] ; requested operation cannot be completed
    [exec] Result: 1


    deploy_common:
    [echo] Deploying ../src/apps/supplier/build/supplier.ear.
    [exec] Command deploy executed successfully with following warning
    messages:

    [exec] JDO76611: Cannot connect to database via JNDI name
    'jdo/supplier': java.sql.SQLException: Connection could not be
    allocated because: Cannot find the user "SUPPLIER" ..
    [exec] JDO76611: Cannot connect to database via JNDI name
    'jdo/supplier': java.sql.SQLException: Connection could not be
    allocated because: Cannot find the user "SUPPLIER" ..


    deploy_common:
    [echo] Deploying ../src/apps/petstore/build/petstore.ear.
    [exec] Command deploy executed successfully with following warning
    messages:

    [exec] JDO76611: Cannot connect to database via JNDI name
    'jdo/petstore': java.sql.SQLException: Connection could not be
    allocated because: Cannot find the user "PETSTORE" ..
    [exec] JDO76611: Cannot connect to database via JNDI name
    'jdo/petstore': java.sql.SQLException: Connection could not be
    allocated because: Cannot find the user "PETSTORE" ..
    [exec] JDO76611: Cannot connect to database via JNDI name
    'jdo/petstore': java.sql.SQLException: Connection could not be
    allocated because: Cannot find the user "PETSTORE" ..


    deploy:

    BUILD SUCCESSFUL
    Total time: 6 minutes 3 seconds

    -----------------------------------------------

    The pointbase database is up and running, I am unable to understand how
    to remove these errors. Am I missing some step in the installation
    procedure ? Any pointers in this regard will be highly appreciated.

    tia,
    Amit
    , Jun 27, 2005
    #1
    1. Advertising

  2. fingerz84 Guest

    Similar Problem

    Hi,

    I'm having the exact same problem when i try and deploy a simple
    application, did you ever find a resolution to this problem? if so
    please can you tell me what you did.

    Best regards

    Edward Fingleton
    Posted from http://www.Devplug.com
    fingerz84, Nov 18, 2005
    #2
    1. Advertising

  3. Re: Similar Problem

    fingerz84 wrote:

    ....
    > I'm having the exact same problem ..


    Oooh. 'Me Too!'!

    Given as how your post appears in my news reader not attached to
    any other post, it is impossoble for any but the original poster to
    know WTF you are referring to.

    Please have the sense to quote some material to give replies to old
    posts a context, and so others understand what you are referring to.


    --
    Andrew Thompson
    physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
    Currently accepting short and long term contracts - on Earth.
    Andrew Thompson, Nov 19, 2005
    #3
  4. fingerz84 Guest

    Re: Similar Problem

    > Andrew Thompsonwrote:
    fingerz84 wrote:
    >
    > ....
    > I'm having the exact same problem ..
    >

    Oooh. 'Me Too!'!

    Given as how your post appears in my news reader not attached to
    any other post, it is impossoble for any but the original poster to
    know WTF you are referring to.

    Please have the sense to quote some material to give replies to old
    posts a context, and so others understand what you are referring to.


    --
    Andrew Thompson
    physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
    Currently accepting short and long term contracts - on
    Earth.[/quote:34d16fd35b]


    apologies andrew, it appears on my screen as a follow on from the
    actual post that i was referring to. The post i was referring to
    was:

    Post subject: Petstore deployment with Pointbase database
    Posted from http://www.Devplug.com
    fingerz84, Nov 19, 2005
    #4
  5. Re: Similar Problem

    > fingerz84 wrote:
    >
    >>....
    >>I'm having the exact same problem ..


    Now that you are 'quoting below sig delimiters' (see the '-- '
    below,) my news client is refusing to quote your text.
    Please trim signatures before replying in future.

    OK, so you are referring to this post as archived at Google,
    <http://groups.google.com/group/comp.lang.java.programmer/msg/14b5aea04d149f3a>
    Note that it dates back to June and many news servers would
    be hard pressed to store posts more than 2 weeks old.

    The reason the text is not threading correctly in my news
    client (though it apprantly does at both Google and your
    web interface to usenet) is that you changed the subject
    line. There was no point or need to do that, so please
    stop that as well.

    As a final point, the person that made that post (and failed
    to get a single reply) has probably vanished from these usenet
    newsgroups never to reappear, so imploring them to get back to
    you is especially pointless. It might be better for you to make
    a fresh post, though the fact the first went unanswered might
    be a hint that either nobody here knows, or cares.

    For further tips on how best to get answers on the comp.lang.java.*
    groups, have a look over the PhySci Java FAQ.
    <http://www.physci.org/codes/javafaq.jsp>

    --
    Andrew Thompson
    physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
    Currently accepting short and long term contracts - on Earth.
    Andrew Thompson, Nov 19, 2005
    #5
  6. fingerz84 Guest

    Re: Similar Problem

    >
    > As a final point, the person that made that post (and failed
    > to get a single reply) has probably vanished from these usenet
    > newsgroups never to reappear, so imploring them to get back to
    > you is especially pointless. It might be better for you to make
    > a fresh post, though the fact the first went unanswered might
    > be a hint that either nobody here knows, or cares.
    >
    > For further tips on how best to get answers on the comp.lang.java.*
    > groups, have a look over the PhySci Java FAQ.
    > <http://www.physci.org/codes/javafaq.jsp>
    >


    all due respect andy (none) you sound like a belligerent child
    Posted from http://www.Devplug.com
    fingerz84, Nov 19, 2005
    #6
  7. Roedy Green Guest

    Re: Similar Problem

    On Sat, 19 Nov 2005 22:02:41 -0000,
    -dot-uk.no-spam.invalid (fingerz84) wrote, quoted or
    indirectly quoted someone who said :

    >
    >all due respect andy (none) you sound like a belligerent child


    That is a funny phrase. At first it sounds like an oxymoron, but it
    could be interpreted that no respect is due.
    --
    Canadian Mind Products, Roedy Green.
    http://mindprod.com Java custom programming, consulting and coaching.
    Roedy Green, Nov 19, 2005
    #7
    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. pluto

    Petstore populate db

    pluto, Dec 29, 2003, in forum: Java
    Replies:
    1
    Views:
    317
    Svetozar Radojcin
    Dec 30, 2003
  2. kbd
    Replies:
    0
    Views:
    559
  3. Bon Bon
    Replies:
    0
    Views:
    290
    Bon Bon
    Jun 1, 2004
  4. Simon Fox
    Replies:
    0
    Views:
    615
    Simon Fox
    Sep 20, 2004
  5. paul
    Replies:
    4
    Views:
    2,432
    steve
    Jul 31, 2005
Loading...

Share This Page