Error deploying JDeveloper project using ant-sca-compile.xml

Hi all, I'm having problems on deploying a JDeveloper project using ant-sca-compile.xml. The output in C:\XXXX\YYYYY\SCA-INF\classes\scac.log is:
java.lang.NoClassDefFoundError: 4\jdeveloper\////oracle_common
Caused by: java.lang.ClassNotFoundException: 4\jdeveloper\....oracle_common
     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Could not find the main class: 4\jdeveloper\/../oracle_common. Program will exit.
Exception in thread "main"
What's missing in wich classpath?
Regards
Efren.

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

Similar Messages

  • JDeveloper build vs ant-sca-compile.xml

    Hi everyone,
    I have a composite containing a Spring component. The component can be compiled and deployed in JDeveloper and works fine. However, when I try to compile the composite with ant-sca-compile.xml Ant script (from my JDeveloper - Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1) for automated testing the build fails on
    Source port type for "MyTestService" does not match target port type for "MyTestSpring"
    Any idea how to fix it? The Spring component (its inteface) is generated from the published WSDL and seems it is the cause of the problem as composites without Spring can be compiled with that script.
    Thanks,
    Jan

    Hi Manish,
    Compilation of Requester and Provider ABCS takes longer time than other AIA components.So check the Xms and Xmx values in ant-sca-compile.xml and check whether it is matching with your OS environment or try setting at a higher value and then try deploying again.
    Is it building properly or is getting stuck at build level only?
    If its issue with deployment then check $FM_HOME/user_projects/domains/[domain_name]/servers/soa_server1/logs/soa-server1-diagnostic.log.
    Rgds,
    Mandrita.

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

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

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

  • Deploying BPEL project using ant script in 11g

    Hi,
    i am just trying to deploy a single BPEL project using ant script.
    please specify what are all the needed jar's to be needed for deploying the project using ant
    and where exactly they have to placed, i mean into which directory i need to place those jar's...
    if u have any specific blog which describes step by step procedurs for single project deployment via ant, please tell me...
    its very urgent..
    thanks in advance...

    Hi',
    The .jar file required will be of the project/composite you want to deploy to server, this jar is inside deploy folder (11G).
    This .jar file gets created when you try to deploy your composite using right click on the project in JDev.
    This .jar can be picked from any location.
    Try this its little more descriptive.
    http://shrikworld.blogspot.com/2011/03/deploying-soa-11g-application-using-ant.html
    -Yatan

  • Issue with ant-sca-compile.xml

    We have installed AIA 11.1.1.3, and using Jdev 11.1.1.3,
    We are facing issue while deploying ABCSImpl Composite(AIA Service Constructor Based composites) through Jdev 11.1.1.3 ,
    SOA-log showing
    Buildfile: C:\Jdev11113\jdeveloper\bin\ant-sca-compile.xml
    scac:
    [scac] Validating composite "H:\AIASOAProject\AIAPOInterface\CreatePurchaseOrderListEbizProvABCSImpl\composite.xml"
    Its not moving forward, Jdeveloper is getting struck during validation step.
    Messages-log showing -
    Compiling...
    Context: MakeProjectAndDependenciesCommand selection=CreatePurchaseOrderListEbizProvABCSImpl.jpr application=AIAPOInterface.jws project=CreatePurchaseOrderListEbizProvABCSImpl.jpr node=CreatePurchaseOrderListEbizProvABCSImpl.jpr
    Its happening with AIA Service Constructor based composites.
    Non Service Constructor based Composites are getting deployed i.e. Provider Service, EBS and Requestor Services are getting deployed.
    Its very urgent kindly provide some suggestions or tips, Its urgent for us.

    Hi Manish,
    Compilation of Requester and Provider ABCS takes longer time than other AIA components.So check the Xms and Xmx values in ant-sca-compile.xml and check whether it is matching with your OS environment or try setting at a higher value and then try deploying again.
    Is it building properly or is getting stuck at build level only?
    If its issue with deployment then check $FM_HOME/user_projects/domains/[domain_name]/servers/soa_server1/logs/soa-server1-diagnostic.log.
    Rgds,
    Mandrita.

  • Deploy bpel project using ant

    Hi,
    I am try to create the build.xml to deploy the bpel project with ant.
    The build.xml and build.properties work fine with Jdev now, but when I use the command line 'ant deploy' to test it, it got following error:
    Buildfile: build.xml
    [echo]
    [echo] oracle.home = "D:/jdevstudio10134"
    [echo] bpel.home = "D:/jdevstudio10134/integration/bpel"
    [echo]
    [java] Java Result: 1
    [taskdef] Could not load definitions from resource com/collaxa/cube/ant/orabpe
    l-antlib.xml. It could not be found.
    pre-build:
    validateTask:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Validating workflow
    [echo] --------------------------------------------------------------
    [echo]
    BUILD FAILED
    D:\Projects\NetApp\SVN\Integration\Item\SourceCode\UpdateItemEbizReqABCSImpl\bui
    ld.xml:72: Could not create task or type of type: validateTask.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'validateTask'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 0 seconds.
    Any hint on it?
    Thanks!

    you need to set environment variables (at least $ORACLE_HOME and $JAVA_HOME), for ant tasks to work from command line.
    If you are trying this on the SOA Suite server, open a devprompt.sh from $ORACLE_HOME/bpel/bin, and it would work from there.
    Regards,
    Shanmu.
    http://www.prshanmu.com/articles/

  • ESB Server connection could not be established via Jdeveloper or using ant

    When I try to deploy a ESB project using ant in a remote virtual linux machine
    via command mode,I am getting deployment failed message as below suggesting to check whether ESB server is running.
    ./ant outputs the following:
    Buildfile: build.xml
    deployProjects:
    [echo] deploying esb project files
    [deployESBProjects] Deployment Failed ...Check if server at 132.146.44.93 is running
    [deployESBProjects] ESB Project </data/ESB_Samples/CPL_US_001> successfully deployed
    [echo] esb project files deployed
    BUILD SUCCESSFUL
    Total time: 0 seconds
    ./opmnctl status -l oututs the following:
    Processes in Instance: SOA_NFT.RHEL4AS
    -------------------------------------------------------------------------------------------------------+------
    ias-component | process-type | pid | status | uid | mused | uptime | ports
    -------------------------------------------------------------------------------------------------------+------
    OC4JGroup:default_group | OC4J:home | 1051 | Alive | 1610238535 |3616 | 20:41:30 | jms:12601,http:8888,rmis:12701,rmi:12401
    ASG | ASG | N/A | Down | N/A | N/A | N/A | N/A
    HTTP_Server | HTTP_Server | 1050 | Alive | 1610238534 |1820 | 20:41:20 | https1:4443,http2:7200,http1:7777
    ./opmnctl status -app outputs the following:
    Applications in Instance: SOA_NFT.RHEL4AS
    application type: OC4J
    pid | name | state | rtid | classification | routable | parent
    1051 | hw_services | started | g_rt_id | internal-BPEL | true | orabpel
    1051 | ruleauthor | started | g_rt_id | internal-Rules | true | default
    1051 | system | started | g_rt_id | external | true |
    1051 | WSIL-App | started | g_rt_id | internal | true | default
    1051 | orainfra | started | g_rt_id | internal | true | default
    1051 | datatags | started | g_rt_id | internal | true | default
    1051 | orabpel | started | g_rt_id | internal-BPEL | true | default
    1051 | gateway | started | g_rt_id | internal-WSM | true | default
    1051 | rulehelp | started | g_rt_id | internal-Rules | true | default
    1051 | ccore | started | g_rt_id | internal-WSM | true | default
    1051 | policymanager | started | g_rt_id | internal-WSM | true | default
    1051 | default | started | g_rt_id | external | true | system
    1051 | esb-rt | started | g_rt_id | internal-ESB | true | esb-dt
    1051 | ascontrol | started | g_rt_id | external | true | system
    1051 | coreman | started | g_rt_id | internal-WSM | true | default
    1051 | esb-dt | started | g_rt_id | internal-ESB | true | default
    1051 | javasso | started | g_rt_id | internal | true | default
    Also when I try to create Appliocation Server connection using opmn port 6003 from my local Jdeveloper,the test connection fails.
    While creating Application Server connection in Jdeveloper, the connection Test succeeds when I select Standalone server and
    using RMI port 12401.Maenwhile, the Integration Server connection using the above Application Server connection created and port 8888 when tested
    displays
    Application Server: OK
    BPEL Process Manager Server: OK
    ESB Server: FAILED
    ESB Server failue detail: ESB connection failed.
    ESB Server connection could not be established.
    The SOA was installed in silent mode after resolving many issues detailed in SR 6622260.992

    Can you try changing the port to 80 while creating connection.

  • How to remotely deploy adf application using ant script

    Please suggest some pointer on how to remotely deploy adf application using ant script.
    I have created automatic inbuild ant script using jdevloper and ojdeploy that create a war file into my adf application deploy folder.
    Now i want my war to be deploy remotely on weblogic server.
    Is there any inbuld functionality provided by jdeveloper for same.
    Can any one please share build.xml for adf application for deploying application remotely.
    I try to use wlserver but not much success.
    Thanks in advance.
    Sumit Bhasin

    [url http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/wldeploy.htm]the docs are pretty good.
    John

  • Error in deploying SOA composite using ant

    Hi,
    When I try to deploy a SOA composite using ant utility, I am getting error as follows:
    C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>ant -f ant-sca-deploy.xml -Dserver
    URL=http://gdiora001.in.ibm.com:7001 -DsarLocation=C:\po\POProcessing\POProcessi
    ng\deploy\sca_POProcessing_rev6-cmdline.jar -Doverwrite=true -Duser=weblogic -Dp
    assword=<<password>> -DforceDefault=true -Dconfigplan=C:\po\POProcessing\POProcessin
    g\POProcessing_dev_cfgplan.xml
    Buildfile: ant-sca-deploy.xml
    [echo] oracle.home = C:\JDeveloper11\MiddlewareHome\jdeveloper\bin/..
    deploy:
    [input] skipping input as property serverURL has already been set.
    [input] skipping input as property sarLocation has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=C:\po\POProcessing\POProcessing\deploy\sca_POPr
    ocessing_rev6-cmdline.jar
    [deployComposite] Adding sar file - C:\po\POProcessing\POProcessing\deploy\sca_P
    OProcessing_rev6-cmdline.jar
    [deployComposite] Creating HTTP connection to host:gdiora001.in.ibm.com, port:70
    01
    [deployComposite] Received HTTP response from the server, response code=404
    [deployComposite] Problem in sending HTTP request to the server. Check standard
    HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
    BUILD SUCCESSFUL
    Total time: 14 seconds
    C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>
    Please note that I am able to successfully deploy the composite from EM, using same SAR and Config Plan files.
    The server URL is also correct.
    I am not sure what is wrong with above ant command.
    Can someone please help me.
    Thanks

    Hi,
    404 response indicates that soa-infra is not running in the host:port/gdiora001.in.ibm.com, port:7001
    Pl make sure that you have soa-infra running in that host/port.
    http://host:port/soa-infra
    For the logs,
    you can find the soa server logs under $DOMAIN_HOME/servers/soa_server1/logs

  • "Error running javac.exe compiler" when using ant to compile Eclipse plugin

    Hi
    I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
    My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
    <!-- ===================================================================
    Compile specified plugin
         target parameters:
              param.plugin.dir: the plugin directory
              param.plugin.targetJarFile: the name of jar file for the given plugin
              param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
              param.fork: indicate if another process is forked to run javac
    =================================================================== -->
    <target name="compilePlugin">
         <!-- Prepare compile environment -->
         <!-- Delete obsolete build folder -->
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
         <!-- Delete obsolete jar file -->
         <delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
         <mkdir dir="${param.plugin.dir}/${build.dir}"/>
         <!-- Compile source codes -->
         <javac      srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
                   destdir="${param.plugin.dir}/${build.dir}"
                   failonerror="${javacFailOnError}"
                   verbose="${javacVerbose}"
                   debug="${javacDebugInfo}"
                   deprecation="${javacDeprecation}"
              optimize="${javacOptimize}"
                   source="${javacSource}"
                   target="${javacTarget}"     
                   fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
              <classpath refid="compile.classpath" />
         </javac>
         <!-- Create plugin jar file -->
         <copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
              <fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
         </copy>
         <jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
    </target>
    Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
    For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
    BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
    Any help is highly appreciated.
    Many thanks
    Oceanman

    I encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
    fork="${param.fork}"
    memoryInitialSize="256m"
    memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
    fork="true"
    memoryInitialSize="256m"
    memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps.

  • ANT_HOME is set incorrectly while deploying BPEL 11g using Ant script

    Hi All,
    I am new to ant script, i am deploying BPEL process(11g) using ant script. I set ANT_HOME to G:\Oracle\Middleware\jdeveloper\ant (the location of ant ) and i set PATH to G:\Oracle\Middleware\jdeveloper\ant\bin
    while excecuting 'call ant -f build.soa.xml deployeComposite -Dtargetenv dev
    i am getting the this error
    "ANT_HOME is set incorrectly or ant could not be located please set ANT_HOME"
    please help me in this issue..
    Thanks in advance

    Why? Just copy/paste the error into Google and help yourself.
    For further assistance with your SOA suite deployment issue, refer to a SOA suite related forum. This has absolutely -nothing- to do with general Java development and especially not the java compiler.

  • Error on SOA packaging using ant

    Hi,
    Im trying to deploy a SOA composite using Ant scripts. My composite refers to wsdl's present in mds. On trying to compile and package the composite, i get the below error. The same composite gets compiled when i try from JDev, can someone please help in letting me know if any configuration is to be done.
    +"+
    +[scac] not part of the command.+
    +[scac] Error redirected to /var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/bpel_scripts/../tmp/SearchService.err+
    +[scac] info: Validating composite "/var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/SearchMaintenanceApplication/SearchService/composite.xml"+
    +[scac] info: Pass+
    +[scac] error: location {/ns:composite}(12,61): Parse of component type files failed, check the adf-config.xml file : "*java.lang.NoClassDefFoundError: oracle/security/jps/internal/api/credstore/CredstoreUtil:* oracle/security/jps/internal/api/credstore/CredstoreUtil"+
    +[antcall] Exiting /var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/bpel_scripts/build.xml.+
    +[antcall] Exiting /var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/bpel_scripts/build.xml.+
    +[antcall] Exiting /var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/bpel_scripts/build.xml.+
    +"+
    Thanks,
    Edited by: user526495 on Jul 16, 2012 2:54 PM

    Hi,
    404 response indicates that soa-infra is not running in the host:port/gdiora001.in.ibm.com, port:7001
    Pl make sure that you have soa-infra running in that host/port.
    http://host:port/soa-infra
    For the logs,
    you can find the soa server logs under $DOMAIN_HOME/servers/soa_server1/logs

  • Error deploying composite projects with partner links in abstract wsdl

    Error while deployment of PartnerLinkCompositeError. The two composites have the same wsdl files, but PartnerLinkCompositeError composite projects has a perter link inside the wsdl.
    <partnerLinkType name="execute_ptt"
    xmlns="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <role name="execute_pttProvider">
    <portType name="tns:execute_ptt"/>
    </role>
    </partnerLinkType>
    The error during deployment
    [04:13:04 PM] Error deploying archive sca_PartnerLinkCompositeError_rev1.0.jar to partition "default" on server soa_server1 [http://158.166.229.41:8001]
    [04:13:04 PM] HTTP error code returned [500]
    [04:13:04 PM] Error message from server:
    There was an error deploying the composite on soa_server1: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1}Mediator1_ep and port execute_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..
    [04:13:04 PM] Check server log for more details.
    [04:13:04 PM] Error deploying archive sca_PartnerLinkCompositeError_rev1.0.jar to partition "default" on server soa_server1 [http://158.166.229.41:8001]
    [04:13:04 PM] #### Deployment incomplete. ####
    [04:13:04 PM] Error deploying archive file:/D:/workspace/NIF2/PartnerLinkCompositeError/deploy/sca_PartnerLinkCompositeError_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    What can be the cause for this error?
    Projects for download
    http://www.4shared.com/zip/w5R5zp1G/PartnerLinkCompositeError.html
    http://www.4shared.com/zip/EM7butNF/PartnerLinkComposite.html

    During WSDL design for composite projects like BPM or SOA using JDeveloper WSDL designer or by hand, BE sure that the partner link namespace is in the root of the wsdl definition.
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <wsdl:definitions name="Service"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <wsdl:portType name="execute_ptt">
    </wsdl:portType>
    <wsdl:portType name="callback_ptt">
    </wsdl:portType>
    <plnk:partnerLinkType name="execute_ptt">
    <plnk:role name="execute_pttProvider">
    <plnk:portType name="tns:execute_ptt"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    Example:
    WSDL that will deploy
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <wsdl:definitions name="Mediator1"
    targetNamespace="http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:inp1="http://xmlns.oracle.com/singleString"
    xmlns:tns="http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://xmlns.oracle.com/singleString"
    schemaLocation="xsd/singleString.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="requestMessage">
    <wsdl:part name="request" element="inp1:singleString"/>
    </wsdl:message>
    <wsdl:message name="callbackMessage">
    <wsdl:part name="callback" element="inp1:singleString"/>
    </wsdl:message>
    <wsdl:portType name="execute_ptt">
    <wsdl:operation name="execute">
    <wsdl:input message="tns:requestMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:portType name="callback_ptt">
    <wsdl:operation name="callback">
    <wsdl:input message="tns:callbackMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <plnk:partnerLinkType name="execute_ptt">
    <plnk:role name="execute_pttProvider">
    <plnk:portType name="tns:execute_ptt"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    Seems that Oracle JDeveloper WSDL designer has contribution to this issue since when trying to add a partner link from
    http://www.4shared.com/photo/7D4D4Elx/wsdl_designer.html?
    it creates the wsdl with the following configuration.
    http://www.4shared.com/photo/zb907pXN/wsdl_designer_2.html?
    Maybe will be fixed in next versions of JDeveloper. Until then, use this work suggested around.

  • Auto deploy ADF application using Ant

    Hi
    I am trying to write an Ant script, which compile application, create domain, configure domain, boot server and deploy oracle ADF application. Please advice how to do this.
    I am using Jdeveloger 11g and weblogic 11 g
    Thanks
    Anbu

    Anbu,
    that's quite a task ;-)
    All this can be done. Essentially you can use ojdeploy to compile a project and deploy it to an ear. You can use WLST to write scripts to create and configure a domain. A shell script then can start the nodemanager and all other servers you need (e.g. the new domain you created). The last part is to deploy the app.
    Beside the ojdeploy all this is beyond this forum :-(
    For WLST look in {forum:id=598} and the docs of cause.
    Timo

  • Deployed Android project using Flash Builder Burrito not working on mobiles

    Hi,
    I have created a simple "Hello World" Application using Flash Builder Burrito SDK. I have tested the result in the emulator it is working great.
    After that i deployed the application using "Export Release Build Option" and entered valid certificate details and created the .apk file. I copied the .apk file into the device and i run the application. Iam unable to run the app. I have tried these in 3 android supported devices and in each of these i am getting different error messages. I have mentioned the device in which i have tested and the error message i got while i tried to install the app (.apk file)
    HTC Desire - "Error while parsing the package of the application"
    Samsung Galaxy Tab - "Error while parsing the package of the application"
    LG Optimus one (LG P500) - "Application not installed"
    I have created a New Mobile Project in the flash SDK and added simple label "HELLO WORLD" in the view section.
    Before deploying i have installed Adobe AIR 2.5 in the device.
    Whether iam missing any of the steps to deploy correctly in the device. If so, please let me know. Also i need to know whether any restrictions are there for applications developed using Flash Burrito Preview Release. (whether by default all android mobile version more than 2.1 will support it?)
    Also when i try to install "Tour De Mobile Flex" apk in LG Optimus, it is saying "Device not supported" message.
    How do i overcome these problems to run the apk file without any problems.
    If you need any other detail please let me know, i will explain it in detail.
    Thanks in Advance,
    Srinivasan.C

    Ok, this is an old post but i still needed a couple of hours to find a solution, so here we go:
    - Most likely you have TWO executable build targets in your project (two mxml that you can launch). If so, go to the Project settings > Flex Applications and remove the one you don't need so you only have one.
    - My case was a bit complex though - i was using an ANE and Coldfucion server. In this case change the Output folder in the Project Properties > Flex Server > Output folder to something like "temp" instead of "C:..." generated by Flex Builder. The Android device gets confused by a "C:" reference but still can understand a local "temp" folder
    I hope i have saved your day

Maybe you are looking for

  • Domain and User Level Security

    Dear Friends Tuxedo Version : 8.0 Weblogic Server: 7.0 Operating System : Win 2000 I have successfully run the simpapp example with WTC as the connector between the remote domain (tuxedo) and local domain (WLS). Now, i want to perform authentication,

  • 24" 2008 iMac screen going black

    My 24" 2008 iMac screen keeps going black then coming back after a while. What temperature would it need to get to in order to knock out the display? I have iStat. Also, if the screen fails due to graphics card or other component, is it possible to c

  • One of the ports on my Mac mini is no longer working.

    My iphone doesn't update or sync when I connect it.  What can I do?

  • Profit Center Mandatory in Cost Center Master

    Hi Expert! I would like to know the configuration path to make the option Profit Center Mandatory in cost center master data. Thanks J

  • Adobe Creative Suite 6 FAQ Changed?

    After quoting this text in several posts over the last few days, it seems to have vanished from the FAQ page I cited each time. "Adobe will continue to make Creative Suite 6 available as a perpetual software license, and will provide bug fixes and se