Friday, 26 August 2011
MDS-01335: namespace "/apps" mapped to metadata-store-usage "mstore-usage_1" but its definition was not found in MDS configuration.
In case AIA used - checked if library attached.
Thursday, 19 May 2011
Truncate composite instances
Time to time DB is too big on DEV/TST environment. Work stops and everything takes too much time.
Solution:
1. Login as DEV_SOAINFRA;
2. Execute script:
begin
soa_fabric.deleteCompositeInstances('composite_instance');
end;
All instance history will be gone.
Solution:
1. Login as DEV_SOAINFRA;
2. Execute script:
begin
soa_fabric.deleteCompositeInstances('composite_instance');
end;
All instance history will be gone.
Thursday, 14 April 2011
Data sorts
Just a good visual explanation of data sorts: http://blog.makezine.com/archive/2011/04/data-sorting-dances.html
Monday, 4 April 2011
Extend AIA EBM
Just a view steps for lazy guys:
1. Open AIAComponents\EnterpriseObjectLibrary\Core\Custom\EBO .. Object You have
2. Add needed fields to particular Custom field in EBM
3. Load changed Custom extensions to MDS
4. Re-open xsl or whatever else in jDev
1. Open AIAComponents\EnterpriseObjectLibrary\Core\Custom\EBO .. Object You have
2. Add needed fields to particular Custom field in EBM
3. Load changed Custom extensions to MDS
4. Re-open xsl or whatever else in jDev
Tuesday, 15 March 2011
Failure to compile the generated BPEL classes for BPEL process..
[02:05:56 PM] Error deploying archive .jar to partition "default" on server soa_server1 [http://local:8001]
[02:05:56 PM] HTTP error code returned [500]
[02:05:56 PM] Error message from server:
There was an error deploying the composite on soa_server1: Error occurred during deployment of component: to service engine: implementation.bpel, for composite: : ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "" of composite "default/!1.0*soa_353497d7-2855-4de9-8ecc-62fe5c5e039b"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
.
[02:05:56 PM] Check server log for more details.
[02:05:56 PM] Error deploying archive .jar to partition "default" on server soa_server1 [http://local:8001]
[02:05:56 PM] #### Deployment incomplete. ####
[02:05:56 PM] Error deploying archive file:/C://////deploy/.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
In my case 2nd option saved problems..
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_java.htm#CHDFFEFB
[02:05:56 PM] HTTP error code returned [500]
[02:05:56 PM] Error message from server:
There was an error deploying the composite on soa_server1: Error occurred during deployment of component: to service engine: implementation.bpel, for composite: : ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "" of composite "default/!1.0*soa_353497d7-2855-4de9-8ecc-62fe5c5e039b"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
.
[02:05:56 PM] Check server log for more details.
[02:05:56 PM] Error deploying archive .jar to partition "default" on server soa_server1 [http://local:8001]
[02:05:56 PM] #### Deployment incomplete. ####
[02:05:56 PM] Error deploying archive file:/C://////deploy/.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
In my case 2nd option saved problems..
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_java.htm#CHDFFEFB
13.3 Adding Custom Classes and JAR Files
You can add custom classes and JAR files to a SOA composite application. A SOA extension library for adding extension classes and JARs to a SOA composite application is available in the
$ORACLE_HOME/soa/modules/oracle.soa.ext_11.1.1
directory. For Oracle JDeveloper, custom classes and JARs are added to theapplication_name
/project/sca-inf/lib
directory.Error: "xsl:import" XSL Element Currently not Supported
[Line] Error: "xsl:import" XSL Element Currently not Supported
Solution: check the style sheet version - must be 2.0 instead of 1.0
Solution: check the style sheet version - must be 2.0 instead of 1.0
Tuesday, 8 March 2011
jDev is tired?
jDev is tired? Not able to open AIA EBO's?
Increase the memory $JDEV_HOME/ide/bin/ide.conf
Increase the memory $JDEV_HOME/ide/bin/ide.conf
Friday, 4 March 2011
Internal Exception: weblogic.transaction.RollbackException: Transaction timed out after 29 seconds
Internal Exception: weblogic.transaction.RollbackException: Transaction timed out after 29 seconds
Solution:
WL Console: JTA Setup -> Timeour seconds -> set 1800
Solution:
WL Console: JTA Setup -> Timeour seconds -> set 1800
Monday, 28 February 2011
Oracle Enterprise Server not available
Just one thought came up due to consulting some friend: nice and complete OER installation done and service started but not available on host:7101/oer
In most of development cases everything installed on one machine (including DB) and OER might listen on loop-back address. Solution is easy - take a IP address of external host and configure listen on it (WL console -> OER server properties).
In most of development cases everything installed on one machine (including DB) and OER might listen on loop-back address. Solution is easy - take a IP address of external host and configure listen on it (WL console -> OER server properties).
Friday, 25 February 2011
AIA 3.0 silent installation
Due to node manager was not working on some machine - needed to install only files and do silent installation
Pretty well described in user manual but took time to cut all scripts
1. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIACreateInstance.xml -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml
2. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIAInstallDriver.xml -DDeploymentPlan=C:\\OracleHome\\config\\FPInstallDP.xml PreInstallScript -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml
3. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIAInstallDriver.xml -DDeploymentPlan=C:\\OracleHome\\config\\FPInstallDP.xml Configurations -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml -logfile=c:\\FPInstall.log
4. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIAInstallDriver.xml -DDeploymentPlan=C:\\OracleHome\\config\\FPInstallDP.xml Deployments -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml -logfile=c:\\FPInstallDeploy.log
5. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIAInstallDriver.xml -DDeploymentPlan=C:\\Middleware11g\\config\\FPInstallDP.xml PostInstallScript -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml -logfile=c:\\FPInstallPost.log
6. ant –f AIACreateInstance.xml -DPropertiesFile=C:\OracleHome\Oracle_SOA1/config/AIAInstallProperties.xml
Pretty well described in user manual but took time to cut all scripts
1. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIACreateInstance.xml -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml
2. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIAInstallDriver.xml -DDeploymentPlan=C:\\OracleHome\\config\\FPInstallDP.xml PreInstallScript -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml
3. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIAInstallDriver.xml -DDeploymentPlan=C:\\OracleHome\\config\\FPInstallDP.xml Configurations -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml -logfile=c:\\FPInstall.log
4. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIAInstallDriver.xml -DDeploymentPlan=C:\\OracleHome\\config\\FPInstallDP.xml Deployments -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml -logfile=c:\\FPInstallDeploy.log
5. antExit -f C:\\OracleHome\\Infrastructure\\Install\\AID\\AIAInstallDriver.xml -DDeploymentPlan=C:\\Middleware11g\\config\\FPInstallDP.xml PostInstallScript -DPropertiesFile=C:\\OracleHome\\aia_instances\\AIA\\config\\AIAInstallProperties.xml -logfile=c:\\FPInstallPost.log
6. ant –f AIACreateInstance.xml -DPropertiesFile=C:\OracleHome\Oracle_SOA1/config/AIAInstallProperties.xml
7. In case would like to install DEMO: ant –f C:\OracleHome\Oracle_SOA1\samples\AIADemo\config\deployDemo.xml
For these actions would suggest to switch default java homes to 64bit (installed separately) due to fact memory requirements are over 2gb for single run.
AIA MetaData Manual Load/Update
Just to write down scripts:
WLST
connect('weblogic','weblogic1','t3://host:8001')
importMetadata(application='soa-infra',server='soaserver',fromLocation='C:\\bring\\AIAComponents\\**',docs='/apps/AIAComponents/**')
WLST
connect('weblogic','weblogic1','t3://host:8001')
importMetadata(application='soa-infra',server='soaserver',fromLocation='C:\\bring\\AIAComponents\\**',docs='/apps/AIAComponents/**')
Error for each and every composite with BPEL after upgrade from 11.1.1.2 to 11.1.1.4
[2011-02-23T12:48:15.800+00:00] [soaserver] [ERROR] [] [oracle.soa.bpel.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1f5176f] [ecid: 0000ItIYUTz0nny707V^6F1DPG1w000000,0] [APP: soa-infra] Unable to activate process ProvABCSImplProcess[[
ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "ABCSImplProcess" of composite "default/ProvABCSImpl!1.0*4eb6b352-2814-4693-8d13-2a308c0e835a"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.compile(CubeProcessGenerator.java:304)
at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:164)
at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
at com.collaxa.cube.lang.compiler.BPEL1Processor.build(BPEL1Processor.java:514)
at com.collaxa.cube.lang.compiler.BPEL1Processor.handleLoadProblems(BPEL1Processor.java:485)
at com.collaxa.cube.lang.compiler.BPEL1Processor.loadProcess(BPEL1Processor.java:431)
at com.collaxa.cube.lang.compiler.BPEL1Processor.createCubeProcess(BPEL1Processor.java:367)
at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:62)
at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:111)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:240)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:185)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:818)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:119)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:87)
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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy275.deployComponent(Unknown Source)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_bp05wg_ICubeServerManagerLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_bp05wg_ICubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:885)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:128)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:242)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:149)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy292.deploy(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:524)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
]]
ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "ABCSImplProcess" of composite "default/ProvABCSImpl!1.0*4eb6b352-2814-4693-8d13-2a308c0e835a"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.compile(CubeProcessGenerator.java:304)
at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:164)
at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
at com.collaxa.cube.lang.compiler.BPEL1Processor.build(BPEL1Processor.java:514)
at com.collaxa.cube.lang.compiler.BPEL1Processor.handleLoadProblems(BPEL1Processor.java:485)
at com.collaxa.cube.lang.compiler.BPEL1Processor.loadProcess(BPEL1Processor.java:431)
at com.collaxa.cube.lang.compiler.BPEL1Processor.createCubeProcess(BPEL1Processor.java:367)
at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:62)
at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:111)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:240)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:185)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:818)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:119)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:87)
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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy275.deployComponent(Unknown Source)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_bp05wg_ICubeServerManagerLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_bp05wg_ICubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:885)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:128)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:242)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:149)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy292.deploy(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:524)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
]]
1h later: what can I say - redeploy AIA (silent installation) and BPEL processes from jDev 11.1.1.4
Wednesday, 23 February 2011
Upgrade from 11.1.1.2 to 11.1.1.4
Lately did upgrade on Windows 7 from 11.1.1.2 to 11.1.1.4 - just for testing purposes. So, in total it took 1 day due to fact that fight for memory on 32bit java I lost. Needed to install 64bit version.
So some notes which comes up in my mind:
1. At least 6Gb RAM (WL takes only 600Mb, SOA Suite while starting require almost 2Gb);
2. All additional modules like OER/BAM and/or Webcenter easy to upgrade, schema upgrades went perfect comparing to 10g to 11g upgrade;
3. ..
Drafted..
So some notes which comes up in my mind:
1. At least 6Gb RAM (WL takes only 600Mb, SOA Suite while starting require almost 2Gb);
2. All additional modules like OER/BAM and/or Webcenter easy to upgrade, schema upgrades went perfect comparing to 10g to 11g upgrade;
3. ..
Drafted..
UPGAST-01044: unable to connect to the target database
UPGAST-01044: unable to connect to the target database, Database user name: SYS AS SYSDBA IO Error: The Network Adapter could not establish the connection while upgrade DEV_MDS or DEV_SOAINFRA schema.
Some solutions say: ./psa -dbType Oracle -dbConnectString 'host:1521:serviceName' -dbaUserName sys -schemaUserName DEV_MDS
Right would be: ./psa -dbType Oracle -dbConnectString host:1521:serviceName -dbaUserName sys -schemaUserName DEV_MDS
Some solutions say: ./psa -dbType Oracle -dbConnectString 'host:1521:serviceName' -dbaUserName sys -schemaUserName DEV_MDS
Right would be: ./psa -dbType Oracle -dbConnectString host:1521:serviceName -dbaUserName sys -schemaUserName DEV_MDS
Tuesday, 22 February 2011
weblogic 10.3.2 to 10.3.4
Usable entry point might be: https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1073776.1
By some keywords in metalink found PDF saying:
Downloading the Installer From Oracle E-Delivery
To download the installer from the Oracle E-Delivery Web site:
1. Enter the Oracle E-Delivery URL (http://edelivery.oracle.com/) in a Web
browser.
2. Choose your language and click Continue.
3. Complete the Export License Agreement as instructed on the site, and then click
Continue.
4. On the Media Pack Search page, select Oracle Fusion Middleware from the Select
a Product Pack drop-down list.
5. Select your platform from the Platform drop-down list and click Go. The Results
list shows all products that match your selections.
6. Click the Oracle Fusion Middleware 11g Media Pack link.
7. Click the Download link for the WebLogic Server installer you want to download.
8. Click Save.
9. Browse to the directory where you want to save the file. Click Save to start the file
download. A compressed ZIP file is downloaded.
10. Extract the ZIP file to a directory of your choice.
This can't be included in some note?
Btw note describing bugs fixed: Fixed Bugs List - Oracle WebLogic Server 10.3.4 [ID 1240413.1]
By some keywords in metalink found PDF saying:
Downloading the Installer From Oracle E-Delivery
To download the installer from the Oracle E-Delivery Web site:
1. Enter the Oracle E-Delivery URL (http://edelivery.oracle.com/) in a Web
browser.
2. Choose your language and click Continue.
3. Complete the Export License Agreement as instructed on the site, and then click
Continue.
4. On the Media Pack Search page, select Oracle Fusion Middleware from the Select
a Product Pack drop-down list.
5. Select your platform from the Platform drop-down list and click Go. The Results
list shows all products that match your selections.
6. Click the Oracle Fusion Middleware 11g Media Pack link.
7. Click the Download link for the WebLogic Server installer you want to download.
8. Click Save.
9. Browse to the directory where you want to save the file. Click Save to start the file
download. A compressed ZIP file is downloaded.
10. Extract the ZIP file to a directory of your choice.
This can't be included in some note?
Btw note describing bugs fixed: Fixed Bugs List - Oracle WebLogic Server 10.3.4 [ID 1240413.1]
Monday, 21 February 2011
AIA and jDeveloper and Wizzard
While used 10g - a AIA artifact generator for ABCS's generation
When use 11g - a AIA Project Generator for ABCS's
How it works:
1. Create any input (file, DB adapter, WS);
2. Create a ESB (let's be modern - MEDIATOR);
3. Let's create mapping:
a) File -> New
b) "AIA Service Component Project"
c) Fill data asked;
d) Wait for great Result!
Some detail notes about naming:
CreateMyProcessReqABCSImpl consist of following input values:
1. Create comes from field "Service Operation";
2. MyProcess comes from "Application Short Name" + "Object Name"
3. Req comes from Request
4. Rest is extension
When use 11g - a AIA Project Generator for ABCS's
How it works:
1. Create any input (file, DB adapter, WS);
2. Create a ESB (let's be modern - MEDIATOR);
3. Let's create mapping:
a) File -> New
b) "AIA Service Component Project"
c) Fill data asked;
d) Wait for great Result!
Some detail notes about naming:
CreateMyProcessReqABCSImpl consist of following input values:
1. Create comes from field "Service Operation";
2. MyProcess comes from "Application Short Name" + "Object Name"
3. Req comes from Request
4. Rest is extension
AIA 3.0 to 3.1
While great upgrade project run - Oracle release AIA 3.1
Perfect, instead of 11.1.1.2 I'll get 11.1.1.4
Overall release doc is annoying documents but nth really changed, certified on later version as mentioned earlier.
Perfect, instead of 11.1.1.2 I'll get 11.1.1.4
Overall release doc is annoying documents but nth really changed, certified on later version as mentioned earlier.
Friday, 21 January 2011
The composite XYZ is not available
After the soa instance restart migrated, updated process don't come back ("Status Pending"). When click on it then error:
The composite XYZ is not available. This could happen because either the composite has been undeployed or soa-infra has not yet loaded this composite.
Unable to find a WSDL that has a definition for service {XYZ}ABC and port DEG. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server.
Solution: Open project composite in jDeveloper and replace
"http://MyGreatestSoaInstanceKillsMeSoulfly:8001/soa-infra/services/default/AIAAsyncErrorHandlingBPELProcess/client?WSDL"
with
"oramds:/apps/AIAMetaData/AIAComponents/InfrastructureServiceLibrary/V1/wsdls/AIAAsyncErrorHandlingBPELProcess.wsdl"
The reson for error is that during the load of composite mentioned AIAAsyncErrorHandlingBPELProcess might not be loaded.
The composite XYZ is not available. This could happen because either the composite has been undeployed or soa-infra has not yet loaded this composite.
Unable to find a WSDL that has a definition for service {XYZ}ABC and port DEG. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server.
Solution: Open project composite in jDeveloper and replace
"http://MyGreatestSoaInstanceKillsMeSoulfly:8001/soa-infra/services/default/AIAAsyncErrorHandlingBPELProcess/client?WSDL"
with
"oramds:/apps/AIAMetaData/AIAComponents/InfrastructureServiceLibrary/V1/wsdls/AIAAsyncErrorHandlingBPELProcess.wsdl"
The reson for error is that during the load of composite mentioned AIAAsyncErrorHandlingBPELProcess might not be loaded.
Oracle Customer Hub
Oracle Customer Hub looks BIG. Looks SERIOUS. Let's open http://www.oracle.com/us/products/applications/master-data-management/oracle-customer-hub-081990.html
Sales persons can talk for hours about positive things it could bring to Your company (well, it would - we are running eBS, PeopleSoft and JDE). Ok, let's go back to citic:
1. OCH lonely nice thing is MDM (let's "ASS U ME" that design + build for simplified version might take 1 month);
2. OCH suggest to build custom flows - MDM will decide which systems should be notified and let You custom BPEL process know..
3. OCH have a lot of prebuilt stuff - might be but to sort it out You need to outsource dude with tie from Oracle.
Friday's beer is comming!
Sales persons can talk for hours about positive things it could bring to Your company (well, it would - we are running eBS, PeopleSoft and JDE). Ok, let's go back to citic:
1. OCH lonely nice thing is MDM (let's "ASS U ME" that design + build for simplified version might take 1 month);
2. OCH suggest to build custom flows - MDM will decide which systems should be notified and let You custom BPEL process know..
3. OCH have a lot of prebuilt stuff - might be but to sort it out You need to outsource dude with tie from Oracle.
Friday's beer is comming!
Thursday, 20 January 2011
Harvest Project and error raised like: Unable to read plugin file % jdeveloper\harvester\plugins\biz.introspector
Solution: Lookup OER repository installation directory <OER_HOME>/core/tools/solutions/*-OER-Harvester-Solution-Pack.zip
Login to OER and navigate: Admin -> Import/Export -> Import / Export Client -> Applet started -> Import -> Select file and press "Next"..
Run "Harvest Project" in jDeveloper again.
Login to OER and navigate: Admin -> Import/Export -> Import / Export Client -> Applet started -> Import -> Select file and press "Next"..
Run "Harvest Project" in jDeveloper again.
jDeveloper 11g shows oramds as unrecognized
In case DB used then make sure the Application adf-config.xml file looks similar to this:
<?xml version="1.0" encoding="UTF-8" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
xmlns:sec="http://xmlns.oracle.com/adf/security/config">
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config">
<persistence-config>
<metadata-namespaces>
<!-- shared namespace for soa artifacts, such as xsd / wsdl -->
<namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
<!-- customer namespace for sharing stuff -->
<namespace metadata-store-usage="mstore-usage_1" path="/apps"/>
<!-- configuration namespace for the SE/BCs, only exists on the server -->
<namespace metadata-store-usage="mstore-usage_1" path="/soa/configuration"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="mstore-usage_1">
<metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
<property name="jdbc-userid" value="dev_mds"/>
<property name="jdbc-password" value="password"/>
<property name="jdbc-url"
value="jdbc:oracle:thin:@host:1521:sid"/>
<property name="partition-name" value="soa-infra"/>
</metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
</sec:adf-security-child>
</adf-config>
<?xml version="1.0" encoding="UTF-8" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
xmlns:sec="http://xmlns.oracle.com/adf/security/config">
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config">
<persistence-config>
<metadata-namespaces>
<!-- shared namespace for soa artifacts, such as xsd / wsdl -->
<namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
<!-- customer namespace for sharing stuff -->
<namespace metadata-store-usage="mstore-usage_1" path="/apps"/>
<!-- configuration namespace for the SE/BCs, only exists on the server -->
<namespace metadata-store-usage="mstore-usage_1" path="/soa/configuration"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="mstore-usage_1">
<metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
<property name="jdbc-userid" value="dev_mds"/>
<property name="jdbc-password" value="password"/>
<property name="jdbc-url"
value="jdbc:oracle:thin:@host:1521:sid"/>
<property name="partition-name" value="soa-infra"/>
</metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
</sec:adf-security-child>
</adf-config>
AIA Migration
Prerequisites:
1. Running 10g server
2. Running 11g server
3. jDeveloper 11g installed
4. SOA suite installed
under the MW_HOME/Oracle_SOA/util/AIAMigrationUtility script AIAMigrationUtility.xml
As input AIAMigrationUtility.properties with following params:
jdev.home=<jDev HOME>
oracle.home=<PATH to SOA home>
service.home=<Service to migrate PATH>
service.name=<Service name>
http.hostname=<Target HOST>
http.port=<Target SOA PORT>
application.name=<Application name>
target.dir=<Target directory>
process.type=<Provider, Requestor, DBAdapter, JMSAdapter, OracleAppsAdapter, EBF, EBS>
Before execution make sure following environment variables are set (Win):
MW_HOME (set MW_HOME=Directory where Middleware installed)
ANT_HOME (set ANT_HOME=<MW_HOME>\\Oracle_SOA\\ant)
SOA_HOME (set SOA_HOME=<MW_HOME>\\Oracle_SOA)
ORACLE_HOME (set ORACLE_HOME=<MW_HOME>\\Oracle_SOA1)
CLASSPATH (set CLASSPATH=.;<MW_HOME>\\wlserver_10.3\\server\\lib\\weblogic.jar;<MW_HOME>\\Oracle_SOA\\lib\\aia.jar;<MW_HOME>\\modules\\net.sf.antcontrib_1.0.0.0_1-0b2\\lib\\ant-contrib.jar)
PATH (set PATH=<MW_HOME>\\Oracle_SOA1\\ant\\bin;<MW_HOME>\\jrockit_160_14_R27.6.5-32\\jre\\bin;<MW_HOME>\\wlserver_10.3\\server\\lib\\weblogic.jar)
Run the migration for each process:
ant -f AIAMigrationUtility.xml > Process-1.log
Migrate DVM
ant -f AIAMigrationUtility.xml upgradeDVM -DinputDir=C:\SVN\DVMs -DoutputDir=C:\NEW
Don't forget to add path afterwards (not created by default):
xmlns="http://xmlns.oracle.com/dvm"
Btw, good manual available for this!
1. Running 10g server
2. Running 11g server
3. jDeveloper 11g installed
4. SOA suite installed
under the MW_HOME/Oracle_SOA/util/AIAMigrationUtility script AIAMigrationUtility.xml
As input AIAMigrationUtility.properties with following params:
jdev.home=<jDev HOME>
oracle.home=<PATH to SOA home>
service.home=<Service to migrate PATH>
service.name=<Service name>
http.hostname=<Target HOST>
http.port=<Target SOA PORT>
application.name=<Application name>
target.dir=<Target directory>
process.type=<Provider, Requestor, DBAdapter, JMSAdapter, OracleAppsAdapter, EBF, EBS>
Before execution make sure following environment variables are set (Win):
MW_HOME (set MW_HOME=Directory where Middleware installed)
ANT_HOME (set ANT_HOME=<MW_HOME>\\Oracle_SOA\\ant)
SOA_HOME (set SOA_HOME=<MW_HOME>\\Oracle_SOA)
ORACLE_HOME (set ORACLE_HOME=<MW_HOME>\\Oracle_SOA1)
CLASSPATH (set CLASSPATH=.;<MW_HOME>\\wlserver_10.3\\server\\lib\\weblogic.jar;<MW_HOME>\\Oracle_SOA\\lib\\aia.jar;<MW_HOME>\\modules\\net.sf.antcontrib_1.0.0.0_1-0b2\\lib\\ant-contrib.jar)
PATH (set PATH=<MW_HOME>\\Oracle_SOA1\\ant\\bin;<MW_HOME>\\jrockit_160_14_R27.6.5-32\\jre\\bin;<MW_HOME>\\wlserver_10.3\\server\\lib\\weblogic.jar)
Run the migration for each process:
ant -f AIAMigrationUtility.xml > Process-1.log
Migrate DVM
ant -f AIAMigrationUtility.xml upgradeDVM -DinputDir=C:\SVN\DVMs -DoutputDir=C:\NEW
Don't forget to add path afterwards (not created by default):
xmlns="http://xmlns.oracle.com/dvm"
Btw, good manual available for this!
BPEL HTTP connection error code is 407
JDeveloper -> Tools -> Preferences -> Web Browser and Proxy -> Uncheck "Use HTTP Proxy Server"
There might be some issues for "Update" functionality later. But then You can check it on if needed.
There might be some issues for "Update" functionality later. But then You can check it on if needed.
Subscribe to:
Posts (Atom)