Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3131

Unable to deloy on Hana using latest maven plugin

$
0
0

Hi,

 

I am trying to deploy a web application on HANA using maven.

Had successfully deployed earlier with the neo-javaee6-wp-maven-plugin version 2.59.15.


But now with the latest version of neo-javaee6-wp-maven-plugin, (version 2.64.13.1), I am getting error during deployment.


Following is the pom.xml snippet

 

<plugin>

                  <groupId>com.sap.cloud</groupId>

                  <artifactId>neo-javaee6-wp-maven-plugin</artifactId>

 

                  <executions>

                      <execution>

                          <id>install-sdk</id>

                          <phase>pre-integration-test</phase>

                          <goals>

                              <goal>install-sdk</goal>

                          </goals>

                      </execution>

 

                      <execution>

                                <id>deploy-to-cloud</id>

 

                                <phase>pre-integration-test</phase>

                                <goals>

                                     <!--Call the dedicated deploy goal of this plugin-->

                                    <goal>deploy</goal>

                                </goals>

                                <configuration>

                                     <!--Configuration for the above deploy goal -->

                                    <host>${sap.cloud.host}</host>

                                    <user>${sap.cloud.username}</user>

                                    <password>${sap.cloud.password}</password>

                                    <account>${sap.cloud.account}</account>

                                    <application>${sap.cloud.application}${BUILD_NUMBER}</application>

                                    <source>${project.build.directory}/web.war,${topDir}/web.qe.war</source>

                                    <connections>6</connections>

                                    <consoleArguments>--file-storage-mode persistent --file-storage-size 10 </consoleArguments>

                                </configuration>

                            </execution>

 

Using the latest version of neo-javaee6-wp-maven-plugin, (version 2.64.13.1), i am getting the following error:

 

[ERROR] Failed to execute goal com.sap.cloud:neo-javaee6-wp-maven-plugin:2.64.13.1:deploy (deploy-to-cloud) on project ads.web: Command (deploy --user user@sap.com --source /home/web.war,/home/web.qe/target/web.qe.war --password *** --host hana.ondemand.com --connections 6 --application unittestci387 --account acccoutnumber --file-storage-mode persistent --file-storage-size 10  returned error code 166 (see above for more information). -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.sap.cloud:neo-javaee6-wp-maven-plugin:2.64.13.1:deploy (deploy-to-cloud) on project ads.web: Command (deploy --user user@sap.com --source /home/web.war,/home/web.qe.war --password *** --host hana.ondemand.com --connections 6 --application unittestci387 --account accountnumber --file-storage-mode persistent --file-storage-size 10 ) returned error code 166 (see above for more information).

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)

        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)

        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.MojoExecutionException: Command (deploy --user user@sap.com --source /home/web.war,/home/web.qe.war --password *** --host hana.ondemand.com --connections 6 --application unittestci387 --account accountname --file-storage-mode persistent --file-storage-size 10 ) returned error code 166 (see above for more information).

        at com.sap.core.sdk.cmd.mojo.AbstractConsoleCommandMojo.run(AbstractConsoleCommandMojo.java:213)

        at com.sap.core.sdk.cmd.mojo.AbstractRemoteConsoleCommandMojo.run(AbstractRemoteConsoleCommandMojo.java:76)

        at com.sap.core.sdk.cmd.mojo.deploy.DeployMojo.run(DeployMojo.java:476)

        at com.sap.core.sdk.cmd.mojo.deploy.DeployMojo.execute(DeployMojo.java:299)

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

        ... 19 more


Viewing all articles
Browse latest Browse all 3131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>