This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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:
deploy-opc: [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.!
Joined: Aug 01, 2005
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.