Deployment of BPEL to Partition custom using Ant @ 11.1.1.3
There are SOA 11.1.1.3, concept to choose the 'Partition' in SOA server just before deployment - a default or custom created say "XYZ". How can I deploy to custom Partition created using ANT? Currently, because I did not mention anything, he'll 'default' Partition.Any help would be appreciated.
Thank you.
You can pass the property 'score' with the name of partition custom when you call the target "deploy" ant - sca - deploy.xml
Tags: Fusion Middleware
Similar Questions
-
deploy services suite soa on HTTPS using Ant
All,
I hope someone can help. I developed an ant script, which deploys on a soa Server (using Oracle SOA suite 11 R3). This works very well for HTTP, but I need to deploy SOA services on a set of soa HTTPS server and weblogic. I changed the Ant properties for managed.server.port to 8002 and admin.server.port to 7002.
I then run my ant script in which I meet the underside of fault.
My understanding of the issue, it's that the deployed soa service doesn't have the correct SSL certification for the handshake. Can someone explain to me the necessary changes in my ant for the handshake script work?
Thank you very much
SR
D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-SCA-deploy.XML:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.Main.runBuild(Main.java:801)
at org.apache.tools.ant.Main.startAnt(Main.java:218)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.xml:191: the following error occurred during the execution of this line:
D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.XML:324: The following error occurred during the execution of this line:
D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-SCA-deploy.XML:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
... more than 26
Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.xml:324: the following error occurred during the execution of this line:
D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-SCA-deploy.XML:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
... 39 more
Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked
at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:127)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:179)
at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1367)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:801)
at org.apache.tools.ant.Main.startAnt(Main.java:219)
... 2 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
at HTTPClient.HTTPConnection.sendRequest (HTTPConnection.java:3366)
at HTTPClient.HttpOutputStream.closeImpl (HttpOutputStream.java:461)
to HTTPClient.HttpOutputStream.access$ 000 (HttpOutputStream.java:99)
to HTTPClient.HttpOutputStream$ 1.run(HttpOutputStream.java:417)
at HTTPClient.HttpClientConfiguration.doAction (HttpClientConfiguration.java:666)
at HTTPClient.HttpOutputStream.close (HttpOutputStream.java:415)
at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:149)
at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321)
at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendCompositeArchives(DeployerHttpClient.java:385)
at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendRequest(DeployerHttpClient.java:307)
at oracle.integration.platform.blocks.deploy.servlet.CompositeServletClientBase.sendRequest(CompositeServletClientBase.java:339)
at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:119)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.Main.runBuild(Main.java:801)
at org.apache.tools.ant.Main.startAnt(Main.java:218)
... 2 more
Caused by: sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
at sun.security.validator.Validator.validate(Validator.java:218)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:125)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:517)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:885)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1113)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
at HTTPClient.HTTPConnection.sendRequest (HTTPConnection.java:3366)
at HTTPClient.HttpOutputStream.closeImpl (HttpOutputStream.java:461)
to HTTPClient.HttpOutputStream.access$ 000 (HttpOutputStream.java:99)
to HTTPClient.HttpOutputStream$ 1.run(HttpOutputStream.java:418)
at HTTPClient.HttpClientConfiguration.doAction (HttpClientConfiguration.java:666)
at HTTPClient.HttpOutputStream.close (HttpOutputStream.java:415)
at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:150)
at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:322)
at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendCompositeArchives(DeployerHttpClient.java:385)
at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendRequest(DeployerHttpClient.java:307)
at oracle.integration.platform.blocks.deploy.servlet.CompositeServletClientBase.sendRequest(CompositeServletClientBase.java:339)
at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:119)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:179)
at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1367)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:801)
at org.apache.tools.ant.Main.startAnt(Main.java:219)
... 2 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
... more than 89In negotiating ssl from the client ssl (Ant in your case) to approve the certificate sent by the server (which is weblogic server), the certificate of the certification authority that signed the server certificate must be present in the trusted keys file used in the customer environment.
I assume you are using a certificate signed automatically (in this case server certificate's CA as it is self-signed), so the steps that you need to do is:
1 export the keystore of weblogic identity server... you can use the keytool-export utility
2 import the certificate exported in step 1 in the trusted keys file which should be the file CACERT in jre/lib of the Ant, using the keytool-import utilityhttp://download.Oracle.com/javase/1.3/docs/tooldocs/Win32/keytool.html
-
Deployment using ant script is a failure
Hey guys,.
Having a problem when im trying to deploy my bpel process using ant scripts, was got the error below, I have not even looked at the file they specified on the server, but it was not where they said that it is. someone knows how to solve this problem. When I tried to deployment using jdeveloper, I got this error, but after I cleared the cache wsdl, this error disappeared and it worked very well, but I need to use Ant scripts to deploy and this error occurs, I tried to clear the cache wsdl as well but no luck, any help on this is REALLY appreciated
Thank you
Krishil
[deployProcess] Deployment of process C:\buildroot_0\build\CashRegister\CashRegisterService\output\bpel_CashRegisterService_1.1.jar
BUILD FAILED
C:\buildroot_0\build.XML:92: The following error occurred during the execution of this line:
C:\buildroot_0\build.XML:103: The following error occurred during the execution of this line:
C:\buildroot_0\build\CashRegister\build\build-ABC.XML:14: The following error occurred during the execution of this line:
C:\buildroot_0\build\CashRegister\CashRegisterService\build.XML:77: There was a problem connecting to the server "soadv.up.ac.za" using the port '80': bpel_CashRegisterService_1.1.jar failed to deploy. Ex
exception message is: ORABPEL-05215
Error loading process.
The field of process encountered the following errors when loading the "CashRegisterService" ("1.1" review) process: BPEL validation failed.
Source BPEL validation failed, the errors are:
[Error ORABPEL-10000]: typelienpartenaire unresolved
[Description]: 59 online to ' / home/oracle/product/10.1.3/OracleAS_C1/bpel/domains/default/tmp/.bpel_CashRegisterService_1.1_7fe4cbb7aa31f89de5cfc208dc3326d3.tmp/CashRegisterService.bpel ', partnerLink
Type "{http://oracle.com/esb/namespaces/DefaultSystem} execute_pptLT" of partnerLink 'CashRegisterESBRouting' is not defined.
[Potential fix]: ensure that typelienpartenaire ' {http://oracle.com/esb/namespaces/DefaultSystem} execute_pptLT ' is defined in the process WSDL file or the WSDL file that is referenced by the property
ySet 'CashRegisterESBRouting' in the deployment descriptor.
[Error ORABPEL-10007]: messageType unresolved
[Description]: line 95 of "/ home/oracle/product/10.1.3/OracleAS_C1/bpel/domains/default/tmp/.bpel_CashRegisterService_1.1_7fe4cbb7aa31f89de5cfc208dc3326d3.tmp/CashRegisterService.bpel", WSDL messages
eType '{http://oracle.com/esb/namespaces/DefaultSystem} DebtorInfo_request' variable 'callbackClient_execute_InputVariable' is not defined in the WSDL files.
[Potential fix]: make sure the messageType "{http://oracle.com/esb/namespaces/DefaultSystem} DebtorInfo_request" WSDL is defined in one of the files referenced by the deployment descriptor WSDL.
[Error ORABPEL-10000]: typelienpartenaire unresolved
[Description]: line 743 of "/ home/oracle/product/10.1.3/OracleAS_C1/bpel/domains/default/tmp/.bpel_CashRegisterService_1.1_7fe4cbb7aa31f89de5cfc208dc3326d3.tmp/CashRegisterService.bpel", partnerLin
kType ' {http://oracle.com/esb/namespaces/DefaultSystem} execute_pptLT "of partnerLink 'CashRegisterESBRouting' is not defined.
[Potential fix]: ensure that typelienpartenaire ' {http://oracle.com/esb/namespaces/DefaultSystem} execute_pptLT ' is defined in the process WSDL file or the WSDL file that is referenced by the property
ySet 'CashRegisterESBRouting' in the deployment descriptor.
[ORABPEL-10016 error]: portType unresolved
"[Description]: line 743 of ' / home/oracle/product/10.1.3/OracleAS_C1/bpel/domains/default/tmp/.bpel_CashRegisterService_1.1_7fe4cbb7aa31f89de5cfc208dc3326d3.tmp/CashRegisterService.bpel ', portType"
"{http://oracle.com/esb/namespaces/DefaultSystem} execute_ppt" < call > is not defined.
[Potential fix]: make sure the class portType ' {http://oracle.com/esb/namespaces/DefaultSystem} execute_ppt ' is defined in one of the referenced WSDL files.
.
.
If you installed a hotfix on the server, verify that the ownership of the bpelcClasspath domain includes patch classes.
at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:286)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:925)
at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:791)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:448)
at sun.reflect.GeneratedMethodAccessor96.invoke (unknown Source)
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)
to com.evermind.server.ejb.interceptor.system.JAASInterceptor$ 1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
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:319)
at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
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.java:65)
to 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:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Total duration: 14 seconds
C:\buildroot_0 >Krish,
I need two clarification
1. What is the port number of your SOASuite? Manifest error that you want to deploy on port: 80 (makesure there wont be anymismatch)
2. What is in your deploymentplan?When you use the "Ant" command to deploy, it will look for the build.proerties file where your port is defined. change to the right
Thank you
Sen
-
generate the ear file in jdev and deployed using Ant
Hi all
I have a request of the ADF and I need generate the ear file and deploy it using ant script.
The file option ear in deployment profiles (file-> new-> deployment profiles) is disabled in my worm jdev (11.1.1.5.0).
Any help or pointers are highly appreciated.
Thank you
UshaYou get the EAR deployment descriptor only if you add it to the application level. They are out on grayes model ot see controller projects.
Right-click on the Application and select "new-> deployment descriptor.Timo
-
How to cancel the deployment of soa project using Ant instead of use em manually
Hi guys:
I wonder how to cancel the deployment of soa project using Ant?
I know how to deploy cause it is Ant-sca - deploy.xml under the soa Server directory.
Thanks and greetings
HillyHi hilly
When I looked at the file ant - sca - deploy.xml, I could see a defintion of task named undeployComposite. See if you can run this task something similar to usingAnt Ant-sca - deploy.xml undeployComposite or something in that sense.
Thank you
Ravi Jegga -
Is it possible to deploy bundle SOA on the custom MDS that was added manually?
Hello Experts,
I want to know the following scenario is possible.
(1) create the new SDM repository using the remote control.
(2) save the MDS in soa-field.
(3) add the new partition in the MDS.
(4) deploy some bundle SOA with WSDL, XSD and so on.
(5) implement composite new services included in the bundle SOA of the MDS.
1 ~ 3) seems possible.
But I don't know how in the specific MDS which is not SDM - soa.
Please check the script and let me know something wrong or how to deploy an SOA in MDS custom bundle.
Thanks in advance,
BmW
I also got a response from the Oracle and share it here.
"There is no way to have the mds shared between multiple areas of Soa." "You would have to maintain separate but equal mds copies (I mean just like xsd/wsdl metadata, not composites).
-
Compilation of the composite SOA using Ant Scripts
Hello
I'm trying to compile composite SOA via ant script using the following command. (Build does not work correctly when the fact using Jdeveloper)
Ant f C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml-Dscac.input=C:\Oracle\Test\Test\composite.xml
The build fails with the following error message.
18 November 2015 15:11:30 oracle.adf.share.ADFContext getCurrent
WARNING: Initialization automatically a DefaultContext of getCurrent.
The caller must ensure that a DefaultContext is suitable for this purpose.
Memory leaks or unexpected behavior may occur if the automatic initialization completed successfully.
This message can be avoided by doing initADFContext before using getCurrent().
For more information please activate logging for oracle.adf.share.ADFContext at the level of the BEST.
18 November 2015 15:11:31 oracle.mds
NOTICE: Customization layer "adfshare" of component MDS mds-file config configuration. XML has been merged with the customization layers defined in the adf file persistence-config - config.xml requests.
18 November 2015 15:11:31 oracle.mds
NOTIFICATION: PManager instance is created without support multitenancy as indicator "oracle.multitenant.enabled" of the JVM is not set to enable multitenancy support.
15:11:32 Oracle.MDS 18 November 2015
NOTICE: Customization layer "adfshare" of component MDS mds-file config configuration. XML has been merged with the customization layers defined in the adf file persistence-config - config.xml requests.
15:11:32 Oracle.MDS 18 November 2015
NOTIFICATION: PManager instance is created without support multitenancy as indicator "oracle.multitenant.enabled" of the JVM is not set to enable multitenancy support.
15:11:32 Oracle.MDS 18 November 2015
NOTICE: Customization layer "adfshare" of component MDS mds-file config configuration. XML has been merged with the customization layers defined in the adf file persistence-config - config.xml requests.
15:11:32 Oracle.MDS 18 November 2015
NOTIFICATION: PManager instance is created without support multitenancy as indicator "oracle.multitenant.enabled" of the JVM is not set to enable multitenancy support.
15:11:32 Oracle.MDS 18 November 2015
NOTICE: Customization layer "adfshare" of component MDS mds-file config configuration. XML has been merged with the customization layers defined in the adf file persistence-config - config.xml requests.
15:11:32 Oracle.MDS 18 November 2015
NOTIFICATION: PManager instance is created without support multitenancy as indicator "oracle.multitenant.enabled" of the JVM is not set to enable multitenancy support.
18 November 2015 info from com.collaxa.cube.CubeLogger 15:11:34
INFO: validation of 'ApprovalProcess.bpel '...
18 November 2015 15:11:34 oracle.integration.platform.blocks.FabricConfigManager < clinit >
WARNING: JRF is unable to determine the current application server platform.
18 November 2015 15:11:34 oracle.integration.platform.blocks.WLSPlatformConfigurationProvider < clinit >
WARNING: JRF is unable to determine the current application server platform.
oracle.fabric.common.FabricException: error getting stream input XML: oramds:/soa/shared/workflow/TaskServiceInterface.wsdl: oracle.mds.exception.MDSException: MDS-00054: the file is loaded there is no such thing as oramds:/soa/shared/workflow/TaskServiceInterface.wsdl.
at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL (MetadataManagerImpl.java:280)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:616)
at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream (MetadataManagerImpl.java:159)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:478)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:253)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:332)
at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:432)
at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:201)
at com.collaxa.cube.lang.compiler.ComponentCompilationModel.getWSDLManager(ComponentCompilationModel.java:61)
at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.lookupPartnerLinkType(BPELComponentCompilationModel.java:147)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.assertPartnerLink(BpelParser.java:4570)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.parsePartnerLink(BpelParser.java:1317)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.startElement(BpelParser.java:572)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:491)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:498)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:498)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:454)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:401)
at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:65)
at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: the file is loaded there is no such thing as oramds:/soa/shared/workflow/TaskServiceInterface.wsdl.
at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:459)
at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStreamWithRetry(AbstractOraMDSURLConnection.java:292)
at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:184)
at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:81)
the impossible (unknown Source)
at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL (MetadataManagerImpl.java:276)
... 28 more
Does anyone have an idea on how to compile with ant_scripts
Thank you
Hello 934887,
The issue seems to be related to the validation of the scac - not being able to find the MDS repository.
What you have in the adf-config files. XML (look at that C:\Oracle\Test\.adf\META-INF\adf-config.xml vs that of C:\Oracle\Test\Test\SCA-INF\classes\META-INF\adf-config.xml)?
JDeveloper will use C:\Oracle\Test\.adf\META-INF\adf-config.xml, while ANT will use C:\Oracle\Test\Test\SCA-INF\classes\META-INF\adf-config.xml.
So if the compilation runs from JDeveloper, you must verify that the adf-config. XML to C:\Oracle\Test\Test\SCA-INF\classes\META-INF exists and contains the same content that is located in C:\Oracle\Test\.adf\META-INF\adf-config.xml.
In addition, you must set the -Dscac.application.home parameter when you compile using Ant. Try using the following commands:
-------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\user1 > PATH=C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\bin;%PATH% value
C:\Users\user1 > cd C:\Oracle\Middleware\jdeveloper\bin
C:\Oracle\Middleware\jdeveloper\bin > ant f ant-sca-compile.xml-Dscac.input=C:\Oracle\Test\Test\composite.xml-Dscac.application.home=C:\Oracle\Test
Hope that helps,
Amy
-----
When closing a thread as answered don't forget to mark the messages correct and useful to make it easier for others to find. -
How to deploy the jar file in WLS help ant script
Hello
Im trying to deploy a jar file in weblogic 10.3 using ant script and spin in the below error.
"
+ weblogic.management.DeploymentException [wldeploy]: [J2EE:160177] application to ' / u01//RSJBObjects.jar ' was not recognized as a valid request type. If it is an EAR file, please ensure that the META-INF/application.xml exists. EJB - pots must have a META-INF/ejb-jar. XML or corresponding annotations exist. If there is a WAR exploded, the directory name should be fine with "constituent". RSRA requires a META-INF/ra.xml. A deployment of JMS should be an XML file whose name ends in '-jms.xml. A deployment of JDBC must be an XML file whose name ends with "-jdbc.xml". For other types of applications, see the documentation for WebLogic Server. +
"
When I try to deploy the same manually from the console, I get a warning stating that WLS thought this as a library and therefore proceed to deploy it as a library. After this warning, the deployment continues and ends.
Problem is when I try to deploy it using Ant, it breaks at this stage.
Y at - it all means that we can deploy a jar to WLS help ant script. It must be deployed as a library as other apps would use this jar.
Cannot create an ear for this jar file file unique im.
If there is no suggestion on can do you, please share.
Thank you
Vijay.Hi Vijay,
The following example shows how to deploy a Java EE library named myLibrary whose source files are located in the directory for output/myLibrary:
source = "myLibrary/exit" library = "true"
user = 'weblogic' password = 'weblogic '.
verbose = "true" adminurl = "" t3: / / localhost:7001 ""
target = "MyServer" / >
http://docs.Oracle.com/CD/E11035_01/WLS100/programming/wldeploy.html
HTH
Kind regards
Sunil Polineni -
Deployment of BPEL generating warnings in an env but not in other env
Hello
I have two Oracle BPEL 10.1.3.3 environments and when I deploy a BPEL process in an environment I put in custody and the other not. Which can have an impact on an environment to display warnings?
Kind regards
Nestor BoscanLooking at your caveat, looks your way for the .wsdl file is not accessible. Either you move the wsdl with in your project or keep it in MDS and use the MDS path.
That will solve this problem.
Thank you
Vijay -
Make changes to the source using ANT (ojdeploy) files
Hello
Assume that you have an application that uses a Web Service data control. The URL of the WSDL file will be hard coded in the connections.xml (indicated by DataControls.dcx). But of course, during the deployment in a different environment (from dev, in tst, in ACC, in production), this hard-coded URL will be replaced by the corresponding environmental WSDL document. My idea was to solve this problem using Ant.
I have already created a build.xml Ant file that uses ojdeploy to build the project as an EAR file. This is the code in build.xml generated to make the deployment:
How can I edit the build.xml file to adjust the URL to the WSDL for the Web Service (for example in DataControls.dcx) before you deploy the code on an EAR file?<target name="deploy" description="Deploy JDeveloper profiles" depends="init"> <taskdef name="ojdeploy" classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask" uri="oraclelib:OJDeployAntTask" classpath="${oracle.jdeveloper.ant.library}"/> <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask" executable="${oracle.jdeveloper.ojdeploy.path}" ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml" ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml"> <ora:deploy> <ora:parameter name="workspace" value="${oracle.jdeveloper.workspace.path}"/> <ora:parameter name="project" value="${oracle.jdeveloper.project.name}"/> <ora:parameter name="profile" value="${oracle.jdeveloper.deploy.profile.name}"/> <ora:parameter name="nocompile" value="false"/> <ora:parameter name="outputfile" value="${oracle.jdeveloper.deploy.outputfile}"/> </ora:deploy> </ora:ojdeploy> </target>
For example, if the DataControls.dcx has the following entry after having created the control data:
Then I would be able to edit this file for:<definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice" name="MyWebServiceDC" version="1.0" provider="oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider" wsdl="http://dev_server:7001/soa-infra/services/default/MyWebService/Dummy_ep?WSDL"> <service name="Dummy_ep" namespace="http://xmlns.oracle.com/MyWebServiceOutput/MyWebService/Dummy" connection="MyWebServiceDC"> <port name="execute_pt"> <operation name="execute"/> </port> </service> </definition>
where @connection @ is an Ant token, which can be replaced by the Ant in the relevant environment. For example, MyWebServiceDC_dev, MyWebServiceDC_tst, MyWebServiceDC_prd etc.<definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice" name="MyWebServiceDC" version="1.0" provider="oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider" wsdl="http://dev_server:7001/soa-infra/services/default/MyWebService/Dummy_ep?WSDL"> <service name="Dummy_ep" namespace="http://xmlns.oracle.com/MyWebServiceOutput/MyWebService/Dummy" connection="@connection@"> <port name="execute_pt"> <operation name="execute"/> </port> </service> </definition>
The same issue if you use a Web Service Proxy: the URL of the Web Service is hard coded into the generated Java files, so I would like to change the location of this URL using ANT instead of having to do it by hand.
Is this possible?
Thanks in advance!Chris,
Yes, there is no real way to do this automatically. Usually, what I do is to keep a copy of the shadow of these files in a separate Directory. Any time one of the files changes, I have a copy in the shadow directory and either do one of two things:
(1) replace all values specific to the environment with chips
(2) create specific versions to the environment of the files with the appropriate values.Then, in the ANT script, you can do this:
(a) copy the original files somewhere safe (temp directory).
(b) copy the tokenised files or specific to the environment to the correct location
(c) useon the tokenised file if it was your approach
(d).
(e) deliver the original files.This is a hack, but that's life.
John
-
How to deploy Web application in Azure VM using Visual studio online
Hello
I am very new to visual studio online. It is part of my learning. I try to deploy the web application in the blue. I could deploy the web application successfully in Azure Blue Web site. Later, I created and Azure VM and try to deploy the application on the virtual computer. But I could not. I read some blogs, but not able to understand how to deploy it on the virtual machine using Visual Studio online. I was able to publish the application to the Azure VM using Visual Studio 2015. But failed to deploy via VSO.
I use Build definitions. Please help me configure the deployment in Azure VM using VSO.
The question you ask is out of scope of this community.
Try asking the same thing on the forums/Stackoverflow MSDN forums.
MSDN:
The stack overflow:
http://StackOverflow.com/questions/tagged/azure
The Microsoft Community is a site of support of peer reviewed for Windows
and other Microsoft products. This is a question and a response/answer format
and offers no assistance in real time. Most here are volunteers and we do not have
direct contact with senior-level support sites. -
I'm not able to merge the partition not used to the local disk partition
I'm using windows xp service pack 3 and I have deleted my partitions from disk 2, but im not able to merge the partition not used to the local disk partition, what should I do?
Original title: HELP ASAP!Hi Joseph.
Suggestion of PML in the thread below, can be very useful.
-
Hi guys,.
I'm trying to build my console application using Ant. It is a part of my build.xml
When I try to "build Ant" I get this error returned:
I/o Error: Cannot run program "C:\Program": error CreateProcess = 87, the parameter is incorrect
referring to this line:
I tested the names of directory and environment variables all (the variable
${46.jde.home}
too) is set correctly, but the error is still there... How could I solve this problem?
Thank you very much
Sometimes, the length of the path give birth this error but I have not seen in a while. I ended up installing most of my OCD: \RIM apps to avoid path issues all together.
-
Customized using regexp check constraint
Oracle 11.2.0.1
I need a customized using regexp expressions check constraint. We have a single column in our table REGNO, which is used to keep the registration number of our customers. It has alpha and numeric values, the first is Alpha and rest is digital with preceding zeros as A0100 A1245, C1111 etc. Sometimes, in the application user enters regnos evil if we want to stop entering the bad regnos i.e. assume that the user name is Ashok Kumar and in the series, we have 1000 users so this new user should have A1001 (other than any value A1001, in this example, the constraint must be limit to enter the value) only, not the others nor a1001 , A1000, nor A1002 or < has no > 1001 too. Rather than having 26 sequences (A to Z), we get a table where we have these columns:
Alpha char (1), number of LastNo. But sometimes a user enters wrong number value and stores it in the table, so next time for the same gap alpha arrives and confusing.
So, we must have a constraint of database level so that ONLY the correct values must be entered.
Kindly help me how I have this task please.
Thank you.
If REGNO is a derived value then why let you the user enter a value. Just generate the user.
-
Importing data into a custom using API object in bulk
Hello
I try to import data in Eloqua.
The data are so simple that a list of email addresses - I just want to be able to place them in a specific ORDER so that I can reference this when selecting my contacts.
I could create the object custom Eloqua.com without problems.
I could define an import against the custom using the API object in bulk (v2.0) once again without problems.
I was able to synchronize these data so that it appears in documents in the object custom without problems.
The problem is with mapping - this is not the case.
When I create the custom object, I choose 'add the contact fields' then 'e-mail address '. I tried the field configuration in the field display name, unique code, e-mail address, domain group. I have ensured that "Default Entity Mapping used in upload" indicates the type of entity such as contacts and the field of the entity as a "'email '.
In 'Map of the fields', under the heading contact I am not available "" e-mail address"option, then the field says"(none) ". What is the problem? I thought it might be, but tried to create a custom object where the field was a customer id (which is also held against contact) and despite matching that in the menu 'mapping', it still doesn't have the card.
When I set the import, I base it on the field that appears in the API
In this case:
{u 'hasNotNullConstraint': u 'internalName False': u 'Email_Address1', u 'name': 'u' Email address, u 'dataType': ' u 'emailAddress, u' hasReadOnlyConstraint ": False, u 'uri': u ' / customObjects, 265, fields, 916 ', u' statement': u'{{Objetpersonnalise [265].}}" "} {Field [916]}} ", u" hasUniquenessConstraint ": True}
So my export definition looks like:
{'name': 'Test', 'fields': {'Email_Address1': ' {{Objetpersonnalise [265].}} "}} Field[916]}}"},"identifierFieldName":"Email_Address1","isSyncTriggeredOnImport":false,"dataRetentionDuration":"P7D","isUpdatingMultipleMatchedRecords":true,"uri":"/customObjects/265/imports/17","createdBy":"Stephen.Waters","createdAt":"2015-04-28T17:52:18.8247543Z","updatedBy":"Stephen.Waters","updatedAt":"2015-04-28T17:52:18.8247543Z"}
I said "isUpdatingMultipleMatchedRecords": true in the hope that this could help, but it didn't.
According to some old posts here, I had been concerned that the e-mail address field should look more at {{Objetpersonnalise [265].}} Contact.Field (C_EmailAddress)}} - so far I found no way to be customized to create a field that corresponds to that, they always follow the format {{Objetpersonnalise [#]. Field [#]}}.
The synchronization works, but under Setup: integration: entrants: all source data: System: in bulk api if I look at the 'source download history', it says the following under parameters:
Set of data Test State of the downloaded data cards Registered Overwrite the status of existing data cards NO. Data map ReadOnly NO. Map data cards NO. How can I make this field "map data cards" say 'yes '?
Everything works very well & cards with a download of the manual the data card (where I can specify to map the maps on the last page)... it's just I make tons of them and need a more automated solution.
Any advice appreciated, thanks
StephenDefinition, but it adds in addition to {{Objetpersonnalise [265].}} Field [916]}}. When you create the record fill in the two fields: 1 is a field in the custom object that you created, the other is used to map to a contact.
Maybe you are looking for
-
No way to choose Web sites/search engines while clicking on any suggestions.
Sorry for the bad English.Suppose I want to complete a long query by clicking on the suggestions below in the search bar, but my default search is set to google search, but I wanted to look in other research/Web site (e.g. youtube). When I click on s
-
Problem seems worse with the last update.
-
Enter key no longer works in the address bar after firefox 10 meetings
I have fire fox in ver.10 last night and since then the Enter key does not work in the address bar
-
Equium M50-216 - Question about the new facility
Hello Recently rescued a laptop Equium M50 of my flat mate. Was a little out of adjustment. She said that I might have as could not get on the internet and it seems to be missing some vital files. Managed to get the wireless working again and little
-
Windows XP starts more-MSG: unmountable_boot_volume
MSG: unmountable_boot_volume Tech Info: STOP: 0x000000ED (0x832A28D0, 0xC0000006, 0x00000000, 0x00000000)