I'm trying to deploy my Maven Web Application (with Spring MVC) project to Amazon Elastic Beanstalk through the Amazon SDK plugin for Eclipse.
This works fine. The problem is every time I make a new change to the code, I try to deploy using "Incremental Deployment" option.
Although everything goes fine, when I try to open the app, i find that the earliest version of the code gets deployed. So I have to deploy the whole app everytime.
What's wrong? Am I doing something wrong. Please guide me.
Related
I am trying to deploy a standard environment google app engine project from eclipse. Whenever I try to deploy it however, I get the error: problem publishing war, project has no resources to publish. I have different project that does deploy correctly. Also I should mention that I imported the project from a while back where it used to deploy fine.
Following the docs on Tomcat I had no problem either migrating my war during build or deploying it in the webapps-javaee directory; the migration went just fine.
But I see no option in the manager to deploy a war as legacy; if you try to do that, the app is deployed just fine but it will of course fail when it calls a legacy API.
Thus it seems that the only way is to either migrate the jar before deploy or deploy copying a war file manually (or with a script, but still far from ideal).
Is there a way to have a manager deployed war migrated automatically, just as if it was copied in the legacy directory?
Of course the perfect solution would be to migrate the code... or to not use tomcat 10 until you feel like doing what's needed to make it work flawlessly.
I need help for deploy my aplication into Elastic Beanstalk.
So far, I only want deploy the sample provided by Zend, without BD, services, etc. (base squeleton aplication).
I have followed these steps:
Enter into Elastic Beanstalk console (without application).
Create a PHP 5.4 enviroment.
Change in (Edit/Load Configuration -> Container Tab): Document Root= \public
Clicked "Upload New Version" and configure for deploy to existing enviroment (Default).
Important:
The File uploaded is a .Zip File of the base skeleton path.
My project has been developed under Windows and use xampp with PHP Version 5.4.7.
I used Eclipse for develop, I don't have Zend Studio.
After uploading, a event error is showed (Failed to deploy application version).
What am I being wrong? or what steps missing for do it well?
I put zend folder on LIBRARY inside project
/projectfolder/library/
works for me
I have read through all I can find but doesn't just work out for me.
Does anyone by chance know a detailed step-by-step instruction to deploy GWT to external domain servers like Godaddy?
I am using maven to manage my app. I can run it in dev mode but when I try to copy over to tomcat, does not work.
Please help.
After more and more attempts leading to frustrations, I decided to host my GWT app on GAE (Google app Engine). It is easier to deploy to GAE than trying to setup GWT to work on Godaddy services.
And for mvn related issues, I recreated my app using GWT Maven Archetype version 2.3.0-1
I pop the .war in webapps directory of tomcat and voila ... It works
Cheers
PB
I was wondering if it is possible to make a Java EE application being managed by Maven and automatically deploy it to JBoss all from Eclipse. To my knowledge I current right click on my project and select "Make install". After that completes, I open the server pane and right click on my deployed ear and either select "Full Publish" or "Incremental Publish". Is there a way to condense these actions into one click? I tried to write a windows batch file but I didn't have much luck with that, and it would only work for our devs working on Windows machines. I know I can make run configurations but when I try to make one it is very intimidating and I get frustrated and give up.
Thanks for your help!
You can use JBoss Tools 3.3.0 (Current milestone M4) with the maven integration to easily deploy projects (wars or ears) to your AS7 server.
Once you defined your AS7 instance in eclipse, all you have to do is right click on your project > Run As ...> Run on Server. It'll start your app server if it's stopped, or just deploy your app if it's already running.
See http://vimeo.com/25768303
and http://community.jboss.org/en/tools/blog/2011/11/09/jboss-tools-shift-happens-in-m4
If you are using maven, you can use the cargo plugin: http://cargo.codehaus.org/Maven2+plugin
You just configure where the JBoss is installed, set the plugin to run in the phase you want (or make a new one) and you are all set.
You can also create different configurations for different profiles, so you have local, integration, test, production, etc... And just by running with the selected profile deploys the ear in the server, remote or local.
If you want more control, you can set the path of the container as a variable that you pass in the Eclipse run configuration, that way each developer can have their servers in different paths.