Deploying bpm 11g project sar file using ant task

I am trying to deploy the bpm project using ant task file. The status I get is [deployComposite] ---->Deploying composite success. However when I check the deployments, they are not there. If I try to deploy this using Jdeveloper it works correctly. I need to get this to work for production deployments. Any suggestions?
C:\Oracle\Middleware\Oracle_SOA1\bin>ant -f ant-sca-deploy.xml -DserverURL=http:
//10.140.183.71:7001 -DsarLocation=N:\RuleBasedProjectInitiate\deploy\RequestPro
ject.ear -Doverwrite=true -Duser=weblogic
Buildfile: C:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
[echo] oracle.home = C:\Oracle\Middleware\Oracle_SOA1\bin/..
deploy:
[input] skipping input as property serverURL has already been set.
[input] skipping input as property sarLocation has already been set.
[deployComposite] created temp dir =C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cli
ent_1279894885343
[deployComposite] Creating HTTP connection to host:10.140.183.71, port:7001
[deployComposite] Enter username and password for realm 'default' on host 10.140
.183.71:7001
[deployComposite] Authentication Scheme: Basic
[deployComposite] Username:
weblogic
[deployComposite] Password:
[deployComposite] Received HTTP response from the server, response code=200
[deployComposite] clean up temp dir: C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cl
ient_1279894885343
[deployComposite] ---->Deploying composite success.
BUILD SUCCESSFUL
Total time: 4 seconds
C:\Oracle\Middleware\Oracle_SOA1\bin>

You can always deploy the ADF web apps from the Application (top menu) deploy option. Just make sure you're deploying the EAR profile for the project. Deploying the web projects from the composite deployment wizard can be convenient. But I think it's often the case that you deploy them (the composite and forms) separately (e.g. you make a series of changes to the composite without needed to redeploy the UI projects).
Bottom line is you don't have to delete the projects to be able to modify/deploy them.

