Announcement Announcement Module
No announcement yet.
STS web app deployment to Amazon EC2 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS web app deployment to Amazon EC2

    I follow the instruction in STS help menu to deploy a Spring MVC app to my Amazon EC2 tomcat cluster, the publishing process failed with following error. I was able to start the EC2 instance within STS. Have you seen such error, and what is the solution? Thanks.
    Unable to publish server configuration files: Unable to execute the following command:JAVA_HOME=/env/jdk /env/tomcat/bin/ start

    com.amazonaws.eclipse.ec2.ShellCommandException: Unable to execute the following command:
    JAVA_HOME=/env/jdk /env/tomcat/bin/ start
    at com.amazonaws.eclipse.ec2.RemoteCommandUtils.execu teRemoteCommand(
    at com.amazonaws.eclipse.wtp.tomcat.Ec2TomcatServer.s tart(
    at com.amazonaws.eclipse.wtp.tomcat.Ec2TomcatServer.p ublishServerConfiguration( )
    at com.amazonaws.ec2.cluster.Cluster.publishServerCon figuration(
    at com.amazonaws.eclipse.wtp.ElasticClusterBehavior.p ublishServer(
    at org.eclipse.wst.server.core.model.ServerBehaviourD elegate.publish(
    at org.eclipse.wst.server.core.model.ServerBehaviourD elegate.publish(
    at org.eclipse.wst.server.core.internal.Server.publis hImpl(
    at org.eclipse.wst.server.core.internal.Server$Publis
    at ava:55)