Petstore deployment with Pointbase database

A

amitg

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
 
F

fingerz84

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
 
A

Andrew Thompson

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.
 
F

fingerz84

Andrew Thompsonwrote:
fingerz84 said:
....
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
 
A

Andrew Thompson

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>
 
F

fingerz84

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
 
R

Roedy Green

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.
 

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,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top