File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Petstore deploy fails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Petstore deploy fails" Watch "Petstore deploy fails" New topic

Petstore deploy fails

wayner moose

Joined: Aug 01, 2005
Posts: 2
I am trying to build and deploy petstore blueprints to Sun One. The build looks fine but on deploy I get this message with one of the .ear deploys:

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

What does this mmessage mean? What is the 'local string'. Oddly, the same deploy works fine on my office computer with exactly the same Ant version, classpath, OS, Path, etc.!

Wayner Moose
wayner moose

Joined: Aug 01, 2005
Posts: 2
I managed to solve this one. Just uninstalled Petstore and then deleted all the directories in C:\Sun\AppServer\domains\domain1\generated that pertain to Petstore. Then redeploy - works fine. It is a small server bug that sometimes fails to delete these directories!

Once deployed I started getting null pointers on an old name for the computer - I renamed it a few months ago. Apparently Sun One grabs the computer name on the install and so I had to reinstall Sun One to fix it. First tried changing config and property files to no avail, so reinstalled and then the null pointers disappeared.

I agree. Here's the link:
subject: Petstore deploy fails
It's not a secret anymore!