Execute deployment profile in ant

Hi,
is it possible to execute a deployment profile create in JDeveloper in ant?
Thanks,
Koen
[edit]
Started topic before searching the forum.
Re: How can I integrate JDeveloper Deployment profiles into an Ant build sc
Does not seems to work.
[edit]

Hi Koen,
Although there is no way to maintain/generate the ant buildfile directly, it is not too hard to write a buildfile that can build the war/ear and then deploy it. On these links you can find some information on how to do that:
* [Using OC4J Ant tasks for deployment|http://download.oracle.com/docs/cd/E12524_01/web.1013/e12289/anttasks.htm#BEIGEEID]
* [Deploying your webcenter app with ant tasks|http://download.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_deploy.htm#BGBIIFCC]
Basically, you can use <oracle:deploy/> and alike tasks to deploy your app, and other ant tasks to create datasources and shared libraries.
Regards,
Jeroen van Veldhuizen

Similar Messages

  • Convert Deployment profile to ant tasks

    There is any utility to convert deployment profiles (.deploy files) to ant tasks? We are working with Jdev 10.1.3.2
    Thank's in advance.
    Julio.

    Julio,
    Nope. 11g has a nice utility called "ojdeploy" that can be called from ANT, but no help in 10g.
    John

  • Error at the time of Deployment of Composit ---  ant-sca-compile.xml

    Hi,
    While deploying the composite, it’s throwing given error
    [03:03:42 PM] ---- Deployment started. ----
    [03:03:42 PM] Target platform is (Weblogic 10.3).
    [03:03:42 PM] Running dependency analysis...
    [03:03:42 PM] Building...
    [03:03:49 PM] Deploying profile...
    [03:03:50 PM] Wrote Archive Module to H:\AIASOAProject\AIAFrameworkProject\ReceiptListEBS\deploy\sca_ReceiptListEBS_rev1.0.jar
    [03:03:50 PM] Deploying sca_ReceiptListEBS_rev1.0.jar to soa_server1 [edpsvddb002.baea.com.au:8001]
    [03:03:50 PM] Processing sar=/H:/AIASOAProject/AIAFrameworkProject/ReceiptListEBS/deploy/sca_ReceiptListEBS_rev1.0.jar
    [03:03:50 PM] Adding sar file - H:\AIASOAProject\AIAFrameworkProject\ReceiptListEBS\deploy\sca_ReceiptListEBS_rev1.0.jar
    [03:03:50 PM] Preparing to send HTTP request for deployment
    [03:03:50 PM] Creating HTTP connection to host:edpsvddb002.baea.com.au, port:8001
    [03:03:50 PM] Sending internal deployment descriptor
    [03:03:50 PM] Sending archive - sca_ReceiptListEBS_rev1.0.jar
    [03:03:52 PM] Received HTTP response from the server, response code=401
    [03:03:52 PM] Problem in sending HTTP request to the server. Check standard HTTP response code for 401
    [03:03:52 PM] Error deploying archive sca_ReceiptListEBS_rev1.0.jar to soa_server1 [edpsvddb002.baea.com.au:8001]
    [03:03:52 PM] HTTP error code returned [401]
    [03:03:52 PM] No error message is returned from the server.
    [03:03:52 PM] Error deploying archive sca_ReceiptListEBS_rev1.0.jar to soa_server1 [edpsvddb002.baea.com.au:8001]
    [03:03:52 PM] #### Deployment incomplete. ####
    [03:03:52 PM] Error deploying archive file:/H:/AIASOAProject/AIAFrameworkProject/ReceiptListEBS/deploy/sca_ReceiptListEBS_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Buildfile: C:\jdeveloper1112\jdeveloper\bin\ant-sca-compile.xml
    scac:
    *[scac] Validating composite : 'H:\AIASOAProject\AIAFrameworkProject\ReceiptListEBS\composite.xml'*
    *[scac] Error occurred during initialization of VM*
    *[scac] Could not reserve enough space for object heap*
    BUILD FAILED
    C:\jdeveloper1112\jdeveloper\bin\ant-sca-compile.xml:264: Java returned: 1 Check log file : H:\AIASOAProject\AIAFrameworkProject\ReceiptListEBS\SCA-INF\classes\scac.log for errorsTotal time: 1 second
    Is this issue occuring due to server ant-sca-compile.xml or C:\jdeveloper1112\jdeveloper\bin\ant-sca-compile.xml in my desktop.
    Kindly Confirm.
    Regards
    Manish

    Same composite we were able to deploy successfully without any error, from Monday onward we are experiencing this issue.
    We checked in Installation Guide provided by oracle. Oracle has suggested few memory related changes in ant-sca-compile.xml file.
    Increasing Memory to avoid Compilation Errors
    To avoid out-of-memory errors during compilation of a SOA composite application, you need to
    increase the following memory settings.
    To increase memory settings:
    1. Open the ant-sca-compile.xml file in the SOA_HOME/bin directory.
    2. Under the scac element, increase the following memory settings.
    <jvmarg value="-Xms2048m"/>
    <jvmarg value="-Xmx2048m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    3. For Windows change the following memory settings to.
    <jvmarg value="-Xms1536m"/>
    <jvmarg value="-Xmx1536m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    We did those changes but still experiencing same error. I checked H:\AIASOAProject\AIAReceiptInterface\ReceiptListEbizProvider\SCA-INF\classes\scac.log ; file its showing Could not create the Java virtual machine.
    Regards
    Manish

  • Create deployment profile on JDev 9.0.3.2 build 1145 doesn't

    Don't ask, I need to use this version for an old 9iAS portlet project.
    Running JDeveloper on SuSE 9.2 Pro Linux I can compile fine, but attempting to create a deployment profile (r click on project->new->deployment profiles->jar file, simple archive) creates a dialog asking for path and deployment file name.
    Clicking OK in this dialog creates nothing, nada. Any other kind of jar file: nada, nothing.
    I CAN create an Ant build file.
    My privileges are these for jdevhome:
    drwxr-xr-x 3 me users 4096 2005-04-07 09:52 jdev9032home
    This is also in my own /home/me directory.

    Question for extra credit:
    Using JDeveloper 10G, is there a way to create portlets that can be deployed in 9iAS? From our experience, the generated provider does not work. We can deploy the portlet, but not use 9iAS portal to create the link to the provider.

  • Deployment Profile Corrupts the jar file in Linux

    I am facing the follwing issue in the DROP 6 jdev.
    Have created a deployment profile which updates a jar file in <jdev>/extenstion directory. But whenever I try to execute it through jdev, the jar file is getting emptied. Any reason or workarounds for this issue?
    thanks
    Ramesh

    Please post DROP 6 issues on the Oracle internal discussion forums or to the jdev_us list

  • Unable to load ADF Mobile for Android deployment profile.

    Hello,
    I'm trying to implement a simple application on an android platform using this:
    [http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html]
    I already downloaded the updates needed as extensions and started the emulator using the SDK Manager.exe. However, i'm not able to create a deployment profile of type: "ADF Mobile for android". I only find type "ADF Mobile Feature Archive" which doesn't work for me because when i try deploying it, i don't find the "deploy application to emulator" option. Any thoughts?
    Regards,
    Mohamed

    Hi.
    To deploy to the emulator or to a device, you must create a deployment profile on your application, not on the ViewController or ApplicationController projects.
    Best Regards,
    Frédéric.

  • Deployment Profile items are all greyed out

    I am using Jdev 10.1.3.3.0 with Jheadstart. I created an application and started looking at deploying it as a WAR file. I was able to create a connection to the target Application Server with a Successful test connection. The next step is to create a Deployment Profile for the JDeveloper Project. I am following the Jdeveloper Help step 3.
    Step 3   Create a Deployment Profile for the JDeveloper Project
    Deployment profiles are project components that govern the deployment of a project or application. A deployment profile specifies the format and contents of the archive file that will be created.
    To create a deployment profile:
    In the Applications Navigator, select the project for which you want to create a profile.
    Choose File > New to open the New Gallery.
    In the Categories tree, expand General and select Deployment Profiles.
    In the Items list, select a profile type. For ADF applications, you should select one of the following from the Items list: WAR File EAR File
    You can also select Business Components Archive, if you are using ADF Business Components.
    If the desired item is not found or enabled, make sure you selected the correct project, and select All Technologies in the Filter By dropdown list.
    Click OK.
    I problem is that all the items listed under Deployment Profiles are greyed out.
    Thanks for your help in advance.

    Maybe if I select the right object as the project I would fix my own problem.
    Thanks

  • How can I deploy a jar with directory entries using deploy profiles?

    Hi,
    I'm trying to deploy a jar file using deloy profiles, but the jar file deployed contains no directory entry. Why?
    Is it possible to do that using deploy profiles?

    my project looks like this:
    src +
     - test
         +- Main.java
         +- Test.java
    when I create a jar with 'jar -cf‘, I get something like this (with flat folders view):
    META-INF
    test
    Main.class
    MANIFEST.MF
    Test.class
    but when I use deploy profile to deploy a jar, I get this:
    Main.class
    MANIFEST.MF
    Test.class
    The directory entries are missing in the jar file.
    How can I fix this?
    Edited by: zeta on 2013-3-29 上午11:15
    Edited by: zeta on 2013-3-29 上午11:24
    Edited by: zeta on 2013-3-29 上午11:24
    Edited by: zeta on 2013-3-29 上午11:25
    Edited by: zeta on 2013-3-29 上午11:26

  • Deployment profiles problems in 9.0.3.3

    create a deployment profile as "Business Components EJB Session Bean" and click OK. a xxx.bcdeploy file was created successfully. Later on go back to this file, right click and choose "Settings" to edit the deployment profile but found ALL the application module are "Grayed out" (disabled and cannot be changed).
    This happens after I installed Jdeveloper 9.0.3.3 (clean installation). I had no problems in 9.0.3.2.
    Please help! Thanks a lot!

    Note: Haven't observed this problem with non-jsp projects.

  • Material Master: where to maintain "SNP Demand" and "Deployment Profile" ?

    Hello experts,
    the APO material master has on tab "SNP 2" the section "SNP Demand Profile" and "SNP Deployment Profile". For my understanding such profiles allow you to assign the same settings to a lot of products simply using such profile which contain predefined settings.
    Does somebody know where / how I maintain (change, create, delete) such profiles. I was scanning master data and SNP section within customizing SPRO and the within APO application menu tree  under SNP and master data ... but couldn't find it.
    Regards
    Thomas
    Edited by: Thomas Schulze on Mar 10, 2011 2:53 PM

    Thomas
    Use the following tcodes
    /n/sapapo/snp101 - Demand prof
    /n/sapapo/snp102  - Supply
    /n/sapapo/snp111 - Deployment
    And yes you are right , if you look in menu path or SPRO you cant find these . Not sure why.
    Thanks
    Aparna
    Edited by: Aparna.Ranganathan on Mar 10, 2011 4:08 PM

  • Second SOA project refers to name of first in deploy profile

    I have a JDeveloper application called "MiscComposites". In it I created a SOA project called "JMSPublisher0". I then created a second SOA project in the application called "DBPublisher0". When I deployed DBPublisher0 to the service infrastructure directly from JDeveloper I was startled to find that EM was showing my deployed composite as JMSPublisher0.
    Going back to JDeveloper I see that the Project Properties of DBPublisher0 has the Deployment profile pointing to JMSPublisher0 (SOA-SAR File)! The file filters are correct (relevant to the DBPublisher0 project tree) but the deployment JAR name is wrong (references sca_JMSPublisher0${composite.revision_id}.jar).
    Is this a bug or is there some limitation with multiple SOA projects per application? I have other applications with three or four composite projects that seem to be working correctly (they all reference themselves in terms of file filters and composite name for deploy).
    This is with RC2.
    Todd

    Here's an annoying related issue. In Project Properties, I created a new Deployment Profile "MyProfile" to use for DBPublisher0 since the default is corrupt. JDeveloper won't let me edit the JAR name created! It defaults to the wrong "JMSPublisher0" and I can't change it through the IDE. Phooey!

  • JCAPS 5.1.3 deployment profile BUILD error!

    Hello,
    I m getting this error while trying to build deployment profile, can anybody help me please???
    Annotation: Caught Compilation Error(s).
    Please fix before proceeding.
    com.stc.codegen.framework.model.CodeGenException
    at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:493)
    at com.stc.wsclient.design.codegen.impl.WSClientCodelet.generateFiles(WSClientCodelet.java:530)
    at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:640)
    at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1544)
    at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:405)
    at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:308)
    at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:268)
    at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:923)
    at com.stc.codegen.driver.module.DeploymentBuildAction.access$1000(DeploymentBuildAction.java:174)
    at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:599)
    at org.openide.util.Task.run(Task.java:136)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
    Caused by: com.stc.codegen.framework.model.CodeGenException: JaxRpcException in generateBeans() of client JaxRpcCodelet
    at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateBeans(JaxRpcCodelet.java:1143)
    at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:491)
    [catch] ... 11 more

    Hi,
    We have struggled with this error a couple of times in the past. I can't tell you an exact solution to the problem since we havn't found none.
    However, I think it's related to the usage of web services and I think we usually solved it by recreating the involved business process. Sometimes it helped just double clicking the small topic/queue -icon between the web service and the business process in the connectivity map.
    You can also have a look in the business process properties to see if you see something suspicious there (right click on the business process and select properties)..
    /Alex

  • Deploy and Bind ant tasks

    Re,
    I am using the 10.1.3 beta of oc4j and we are starting to run into some problems with using the oracle deploy and bind ant tasks provided. As our application is growing, the deploy task is taking longer and longer (which by itself is not really a problem since that is to be expected, and when I say long it is only a few seconds so it is tolerable). The problem (I think) lies in the ant tasks. Our "bind" tasks depends on the "deploy" task. But, it seems that sometimes the bind task actually starts before the deploy task is finished. So, we are wondering if there is something wrong with the deploy task. Either oc4j is sending a signal that the deploy is complete before it actually is or the deploy ant task is just waiting a few seconds and then assuming it is complete.
    The only way for us to make this problem go away is to run the deploy ant task, look at the console to see that the deploy is finished and then run the bind task separately. Needless to say, that is a bit annoying and hard to automate.
    Any ideas?

    Chris,
    Thanks. I dont think that is it. The process waits a while (so maybe they are the ones doing a sleep).
    I am hoping to find out what is actually happening under the hood and if there is in fact a 'wait' giong on, implore to the development staff that they fix that issue before things are GA. Or, if something else is going on ... maybe I can fix it on my end.
    Thanks,
    Greg

  • HOW-TO load .jars in ORACLE10g Database throug deployment profile in Jd1013

    Hi everybody,
    In Jdev10.1.2 it is very simple to deploy an amount of jars to a database through use of a loadjava deployment profile. The to be deployed jar files are simply added to the additional classpath in the project properties.
    In Jdev1013 there isnt an option path in the project properties as ther is in Jdev1012. Can someone plz tell me how i can load java classes with an loadjava deployment profile in Jdev10.1.3. Where can i add thos jars to the project (how can you add .jars to the additional classpath of the project?)
    Many thx
    Kim

    Anybody?

  • Web Module Deployment Profile Dependencies Bug

    In 903 WAR deployment profiles, the profile dependency tab says that "The selected dependencies will be packaged in the same EAR file as this Web Module."
    Unfortunately JDev not only does the above, it also includes dependant *.jar, *.war files with the resulting war file under WEB-INF/lib/. This means that jar files often occur multiple times in a EAR file.
    The whole build, deploy, debug cycle is very time consuming and this bug just make it worse.

    bump.
    I am having the exact same problem...
    There are a number of configurations regarding the application and/or project deployment profiles that I know work, however as stated above "I need to un-check a jar, save the workspace, re-check the jar then save the workspace again" (the end result being no settings actually changing, just a few saves...) to actually get the deployed application to run.
    Otherwise a 'oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NoClassDefFoundError' is thrown in the WLS server log.
    Once the application is closed and reopened, and deployment is attempted yet again it fails, and the same process is required to make it work again.
    Any help would be greatly appreciated.
    I have an open SR lodged with My Oracle Support: SR 7805211.992, if anyone lurking here with access would like to use it for further reference whilst investigating this problem.
    Regards,
    Matthew.
    Edited by: Matthew Carrigy on 6/10/2009 15:46

