Ant Deployment of ESB

i need to build ant scripts for ESB deployment. i can generate the deployment pane, but i am not able to build the DeployESBSuitcas.i got the error like belos
[deployESBSuitcase] ESB System Artifact <D:\sagar\ESB\sample\sample_system.esbsys> appears to be incomplete.
[deployESBSuitcase] Please verify that you have registered this ESB project at least once
[deployESBSuitcase] via JDeveloper's Register with ESB function
[deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeployESBSuitcaseTask.composeQNameKeyedSystemContentMap(DeployESBSu
itcaseTask.java:201)
[deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeployESBSuitcaseTask.applyDeploymentPlanToEsbArtifacts(DeployESBSu
itcaseTask.java:382)
[deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeployESBSuitcaseTask.execute(DeployESBSuitcaseTask.java:494)
[deployESBSuitcase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[deployESBSuitcase] at org.apache.tools.ant.Task.perform(Task.java:364)
[deployESBSuitcase] at org.apache.tools.ant.Target.execute(Target.java:341)
[deployESBSuitcase] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[deployESBSuitcase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[deployESBSuitcase] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[deployESBSuitcase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[deployESBSuitcase] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[deployESBSuitcase] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[deployESBSuitcase] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[deployESBSuitcase] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[deployESBSuitcase] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
BUILD FAILED
D:\sagar\ESB\sample\deployESB.xml:75: ESB System Artifact <D:\sagar\ESB\sample\sample_system.esbsys> appears to be incomplete
Please verify that you have registered this ESB project at least once
via JDeveloper's Register with ESB function
could you please help me in this issue..
thanks
Hari
Edited by: user10222248 on 12 Feb, 2009 3:44 AM
Edited by: user10222248 on 12 Feb, 2009 3:47 AM

Hi,
Can you confirm whether you are able to successfully register your ESB project through JDeveloper? As I can understand from the error description that there are few issues found in sample_system.esbsys file.
Regards,
Sathya

Similar Messages

  • Ant Deployment of ESB DVM (domain value mappings)

    Is there way to deploy domain value mappings stored as xml-files to the ESB using an ant-script?

    Hi Sjoerd,
    I tried to use the ESB client API but got this error when running my ant-task.
    07/10/31 10:46:08 org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded
    07/10/31 10:46:08 at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:294)
    07/10/31 10:46:08 at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)
    07/10/31 10:46:08 at oracle.tip.esb.dvm.configuration.servlet.command.AbstractDVMCommand.getMultipartItems(AbstractDVMCommand.java:44)
    07/10/31 10:46:08 at oracle.tip.esb.dvm.configuration.servlet.command.ImportDVMCommand.execute(ImportDVMCommand.java:44)
    07/10/31 10:46:08 at oracle.tip.esb.configuration.servlet.CommandServlet.doJob(CommandServlet.java:109)
    07/10/31 10:46:08 at oracle.tip.esb.configuration.servlet.CommandServlet.doPost(CommandServlet.java:76)
    07/10/31 10:46:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    07/10/31 10:46:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/10/31 10:46:08 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    07/10/31 10:46:08 at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    07/10/31 10:46:08 at java.security.AccessController.doPrivileged(Native Method)
    07/10/31 10:46:08 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    07/10/31 10:46:08 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    07/10/31 10:46:08 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    07/10/31 10:46:08 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    07/10/31 10:46:08 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/10/31 10:46:08 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/10/31 10:46:08 at java.lang.Thread.run(Thread.java:595)
    Here is my code:
    HashMap<String,String> requestProps = new HashMap<String,String>();
    requestProps.put("zipFile", "DVM-SID-MRTrans-InteractionStatus.xml");
    requestProps.put("importMode", "overwrite");
    ConsoleClient client = ConsoleClientFactory.getConsoleClient(getHost(), getPort(), getUsername(), getPassword());
    client.perform("ImportDVM", requestProps);
    I decompiled the ESB client API and saw that the contentType is hardcoded to application/x-www-form-urlencoded
    Any idea to solve this?
    Regards, Harald

  • Is there a way of changing the jdevappunknown_ folder that Ant deploys to?

    Using Ant DeployESBSuitcase doesn't work when deploying Projects with dependencies.
    Steps to re-create error:
    Create a JDeveloper ESB Project called ‘ProjectB’ and add file adapter called ‘WriteFile’ to write a file. Deploy this project using JDeveloper.
    Create another JDeveloper ESB Project called ‘ProjectA’ and add a file adapter called ‘ReadFile’ to read a file.
    From ProjectA’s routing service add a routing rule and use ‘Browse Target Service Operation’ (Gear wheel icon) and select the deployed ProjectB_WriteFile service.
    Deploy ProjectA using JDeveloper.
    Use Ant to create a deploymentplan file for both projects by running the ExtractESBDeploymentPlan target.
    Note: As these projects are saved under their own directory structure
    C:\Workspace\Local\ProjectA and C:\Workspace\Local\ProjectB you will need to copy the ..\ProjectB\ProjectB_WriteFile.wsdl to the ProjectA folder.
    Confirm that ProjectA and ProjectB Ant build files DeployESBSuitcase properties (esbMetadataServerHost and esbMetaServerPort) point to another server other than the one you have just deployed ProjectA and ProjectB to using JDeveloper. i.e. a clean server that doesn’t know about these Projects
    Deploy ProjectB using Ant’s DeployESBSuitcase target.
    Deploy ProjectA using Ant’s DeployESBSuitcase target.
    An error is now thrown
    C:\Workspace\Local\ProjectA>ant DeployESBSuitcase
    Buildfile: build.xml
    DeployESBSuitcase:
    [echo] Deploying ESB Project ProjectA to serverx
    [deployESBSuitcase] Deployment Attempt Response :
    [deployESBSuitcase] <deploymentSummary>
    [deployESBSuitcase] <message>Entity Deployment Failed</message>
    [deployESBSuitcase] <errors>
    [deployESBSuitcase] <error code="1049" severity="5">
    [deployESBSuitcase] <description>WSDL "esb:///ESB_Projects/Local_ProjectB/ProjectB_WriteFile.wsdl" of service "DefaultSystem.ProjectB_WriteFile" is invalid or unaccessible. Following error is thrown by WSDL Parser : WSDL Parsing Failed: org.apache.slide.structure.ObjectNotFoundException: No object found at /files/ESB_Projects/Local_ProjectB</description>
    [deployESBSuitcase] <fix>Ensure that the WSDL is accessible and valid. If the problem persists, Contact Oracle Support.</fix>
    [deployESBSuitcase] </error>
    [deployESBSuitcase] </errors>
    [deployESBSuitcase] </deploymentSummary>
    [deployESBSuitcase]
    [deployESBSuitcase] Deployment Failed ...Unhandled Exception
    [deployESBSuitcase] java.lang.Exception: Deployment attempt failed, please review deployment attempt response above
    [deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:128)
    [deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:175)
    [deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeployESBSuitcaseTask.execute(DeployESBSuitcaseTask.java:510)
    [deployESBSuitcase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [deployESBSuitcase] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [deployESBSuitcase] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [deployESBSuitcase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [deployESBSuitcase] at java.lang.reflect.Method.invoke(Method.java:585)
    [deployESBSuitcase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [deployESBSuitcase] at org.apache.tools.ant.Task.perform(Task.java:348)
    [deployESBSuitcase] at org.apache.tools.ant.Target.execute(Target.java:357)
    [deployESBSuitcase] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [deployESBSuitcase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [deployESBSuitcase] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [deployESBSuitcase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [deployESBSuitcase] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [deployESBSuitcase] at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [deployESBSuitcase] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [deployESBSuitcase] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [deployESBSuitcase] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    BUILD FAILED
    java.lang.Exception: Deployment attempt failed, please review deployment attempt response above
    at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:128)
    at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:175)
    at oracle.tip.esb.client.anttasks.DeployESBSuitcaseTask.execute(DeployESBSuitcaseTask.java:510)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    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:585)
    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:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Total time: 2 seconds
    C:\Workspace\Local\ProjectA>
    This error is thrown as ProjectB’s wsdl file cannot be found under esb:///ESB_Projects/Local_ProjectB/ProjectB_WriteFile.wsdl.
    This is due to Ant deploying ProjectB under …\ESB_Projects\jdevappunknown_ rather than …\ESB_Projects\Local_ProjectB
    When deploying ESB projects from JDeveloper they are created under the following structure: <Oracle_Home>\integration\esb\oraesb\artifacts\store\metadata\files\ESB_Projects\<JDev_Workspace>\<Project_Name>
    However when using the Ant target DeployESBSuitcase ALL projects are deployed to the same folder:
    <Oracle_Home>\integration\esb\oraesb\artifacts\store\metadata\files\ESB_Projects\jdevappunknown_
    Is there a way of changing the jdevappunknown folder used by Ant deployments?
    Edited by: user2000 on Apr 27, 2009 3:37 PM

    James,
    Following my steps above I don't get anything in the deploymentPlan for either ProjectA or ProjectB which includes a WSDL URL I can modify.
    ProjectA includes the ProjectB_WrieFile.esbsv file which contains the following line:
    <wsdlURL>esb:///ESB_Projects/Local_ProjectB/ProjectB_Write.wsdl</wsdlURL>
    Is there something I can change which will mean when I regenerate the deploymentPlan it will include the WSDL location?
    Thanks
    Alistair
    Edited by: user2000 on Apr 28, 2009 11:55 AM
    I've included Both Deployment Plans:
    ProjectA Deployment Plan
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <deploymentPlan>
    <serviceDeploymentPlan qname="DefaultSystem.ProjectA_ReadFile" status="ENABLED">
    <parent type="system" qname="DefaultSystem"/>
    <properties>
    <jcaOperation>
    <property value="Read" name="LogicalDirectory"/>
    <property value="oracle.tip.adapter.file.inbound.FileActivationSpec" name="ActivationSpec"/>
    <property value="Archive" name="LogicalArchiveDirectory"/>
    <property value="true" name="DeleteFile"/>
    <property value=".*\.txt" name="IncludeFiles"/>
    <property value="60" name="PollingFrequency"/>
    <property value="0" name="MinimumAge"/>
    <property value="true" name="OpaqueSchema"/>
    </jcaOperation>
    <jcaAddress>
    <property value="eis/FileAdapter" name="location"/>
    <property value="*.txt" name="UIincludeWildcard"/>
    </jcaAddress>
    </properties>
    </serviceDeploymentPlan>
    <serviceDeploymentPlan qname="DefaultSystem.ProjectA_ReadFile_RS" status="ENABLED">
    <parent type="system" qname="DefaultSystem"/>
    <properties>
    <serviceDefinition>
    <property value="ProjectA_ReadFile.wsdl" name="wsdlURL"/>
    </serviceDefinition>
    </properties>
    </serviceDeploymentPlan>
    <serviceDeploymentPlan qname="DefaultSystem.ProjectB_WriteFile" status="ENABLED">
    <parent type="system" qname="DefaultSystem"/>
    <properties>
    <jcaOperation>
    <property value="Write" name="LogicalDirectory"/>
    <property value="oracle.tip.adapter.file.outbound.FileInteractionSpec" name="InteractionSpec"/>
    <property value="ProjectB_%SEQ%.txt" name="FileNamingConvention"/>
    <property value="1" name="NumberMessages"/>
    <property value="true" name="OpaqueSchema"/>
    </jcaOperation>
    <jcaAddress>
    <property value="eis/FileAdapter" name="location"/>
    </jcaAddress>
    </properties>
    </serviceDeploymentPlan>
    </deploymentPlan>
    Project B Deployment Plan
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <deploymentPlan>
    <serviceDeploymentPlan qname="DefaultSystem.ProjectB_WriteFile" status="ENABLED">
    <parent type="system" qname="DefaultSystem"/>
    <properties>
    <jcaOperation>
    <property value="Write" name="LogicalDirectory"/>
    <property value="oracle.tip.adapter.file.outbound.FileInteractionSpec" name="InteractionSpec"/>
    <property value="ProjectB_%SEQ%.txt" name="FileNamingConvention"/>
    <property value="1" name="NumberMessages"/>
    <property value="true" name="OpaqueSchema"/>
    </jcaOperation>
    <jcaAddress>
    <property value="eis/FileAdapter" name="location"/>
    </jcaAddress>
    </properties>
    </serviceDeploymentPlan>
    </deploymentPlan>

  • How do I create only SOAP WSDL bindings when deploying my ESB?

    Currently when I use either jDeveloper or the ant deployESBSuitcase task to deploy the ESB that is the entry point to my application I get two bindings in the deployed wsdl. One soap binding that my client will be using and another esb binding. Is it possible to modify the deployment plan to only generate the SOAP binding? Do I need to have the esb binding for an esb that is only used as the entry point to my application? I would prefer to have the wsdl that is exposed to my clients to not have the vendor extensions if possible.
    thanks

    I have experienced the exact same problem. There is no good solution to these poorly designed and overly complex login protocols. After unsuccessfully trying to retrieve my password or change my password  I finally set up a new email account, a new Apple ID and a new iTunes account.
    I know it is not a good solution, but it worked.

  • Deployment of ESB for 10.1.3.4 (trying to amend Endpoint properties)

    I have downloaded the new deployment code (esbdeploymentautomation) to enable you to deploy an ESB between environments.
    I am deplying an ESB process from Dev to Systest.
    I have amended the build_tst.properties file to include all the relevant info and the build.properties.
    At the bottom of this file I have added
    # Values required for replace tasks.
    code_dir=C:\Project\Client\jdev\jdev\mywork\dii\esbInt110Flow
    search_text=/u01/esb/out/XX/int110_01
    replace_text=/u01/esb/XX/INT110/out
    These lines are trying to change the Endpoint property of a FileAdapter where the directories are different in the new environment.
    I run extract.sh and it successfully creates a deploymentPlan_tst.xml. Great!!
    I can then successfully run the deploy.sh and it deploys my ESB into the new environment but it doesn't change the Endpoint property.
    When you look at the log files generated it doesn't even appear to try and run the replaceToken process.
    Any ideas if this replaceTokens actually works?
    When the extract.sh is run it also generates logging which seems to suggest the replaceTokens runs after the DeployESBSuitcase:
    *Build sequence for target(s) `ExtractESBDeploymentPlan' is [ExtractESBDeploymentPlan]*
    *Complete build sequence is [ExtractESBDeploymentPlan, DeployESBSuitcase, replaceTokens, usage, UndeployESBEntities, ]*
    But from what I can see when you finally run the deploy.sh it only runs the DeployESBSuitcase process and nothing else.
    The only reason for using this automaytion process is so that we can amend Endpoint properties and URLs as we deploy but this is the part that doesn't seem to work....
    Help!!
    Regards
    Stuart

    You need to run the replaceToken before the deployESBSuitecase.
    Here is my example, it does a find and replace on host name
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <project name="ESBDeploymentProject" default="usage">
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Properties
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <property environment="env"/>
    <property name="esbProjectToDeploy" value="${basedir}/deployment"/>
    <property name="deploymentPlanFilename" value="${esbProjectToDeploy}/deploymentPlan.xml"/>
    <property name="ImportFilename" value="${env.ORACLE_HOME}/Deployment/deploy/lib/ESBMetadataMigrationTaskdefs.xml"/>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Environment specific properties
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <echo>Property Files ${env.ORACLE_HOME}/Deployment/deploy/resources/esb.${env.paramtarget}.properties</echo>
    <property file="${env.ORACLE_HOME}/Deployment/deploy/resources/esb.${env.paramtarget}.properties" />
    <property name="targetDeploymentPlanFilename" value="${esbProjectToDeploy}/${esb.deployTargetPlan}"/>
    <target name="param-target-chk" unless="env.paramtarget">
    <fail message="Target deployment environment parameter not set" />
    </target>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Import, to enable the custom ESB Metadata Deployment ant tasks
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <echo>Import ${ImportFilename}</echo>
    <import file="${ImportFilename}"/>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - ESB Deployment Automation
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <target name="DeployESBProject" depends="param-target-chk">
    <deployESBProjects
    esbMetadataServerHostname="${soa.suite.hostname}"
    esbMetadataServerPort="${soa.suite.port}"
    userName="${soa.suite.admin.username}"
    password="${env.soapassword}">
    <esbProject directory="${basedir}"/>
    </deployESBProjects>
    </target>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - List the GUID's for the UndeployESBEntities target e.g.:
    <system guid="8D61C3F0871111DB8F2675C60E6C31C6"/>
    <serviceGroup guid="0EB5F380896111DBBFBC9530C01627AC"/>
    <service guid="0547F370841611DBBFCF2D9BF80323FA"/>
    <serviceGroup guid="B90E6B70895F11DBAF1483EEF470B835"/>
    <system guid="A62C91C1841511DBBFCF2D9BF80323FA"/>
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <target name="UndeployESBEntities" depends="param-target-chk">
    <undeployESBEntities
    esbMetadataServerHostname="${soa.suite.hostname}"
    esbMetadataServerPort="${soa.suite.port}"
    userName="${soa.suite.admin.username}"
    password="${env.soapassword}">
    <system guid="ED8243D1B9A211DCAF33D38D99DD8682"/>
    <service guid="63085310B9A311DCAF33D38D99DD8682"/>
    </undeployESBEntities>
    </target>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Metadata Promotion to different ESB Metadata Servers (environments)
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <target name="ExtractESBDeploymentPlan">
    <mkdir dir="${esbProjectToDeploy}"/>
    <delete file="${deploymentPlanFilename}" verbose="true"/>
    <extractESBDeploymentPlan
    sourceDir="${basedir}"
    deploymentPlanFile="${deploymentPlanFilename}"/>
    </target>
    <target name="ModifyESBDeploymentPlan" depends="param-target-chk">
    <!-- <xmltask source="${deploymentPlanFilename}" dest="${targetDeploymentPlanFilename}">
    <replace path="/deploymentPlan/systemDeploymentPlan/properties/property[@name = 'Host']/@value" withText="${soa.suite.hostname}" />
    <replace path="/deploymentPlan/systemDeploymentPlan/properties/property[@name = 'Port']/@value" withText="${soa.suite.port}" />
    </xmltask> -->
    <copy file="${deploymentPlanFilename}" tofile="${targetDeploymentPlanFilename}"/>
    <replaceregexp file="${targetDeploymentPlanFilename}"
    match="http://[^/]*/"
    replace="http://${soa.suite.hostname}:${soa.suite.port}/"
    byline="true" />
    </target>
    <target name="DeployESBSuitcase"
    depends="param-target-chk, ExtractESBDeploymentPlan, ModifyESBDeploymentPlan">
    <deployESBSuitcase
    esbMetadataServerHostname="${soa.suite.hostname}"
    esbMetadataServerPort="${soa.suite.port}"
    sourceDirectory="${basedir}"
    deploymentPlanFilename="${targetDeploymentPlanFilename}"
    forcedDeployment="true"/>
    </target>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Usage
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <target name="usage">
    <echo>
    ======== Environment =====================================================
    SOA_DA_HOME = ${env.SOA_DA_HOME}
    CLASSPATH = ${env.CLASSPATH}
    ANT_HOME = ${env.ANT_HOME}
    ENVIRONMENT = ${env.paramtarget}
    ======== Properties =====================================================
    basedir = ${basedir}
    SOA Suite server = ${soa.suite.hostname}:${soa.suite.port}
    OC4J instance = ${soa.suite.oc4j.instancename}
    ==============================================================================
    </echo>
    <exec executable="ant" dir="${basedir}" vmlauncher="false">
    <arg value="-projecthelp"/>
    </exec>
    </target>
    </project>
    cheers
    James

  • Jvmargs not being placed in jnlp file by ant deploy task

    Hi
    I have an ant deploy task as given below. I run ant to produce the jnlp file. Everything works ok, EXCEPT the jvmargs, and the enclosing platform element, are not copied into the jnlp file.
    Is this the intended behaviour?
    thanks
    graham
    -- ant task ---
    <project name="BuildInfoView" xmlns:fx="javafx:com.sun.javafx.tools.ant">
    <taskdef
         resource="com/sun/javafx/tools/ant/antlib.xml"
         uri="javafx:com.sun.javafx.tools.ant"
         classpath="/Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/lib/ant-javafx.jar"/>
    <fx:deploy
    outdir="../installation/bin"
         outfile="infoview"
    width="800"
         height="500"
         embeddedWidth="100%"
         embeddedHeight="100%">
         <fx:application
              name="Infoview"
              mainClass="com.ods.infoview.Main">
         </fx:application>
         <fx:info
              title="InfoView"
              description="InfoView"
              vendor="OrangeDog">
         </fx:info>
         <fx:permissions elevated="true"/>
         <fx:platform javafx="2.2+">
         <fx:jvmarg value="-Xmx400"/>
         </fx:platform>
    <!--
    cacheCertificates="true"/>
    -->
         <fx:resources>
              <fx:fileset dir="../gradle/output/"/>
         </fx:resources>
    </fx:deploy>
    </project>

    There is a FAQ note about this
    http://java.sun.com/products/javawebstart/faq.html#72
    Bill

  • Java EE Tutorial ant deploy

    Hi
    I have a problem when using the ant deploy command in the hello1 app in the tutorial. I get an error:
    BUILD FAILED
    E:\dev\javaeetutorial5\examples\bp-project\app-server-ant.xml:417: Property javaee.server.passwordfile not specified. Please
    specify the javaee.server.passwordfile property in 'bp-project/build.properties'.
    You will also need to ensure that the passwordfile is present and contains
    AS_ADMIN_PASSWORD.
    can any one point me in the direction for correcting this? Where do i find the password file so i can add it to the app-server-ant.xml file
    Thank you for any help.

    E:\dev\javaeetutorial5\examples\bp-project\app-server-
    ant.xml:417: Property javaee.server.passwordfile not
    specified. Please
    specify the javaee.server.passwordfile
    property in 'bp-project/build.properties'.
    You will also need to ensure that the
    passwordfile is present and contains
    AS_ADMIN_PASSWORD.
    point me in the direction for correcting this? Where
    do i find the password file so i can add it to the
    app-server-ant.xml file
    hank you for any help.Create a password file, say password.txt with the following line
    AS_ADMIN_PASSWORD=<substitue your admin password, most probably adminadmin>
    Open bp-project/build.properties and update the following line
    javaee.server.passwordfile=<absolute path to password.txt, example: c:/appserver/password.txt>
    It is preferrable to create the file password.txt under a directory which has no spaces.
    If bp-project/build.properties does not exist, copy bp-project/build.properties.sample to bp-project/build.properties and update it based on your application server installation.
    - sreeni

  • Ant deploy from Jdev works fine - same ant deploy from command line fails

    Hi
    I'm using Jdev 10.1.3 and OAS 10.1.3 and created some web services. I can deploy using the Wizard in JDev - works fine, created a build.xml file using the <oracle:deploy> ant task. Also work fine from JDeveloper.
    But when running from command line (windows) I get the following:
    d:\>ant deploy
    Buildfile: build.xml
    init:
    compile:
    copy:
    ear:
    [war] Building war: D:\invision\source\INVisionWebService1013\INVisionWebService.war
    [war] Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task)
    [ear] Building ear: D:\invision\source\INVisionWebService1013\deploy\INVisionWebService.ear
    [delete] Deleting: D:\invision\source\INVisionWebService1013\INVisionWebService.war
    deploy:
    BUILD FAILED
    D:\invision\source\INVisionWebService1013\build.xml:282: The following error occurred while executing this line:
    jar:file:/D:/apache/apache-ant-1.6.5/lib/ant-oracle-classes.jar!/oracle/antlib.xml:27: taskdef class oracle.j2ee.ws.tools.wsa.cli.ant.GenProxy cannot be found
    I have studied the web for suggestion also http://download-east.oracle.com/docs/cd/B25221_04/web.1013/b14431/anttasks.htm#sthref164 but nothing seems to work. Tried copying oracle jars to my ant directory (ant version 1.6.5) but still no success (above error message disappered but other came instead).
    Why must this process be so complex. Can anyone help?

    Hi,
    You need to have the following jars in your classpath before firing the ant deploy task.
    ${Oracle_Home}\j2ee\utilities\ant-oracle-classes.jar;
    ${Oracle_Home}\j2ee\home\lib\adminclient.jar;
    ${Oracle_Home}\2ee\home\lib\oc4j-internal.jar;
    ${Oracle_Home}\j2ee\home\lib\javax77.jar;
    ${Oracle_Home}\j2ee\home\lib\javax88.jar;
    ${Oracle_Home}\j2ee\home\lib\jmxri.jar;
    ${Oracle_Home}\OracleAS_1\webservices\lib\wsa.jar;
    Please check your classpath and add the above jars, if not present and try ant deploy task now.
    I suppose it should work fine.
    Hope its helpful.
    Rgds,
    Prashanth Babu.

  • Ant deploy fails

    I installed configured the Java Web Services Dev Pack 1.0_01. I built installed and tested the HelloWorld Java-RPC example without any problem. Next I tried creating a new Web Service but when I try to deploy it I get the following error:
    C:\Projects\MyRPCTest\source>ant deploy
    Buildfile: build.xml
    deploy:
    BUILD FAILED
    Total time: 1 second
    C:\Projects\MyRPCTest\source\build.xml:14: java.io.IOException: Server returned
    HTTP response code: 403 for URL: http://localhost:8080/lmrp/deploy?path=%2Flmrp-jaxrpc
    Has anyone seen this error and know a solution?

    Figured it out. I changed my build.xml to point build.properties in Java Web Services directory.
    <property file="/jwsdp-1_0_01/docs/tutorial/examples/jaxrpc/common/build.properties"/>

  • Ant deploy problem

    Hi, there,
    I'm new to Jave Web Service application developer, I've encounter a problem when I deploy the example "C:\jwstutorial13\examples\gs" , but both "ant build" and "ant package" are successful, when run "ant deploy", I see the following message:
    C:\jwstutorial13\examples\gs>ant deploy
    Buildfile: build.xml
    deploy:
    BUILD FAILED
    file:C:/jwstutorial13/examples/common/targets.xml:41: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/admin/deploy?path=%2Fgs
    pls help me, thanks!!!!

    The problem is that you haven't set the build properties and path variables as described in the tutorial preface:
    http://java.sun.com/webservices/docs/1.3/tutorial/doc/About.html#wp63742
    See the section Building the Examples

  • Working ANT deploy/redeploy example for weblogic 7

    Could someone please post a working example of an ANT-task which
    deploys/redeploys an ear in a running wl 7.x instance ? I've been trying to
    get this to work / find an example of a working task but haven't succeeded
    yet.
    //Linus Nikander - [email protected]

    The current WL7 docs at http://e-docs.bea.com/wls/docs70/programming/deploying.html#1130056
    show a pre-configured ant task shipping with WL7
    I cannot find any instance of the referenced WLDeploy class in any jar file in my WL7 installation [WLS 7 SP4]
    Is a standard distribution [ant deploy, configure tasks and classes] available for use with WLS7 ?
    Hey Linus.[snippage /]
    For WLS 7.0, you could use <java> to call
    weblogic.Deployer passing in the
    appropriate parameters on the arg line. Or, you can
    mimic what we did in
    8.1 by creating customer Ant tasks calling
    weblogic.Deployer for your
    specific use.
    -Chris
    "Linus Nikander" <[email protected]> wrote in
    message
    news:[email protected]..
    Could someone please post a working example of anANT-task which
    deploys/redeploys an ear in a running wl 7.xinstance ? I've been trying
    to
    get this to work / find an example of a workingtask but haven't succeeded
    yet.
    //Linus Nikander - [email protected]

  • OSM Ant deployment failing

    Hi All,
    I am trying to automate the OSM Ant deployment by using the default build.xml provided with the OSM. However while trying to deploy the par file I am running into some database errors it seems.
    I have attached the logs. Can some one help me diagnose the issue?
    Thanks,
    Manish Joshi

    Hi David,
    I had faced the exact same situation, when the build machine could not access the xsd urls used in development/source checked in to source control.
    We could not fix that by making the build machine see the dev urls - as in our case the build machine was the final deployment target.
    The work around we used was a bit messy - it involved using a shell script and a text based config file. The shell script would search and replace urls in the source code based on the config file, after checking out from source control. Then the suitcase gets built fine but the deployment plan would be redundant.
    Maybe you could open a SR, requesting a more rational design for BPEL compilation/attaching deployment plan - if the deployment plan could be applied as a part of compilation step itself before validatiing the schemas etc, then it would solve this problem.
    Thanks,
    Shanmu.
    http://www.prshanmu.com/articles/

  • Unable to deploy or undeploy with Ant on Oracle ESB

    Hello all,
    I'm want to use Ant to deploy my SOA applications, instead of right clicking and choosing 'Register with ESB' for each of the applications in what is currently a suite of 46 and still growing.
    However, when I try to undeploy, I get an error:
    BUILD FAILED
    C:\source\NeoZESBV2\SOA_deploy\build.xml:80: oracle.tip.esb.client.ClientException: Unexpected end of file from server
    at oracle.tip.esb.client.HttpClient.invoke(HttpClient.java:118)
    at oracle.tip.esb.client.impl.ConsoleClientImpl.perform(ConsoleClientImpl.java:148)
    at oracle.tip.esb.client.impl.ConsoleClientImpl.<init>(ConsoleClientImpl.java:71)
    at oracle.tip.esb.client.ConsoleClientFactory.getConsoleClient(ConsoleClientFactory.java:32)
    at oracle.tip.esb.client.anttasks.ESBSystemTask.undeploy(ESBSystemTask.java:66)
    at oracle.tip.esb.client.anttasks.ESBSystemTask.undeploy(ESBSystemTask.java:96)
    at oracle.tip.esb.client.anttasks.UndeployESBEntitiesTask.execute(UndeployESBEntitiesTask.java:188)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.GeneratedMethodAccessor4.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: java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1072)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
    at oracle.tip.esb.client.HttpClient.postAndReceive(HttpClient.java:138)
    at oracle.tip.esb.client.HttpClient.invoke(HttpClient.java:114)
    ... 22 more
    I decided to look into this later and undeployed manually -- it's just 4 systems. But upon deploying, I hit another error:
    deploy:
    [echo] Deploying from C:\source\NeoZESBV2\SOA-001_CGP_SOA-003_OAP
    [deployESBProjects] 11-nov-2010 10:52:06 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
    [deployESBProjects] INFO: I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: socket write error
    [deployESBProjects] 11-nov-2010 10:52:06 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
    [deployESBProjects] INFO: Retrying request
    [deployESBProjects] Deployment Failed ...Check if server is running
    [deployESBProjects] org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated.
    [deployESBProjects]      at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:487)
    [deployESBProjects]      at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
    [deployESBProjects]      at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
    [deployESBProjects]      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    [deployESBProjects]      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    [deployESBProjects]      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    [deployESBProjects]      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    [deployESBProjects]      at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:103)
    [deployESBProjects]      at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:159)
    [deployESBProjects]      at oracle.tip.esb.client.anttasks.ESBProjectTask.deploy(ESBProjectTask.java:107)
    [deployESBProjects]      at oracle.tip.esb.client.anttasks.DeployESBProjectsTask.execute(DeployESBProjectsTask.java:103)
    [deployESBProjects]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [deployESBProjects]      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [deployESBProjects]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [deployESBProjects]      at java.lang.reflect.Method.invoke(Method.java:597)
    [deployESBProjects]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [deployESBProjects]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [deployESBProjects]      at org.apache.tools.ant.Target.execute(Target.java:390)
    [deployESBProjects]      at org.apache.tools.ant.Target.performTasks(Target.java:411)
    [deployESBProjects]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
    [deployESBProjects]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [deployESBProjects]      at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
    [deployESBProjects]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [deployESBProjects]      at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:302)
    [deployESBProjects]      at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
    [deployESBProjects]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [deployESBProjects]      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [deployESBProjects]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [deployESBProjects]      at java.lang.reflect.Method.invoke(Method.java:597)
    [deployESBProjects]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [deployESBProjects]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [deployESBProjects]      at org.apache.tools.ant.Target.execute(Target.java:390)
    [deployESBProjects]      at org.apache.tools.ant.Target.performTasks(Target.java:411)
    [deployESBProjects]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
    [deployESBProjects]      at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
    [deployESBProjects]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [deployESBProjects]      at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
    [deployESBProjects]      at org.apache.tools.ant.Main.runBuild(Main.java:801)
    [deployESBProjects]      at org.apache.tools.ant.Main.startAnt(Main.java:218)
    [deployESBProjects]      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [deployESBProjects]      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    [subant] Exiting C:\source\NeoZESBV2\SOA-001_CGP_SOA-003_OAP\build.xml.
    And now I'm stuck. I understand what the errors mean, but I don't know how to proceed. I checked the credentials and they're okay -- the same as used by jDeveloper.
    Any pointers would be greatly appreciated.
    Edited by SQB on 22-nov-2010 15:09: Formatting error messages.
    Edited by SQB on 22-nov-2010 15:12: Undoing formatting of the stacktraces since it forces the right side of the page off the screen.

    The contents of my ESBMetadataMigrationTaskdefs.xml:<project name="ESBMetadataMigrationTaskdefs"
             xmlns="antlib:org.apache.tools.ant">
      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
       - PROPERTIES, Subject to the installation environment
       - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
      <property name="esbdeployment.home"
                value="../lib/ESB"/>
      <property name="commons.home"
                value="../lib"/>
      <property name="jaxb.home"
                value="../lib"/>
      <property name="soa.suite.home"
                value="C:/Program Files/Oracle/jDeveloper/"/>
      <property name="lib.esb.metadatamigration"
                value="${esbdeployment.home}/ESBMetadataMigration.jar"/>
      <property name="lib.commons.httpclient"
                value="${commons.home}/commons-httpclient-3.1.jar"/>
      <property name="lib.commons.logging"
                value="${commons.home}/commons-logging-1.1.1.jar"/>
      <property name="lib.commons.codec"
                value="${commons.home}/commons-codec-1.4.jar"/>
      <property name="lib.esb.oraesb"
                value="${soa.suite.home}/integration/esb/lib/oraesb.jar"/>
      <property name="lib.jaxb.activation"
                value="${soa.suite.home}/j2ee/home/lib/activation.jar"/>
      <property name="lib.jaxb.api"
                value="${soa.suite.home}/adfp/lib/jaxb-api.jar"/>
      <property name="lib.jaxb.jsr.api"
                value="${soa.suite.home}/integration/lib/jsr173_1.0_api.jar"/>
      <property name="lib.jaxb.impl"
                value="${soa.suite.home}/adfp/lib/jaxb-impl.jar"/>
      <property name="lib.xmlparser"
                value="${soa.suite.home}/lib/xmlparserv2.jar"/>
      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
       - Custom ant task definitions, to enable import.
       - This section should be treated as immutable upon installation.
       - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
      <dirname property="imported.basedir"
               file="${ant.file.ESBMetadataMigrationTaskdefs}"/>
      <taskdef resource="oracle/tip/esb/client/anttasks/antlib.xml">
        <classpath>
          <pathelement location="${lib.esb.metadatamigration}"/>
          <pathelement location="${lib.commons.httpclient}"/>
          <pathelement location="${lib.commons.logging}"/>
          <pathelement location="${lib.commons.codec}"/>
          <pathelement location="${lib.esb.oraesb}"/>
          <pathelement location="${lib.jaxb.activation}"/>
          <pathelement location="${lib.jaxb.api}"/>
          <pathelement location="${lib.jaxb.jsr.api}"/>
          <pathelement location="${lib.jaxb.impl}"/>
          <pathelement location="${lib.xmlparser}"/>
        </classpath>
      </taskdef>
    </project>When running -verbose, I get no complaints about jars not found or anything. Output from that is:Apache Ant version 1.8.1 compiled on April 30 2010
    Trying the default build file: build.xml
    Buildfile: C:\source\NeoZESBV2\SOA_deploy\build.xml
    Detected Java version: 1.6 in: C:\Program Files\Java\jdk1.6.0_17\jre
    Detected OS: Windows XP
    parsing buildfile C:\source\NeoZESBV2\SOA_deploy\build.xml
          with URI = file:/C:/source/NeoZESBV2/SOA_deploy/build.xml
    Project base dir set to: C:\source\NeoZESBV2\SOA_deploy
    parsing buildfile jar:file:/C:/Program%20Files/Oracle/jDeveloper/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
          with URI = jar:file:/C:/Program%20Files/Oracle/jDeveloper/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
          from a zip file
    [property] Loading C:\source\NeoZESBV2\SOA_deploy\build.properties
    Importing file C:\source\NeoZESBV2\SOA_deploy\copy.scriptdef.xml
          from C:\source\NeoZESBV2\SOA_deploy\build.xml
    parsing buildfile C:\source\NeoZESBV2\SOA_deploy\copy.scriptdef.xml
          with URI = file:/C:/source/NeoZESBV2/SOA_deploy/copy.scriptdef.xml
    Importing file C:\source\NeoZESBV2\SOA_deploy\ESBMetadataMigrationTaskdefs.xml
          from C:\source\NeoZESBV2\SOA_deploy\build.xml
    parsing buildfile C:\source\NeoZESBV2\SOA_deploy\ESBMetadataMigrationTaskdefs.xml
          with URI = file:/C:/source/NeoZESBV2/SOA_deploy/ESBMetadataMigrationTaskdefs.xml
    parsing buildfile jar:file:/C:/source/NeoZESBV2/lib/ESB/ESBMetadataMigration.jar!/oracle/tip/esb/client/anttasks/antlib.xml
          with URI = jar:file:/C:/source/NeoZESBV2/lib/ESB/ESBMetadataMigration.jar!/oracle/tip/esb/client/anttasks/antlib.xml
          from a zip file
    Build sequence for target(s) `undeploy' is [init, undeploy]
    Complete build sequence is [init, undeploy, prepare, clean_build_xml, post_build_cleanup, deploy_all, deploy, ]
    init:
         [echo] Target ESB:   zlm-esbob
         [echo] ESB soort:    ontwikkel_test
         [echo] Productie:    nee
         [echo] ABZ Audascan: demo
         [echo] ABZ overig:   demo
    undeploy:
    [undeployESBEntities] Undeploying specified ESB Systems
    [undeployESBEntities]       guid=<7A4142808A9D11DFBF8C9DA3034837B5> ...after which the error occurs.
    I found no useful logging on the server; is there any specific place I should look and may have overlooked?
    Edited by: SQB on 24-nov-2010 9:57 (formatting)

  • ANT Deployment issue. works fine in one environment but fails in other

    Hi,
    Ant script is working fine in Dev environment but is failing in the other environment. Somehow the BPEL server is not able to pick the latest deployed process , due to this the dependent BPEL processes are failing. If we restart the server , it moves forward and then fails at the point where it couldn’t find reference to the processes deployed after restart. Restarting the server at every failed interval will deploy all the BPEL processes which is not the solution.
    example : we have BPEL Processes say A, B, C, D and E. A,B are independent processes C is dependent on A, D is independent and E is dependent on D. So I have Ant script to deploy in A,B,C,D,E order. Now I run the Ant Script: It deploys A,B processes and Fails at C saying it couldn't find the process A.wsdl(But A is deployed). So if i restart now it recognizes A and B are deployed so C is also deployed succesfully it also deploys D as it is Independent but fails at E. If i restart the server E is also deployed.
    The Environment is clustered.
    Any suggestion to make my Ant script to run at a go will be highly appreciated
    Thanks
    Krishna

    Hi KrishnaBhaskarla,
    I have something related to ant script, Can you please provide me the steps for deploying applications using ant script.
    Regards
    Kumar

  • ANT Deployment Error

    Hello,
    I'm having error while deploying a composite to the Weblogic
    I have Set the ANT_HOME and JAVA_HOME, SOA_HOME properly, but when i type following and deployment command
    $ANT_HOME/bin/ant -f $SOA_HOME/ant-sca-deploy.xml -DserverURL=http://HOST:PORT -DsarLocation=/XX/XX/sca_XX_rev1.0.jar -Doverwrite=true -Duser=testuser -DforceDefault=true -Dpartition=default
    I get following error
    Buildfile: /XX/XX/XX/middleware/Oracle_OSOADEV1/bin/ant-sca-deploy.xml
    [echo] oracle.home = /XX/XX/XX/middleware/Oracle_OSOADEV1/bin/..
    BUILD FAILED
    /XX/XX/XX/middleware/Oracle_OSOADEV1/bin/ant-sca-deploy.xml:52: taskdef class oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask cannot be found
    Can any one share some info on this error ...
    Shirish
    Edited by: shirish_soa on Oct 20, 2012 11:48 PM

    You may need pass the oracle.home as part of the command.
    oracle.home is the path to Oracle_SOA folder
    Try the below command
    $ANT_HOME/bin/ant -f $SOA_HOME/ant-sca-deploy.xml -DserverURL=http://HOST:PORT -Doracle.home=xxx -DsarLocation=/XX/XX/sca_XX_rev1.0.jar -Doverwrite=true -Duser=testuser -DforceDefault=true -Dpartition=default
    Regards
    Albin I
    http://www.albinsblog.com/
    Edited by: Albin on Oct 22, 2012 7:47 AM

Maybe you are looking for

  • Shud i make use of enhancement fwk here ?

    hi, i have extended an idoc and i need to populate the extra segments before sending it out to EDI (outbound). typically we write this code in an user exit. any idea if i can make use of enhancement fwk in this situation ? if so how ? thks

  • How to install a PCI card in my HP 110-335t expansion slot?

    The HP 110-335t desktop comes with one expansion slot, per the product spec. Right? How do I open up the box and install a PCI card? This question was solved. View Solution.

  • Cfselect and time

    Hello, I would like to get some tips on the best way to accomplish what I am trying. Obviously my method is not exactly working the way I wanted it too. I have select boxes for the user to enter the time. I just need some ideas on either a new method

  • SBO 8.8 and Crystal Reports

    Has anyone experienced problems with Crystal Reports after upgrading to 8.8?  Any information will be appreciated.  Crystal stops working unexpectedly and crashes SBO,  just generally acts strangely.  Thanks, Marilyn

  • I need to get older versions of FireFox for qa of our product

    Hello I need to get some older versions of Fire Fox to make sure our product will work with them. Thanks