How to deploy the application via Build.xml

Hi,
this is my first time using this cloud service. I have an open source application to be deploy in the cloud. This application come with ANT script (build.xml) and table scripts.
Would like to know how do I configure the eclipse or write the build script to deploy the application into the java service. In addition, how do I configure the java service (app server) to talk to the database?
many thanks
I look forward to your advices and guidance.

Hello ,
You can get this information from Java Cloud Service learning center.
Java Cloud Service provides  a SDK (Download) which includes ANT tasks library (As well as Maven Plugin) which can be used to extend the Ant build file to deploy the application to the cloud.
In case of App server talking to the Database , that part is already taken care of in the Oracle Java Cloud Service and associated Oracle Database Cloud Service.

Similar Messages

  • How to Deploy the Application

    Hello All.
    I have developed an application in WebDynPro ABAP.
    How to deploy the application.
    Warm regards,
    SampathKumar.

    Hi,
    You can delpoy it using the portal or in any IE.
    Create an Iview in the portal and give the application name of your component and run it. As portal is the part of the SAP Netweaver.  Where ever you want you can call the application as it is a URL.
    For the creation of Iviews and related things, refer to the EP forum.
    Regards,
    Lekha.

  • AIA Installing and Deploying Demo Application failed:Build.xml not found

    Hi,
    i am trying to install demo application using following steps
    Extract Foundation Pack Demo under <AIA_HOME>.
    If not already done so, set environment variables:
    For Linux (bash shell)
    source <AIA_HOME>/aia_instances/<aia_instance>/bin/aiaenv.sh
    For Windows
    Navigate to aiaenv.bat located in <AIA_HOME>\aia_instances\<aia_instance>\bin
    Run aiaenv.bat
    You may have to assign higher memory values in your JVM parameter settings for demo to deploy if you have not set the maximum possible value already. Use the following three steps as guidance to configure JVM parameters:
    Navigate to <Middleware home>\user_projects\domains\<domain_name>\bin
    Update the following parameter in the setSOADomainEnv.sh (for Linux) and setSOADomainEnv.cmd (for Windows) file:
    USER_MEM_ARGS=""-Xms2048M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=512M -Xmn1228M -XX:SurvivorRatio=10""
    Note: These are recommended values while using Sun JVM. Actual values that you set depend on your system configurations. When running on dedicated hosts, you can set the JVM heap size as high as possible. Higher value results in better performance. However this number is constrained by the operating system's addressable memory space.
    Restart SOA server
    Run the deployment script:
    At the command line prompt, run the following command for your platform:
    For Linux:
    cd $AIA_HOME/samples/AIADemo/config
    ant -f deployDemo.xml
    For Windows:
    cd %AIA_HOME%\samples\AIADemo\config
    ant –f deployDemo.xml
    while runiing the deployment script it showing build.xml not exist..
    Error Details
    D:\Soasuite\oracle\Middleware\SOASuite11gR1PS4\oracle_common\samples\AIADemo\con
    fig>ant -f deployDemo.xml
    Buildfile: build.xml does not exist!
    Build failed
    Any suggestions
    Thanks in advance

    Hi
    This is the location i am having my installation because in this location only MY AIA instance got created.
    Here i am pasting my env variable setup in aiaenv.bat file
    #set environment variables
    set AIA_HOME=D:\\Soasuite\oracle\Middleware\SOASuite11gR1PS4\oracle_common
    set MW_HOME=D:\\ORACLE\Middleware
    set SOA_HOME=D:\\ORACLE\Middleware\Oracle_SOA1
    set JAVA_HOME=D:\ORACLE\Middleware\jdk160_24\jre
    set AIA_INSTANCE=%AIA_HOME%/aia_instances/AIAinst1
    kindly help...

  • How to deploy the application into Test system in NWDI

    Hi ,all
    i hava some problems about NWDI, Could you help me ?
    I hava defined the test system in runtime system of NWDI .
    As a general ,it must be deploy the application into test system  for test before transport the CR, is it right?
    if so , how can i do to deploy the application into test system before assembly?
    regards.

    Hi Zhijun,
    Thank you for your repay.
    You are welcome
    After assembly , can i deploy the application into test system by CMS? mean that if it can be done not through CR?
    Yes, you import the changes on the "Test" tab of the transport studio of the CMS webui. This will deploy the changes to Test (to the system you have specified in the runtime system configuration for this track)
    and what is the benefit of Dev system and Con system
    See the guide: http://help.sap.com/saphelp_nw70/helpdata/en/b6/e6b9fc9ec00f4ca4a0d3e0645e87b5/frameset.htm
    Best Regards,
    Ervin

  • How can deploy the application and data to client?

    As I know, I can burn a CD with http://mobileserver/setup/webtogo/setup.exe and distribute this CD to client to install web-to-go Client.
    But how can I create a package for client to install my application and data?
    What tools should I use? Where can I get the information?
    Can you give/show me a simple example to make a package and install the package?
    Thanks a lot.

    Only the carrier to whom the device is locked can unlock it.
    StraightTalk is not a supported carrier... not all features may work.

  • I create a server connection , now : how to deploy the application on it ?

    Hi
    Thank you for reading my post
    I create a server connection in connections Tab , ( a tomcat server )
    Now i want to deploy my web application to that server ,
    can some one give me the steps ?

    File -> New -> Deployment Profiles -> WAR
    And then right click on the .deploy file that was created and choose deploy to...
    Or just read the online documentation and search for the deployment topic.

  • How to deploy the applications?

    I have download some samplecodes from OTN.
    For example,"EditRecordHr".Open it in Jdeveloper,and compile and run the emp_edit.jsp. The status box show "Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized".Then nothing happen.
    QUESTION:
    How can I run the example in the IE.should I install Oracle9iAS independently .
    What steps should I follow to let me can access the example in the IE?
    I am a beginner in java or in jsp.So need your help!
    thanks

    Normally, JDev will automatically launch the web browser for you once it detects that the embedded OC4J server is ready to receive requests. However, in some circumstances JDev 9.0.2 was not able to detect OC4J readiness, and JDev would end up waiting indfinitely.
    These detection problems are fixed in JDev 9.0.3 Preview, so your best bet is to download the preview and retry your samples there.

  • How to deploy cairngorm application with FTP support?

    Hi,
    I have a cairngorm application, it works fine in my local
    computer.
    But I need to upload it to a website in my web hosting
    company with FTP,
    but it doesn't work in the hosting server because I can not
    add the cairngorm.swc file to the application.
    Please give me a idea how to deploy the application with ftp
    software.
    Thanks a lot
    Mark

    Any opinions are welcome

  • How to deploy the web.xml file when trying to use the JSP SDK from SAP?

    I want to use the adduser.jsp which downloaded form SAP SDK samples to add user in BO, but I cannot run it sucessfully. I believe it's caused the web.xml file was not deployed appropriately.
    could you please teach how to deploy the web.xml file for the JSP samples ?
    Could you show me some sample of web.xml for the SDK jsp files? Thank you very much!

    Ensure that you have followed below directory structure while deploying your web application.
       web_application_name
          WEB-INF
             lib
             classes
    web.xml must be placed in WEB-INF. Ensure that you have included all the jar files and other necessary files in your application.
    For more information refer to the below link:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Regards,
    Anuj

  • How to change the Data sources after deploying the application ??

    Hi All,
    i want to know how to change the Data sources after deploying the application to the application server ???
    I'm using Oracle Application Server 10g Release 3 (10.1.3.1.0)

    Can you access the Enrprise Manager website of the target Application Server from your location? If so, you can change the datasource in it. If not, yo can bundle the datasource definition in your archive and use that one instead of the one configured in the target OC4J container. Or this will just be the responsability of your customer: whenever you send a new WAR file, they have to modify the datasource if needed and deploy the application?

  • How to deploy the finished app (JSF)?

    Hi Guys,
    may be the question is obvious, but I spent enough time fighting with this IDE, that I don't want to waste any minute more.
    The problem:
    I prepared my web-app in JSF. Now I'd like to take it outside of the environment and run on a extern server (not started from Eclipse of course). but HOW?
    Is it possible to generate a war? Do I have to copy my application manually from the workspace? What about the non-standard of the directories-structure (all in "web" directory: WEB-INF inside) and the deployment on the target-server? I would just like to take it to the for example Tomcat and just start it. but it doesn't work in this way..
    Some hints? Many thanks in advance.
    kubek

    Currently Workshop does not support creation of .war file. You can use the popular ant utility tool to build the war file.
    FYI, most of the servers support exploded directory deployment - meaning no need to bundle in a war file. If you have created the web application using Workshop wizard then all the contents of "web" folder can be deployed (copied) to the server.
    Ex: Tomcat
    - Copy the content of "web" to tomcat-home\webapps<application-name>
    - start server
    - access http:\\localhost:8080\application-name
    OR
    Alternatively, you can also deploy the application with the help of Tomcat's server.xml
    - Open <tomcat-home>conf\server.xml
    - include a context-element for your application
    <Context debug="0" docBase="/C:/workshop-home/eclipse/workspace/workshop-tour/site/" path="" reloadable="true" />
    - save file
    - start server
    - access http:\\localhost:8080\

  • MDS error while deploying the application in 12c

    Hi,
    I'm  using JDeveloper -  12.1.2.0.0
    I'm trying to deploy the application and encountered the following error:
    oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document   
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "WebCenterFileMetadataStore" is invalid.   
    MDS-01255: The property partition-name has not been supplied.
    I see the MDS metadata entries are present in adf-config.xml located at .adf folder.
    The same configurations are working in 11g environment, but seing this error in 12c.
    Are there any changes to be done for adf-config.xml file in 12c setup?
    Any inputs would be helpful.
    Thanks
    Ravi

    Ravi, have you migrated the application?
    If yes you should make a small test with a fresh 12c app to see how the descriptors have changed.
    The release notes don't reveal a change in the setup. !"c migration on the other side sometimes adds descriptos or add entries into the meta data. Thats why I always try to create a app under12c first to see which entries and descriptors are needed. Then I compare them with the data after the migration.
    Timo

  • Error in deploying the application in WL9.2 mp1

    Hi,
    I am using WL 9.2.1 and my OS is Windows XP. My build is coming fine and when i start my server after adding the project to it. It shows the following errors while publishing. Can anybody help me. I am also not able to deploye the application from console.
    <This is an unexpected exception.
    weblogic.application.internal.DeploymentStateChecker$DeploymentAssertionError: Unexpected transition: current state for application GlobalPrimeConsumerEAR : STATE_NEW attempt to transition to STATE_ADMIN
    Dumping 3 callbacks
    ---------------------- BEGIN CALLBACK DUMP -------
    java.lang.Exception: prepare
         at weblogic.application.internal.DeploymentStateChecker.save(DeploymentStateChecker.java:141)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:146)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.lang.Exception: activate
         at weblogic.application.internal.DeploymentStateChecker.save(DeploymentStateChecker.java:141)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:153)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:131)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.lang.Exception: unprepare
         at weblogic.application.internal.DeploymentStateChecker.save(DeploymentStateChecker.java:141)
         at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:194)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:118)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.silentUnprepare(AbstractOperation.java:684)
         at weblogic.deploy.internal.targetserver.operations.RemoveOperation.removeDeployment(RemoveOperation.java:270)
         at weblogic.deploy.internal.targetserver.operations.RemoveOperation.doCommit(RemoveOperation.java:99)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    ---------------------- END CALLBACK DUMP -------

    the error message seems clear enough. The server expects an action element to have a validation child element. Your struts configuration file is breaking this rule, so an error is thrown. Perhaps you are using a different version of struts on either server? Because there seems to be a difference in the DTD being used to validate the XML configuration files.

  • How to deploy Servlet Application in Weblogic 8.1

    Hi,
    I am new to BEA Weblogic 8.1 .
    I was trying to create a sample application using InelliJ IDea 5.1 , and IntelliJIdea 10.5 . i configured weblogic with IDE , but now i do not know how to deploy my application in weblogic .
    I am new in IntelliJ also .
    So Can anyone tell me how can i deploy a servlet application in any IDE like i also have eclipse indigo.
    Thanks & Regards
    Komi

    Hi Komi
    Basically you deploy your Servlet as a WAR File. I am not familiar with IntellJ IDE. But it should have a provision to export/create a WAR file that has your Servlet. Also I hope you already have web.xml file with 2 sections like this: First you mention full package of your servlet and give it a name. Then enter a mapping url. You will use this url to run your servlet like http://weblogichost:weblogicport/yourWebappcontextroot/myservlet
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <servlet-class>com.abd.def.MyServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>MyServlet</servlet-name>
         <url-pattern>/myservlet</url-pattern>
    </servlet-mapping>
    Coming to deployment, I hope you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
    Refer the online docs for more details on Deployments in Weblogic.
    http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html
    Thanks
    Ravi Jegga

  • Dreamweaver and PhoneGap: How to Edit the Application Manifest for an Android app

    I successfully created an Android app using dreamweaver cs6 and the PhoneGap build service.  I submitted the app and it is live in Google Play.  The only problem is that the app is requiring all kinds of permissions from users that are not necessary for the app.  The app requires Internet access, but it does not require access to the camera or the user's contacts, etc.  I understand that this information is held in the Application Manifest file, but I don't know where that file is.
    Can you help me figure out how to edit the Application Manifest file for my android app?
    Thanks,
    Michael

    To edit permissions, you do so in the config.xml file. After making changes, you can directly upload on build.phonegap.com or from within Dreamweaver.
    See this page for info on customizing config.xml: https://build.phonegap.com/docs/config-xml#features

Maybe you are looking for

  • Text wrap panel blank.

    I'm have trouble with the text wrap panel. When I open up the panel there is no options. Just a blank panel

  • TS4000 Tasks Disappear on Outlook 2007 (Windows 7) when added on iOS 6 device.  They appear for a few seconds, then disappear.

    I just installed iCloud for Windows on my Windows 7 PC, running Outlook 2007 and IE9.  I have been dealing with an annoying issue for years with my iOS 6 devices, where I enter a reminder (which is sync'd to my MS Exchange server), and the reminder d

  • I need help with my DVD drive.

    After 4 hours of wandering around the net and not finding anything of use, I suspect I am posting on the wrong board. But hopefully somebody will do whatever is necessary to get this in the right place. Long story short, my Satellite A215-S4817 DVD d

  • Topic properties

    I am having a real problem with topic properties not cooperating. For some reason, RoboHelp insists on making some of my topic titles lowercase. For example - the title Copyright. It keeps changing the "c" to lowercase. Also, I want the filenames to

  • Converting swf to exe

    Hi I have an application developed in flash with XML database . I couldn't that the user had access my tables in the instalation. The tables must be inside exe and without files temporary during execution time. I need a program to convert swf to exe.