2 Replies Latest reply on Mar 5, 2013 10:47 PM by philip kang

    javacloud:install (ant script)

    philip kang
      Has anyone used this javacloud:install (ant command) to deploy the apps to Java Cloud?

      I need an example how it looks like to try to deploy from a command line.

        • 1. Re: javacloud:install (ant script)
          Hi Philip,

          There are some sample projects in the Java Service SDK. You can get the SDK from http://cloud.oracle.com. On the top right corner there is a drop down called Resources. Under that select "Downloads". It will take you to the OTN Download page where you can find the SDK download. The SDK contains the CLI, Ant tasks, Maven commands, docs and samples. There are multiple build files that contain show how to use various ant tasks. Look for "common.xml". It contains usage of install ant task.

          • 2. Re: javacloud:install (ant script)
            philip kang
            installed SDK.

            run this command
            java -jar javacloud.jar install -user irina.granat@oracleads.com -serviceinstance java -identitydomain triala2rg -path D:\projects\OracleCloud\InQuoteApp\deploy\INQuote_application1.ear -application INQuote_application

            ERROR - java.net.ConnectException: Connection timed out: connect
            +----> Caused By : Connection timed out: connect

            this error showing on JCS page

            avax.el.ELException: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4

            ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #4

            what went wrong?