Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Petstore deployment with Pointbase database

3 views
Skip to first unread message

am...@cse.iitb.ac.in

unread,
Jun 26, 2005, 8:52:02 PM6/26/05
to
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

fingerz84

unread,
Nov 18, 2005, 5:05:02 PM11/18/05
to
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

Andrew Thompson

unread,
Nov 18, 2005, 10:55:53 PM11/18/05
to
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.

fingerz84

unread,
Nov 19, 2005, 9:01:29 AM11/19/05
to
> Andrew Thompsonwrote:
fingerz84 wrote:
>
> ....

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

Andrew Thompson

unread,
Nov 19, 2005, 10:36:51 AM11/19/05
to
> 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>

fingerz84

unread,
Nov 19, 2005, 5:02:41 PM11/19/05
to
>
> 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

0 new messages