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
Tags: Fusion Middleware
Similar Questions
-
Error during the deployment using Ant Scripts
Hello
I use the Ant scripts for projects on the Enterprise BPM deployment.
However, every time I try the project deployment deployment takes a long time (about 15-20 min.) followed by the following error message:
means: Java heap space
This error message is followed by several lines explaining the same error.
Kindly help me with the solution or the necessary changes I have to do in order to get the deployed project.
PS: When I try to deploy some of the examples given, they all work very well.try to increase a lot of ants
Export ANT_OPTS = "- Xms256m - Xmx256m" (ksh/bash)
Define ANT_OPTS = "- Xms256m - Xmx256m" (Windows)HTH
PeterEdited by: user12083480 the 23.10.2009 11:45
-
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
-
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. -
Project of OSB of the error using Ant Script development
Hi all
I encounter the error while trying to build an eclipse workspace .jar file using the following ant script.
The project even when built in Eclipse directly, rests and a .jar file is generated.
Kindly help me to resolve the issue.
Error:
! SESSION-2014-06-16 09:23:50.085-
eclipse.buildId = M20110909-1335
Java.version = 1.6.0_29
Java.Vendor Sun Microsystems Inc. =.
BootLoader constants: OS = win32, ARCH = x 86, WS = win32, NL = en_US
Framework arguments:-application - configProject com.bea.alsb.core.ConfigExport POC - configJarC:/Users/bradhakr/desktop/OSB CMT/Working-OSB_CMT/CommonNotificationService1.jar configSubProjects - CommonNotificationService - true includeDependencies
Command line arguments:-dataC:/Users/bradhakr/workspace-application - configProject com.bea.alsb.core.ConfigExport POC - configJarC:/Users/bradhakr/desktop/OSB CMT/Working-OSB_CMT/CommonNotificationService1.jar configSubProjects - CommonNotificationService - true includeDependencies
! ENTRY org.eclipse.osgi 4 0 09:23:52.238 2014-06-16
! MESSAGE an error has occurred in automatically activate com.bea.alsb.core bundle (933).
! BATTERY 0
org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start () from bundle com.bea.alsb.core.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.NoClassDefFoundError: weblogic/xml/query/compiler/Analyzer/XQueryTokenListener
at com.bea.alsb.core.AlsbCore.preStart (unknown Source)
at com.bea.alsb.core.AlsbCore.start (unknown Source)
to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged (Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 34 more
Caused by: java.lang.ClassNotFoundException: weblogic.xml.query.compiler.parser.XQueryTokenListener
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 39 more
First exception:
java.lang.NoClassDefFoundError: weblogic/xml/query/compiler/Analyzer/XQueryTokenListener
at com.bea.alsb.core.AlsbCore.preStart (unknown Source)
at com.bea.alsb.core.AlsbCore.start (unknown Source)
to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged (Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.ClassNotFoundException: weblogic.xml.query.compiler.parser.XQueryTokenListener
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 39 more
! ENTRY org.eclipse.osgi 4 0 09:23:53.174 2014-06-16
! Application error MESSAGE
! BATTERY 1
org.eclipse.core.runtime.CoreException: com.bea.alsb.core plugin failed to load class com.bea.alsb.core.internal.repositories.ConfigExportApplication.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$ TerminatingClassNotFoundException: an error occurred when turned on automatically com.bea.alsb.core bundle (933).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
... 16 more
Caused by: org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start () from bundle com.bea.alsb.core.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 28 more
Caused by: java.lang.NoClassDefFoundError: weblogic/xml/query/compiler/Analyzer/XQueryTokenListener
at com.bea.alsb.core.AlsbCore.preStart (unknown Source)
at com.bea.alsb.core.AlsbCore.start (unknown Source)
to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged (Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 34 more
Caused by: java.lang.ClassNotFoundException: weblogic.xml.query.compiler.parser.XQueryTokenListener
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 39 more
Ant script to export Eclipse workspace:
< target name = "exportFromWorkspace" >
<!-remove failonerror = "false" includeemptydirs = "true" dir = "${metadata.dir}" /-->
"< java dir="C:/Oracle/MiddlewareOSB_11118/oepe_11.1.1.8.0.
jar="C:/Oracle/MiddlewareOSB_11118/oepe_11.1.1.8.0/plugins/org. Eclipse.Equinox.launcher_1.2.0.v20110502.jar ".
fork = "true" failonerror = "true" maxmemory = "768 m" >
< jvmarg line = "-XX:MaxPermSize = 256 m" / >
< arg line = "-data C:/users/bradhakr/workspace" / >
< arg line = "-application com.bea.alsb.core.ConfigExport"/ > "
< arg line = "-configProject POC" / >
< arg line = "-configJar CMT/Working-OSB_CMT/CommonNotificationService1.jar"/ C:/users/bradhakr/Desktop/OSB > "
< arg line = "-configSubProjects CommonNotificationService" / >
< arg line = "-includeDependencies true" / >
< sysproperty key = "weblogic.home" value ="${weblogic.home}" / > "
< sysproperty key = "osb.home" value ="${osb.home}" / > "
< sysproperty key = "osgi.bundlefile.limit" value = "500" / > "
< sysproperty key = "harvester.home" value="${osb.home}/harvester"/ > "
< sysproperty key = "osgi.nl" value = "en_US" / > "
< sysproperty key = "sun.lang.ClassLoader.allowArraySyntax" value = "true" / > "
< / java >
< / target >
Certainly a classpath problem, but troubleshooting builds ant in OSB is a MAJOR EFFING PAIN!
I can only show you an example of the ant target that works for me, maybe you will spot the difference: http://genericparallel.com/2014/01/out-of-memory-errors-during-the-osb-build/
Vlad
-
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 -
12 c: SOA deployment using the ANT script
We seek to deploy a composite SOA 12 c using the Ant.. As a first step, we use "Ant-sca - package.xml ' to create the package and then deploy using the file" Ant-sca - deploy.xml. One of the properties required by the script is "compositeDir". When we set this value to the composite directory, we get an error composite.xml is missing. And if you change its value in the "soa" with composite directory folder, it works.
Confirmation, as what value need to affect the property "compositeDir".
Thank you
compositeDir is the absolute path of the directory that contains composite.xml, then you must set the property compositeDir as baseDirectory/SOA.
For a question related to the location of the jar file, there is a known issue already documented here: Known Issues for Oracle SOA products
Check the details under the heading: "Oracle JDeveloper and ant control Deploy SAR files in different directories;
-
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
-
Run the Ant script using Java in webcenter Portal
Hi all
I have requirement where I have to run an ant script using java or by any means to the webcenter portal.
Ant script must be run on a triggering action.
Please help me in this direction.
Thank you and best regards,
Shakir
Hey all,.
Here is the solution, I had finally
BuildFile file = new File ("myBuild.xml");
Project p = new Project();
p.setUserProperty ("ant.file", buildFile.getAbsolutePath ());
ConsoleLogger DefaultLogger = new DefaultLogger();
consoleLogger.setErrorPrintStream (System.err);
consoleLogger.setOutputPrintStream (System.out);
consoleLogger.setMessageOutputLevel (Project.MSG_INFO);
p.addBuildListener (consoleLogger);
p.init ();
ProjectHelper helper = ProjectHelper.getProjectHelper ();
p.addReference ("ant.projectHelper", assistance);
Helper.Parse (p, buildFile);
p.executeTarget (p.getDefaultTarget ());
Kind regards
Shakir
-
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 -
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
-
SOA 11 g clustered environment Ant scripts
Hi all
I just want to know, when deploying a cluster in soa 11 g using Ant, what I need to add the property oc4jinstancename as how we did in soa 10 g for ants?
Can someone explain and maybe example when the deployment of 11g ant of soa to Cluster Configuration of the environment.
Thank you
KHi K,
According to my knowledge, you don't need to make additional configurations for this. We have developed scripts of Ant for non-clustered environments both absolutely working on the clustered environment. We referred unique soa_server1 in the deployment scripts. The default rule of consistency of Weblogic replicates the deployment on all nodes in a cluster, where it has been deployed in second instance soa_server2 automatically.
Try and let me know if you face any issues.
Rehards,
Neeraj Sehgal -
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
-
Deploy Enterprise BPM - Scripts
Hello to all the boys
I'm working on a paper for the Enterprise BPM deployment and I finished, but I focused only on the deployment by using the process Manager console.
Is it possible to make a deployment using a kind of scripts? then that deploys multiple can be done at the same time so fast
Is it possible to create the Organization, participants, roles, etc. using a kind of scripts?
I don't know exist, but I can not find this information.
Thanks in advance :)
I really appreciate your helpHello
All of these things you mention is possible with ant scripts.
You have documentation on the Ant for BPM in http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/anttasks/index.html
HTH -
Custom in the deployment Template environment scripts
Hello
In the short documentation, I see that "examples scripts provided with control of the deployment model the operational tasks of short by the CEC." You can use these scripts, or create custom scripts based on them. Scripts typically run these processes such as systematic basis and partial updates. You can also add specific scripts that run before the Dgraph is stopped or after it is started. »
I would call a .bat before the DGraph stops or after it starts, but I can't find where.
I think it's in the AppConfig.xml file, right? Could you give me an example?
Thank you
StéphaneHi, Stéphane
Take a look at http://docs.oracle.com/cd/E29586_01/DeploymentTemplateUsageGuide.pdf, page 41 to see how to declare and define a pre-shutdown-script and post-startup-script.
Best
Brett
Maybe you are looking for
-
Slow outputs analog on the cDAQ-9178
My control of the C language application calls the DAQmx API 200 times per second to update some AOs, using the following call: DAQmxWriteAnalogF64 (taskHandle, 1, TRUE, 0.0, DAQmx_Val_GroupByScanNumber, data, NULL, NULL); On a system with a single c
-
Hello In July, my computer crashed, I bought a toshiba satellite that came with a free up grade to windows 7 I did on the internet. Since the accident, she came back with vista not windows 7 and now the high rank is not available. How can I find my l
-
Hey there, I was wondering if there was a limit to the AMOUNT of files (not size) that I could transfer at the same time? usually I go abou 40K files of external references on a regular basis, I would like to know if there is a limit to this (80K may
-
How can I purchase the license only for windows 7?
I install windows 7 trial version and now it show that my windows is not pass authentic, so please can you address link allow me to purchase the license online advice? Thank you