Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Petstore deployment with Pointbase database

Reply
Thread Tools

Petstore deployment with Pointbase database

 
 
amitg@cse.iitb.ac.in
Guest
Posts: n/a
 
      06-27-2005
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

 
Reply With Quote
 
 
 
 
fingerz84
Guest
Posts: n/a
 
      11-18-2005
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
 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      11-19-2005
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.
 
Reply With Quote
 
fingerz84
Guest
Posts: n/a
 
      11-19-2005
> 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
 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      11-19-2005
> 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.
 
Reply With Quote
 
fingerz84
Guest
Posts: n/a
 
      11-19-2005
>
> 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
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      11-19-2005
On Sat, 19 Nov 2005 22:02:41 -0000,
http://www.velocityreviews.com/forums/(E-Mail Removed)-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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver paul Java 4 07-31-2005 01:17 AM
Weblogic/Pointbase connection error 08006 ? Simon Fox Java 0 09-20-2004 05:37 PM
Java PetStore deployment fails with Cloudscape running on port 2001 Bon Bon Java 0 06-01-2004 06:30 PM
petstore demo under Win2000 kbd Java 0 02-09-2004 02:01 AM
Petstore populate db pluto Java 1 12-30-2003 03:40 PM



Advertisments