Maybe you are looking for

  • ICal dates not properly updated to RAZR datebook

    I recently got a RAZR and was eager to start being able to sync my calendar between my phone and computer. It seemed to be working like a charm at first - all of my June dates were updated on the phone, and entries made on the phone have been showing

  • Button to upload Excel spreadsheet or CSVinto table

    Hello, I know it is possible to add a button to a report in HTML Db that when clicks downloads the contents of the report into a .CSV file that can be read by Excel. I would like to know if it's possible to have a button in HTML Db that when clicked

  • Reading swf files

    Hi, I am fairly new to flash. I have done a little test site (not yet published) for a client. I want to send him the swf file so he can get an idea of the site. Does he need to download flashplayer to view the site? Is there another way to send the

  • ALV TREE add node

    can someone please help me ? I can't find how the method add_node for a alv tree works: CALL METHOD tree->add_node     EXPORTING       i_relat_node_key =       i_relationship   =       i_node_text      =       is_outtab_line   =     IMPORTING       e

  • SAINT import of TU/SPS gets error 207 Invalid Column name 'area'

    Hi, I have installed a EHP5 ECC 6 system, Windows 2008 SQLServer 2008R2. Have used SolMan MaintOpz to download the additional Technical Usages (TU) like HCM and SPS to be imported into the system using transaction SAINT. I am using the stack.xml file