Similar Messages

  • Lost ADF Projects when deploying BPM 11g project

    I've run this across a couple other people who are using Oracle BPM 11g. Both have run into the issue but aren't sure what they did to fix the issue.
    I've been able to successfully deploy the ADF projects in my project successfully until this afternoon. Now when I get into the second screen during deployment (the "Task Flow deployment" dialog) I do not see all my ADF projects (at first there were none and now I see two of the 5 ADF projects).
    Has anyone figured out which file is getting corrupted that is causing this problem? Guessing there's an XML file buried somewhere that I can somehow edit and fix.
    I'm guessing I can rebuild the UI projects and they will work, but concerned that they will suddenly disappear again.
    Thanks for any tips you might have.

    You can always deploy the ADF web apps from the Application (top menu) deploy option. Just make sure you're deploying the EAR profile for the project. Deploying the web projects from the composite deployment wizard can be convenient. But I think it's often the case that you deploy them (the composite and forms) separately (e.g. you make a series of changes to the composite without needed to redeploy the UI projects).
    Bottom line is you don't have to delete the projects to be able to modify/deploy them.

  • Deploying a Par file using ANT

    Hi All,
    Can anyone tell me the steps how to deploy a PAR file using ant script on netweaver server.Give me some sample ant file.Suggestions will be rewarded.
    Thank you in advance.
    Regards,
    Karthick

    Hi Karthick,
    see PAR-File deployment with ANT (EP6)
    Hope it helps
    Detlev

  • How to compile Java files using Ant in Eclipse

    Hi All ,
    I would like to compile all Java files using Ant in Eclipse.Since am very new to Ant and Eclipse can someone help me to create a build.xml file and let me know how to compile all the java files.
    For ex , I have placed my java files inside the path C:\HEC\Terab.Initially the Terab folder holds 7 jar files which i had decompiled using JD compiler and placed the unzipped 7 folders (which contains the java files ).Now i have imported the HEC project into Eclipse using New ->Project ->Java Project.after importig it throwed me an error saying missing jar files.again i copied the jar files and placed inside Terab folder with other 7 folder.
    Now How i can compile the java files and convert in to class files.Then after compiling the files i will again need to jar all the 7 folder.
    Please tell me the steps i need to follow.How to write an build.xml file ? where i should keep it ? only one build.xml file is enough or should i write 7 build.xml file for each folder ? Please help me out...
    Thanks & Regards
    Kar1983

    put it another way, what I am trying to do is to compile David Brackeen's ch 18 code from his book. The java sourse files can be downloaded here:
    http://www.brackeen.com/javagamebook/
    my question is that how would I complie all of these file so that I can get the program in ch18src\src\com\brackeen\javagamebook\test\ to run?

  • Change manifest file in existing EAR file with ANT task

    Hi,
    I use ant task (ojdeploy) to create EAR files from ADF application.
    Now I want to add the application version number to MANIFEST.MF.
    Is it possible to do the manifest file modification IN THE EXISTING EAR FILE (or while creating the EAR file with ojdeploy) with ant task or do I have to do the modification in the source MANIFEST.MF and after this create EAR file with ojdeploy?
    BTW: I tried the <ear> task to create the EAR file instead of using ojdeploy but I was not able to find the needed deployment descriptor (appxml="application.xml") in my ADF appication.
    regards
    Peter

    Hi Peter,
    I don't know of a way to do it directly in ANT/ojdeploy. However, you could try exploding the EAR, updating the manifest, and recreating the EAR - cumbersome and slow, but it should work.
    John

  • Using Ant task wlserver/wlconfig: Received exception while creating connection for pool.

    Hi,
    I am using ant tasks wlserver and wlconfig to configure my weblogic server. while creating a connection pool as shown below
    <target name="jdbcinfo">
    <wlconfig password="weblogic"
    username="weblogic"
    url="${url}"
    <query domain="mydomain" type="Server"
    name="myserver" property="serverbean"
    />
    <create type="JDBCConnectionPool"
    name="jdbcpoolA"
    property="jdbcPoolProp">
    <set value="false"
    attribute="ShrinkingEnabled"
    <set value
    attribute="
    <set value="${serverbean}"
    attribute="Targets"/>
    The JDBCConnectionPool is created as long as I don't specified the attribute "Targets"
    Once I add the target I get the following error
    <JDBC> <BEA-001129> <Received exception while creating connection for pool "poolname" invalid arguments in call>
    Please any help will be greatly appreciated.
    Thanks

    In your applicaion module configurations check if you are using 'JDBC URL' or 'JDBC DataSource'. You should use JDBC DataSource. Then make sure that your deployment descriptor (menu 'Application->Application Properties->Deployment) has the 'Auto Generate ...' checkbox set.
    Timo

  • DataSource is getting created without desired JNDI Name using ANT task

    Hi,
    While referring to http://weblogic-wonders.com/weblogic/2010/07/24/datasource-creation-using-ant-task-wlconfig/ when we try to create a DataSource using ANT Task <taskdef name=”wlconfig” classname=”weblogic.ant.taskdefs.management.WLConfig”/>
    We are unable to provide the Desired JNDI Name for our DataSource. It takes the DataSource Name itself as the JNDI Name of the DataSource. If we specify anyother JNDI Name then it doesnt reflect in the AdminConsole. But still the DataSource testing succeeds from the AmdinConsole.
    Is there anything Missing in the Ant Script?
    Thanks
    Jay SenSharma

    I think the attribute name should be JNDINames instead of JNDIName, this is also the name I always use in WLST (and is probably also used by wlconfig), for example,
    videotheekDataSource = cmo.createJDBCSystemResource('VideotheekDataSource');
    jdbcResource = videotheekDataSource.getJDBCResource();
    names = ['jdbc/exampleDS'];
    dataSourceParams = jdbcResource.getJDBCDataSourceParams();
    dataSourceParams.setJNDINames(names);
    Good luck and keep up the good work.

  • Ant deployment scripts for BPM 11g project

    Hi,
    Can i deploy a BPM project containing both BPM and ADF project using Ant script.
    If yes, can somebody share the ant scripts please.
    Any inputs are highly appreciated.
    Thank you,
    ~V

    See links I gave in this Post:Deploying TaskFlow applicaition as part of BPM composite
    Thanks
    Ravi Jegga

  • Generate JDeveloper 11g project files using Ant

    Is there any plug-in or an ant task that someone has written to generate JDeveloper 11g project files (.jpr, .jws) ?
    Thanks
    Ramesh

    Not at this time. However, there is a maven plugin available through the Apache Trinidad project. See the following thread for more information:
    Maven2 plugin
    --Ric                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Need build.xml to create Ear file using Ant in jdeveloper 11g??

    Hi all,
    I think Jdeveloper use ANT to create Ear file and how to get build.xml from Jdeveloper.
    1) I have created ADF Fusion web Application having separte Model and View Controller.
    2) Now when I select View Controller project and then i create New ant-> Build.xml i get the required build.xml which can be used to create war file for my View Controller project.
    3) Similarly when I select Model project and then i create New ant-> Build.xml i get the required build.xml which can be used to create Jarfile for my Model project.
    4) If I select my application and then i click deploy... I'm able to create my ear file having both war file for View Controller and Jar File for Model.
    5) But I dont know how to get built.xml file which will create ear file having both View Controller and Model in it.
    Thanks a lot....

    However note the generated Ant script includes unnecessary targets. See the following blog post: http://one-size-doesnt-fit-all.blogspot.com/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
    CM.

  • Issue in Creating  EAR File Using ANT in ADF 11g of Jdeveloper11g IDE

    Hi
    Rookie to this ADF 11g Framework and during the exploring of ADF 11g gone through ADF essentials in OTN and i did sample application of ANT build script and in the ADF Essentials of Ant i came across creating build.xml,build.properties and finally creating WAR file and currently i want to create EAR file so that EAR file can be deployed to my oracle Weblogic server.But ADF Essentials of ANT is totally confined to build.xml,build.properties,WAR file only ! Can any one suggest me the template build.xml of EAR file of any Sample Application so that i can come across what are the patterns,jars,excluded names,included names of EAR .
    Thanks In Advance,
    Regards
    RK

    RK,
    There are a few options. If I were doing this today, I'd just use ojdeploy (and the ojdeploy ANT task) to create the EAR file with a minimum of fuss (refer to the JDeveloper docs for more information).
    If you wanted to create an EAR file using the same technique that I used in the ADF Development Essentials article, just follow the same techniques - create an EAR file using JDeveloper and unzip it to discover the structure of what it should look like.
    Best,
    John

  • BPM 11G comments and file attachments issue on human tasks

    Hi all,
    We have used JDeveloper 11G and SOA suite 11G + BPM (with PS1,PS2) to create and deploy a simple BPM process. The process consists of two swim-lanes ( Business Analyst and Snr Executive). The BA swim-lane has a human task which which initiates the process and the second swim-lane (SE) has a voting task. Both forms were auto generated.
    ------ Process steps ----
    step 1. The initiator of the process( Business analyst) submits a document and adds comments on the form. (1st swim lane)
    step 2. The task is received by the Snr Executive group and they need to accept or reject the document.
    step 3. If any of the Snr Execs rejects the document, the process flow goes back to the Business analyst(the requester or initiator) for review.
    (the voting group is able to share comments and the file attachments).
    step 4. The business analyst receives a task on her list. This task list should have the comments made by the Snr Execs who rejected the document. ---This is where we are having a problem. The business Analyst, receives the task, but the document and comments are not updated. This still shows the original document and comments, she sent when initiating the process.
    We have opened a SR with My Oracle support and it was suggested we apply a hot fix 9958661, which was done (see output below). Unfortunately this did not solve the problem.
    Questions:
    1. Is the default behavior of BPM 11G ?
    2. How can we change this behavior to do what we want ?
    ---------------------------------------opatch update output -----------------------------------------------------------
    ApplySession adding interim patch '9958661' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9958661 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9958661 are present in Oracle Home.
    The local system has been patched and can be restarted
    I any suggestions would be welcome.
    Thanks
    Mocheche

    Ok, this is what i did:
    - I have a Process Data Object called CustomComments with just 1 attribute called comments.
    - I have added that object to my user screens (adf page)
    - Changed its columns att to 65 and rows to 8 (i chose that layout)
    - Used a tableLayout to add an icon next to this text area to allow the user to add comments:
    <af:commandImageLink shortDesc="addCommentImage" id="addCommentImage" partialSubmit="true" icon="/hw_images/new_ena.png">
         <af:clientListener method="myFunction" type="click"/>
         <af:clientAttribute name="attributeName" value="attributeValue"/>
    </af:commandImageLink>
    I use that clientAttribute to send the logged user to the javascipt.
    - I added this after the af:document on top of the page to make the customComments readonly to the user (you need to do it here because if you set it in the properties the element is not updated later), so the user has to use the button i put to add comments:
    <f:facet name="metaContainer">
         <f:facet name="metaContainer">
         <af:resource type="javascript">
              function readOnly(){
                   var comms = document.getElementById("it1::content");
                   comms.setAttribute("readOnly","true")
         </af:resource>
    </f:facet>
    <af:clientListener method="readOnly" type="load"/>
    - Somewhere i added the javascript the commandLink calls:
    <trh:script id="myScripts">
         function addComment(evt){
              var commentArea = document.getElementById("it1::content");
    var user = evt.getSource().getProperty("user");
    var comm = prompt("Please enter your comment: ","");
              if (comm != null) {
                   if (comm != ""){
                        if (commentArea.value !=""){commentArea.value = commentArea.value + "\n"}
                        commentArea.value = commentArea.value + "user.value" + " : " + comm;
    </trh:script>
    After all this, you have an object that carries the comments from one screen (UI project) to another and is updated each time.
    I know it may not be the perfect solution and that it could be improved a lot, but so far it does what i need so i use it.
    If there is anything i wasnt clear enough, please let me know. Hope this helps.

  • Problem in deployment (BPM 11g Suite)

    Hi,
    I am using BPM 11g suite and created one sample BPM project. But while deployment I am getting some error and not able to deploy my process.
    While deployment I am getting the following error:
    [12:28:31 PM] Deploying 2 profiles...
    [12:28:31 PM] Wrote Web Application Module to C:\JDeveloper\mywork\HelloWorld_OBE\HelloWorld_UI\deploy\HelloWorld_UI.war
    [12:28:32 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\HelloWorld_OBE\deploy\HelloWorld_UI.ear
    [12:28:32 PM] *#### Deployment incomplete. ####*
    [12:28:32 PM] No SOA configured servers found for deploying the archive file:/C:/JDeveloper/mywork/HelloWorld_OBE/HelloWorldProject/deploy/sca_HelloWorldProject_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    PS: I can able to connect to the Integrated Weblogic Server.
    Can someone provide the deployment process step by step as well as how assign Role to participant.
    Any help will be appriciated.
    Bibhu
    Edited by: Bibhuti Bhusan on Nov 18, 2010 2:27 PM
    Edited by: Bibhuti Bhusan on Nov 18, 2010 2:29 PM

    You'll need to deploy to a server that's in a domain that includes SOA/BPM. The integrated WLS server installed with JDev doesn't include SOA/BPM; which I think is the cause of the message: "No SOA configured servers found"
    To be able to deploy you would run config wizard to create a new domain or extend an existing one (but not the integrated JDev server). Another option is to use pre-built VMs that include a server with SOA/BPM installed. There's one for VirtualBox and an AMI/EC2 image available:
    http://www.oracle.com/technetwork/middleware/soasuite/learnmore/vmsoa-172279.html
    http://blogs.oracle.com/bpm/2010/06/bpm_11gr1_now_available_on_ama.html
    Regarding role assignment that can be done 2 ways. From JDev BPM Navigator open the Organization node. In there you'll see the list of defined roles. When you select a role you can manage mapping of participants. You'll see a dialog to connect to the server that contains the users/groups. You can also use the BPM Workspace to do role mapping. If you log in as BPM Admin (user weblogic in the default configuration), you'll see an Administration tab. From there you'll see Organization->Roles as one of the options on the left navigation table.

  • Deployment Descriptor for SOA-SAR files on weblogic?

    Hi,
    i want to access a shared library (that i deployed separately) from within a SOA Project with an SCA composite that is deployed as a SOA-SAR.
    I am using JDeveloper 11.1.1.3 along with the according Weblogic Server and SOA Suite.
    My shared library is deployed correctly, because i can access it from e.g. other web applications. These are deployed as war files and therefore i have a weblogic.xml file, where i define my library-refs. The problem is, that weblogic.xml as well as weblogic-application.xml seem not to be processed when deploying the SOA-SAR file. Is there another descriptor for that, or is it just not possible to access shared libraries from within a SOA Project deployed as SOA-SAR?
    For some more background information, i have my entities deployed as a shared library in weblogic (deployed as a web application(war file)). Now i want to create an SCA composite with a Spring component. A Bean defined in the Spring context shall access the entities from within the shared library.
    I hope someone has a solution for this, because i already spent a lot of time on searching for a solution and did not even get close to one. The closest solution i found was deploying the SCA composite as a web application using in Spring the sca:service tag. In that case i have the problem that i want to use the SCA composite from within another SCA composite and i want it to use a local call, not a SOAP request for performance reasons. So this solution unfortunately doesn't fit my requirements.

    Please ask this in the SOA Suite forum:
    SOA Suite
    You might also find the answer in the SOA Suite 11g docs:
    http://download.oracle.com/docs/cd/E12839_01/soa.htm

  • Deploy soa suite services to HTTPS using Ant

    All,
    I hope somebody can assist. I have developed an ant script, which deploys to a soa server (using Oracle SOA suite 11 R3). This works great for HTTP, but I need to deploy SOA services to a HTTPS configured soa and weblogic server. I have changed the Ant properties for managed.server.port to 8002 and admin.server.port to 7002.
    I then run my ant script in which I encounter the below fault.
    My understanding of the issue is that the deployed soa service does not have the correct SSL certification for the handshake. Can somebody explain me the changes needed in my ant script for the handshake to work?
    Many Thanks
    SR
    D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
         at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.Main.runBuild(Main.java:801)
         at org.apache.tools.ant.Main.startAnt(Main.java:218)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.xml:191: The following error occurred while executing this line:
    D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.xml:324: The following error occurred while executing this line:
    D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         ... 26 more
    Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.xml:324: The following error occurred while executing this line:
    D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         ... 39 more
    Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:127)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
         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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:179)
         at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1367)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.Main.runBuild(Main.java:801)
         at org.apache.tools.ant.Main.startAnt(Main.java:219)
         ... 2 more
    Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
         at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
         at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3366)
         at HTTPClient.HttpOutputStream.closeImpl(HttpOutputStream.java:461)
         at HTTPClient.HttpOutputStream.access$000(HttpOutputStream.java:99)
         at HTTPClient.HttpOutputStream$1.run(HttpOutputStream.java:417)
         at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:666)
         at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:415)
         at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:149)
         at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321)
         at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendCompositeArchives(DeployerHttpClient.java:385)
         at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendRequest(DeployerHttpClient.java:307)
         at oracle.integration.platform.blocks.deploy.servlet.CompositeServletClientBase.sendRequest(CompositeServletClientBase.java:339)
         at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:119)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
         at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.Main.runBuild(Main.java:801)
         at org.apache.tools.ant.Main.startAnt(Main.java:218)
         ... 2 more
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
         at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
         at sun.security.validator.Validator.validate(Validator.java:218)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:125)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:517)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:885)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1113)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
         at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
         at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3366)
         at HTTPClient.HttpOutputStream.closeImpl(HttpOutputStream.java:461)
         at HTTPClient.HttpOutputStream.access$000(HttpOutputStream.java:99)
         at HTTPClient.HttpOutputStream$1.run(HttpOutputStream.java:418)
         at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:666)
         at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:415)
         at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:150)
         at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:322)
         at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendCompositeArchives(DeployerHttpClient.java:385)
         at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendRequest(DeployerHttpClient.java:307)
         at oracle.integration.platform.blocks.deploy.servlet.CompositeServletClientBase.sendRequest(CompositeServletClientBase.java:339)
         at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:119)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
         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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:179)
         at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1367)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.Main.runBuild(Main.java:801)
         at org.apache.tools.ant.Main.startAnt(Main.java:219)
         ... 2 more
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
         at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
         ... 89 more

    Hi atheek1,
    Thanks for your response. I have tried your suggestion, but I am still receiving the same error.
    Please note I am trying to deploy from my windows machine to my local SOA suite 11g app. One of the problems I noticed that my java home was set to JRockit while weblogic points to the Sun jvm. In weblogic the service is pointed to the follow keystore directory:
    C:\Soa11g\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks
    C:\Soa11g\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks
    C:\Soa11g\Oracle\MIDDLE~1\JDK160~1\jre\lib\security\cacerts
    I changed my Java home directory to point to the same jvm as weblogic. If I am not mistaking then this should automatically point to the correct server keystore. I tried to deploy after this change and I received the same error. Next step I thought that I possible need to include an additional key store from the environment I deploy from. I have done this using the InstallCert.java as explained below:
    http://wiki.unisa.edu.au/display/AAI/Add+Certificates+to+your+Java+Keystore
    After this I retried and still I receive the same error. I am new with security so I hope you can provide more help. Please note I have only enabled the SSL for the soa-server.
    Many Thanks
    SR

Maybe you are looking for