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.

Similar Messages

  • 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

  • Strange Problem while deploying BPEL processes by ANT Script.

    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
    Edited by: KrishnaBhaskarla on Oct 30, 2008 5:22 PM

    Krishna,
    Could we see your ant script? If you are using oc4j andmin_client.jar, there is a -redeploy command which may prove helpful. You might redeploy AB, then CD, then E.
    -Mike

  • Error while deploying adf application using ant script or jdevloper IDE

    Hi All,
    While deploying adf application into cluster weblogic server I am getting strange error though my weblogic server is working fine as I checked it from weblogic console. Seems that there is some heap memory issue but don’t know the exact cause as it work perfectly if I restart the server.
    Same error i get when i try to deploy application from Jdeveloper IDE though it created the server connection successfully.
    Please help me by provided valuable tips to overcome this problem or any special tips to optimize weblogic server for ADF.
    Thanks in advance
    Error Reference:
    Buildfile: builddeploy.xml
    deploy:
    [wldeploy] weblogic.Deployer -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -deploy
    [wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at WebServercom:7001, as user weblogic
    [wldeploy] [ServerConnectionImpl.getEnvironment():286] : setting environment
    [wldeploy] [ServerConnectionImpl.getEnvironment():289] : getting context using t3://WebServercom:7001
    [wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.domainruntime
    [wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.runtime
    [wldeploy] [DomainManager.resetDomain():36] : Getting new domain
    [wldeploy] [DomainManager.resetDomain():39] : Using pending domain: false
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
    [wldeploy] [ServerConnectionImpl.initialize():169] : Connected to WLS domain: ADR_domain
    [wldeploy] [ServerConnectionImpl.setRemote():480] : Running in remote mode
    [wldeploy] [ServerConnectionImpl.init():159] : Initializing ServerConnection : [email protected]21b
    [wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
    [wldeploy] [BasicOperation.deriveAppName():140] : appname established as: admin
    [wldeploy] <23-Sep-2011 11:05:14 o'clock BST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, admin [archive: W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war], to ADR_Cluster_1 .>
    [wldeploy] [ServerConnectionImpl.upload():849] : Uploaded app to /data/app/Oracle/Middleware/user_projects/domains/ADR_domain/servers/AdminServer/upload/admin
    [wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
    [wldeploy] [BasicOperation.loadGeneralOptions():623] : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] ADR_Cluster_1
    [wldeploy] ModuleTargets={}
    [wldeploy] SubModuleTargets={}
    [wldeploy] }
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy] Deployment Plan: null
    [wldeploy] App root: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin
    [wldeploy] App config: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin\plan
    [wldeploy] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=stage,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=admin,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0,deploymentPrincipalName=null,useExpiredLock=false}
    [wldeploy]
    [wldeploy] [BasicOperation.execute():440] : Initiating deploy operation for app, admin, on targets:
    [wldeploy] [BasicOperation.execute():442] : ADR_Cluster_1
    [wldeploy] Task 5 initiated: [Deployer:149026]deploy application admin on ADR_Cluster_1.
    [wldeploy] dumping Exception stack
    [wldeploy] Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
    [wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
    [wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
    [wldeploy]      at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
    [wldeploy]      at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
    [wldeploy]      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    [wldeploy]      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [wldeploy]      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [wldeploy]
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + admin ADR_Cluster_1
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
    [wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
    [wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
    [wldeploy]      at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
    [wldeploy]      at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
    [wldeploy]      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    [wldeploy]      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [wldeploy]      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [wldeploy]
    [wldeploy]
    [wldeploy]
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:542)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wldeploy]      at weblogic.Deployer.run(Deployer.java:70)
    [wldeploy]      at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    [wldeploy]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [wldeploy]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wldeploy]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wldeploy]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wldeploy]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [wldeploy]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wldeploy]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [wldeploy]      at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [wldeploy]      at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [wldeploy]      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [wldeploy]      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    [wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
    [wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
    [wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection

    Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
    >
    Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
    ADF Desktop Integration
    ADF mBean
    ADF MDS (Seeded customizations or cross-session personalization)
    ADF Mobile
    ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
    ADF Business Components services interfaces (web services) or events
    ADF Data Controls for BI, Essbase, BAM, and JMX
    Further there are some restrictions which are good to know I think
    No Java Mail API (=>Sending Mails is prohibited)
    No File system access by deployed applications (=>Writing files is prohibited)
    No Direct use of Oracle JDBC Driver APIs
    No Java Message Service (JMS)
    Max Size for deployment archive 95MB
    >
    I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
    Timo

  • 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 while deploying BPEL Process using FTPAdapter

    Hi,
    I have process which uses FTPAdapters.
    When I deploy in developer instance it doesn't give any error, but when I
    try to deploy in middle tier instance i get below error
    Error deploying BPEL archive.An error occurred while attempting to deploy the BPEL archive file "bpel_ftpbinarysample_1.0.jar"; the exception reported is: Problem 1: [GetFile_PL.wsdl]: Cannot locate Java class oracle.tip.adapter.ftp.inbound.FTPActivationSpec - please check the spelling.
    I have setup connection parameters in oc4j-ra.xml both developer and middletier versions.
    Regards,
    Avinash
    Can anybody help me in this issue ?

    Hi,
    I have process which uses FTPAdapters.
    When I deploy in developer instance it doesn't give any error, but when I
    try to deploy in middle tier instance i get below error
    Error deploying BPEL archive.An error occurred while attempting to deploy the BPEL archive file "bpel_ftpbinarysample_1.0.jar"; the exception reported is: Problem 1: [GetFile_PL.wsdl]: Cannot locate Java class oracle.tip.adapter.ftp.inbound.FTPActivationSpec - please check the spelling.
    I have setup connection parameters in oc4j-ra.xml both developer and middletier versions.
    Regards,
    Avinash
    Can anybody help me in this issue ?

  • Error getting while deploying BPEL process using CI in peoplesoft adapter

    When i am deploying BPEL process which connects to peoplesoft through component interface (CI) using peoplesoft adapter. I am getting error when i pass the input parameter which fetches data from peoplesoft component.
    after posting XML message following error occurs.
    <faultstring>java.lang.IllegalStateException: Cannot call setRollbackOnly() current thread is NOT associated with a transaction</faultstring>
    any help will be very thankful

    Thanks for your response
    This is the part of log when i am giving request from JCA servlet to JDE test
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() exited.
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFConnection.close() called, on connection: com.ibi.afjca.cci.IWAFConnection@188518f for IWAFManagedConnection: com.ibi.afjca.spi.IWAFManagedConnection@e19158
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [info ] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning dispatch event 1
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection.cleanup() for JDEdwards:JDEFinalMorning entered.
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning cleaned.
    Wed, 23 Jan 2008 10:28:31.0573 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection.destroy() for JDEdwards:JDEFinalMorning entered.
    Wed, 23 Jan 2008 10:28:31.0604 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning destroyed.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection created for JDEdwards:JDEdwardsCFIN
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [info ] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEdwardsCFIN has listener registered: com.evermind.server.connector.ConnectionContext@1f24a78
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFConnection created, com.ibi.afjca.cci.IWAFConnection@1f71eb7, for IWAFManagedConnection: com.ibi.afjca.spi.IWAFManagedConnection@1267d64
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction created.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() entered.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() called with string:
    <jdeRequest type="callmethod" user="ASHISHM" pwd="ASHISHM" environment="JDV811" session="">
    <callMethod name="GetEffectiveAddress" app="" runOnError="no">
    <params>
    <param name="mnAddressNumber">1001</param>
    <param name="jdDateBeginningEffective"></param>
    <param name="cEffectiveDateExistence10"></param>
    <param name="szAddressLine1"></param>
    <param name="szAddressLine2"></param>
    <param name="szAddressLine3"></param>
    <param name="szAddressLine4"></param>
    <param name="szZipCodePostal"></param>
    <param name="szCity"></param>
    <param name="szCountyAddress"></param>
    <param name="szState"></param>
    <param name="szCountry"></param>
    <param name="szUserid"></param>
    <param name="szProgramid"></param>
    <param name="jdDateupdated"></param>
    <param name="szWorkstationid"></param>
    <param name="mnTimelastupdated"></param>
    <param name="szNamealpha"></param>
    <param name="mnSynchronizationStatus"></param>
    <param name="mnServerStatus"></param>
    </params>
    <onError abort="no"></onError>
    </callMethod>
    </jdeRequest>
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() gets the inDoc com.iwaysoftware.idom.XmlDocument@101bde9
    Wed, 23 Jan 2008 10:28:49.0606 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() added at index 0, return record:
    <jdeResponse user="ASHISHM" type="callmethod" session="3780.1201064308.7" environment="DV811" role="*ALL">
    <callMethod app="" name="GetEffectiveAddress" runOnError="no">
    <returnCode code="2"/>
    <params/>
    </callMethod>
    </jdeResponse>
    Wed, 23 Jan 2008 10:28:49.0606 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() return record:
    [<jdeResponse user="ASHISHM" type="callmethod" session="3780.1201064308.7" environment="DV811" role="*ALL">
    <callMethod app="" name="GetEffectiveAddress" runOnError="no">
    <returnCode code="2"/>
    <params/>
    </callMethod>
    </jdeResponse>

  • 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/

  • Problem deploying BPEL process using ANT

    Hi,
    I am trying to deploy BPEL process by executing ANT command from Windows environment.
    JDK version of SOA suite installation and my system is 1.4.2.
    But ANT is throwing the following error
    BUILD FAILED
    java.lang.UnsupportedClassVersionError: com/collaxa/cube/lang/compiler/bpel/depl
    oy/task/generatePlan (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader
    .java:1090)
    at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
    der.java:1154)
    at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110
    7)
    at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)
    at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:161)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:330)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:236)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    131)
    at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:140)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    142)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
    a:91)
    at org.apache.tools.ant.Main.runBuild(Main.java:653)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Total time: 1 second
    java.lang.UnsupportedClassVersionError: com/collaxa/cube/lang/compiler/bpel/depl
    oy/task/generatePlan (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader
    .java:1090)
    at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
    der.java:1154)
    at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110
    7)
    at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)
    at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:161)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:330)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:236)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    131)
    at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:140)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    142)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
    a:91)
    at org.apache.tools.ant.Main.runBuild(Main.java:653)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    com/collaxa/cube/lang/compiler/bpel/deploy/task/generatePlan (Unsupported major.
    minor version 49.0)
    D:\jdevstudio10134\jdev\mywork\BPELPractise\HelloWorldBPELProcess>
    Can any one tell me what could be the problem
    Regards
    Srinivas

    I assume you checked the reasons that are suggested in the message:
    "This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details"
    It looks like a typo...
    Lonneke

  • How to set proxy while deploying a bpel proxy?

    Hi All,
    How can i set proxy while deploying a bpel process. I'm trying to deploy an async bpel process that requires proxy to be set coz to access one of the xsd file requires to go thru a proxy. I have actually set proxy in the following files, setenv.bat and bpel-install.properties under location soa_home\bpel\bin and soa_home\bpel\system\services\install\ant-tasks respectively. When i try to deploy the process through obant.bat, it compiles file but gives an error while deploying stating that it is not able to access the xsd file. While compiling, the proxy setting is taken from setenv.bat and hence compiles successfully, but while deploying it doesn't seem to take the proxy setting set in bpel-install.properties file. Can anyone help me out as to how i can set proxy while deploying???? I'm using soa suite 10.1.3.3.
    The following is the log file of obant execution :
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient>SETLOCAL
    ** OBANT is now deprecated. This will be removed in
    ** the next release. You should use ANT instead.
    Buildfile: build.xml
    Trying to override old definition of task customize
    pre-build:
    validateTask:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Validating workflow
    [echo] --------------------------------------------------------------
    [echo]
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Compiling bpel process PSFTAsyncCalcClient, revision 1.0
    [echo] --------------------------------------------------------------
    [echo]
    [bpelc] validating "C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\bpel\PSFTAsyncCalcClient.bpel" ...
    [bpelc] BPEL suitcase generated in: C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\output\bpel_PSFTAsyncCalcClient_1.0.jar
    deployProcess:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Deploying bpel process PSFTAsyncCalcClient on 10.176.162.42, port 8888
    [echo] --------------------------------------------------------------
    [echo]
    [deployProcess] Deploying process C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\output\bpel_PSFTAsyncCalcClient_1.0.jar
    BUILD FAILED
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\build.xml:79: A problem occu
    red while connecting to server "10.176.162.42" using port "8888": bpel_PSFTAsync
    CalcClient_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "P
    SFTAsyncCalcClient" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element
    In WSDL at "http://localhost/PSIGW/PeopleSoftServiceListeningConnector/ASYNCPSFT
    CALC.1.wsdl", message part element "{http://xmlns.oracle.com/Enterprise/Tools/sc
    hemas/PSFTCALCRESPONSEMESSAGE.V1}PSFTCalcResponseMessage" is not defined in any
    of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL impor
    t is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspat
    h domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.j
    ava:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(Deployment
    Manager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(Deploymen
    tManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainMana
    gerBean.java:445)
    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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoin
    PointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSIntercept
    or.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASIntercep
    tor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterce
    ptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxReq
    uiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSIntercept
    or.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.ja
    va:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(Stateless
    SessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:
    319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:3
    41)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.jav
    a:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispat
    cher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequ
    estDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandl
    er.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandle
    r.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketRead
    Handler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAc
    ceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHa
    ndler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSo
    cketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRes
    ourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 44 seconds
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient>obant >>C:\log.txt
    BUILD FAILED
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\build.xml:79: A problem occu
    red while connecting to server "10.176.162.42" using port "8888": bpel_PSFTAsync
    CalcClient_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "P
    SFTAsyncCalcClient" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element
    In WSDL at "http://localhost/PSIGW/PeopleSoftServiceListeningConnector/ASYNCPSFT
    CALC.1.wsdl", message part element "{http://xmlns.oracle.com/Enterprise/Tools/sc
    hemas/PSFTCALCRESPONSEMESSAGE.V1}PSFTCalcResponseMessage" is not defined in any
    of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL impor
    t is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspat
    h domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.j
    ava:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(Deployment
    Manager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(Deploymen
    tManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainMana
    gerBean.java:445)
    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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoin
    PointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSIntercept
    or.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASIntercep
    tor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterce
    ptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxReq
    uiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSIntercept
    or.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.ja
    va:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(Stateless
    SessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:
    319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:3
    41)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.jav
    a:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispat
    cher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequ
    estDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandl
    er.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandle
    r.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketRead
    Handler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAc
    ceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHa
    ndler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSo
    cketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRes
    ourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 39 seconds
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient>ENDLOCAL
    Thanks in advance...

    Hi all
    I want to connect a secured web service from BPEL 10g. There are no compilation errors. I am getting getting while deploying to BPEL Console.
    I am attaching the full console log.
    I am using JDeveloper 10.1.3.4. I am not getting any error when i deploy from my home PC. I am getting problem in my office only. There may be some blocks for some external URL. I am not able to find out how to resolve the issue.
    I am looking into it... Can you please help me out????
    I am attaching the console log from JDeveloper
    ======================================================================================
    Buildfile: D:\Debarshi\AllWorkspace\CRMOnDemandApplication\AccountObjectProject\build.xml
    [java] Java Result: 1
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process AccountObjectProject on CTSINCALSDV8, port 80
    [deployProcess] Deploying process D:\Debarshi\AllWorkspace\CRMOnDemandApplication\AccountObjectProject\output\bpel_AccountObjectProject_1.0.jar
    BUILD FAILED
    D:\Debarshi\AllWorkspace\CRMOnDemandApplication\AccountObjectProject\build.xml:78: A problem occured while connecting to server "CTSINCALSDV8" using port "80": bpel_AccountObjectProject_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "AccountObjectProject" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10010]: unresolved element
    [Description]: in line 57 of "C:\product\10.1.3.1\OracleAS_1\bpel\domains\default\tmp\.bpel_AccountObjectProject_1.0_c395168db42709156a3350fd7efbeaeb.tmp\AccountObjectProject.bpel", XML element "{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security" of variable "SecurityHeaderVar" is not defined.
    [Potential fix]: Make sure the XML element "{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security" is defined in one of WSDLs that are referenced by the deployment descriptor.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:804)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 12 seconds
    =========================================================================================
    Thanks in advance
    Deb

  • Getting ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. Error while run Financial Reporting Batch Scheduler

    Hi,
    I am running Financial Report batch file via command line i am getting below error.
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>ant -q -f "D:
    \Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~2\bin\BatchAdmin.xml" batch.schedule
    ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>
    Already i have ANT_HOME =D:\Oracle\Middleware\modules\org.apache.ant_1.7.1 and added to ANT_HOME to the PATH variable. I restarted the system but still i am getting same error.
    Please help me on this.
    Thanks,
    Naresh

    Hi Celvin,
    Thanks for the reply.
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>BatchName
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>ScheduleBatch
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin\BatchName.xml ht
    tp://localhost:19000
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>ant -q -f "D:
    \Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~2\bin\BatchAdmin.xml" batch.schedule
    Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\li
    b\tools.jar
         [echo] Batch accepted for scheduling: D:\Oracle\MIDDLE~1\EPMSYS~1\products\
    FINANC~2\bin\Sch-1.xml
    Now i am getting below information when i ran the scheduled batch.
    Why i am getting
    Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\li
    b\tools.jar
    error.How to rectify this problem. How to make to point it to JDK path ? where i need to update ?
    I have already set JAVA_HOME setting to JDK path and updated in the "PATH" variable.
    Thanks,
    Naresh Mopala.

  • Error While Deploying the BPEL Process using obant script

    Hi All,
    I am getting the following error while deploying the BPEL Process using obant script. we are using the BPEL Version 10.1.2.0.2.Any information in this regard will be really helpful.
    Buildfile: build.xml
    main:
    [bpelc] file:/home5102/dibyap/saravana/Test/CreditRatingService.wsdl
    [bpelc] validating "/home5102/dibyap/saravana/Test/CreditRatingService.bpel" ...
    BUILD FAILED
    /home5102/dibyap/saravana/Test/build.xml:15: ORABPEL-01002
    Domain directory not found.
    The process cannot be deployed to domain "default" because the domain directory "/opt02/app/ESIT/oracle/esit10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/default/deploy" cannot be found or cannot b
    e written to.
    Please check your -deploy option value; "default" must refer to a domain that has been installed locally on your machine.
    Total time: 23 seconds
    dibyap@ios5102_ESIBT:/home5102/dibyap/saravana/Test>
    Thanks,
    Saravana

    In 10.1.2.0.2 you need to create your own build.xml
    I have found an example, it may be of some help. This does call a property file
    cheers
    James
    <?xml version="1.0" ?>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Run cxant on this file to build, package and deploy the
    ASB_EFT BPEL process
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <project name="ASB_EFT" default="main" basedir=".">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Name of the domain the generated BPEL suitcase will be deployed to
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <property name="deploy" value="default" />
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    What version number should be used to tag the generated BPEL archive?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <property name="rev" value="1.0" />
    <!-- BPEL Best Practices Properties -->
    <!-- Defaults Properties for TARGET environments
    # CHANGE THIS FILE TO REFLECT THE TARGET ENVIRONEMNT
    # either dev, test, or prod.properties
    -->
    <property file="ebusd.properties"/>
    <property name="env" value="${env.name}"/>
    <property name="current.project.name" value="${project.name}"/>
    <property name="target.project.name" value="${project.name}_${env}"/>
    <property name="deployment.profile" value ="${env}.properties"/>
    <property name="source.development.directory" location="${basedir}"/>
    <property name="target.env.directory" location="${basedir}/deploy/${project.name}_${env}"/>
    <property file="${deployment.profile}"/>
    <property name="build.fileencoding" value="UTF-8"/>
    <!-- Prints Environment
    -->
    <target name="print.env" description="Display environment settings">
    <echo message="Base Directory: ${basedir}"/>
    <echo message="Deployment Profile: ${deployment.profile}"/>
    <echo message="target.env.directory: ${target.env.directory}"/>
    <echo message="Deploy to Domain: ${deployToDomain}"/>
    <echo/>
    <echo message="os.name: ${os.name}"/>
    <echo message="os.version: ${os.version}"/>
    <echo message="os.arch: ${os.arch}"/>
    <echo/>
    <echo message="java.home: ${java.home}"/>
    <echo message="java.vm.name: ${java.vm.name}"/>
    <echo message="java.vm.vendor: ${java.vm.vendor}"/>
    <echo message="java.vm.version: ${java.vm.version}"/>
    <echo message="java.class.path: ${java.class.path}"/>
    <echo/>
    <echo message="env: ${env}"/>
    <echo message="current.project.name: ${current.project.name}"/>
    <echo message="target.project.name: ${target.project.name}"/>
    <echo message="server.name: ${server.name}"/>
    </target>
    <!--
    Copies the current directory structure along with
    all the file into the target.env.directory and
    change the name of the project
    -->
    <target name="create.environment">
    <copy todir="${target.env.directory}">
    <fileset dir="${basedir}"/>
    <filterset begintoken="@" endtoken="@">
    <filtersfile file="${deployment.profile}"/>
    </filterset>
    </copy>
    <move file="${target.env.directory}/${current.project.name}.jpr" tofile="${target.env.directory}/${target.project.name}.jpr"/>
    </target>
    <target name="main">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    the bpelc task compiles and package BPEL processes into versioned BPEL
    archives (bpel_...jar). See the "Programming BPEL" guide for more
    information on the options of this task.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
    </target>
    </project>
    here is a property file
    project.name=ASB_EFT
    env.name=ebusd
    deployToDomain=default
    server.name=[server]
    server.port=7788
    ebusd\:7788=http://[server]:7788/
    IntegrationMailAccount=OracleBPELTest
    IntegrationMailAddress=[email]
    IntegrationMailPassword=[password]
    archivedir=[directory]
    inbounddir=/[directory]
    errordir=[directory]
    outbounddir=[directory]
    bpelpw=bpel
    dbhost1=[dbserver]
    dbhost2=[dbserver]
    dbport=1523
    dbservice=bpel
    dbconnstr=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523))(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523)))(CONNECT_DATA=(SERVICE_NAME=ebusd)))

  • Error while deploying SOA composite via ant

    I am getting following error while deploying SOA composite through ant from SOA server (UNIX).It is unable to get mds configuration.
    Jdeveloper is not installed in SOA server.
    I am trying to copy the SOA project from local machine to SOA server and trying to deploy from SOA server.
    Error
    Parse of component type files failed, check the adf-config.xml file : "oracle.fabric.common.FabricException: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
    MDS-00503: The metadata path "/u01/orasoa/Oracle/Middleware/Oracle_SOA1/integration" does not contain any valid directories.
    I checked /u01/orasoa/Oracle/Middleware/Oracle_SOA1 directory. Integretion directory is not available.
    Am I missing anything?
    *Please advise.*
    build.propeties
    ============
    # build file for HelloWorldComposite
    composite.name=AntScriptDeployPOCService
    # revision of the composite
    composite.revision=1.0
    # Set oracle.home to <JDEV_HOME>/jdeveloper, where <JDEV_HOME> is JDEV # installation directory
    #oracle.home=C:/Oracle/Middleware/jdeveloper
    oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
    # soa-server side oracle home directory - needed for deployment plan
    # and the weblogic sca library deployment
    soa.server.oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
    ###### Deployment server connection information
    # the admin server connection information
    admin.server.host=10.40.237.106
    admin.server.port=7001
    # the domain where soa infra is installed
    server.domain.name=soa_domain
    # connection information for the managed server, used for soa-deployment
    managed.server.host=10.40.237.106
    managed.server.port=8001
    # User and credentials for the servers
    server.user=weblogic
    server.password=<password>
    # wls server where soa is targeted.
    server.targets=soa_server1
    #local.java.home=C:/Oracle/Middleware/jdk160_14_R27.6.5-32
    local.java.home=/u01/orasoa/Oracle/Middleware/jdk160_14_R27.6.5-32
    Build.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="AntScriptDeployPOCService" default="all">
    <!-- build.properties -->
    <property file="build.properties"/>
    <property name="deploy.dir" value="../deploy"/>
    <!-- Add targets here -->
    <target name="compile-package">
    <property name="sca-inf.classes.dir" value="../SCA-INF/classes"/>
    <mkdir dir="${sca-inf.classes.dir}"/>
    <ant antfile="${oracle.home}/bin/ant-sca-package.xml" target="package" inheritall="false">
    <property name="oracle.home" value="${oracle.home}"/>
    <property name="compositeDir" value="${basedir}/../"/>
    <!-- needed for adf config -->
    <property name="scac.application.home" value="${basedir}/../.."/>
    <!-- name of the composite -->
    <property name="compositeName" value="${composite.name}"/>
    <!-- revision of the composite -->
    <property name="revision" value="${composite.revision}"/>
    <!-- java.passed.home passed to scac, this property will be
    overwritten to the env.JAVA_HOME if such env variable is defined in OS level-->
    <property name="java.passed.home" value="${local.java.home}"/>
              <!--property name="java.passed.home" value="C:/Oracle/Middleware/jdk160_14_R27.6.5-32"-->
    </ant>
    </target>
    <target name="deploy">
    <condition property="deploymentplan.name" value="null">
    <not>
    <isset property="${deploymentplan.name}"/>
    </not>
    </condition>
    <echo>Deploying to http://${managed.server.host}:${managed.server.port}/soa-infra/deployer</echo>
    <ant antfile="${oracle.home}/bin/ant-sca-deploy.xml" target="deploy" inheritall="false">
    <!-- reformat of prop names -->
    <property name="user" value="${server.user}"/>
    <property name="password" value="${server.password}"/>
    <!-- create the url for deployment -->
    <property name="serverURL" value="http://${managed.server.host}:${managed.server.port}/soa-infra/deployer"/>
    <!-- location of the sar -->
    <property name="sarLocation" value="${deploy.dir}/sca_${composite.name}_rev${composite.revision}.jar"/>
    <!-- force overwrite if already there -->
    <property name="overwrite" value="true"/>
    <!-- configplan-->
    <property name="configplan" value="${deploymentplan.name}"/>
    </ant>
    </target>
    <target name="all" depends="compile-package,deploy"/>
    </project>

    Check whether the adf-config.xml file in your app is having proper mds path similar to this:
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config">
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage id="mstore-usage_1">
    <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
    <property value="${oracle.home}/integration"
    name="metadata-path"/>
    <property value="seed" name="partition-name"/>
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    "

  • OSB - Deploying a java service on different servers using Ant script

    Hi All,
    My scenario is, I have two installations of OSB(with workshop), one on unix machine and other on windows machine...Now the problem is like, I have one java code exposed as a weblogic service ( this is created in workshop of windows machine), I need to deploy this service on my unix server using ANT script....
    Could any one pls let me know how to do this ( deploying services using Ant on different boxes).....
    Any help is appreciated....
    Thanks & Regards
    Feroz Tasha.

    Use the "targets" option to set the server where you want deploy your app.
    More info in [http://edocs.bea.com/wls/docs81/deployment/tools.html#1000477]

  • Deploying a java service on different servers using Ant script

    Hi All,
    My scenario is, I have two installations of OSB(with workshop), one on unix machine and other on windows machine...Now the problem is like, I have one java code exposed as a weblogic service ( this is created in workshop of windows machine), I need to deploy this service on my unix server using ANT script....
    Could any one pls let me know how to do this ( deploying services using Ant on different boxes).....
    Any help is appreciated....
    Thanks & Regards
    Feroz Tasha.

    Use the "targets" option to set the server where you want deploy your app.
    More info in [http://edocs.bea.com/wls/docs81/deployment/tools.html#1000477]

Maybe you are looking for