Packaging failed error when publishing or overwriting service

Discussion created by Dalshearer on Sep 20, 2012
Latest reply on May 30, 2013 by Jamal432@gmail.com
I get the error "Packaging failed" when publishing new service or overwriting existing service from ArcMap. However, i can "Save a service definition file" and publish the .sd file from ArcGIS Server manager without problem.

I have 2 environments test and production. I only get this error from my production machine.

here is the error as it captured in the results window: "ERROR: code:500, java.lang.reflect.UndeclaredThrowableException, Cannot connect to this server. Failed to execute (StageService). "

I was able to publish new services or overwrite existing services on my production server before. And nothing was changed that I'm aware of.

Any help is much appreciated, thanks.