Search code examples
javadeploymentazureazure-configuration

Application startup task failed with exit code 1 when Deploy on azure


I'm newbie on azure.I try to following article from : http://msdn.microsoft.com/en-us/library/windowsazure/hh690944(VS.103).aspx

first as beginner to create helloworld app with JSP

I have uploading both of file to blob storage using azure storage explorer :

  • Service Configuration.cscfg

  • WindowsAzurePackage.cspkg

Then i try to create new hosting services and inclue these file inside.

But on progress like stop on status :

Application startup task failed with exit code 1. [2012-06-05T14:51:58Z]

for long time i waiting, firstly it saya initializating, then Recovering role, but still same.progress is stop.

What is that error ? is there my configuration missing ?


Solution

  • As of the June 2012 update of the Windows Azure Plugin for Eclipse with Java, the basic deployment of a Java app server + some apps got much simpler -- now it's just part of the new Windows Azure project wizard UI. The "old" way of copying startup scripts still works, and especially more advanced users may still find that preferable, but if you're just getting started with Java on Windows Azure, you will find the wizard-based approach just much simpler, quicker and with less opportunity for error.

    Easiest to start with the 5 min demo at: http://channel9.msdn.com/Blogs/Interoperability/Java-Applications-in-Windows-Azure-Cloud-Services-using-Eclipse