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.
Tags: Fusion Middleware
Similar Questions
-
Error during the deployment/Undeploying the composite SOA
Hi all
I am a new bie to OIM 11 g.
I created a simple batch file with the commands to deploy/Undeploying/Disbaling/activate the composite SOA. I'm trying to deploy/Undeploy/Disbale/enable SOA composites using the batch file. Here is the batch file that is created.
ECHO disabling the composite SOA
call the Ant f D:\Oracle\Middleware\Oracle_IDM1\server\workflows\registration\registerworkflows-mp.xml disable
BREAK
cancel the deployment of call ant f d:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
BREAK
call ant f d:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
BREAK
call the Ant f D:\Oracle\Middleware\Oracle_IDM1\server\workflows\registration\registerworkflows-mp.xml activate
Disable and enable work correctly. But to undeploy and deploy I get the following error.
"d:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml:78: taskdef class oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployComposite not found.
Please suggest what needs to be done to solve this problem, because it's very urgent. Thanks in advance for your help.
Thank you
PTHow about environment variables when you run through your batch file? Have you set the ORACLE_HOME correctly in your installation of JDev directory?
-Marie
-
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
-
Hello
I'm new to SOA and when I deploy a composite, I'm unable to test the composite. As the test of the EM Console button is disable. It's a simple project with an FYI the task and start and end of activity.
How does your process starts or what triggers the composite soa?
-
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
-
Code to get the data in the child table in composite SOA using the IOM APIs
Hi all
I am a new bie to IOM. I have a query related to obtaining data in the child table using the API of the IOM in the task of embeded java SOA composite.
I've created a workflow that has a form of child of providing service of slef. I created a composite SOA custom also approval. In the composite approval I have embedded java code and I want to get the values entered in the child form using the API IOM inot the java code embeded in composite SOA.
I tried gettting the child form data by using getChildAttributes(), but I'm getting the following exception.
The local Exception stack:
Exception [EclipseLink-7242] (Eclipse - 2.1.3.v20110304 persistence Services - r9073): org.eclipse.persistence.exceptions.ValidationException
Description of the exception: an attempt was made to navigate a relationship using indirection that had a null Session. This often happens when an entity has a relationship of LAZY not instantiated is serialized and this lazy relationship is crossed after serialization. To avoid this problem, instantiate the LAZY relationship before serialization.
at org.eclipse.persistence.exceptions.ValidationException.instantiatingValueholderWithNullSession(ValidationException.java:994)
at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:218)
at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
at oracle.iam.request.vo.RequestBeneficiaryEntityAttribute.getChildAttributes(RequestBeneficiaryEntityAttribute.java:100)
to com. CASApproval.main (CASApproval.java:137)
Please suggest me if I'm following the correct procedure of the child form data or if we can use another approach.
Can we get the data using formInstanceOperationsIntf.getProcessFormChildData ().
Thanks in advance for the help.
Thank you
PTWhen you're in approvals, there is no form of process data. Process form data would come only when approvals are completed. If you want to read data from the child form of the DataSet (i.e. the form object as in OIM9.x) you can use the RequestService on the id of the request and read the data. Or another approach would be to the child the dataset data value in the payload of the request and read the XML payload in the composite.
Let me know if you need more information about the second approach. As for the first approach, search through the forums here and you should find my previous posting on how to reach child dataset values using the ask service API.-Marie
Found these for you:
OIM11G: Way to get values from dataset of the application for approval
Re: How to get the value of the AD details of payload of SOA user group -
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
-
Cannot save the Composite SOA on IOM
Hi all
I run "Ant f registerworkflows - mp.xml register" to save my composite SOA in OIM 11 g R2 PS3.
I get the parameters like this:
[entry] Enter the user name
xelsysadm
[pwd-entry] Enter the password
XXXXXXXXXX
[entry] Indicate the managed IOM server URL (Ex: t3: / / oim_host:oim_port for corbaloc:iiop:oim_host:oim_bootstrap_port for websphere and weblogic)
T3://xx.xxx. XX. XX:14000
[entry] Entrance to the field of the workflow
by default
[entry] Enter the name of the workflow
ApprovalProject
[entry] The version of the workflow of entry
1.0
[entry] Enter the name of the workflow service
RequestApprovalService
[entry] Enter the human tasks in the workflow (multiple human tasks should be separated by a colon (:))
ApprovalTask
But an error occurs:
[java] Exception in thread "main" oracle.iam.platform.workflowservice.exception.IAMWorkflowException: there is no valid definition with the name of definition by default/ApprovalProject! 1.0
[java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
[java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
[java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
[java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl_1036_WLStub.registerWorkFlowDefinitionx (unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
[java] at com.sun.proxy. $Proxy2.registerWorkFlowDefinitionx (unknown Source)
[java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceDelegate.registerWorkFlowDefinition (unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at Thor.API.Base.SecurityInvocationHandler$ 1.run(SecurityInvocationHandler.java:68)
[java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
[java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
[java] at weblogic.security.Security.runAs(Security.java:41)
[java] at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs (weblogicLoginSession.java:52)
[java] at Thor.API.Base.SecurityInvocationHandler.invoke (SecurityInvocationHandler.java:79)
[java] at com.sun.proxy. $Proxy3.registerWorkFlowDefinition (unknown Source)
[java] at oracle.iam.platformservice.workflowregclient.WorkflowRegistration.main(WorkflowRegistration.java:42)
[java] Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: there is no valid definition with the name of definition by default/ApprovalProject! 1.0
[java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWFDefinitionNoMapping(WorkflowRepositoryImpl.java:259)
[java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWorkFlowDefinition(WorkflowRepositoryImpl.java:186)
[java] at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:293)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[java] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[java] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[java] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:35)
[java] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[java] at com.sun.proxy. $Proxy625.registerWorkFlowDefinition (unknown Source)
[java] at oracle.iam.platformservice.impl.WorkflowRegistrationServiceImpl.registerWorkFlowDefinition(WorkflowRegistrationServiceImpl.java:38)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[java] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[java] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[java] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:35)
[java] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[java] at com.sun.proxy. $Proxy695.registerWorkFlowDefinition (unknown Source)
[java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB.registerWorkFlowDefinitionx (unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
[java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[java] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
[java] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
[java] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
[java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[java] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[java] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[java] at com.sun.proxy. $Proxy694.registerWorkFlowDefinitionx (unknown Source)
[java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl.__WL_invoke (unknown Source)
[java] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
[java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl.registerWorkFlowDefinitionx (unknown Source)
[java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl_WLSkel.invoke (unknown Source)
[java] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
[java] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
[java] at weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)
[java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
[java] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
[java] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
[java] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
[java] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
[java] Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: error while updating the view for composite by default/ApprovalProject! 1.0.
[java] at oracle.iam.platform.workflowservice.impl.TaskViewUtil.updateViewDetails(TaskViewUtil.java:287)
[java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWFDefinitionNoMapping(WorkflowRepositoryImpl.java:254)
[java]... more than 60
[java] Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: error occurred while updating the composite human task for null uri information.
[java] at oracle.iam.platform.workflowservice.impl.TaskViewUtil.getHumanTaskNameSpaceListByCompositeDN(TaskViewUtil.java:469)
[java] at oracle.iam.platform.workflowservice.impl.TaskViewUtil.updateViewDetails(TaskViewUtil.java:193)
[java]... more than 61
[java] Caused by: ORABPEL-30084
[java]
[java] Unable to locate composite.
[java] Unable to locate composite for workflow component default/CertificationProcess!2.0/CertificationTask.
[java] Ensure that composite has been deployed successfully, and that the SOA composite loading a server.
[java]
[java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
[java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
[java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
[java] at oracle.bpel.services.workflow.metadata.ejb.TaskMetadataServiceBean_kykm8_EOImpl_1036_WLStub.getTaskDefinitionById (unknown Source)
[java] at oracle.bpel.services.workflow.metadata.client.TaskMetadataServiceRemoteClient.getTaskDefinitionById(TaskMetadataServiceRemoteClient.java:44)
[java] at oracle.bpel.services.workflow.metadata.client.TaskMetadataServiceRemoteClient.getTaskDefinitionById(TaskMetadataServiceRemoteClient.java:66)
[java] at sun.reflect.GeneratedMethodAccessor4536.invoke (unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:144)
[java] at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:82)
[java] at com.sun.proxy. $Proxy698.getTaskDefinitionById (unknown Source)
[java] at oracle.iam.platform.workflowservice.impl.TaskViewUtil.getHumanTaskNameSpaceListByCompositeDN(TaskViewUtil.java:462)
[java]... more than 62
BUILD FAILED
/U01/IDM/OIM/product/Oracle_IDM1/Server/workflows/registration/registerworkflows-MP.XML:59: the following error occurred during the execution of this line:
/U01/IDM/OIM/product/Oracle_IDM1/Server/workflows/registration/registerworkflows-MP.XML:63: Java returned: 1
You have an idea about this problem?
Thank you.
Best regards.
As much as I know, registry operations is unnecessary in the PS3. It was only held in the older versions of IOM (PS1 until I think). You are after all SOA PS3 document and found this step?
PS3 as follows:
Set JAVA_HOME to /app/jdk1.6.0_27
export JAVA_HOME=/app/jdk1.6.0_27/
Set the ANT_HOME Middleware Home/modules/org.apache.ant_1.7.1 environment variable
export ANT_HOME=/app/Middleware/modules/org.apache.ant_1.7.1
The value of the PATH environment variable for $JAVA_HOME/bin: $ANT_HOME/bin: $PATH
export PATH = $JAVA_HOME/bin: $ANT_HOME/bin: $PATH
Go to the IOM HOME/flow/new_workflow
CD/app/Middleware/Oracle_IDM1/server/workflows/new-workflow
Run the ant - f new_project.xml comment
-
Dear team,
I have a few questions about composite SOA versioning.
(1) different ways of doing SOA composite versions.
(2) if we deploy a composite with new revision, how the calling process that calls older composite review SOA will be updated to this new update revision.
Please suggest.
Thank you
(1) different ways of doing SOA composite versions.
Basically you version different revisions using the following
formant N [.] M [.] O]], that is, major, minor, patch versions. As far as I
Remember that you can not use the letters in the version revision number.
(2) if we deploy a composite with new review, how to handle the call
calling older SOA composite review will be updated to this new
update revision.
Depends on how you deploy the new revision. If you deploy the new
review as the default version so it is not necessary to change clients.
On the other hand if you deploy the new version NO default review,
Next, you need to make the customers to change the URL they use to call
your composite (in case you use an HTTP binding. If you are using
adapters, they always work with the revision of the default).
To better understand this trying to implement very simple HelloWorld
composite, and then deploy two revisions, 1.0 and 2.0 that should
being the default value. Then use Enterprise Manager to test composite materials.
Carefully study the URLS that are used to call the two revisions. In
abbreviation for revisions in the URL, the default version number is
included.
Hope this helps,
Anatoli
-
Conversion of underlined text of the word by using a script
Hello
When you place a Word document, I want to use a script to convert the text underlined italic character Style (which I have already created). Which should read the line of app.findGrepPreferences to find the underlined text?
Thank you.
It's as simple as that:
app.findTextPreferences = app.changeTextPreferences = NothingEnum.nothing; app.findTextPreferences.underline = true; app.changeTextPreferences.appliedCharacterStyle = app.activeDocument.characterStyles.item("italic"); app.changeTextPreferences.underline = false; app.activeDocument.changeText();
unless she needs deep integration into your current script.
Related issues of script can better ask in the forum script: InDesign Scripting
-
Problem to find the Position of the cursor by using Java Script for an input TextField
Hello
I have a problem to find the position of the cursor in a field inputText component.
The following code of java script to achieve. The same functionality works fine if I run in a simple html page. But when it is used the same javascript inside the jsff does not the position of the cursor.
Please let me know what I'm missing.var adfComponent = AdfPage.PAGE.findComponentByAbsoluteId("r1:1:it3"); var adfComponentClientId = adfComponent.getClientId(); var div = document.getElementById(adfComponentClientId + '::content'); div.focus(); var docSelectionRange = document.selection.createRange(); docSelectionRange.moveStart ('character', -div.value.length); var iCaretPos = docSelectionRange.text.length; alert("iCaretPos --> "+iCaretPos); ---> This statement always returning '0'. Instead, i want the cursor position inside the text box.
For your reference, sending the sample page html that works fine with the same kind of code.
Thank you and best regards,<html> <body style="font-family: tahoma; font-size: 8pt;"> <script language="JavaScript"> /* ** Returns the caret (cursor) position of the specified text field. ** Return value range is 0-oField.length. */ function doGetCaretPosition (oField) { var iCaretPos = 0; alert(oField); if (document.selection) { // Set focus on the element oField.focus (); // To get cursor position, get empty selection range var oSel = document.selection.createRange (); // Move selection start to 0 position oSel.moveStart ('character', -oField.value.length); // The caret position is selection length iCaretPos = oSel.text.length; } // Firefox support else if (oField.selectionStart || oField.selectionStart == '0') iCaretPos = oField.selectionStart; // Return results return (iCaretPos); } </script> <form name="blah"> Text Field: <input type="text" name="nameEdit" value=""> <input type="button" value="Get Caret" onClick="document.getElementById('where').value=doGetCaretPosition (document.forms[0].elements[0]);"> <input id="where"> </form> </body> </html>
Kiran kristelle
Published by: Kiran kristelle on February 6, 2012 12:00... had the chance to look at the source code of the sample. ADF Faces renders text as HTMLTextArea fields when the value of the rows property. The JavaScript code used in the example of client works differently for FF and IE if the input is a text box. This could be a problem in IE or just used JavaScript code. The rows back to a single line (remove) property makes the text as HTML input feldworking with the JavaScript for IE and FF.
Frank
-
How to copy files on the USB key using batch script even if the drive letter for the USB v.
Hello!
I am trying to create a batch file that will copy: C:\My Folder\myfile.txt on a USB key. I created the file "Tango.spe" on the USB and used the "If exist' readers in order to search for the file on USB connected." "Here is my code so far:
off @echo
If exist D:\Tango.spe set variable = % BKPDRV %
If exist E:\Tango.spe set variable = % BKPDRV %
If exist F:\Tango.spe set variable = % BKPDRV %
If exist G:\Tango.spe set variable = % BKPDRV %
If exist H:\Tango.spe set variable = % BKPDRV %
If exist I:\Tango.spe set variable = % BKPDRV %
If exist J:\Tango.spe set variable = % BKPDRV %
If exist K:\Tango.spe set variable = % BKPDRV %
If exist L:\Tango.spe set variable = % BKPDRV %
If exist M:\Tango.spe set variable = % BKPDRV %
xcopy/y/i/h/k/e 'C:\My Folder\myfile.txt' % BKPDRV %
Can someone tell me what I am doing wrong?
AndesSalvation, Andes,Please go to the Microsoft Community Forums.This problem would be better suited to the MSDN Forums community.Please visit the link below to find a community that will provide the support you want.
http://social.msdn.Microsoft.com/forums/en-us/categoriesThank you. -
invocation - the switch of the disapproval Cap using ANT
Compile with ANT, (using bb - ant), is it possible to set the switch of disapproval? It appears from the documentation that it cannot be passed...
As far as I know Cap task bb-ant-tools has no attribute.
http://BB-Ant-tools.sourceforge.NET/docs#RAPC
But you can get the source code for the bb-ant-tools and change it to support this key in the task of Cap.
-
Miniature from the Composition Effects using Extrendscript
Is there a way we can extract the thumbnail of a publication by using programming with ExtendScript? The project panel displays the thumbnail for each Composition. I would like to extract something similar. Any help would be appreciated.
Thanks in advance.
I don't think that these vignettes are accessible to the user anyway. However, you can save a still image in full resolution PNG of a model by calling the saveFrameToPng() method.
What to provide the time within the model as the first argument and an object file for the second argument.
curCompObject.saveFrameToPng (compTime, fileObj);
-
Hello
I need vb Script code to run exe files at the same time.
I hope someone will help me!
This issue is beyond the scope of this site and must be placed on Technet or MSDN
Maybe you are looking for
-
Electric shock between the helmet when it is used in Satellite C855
I need one help if just to acquire a Satellite C855 - 1GN laptop and have not used my prior helmet. When I plugged in the socket, I had a small electric shock to the left, ear no matter what I put in it and can hear a buzzing through it. I got these
-
Space on the C drive have exhausted when I use internet
I have a laptop Compaq610 with Windows Vista Home Basic as the operating system. I have three partitoned discs namely C (28.8 GB), D (259 GB) & E (10GB). Drive C is to have Windows files, drive E is to have the HP recovery files and drive D is the dr
-
My computer does not start. It beeps only
I have a Dell Inspiron 531 Desktop, which is about 4 years old. The second that I turn it on it starts to beep. It will emit 2 beeps quickly then pauses about 3 seconds then beeps 2 again and keeps going. It doesn't even come close to leaving. The m
-
Issue of license on the version of the police - Antique Olive
HelloOne of our business partners use a black 'Antique Olive' font in his file. He told me that the police is Adobe. I can only find 'Antique Olive Std Black' in the fonts Adobe store. I bought and installed on our machine. However, when I open t
-
Please give me the detailed instructions if possible