Adapter DB-merge operation is a failure in OSB

Hi all

We service OSB invoking a DB adapter with the merge operation. This DB adapter merges data in 3 different tables. We are not able to trace exactly what table badette creates this problem

It works fine when there is no record in the table, but get error when the merger is supposed to update the existing data (row) in the table.

the merger failed. Name of the descriptor: [test. XxatSaomOrderHeadersIface].

Caused by a java.util.ConcurrentModificationException.

; nested exception is:

LIAISON. JCA-11616

DBWriteInteractionSpec run Exception failed.

the merger failed. Name of the descriptor: [test. XxatSaomOrderHeadersIface].

Caused by a java.util.ConcurrentModificationException.

Check the logs for the record output full DBAdapter before this exception.  This exception is considered non reproducible, probably due to an error of modeling.

at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.post(JCABindingReferenceImpl.java:241)

at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invokeOneWay(JCATransportOutboundOperationBindingServiceImpl.java:114)

... more than 75

Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/SyncServiceAgreement/Siebel_Agreements/Adapters/Target/Everest_DBAdapter/OAP_AGREEMENT_ATAGREEMENT_SUB_100_ADB.wsdl [OAP_AGREEMENT_ATAGREEMENT_SUB_100_ADB_ptt::merge (XxatSaomOrderHeadersIfaceCollection)] - SISM JCA Execute of 'merge' failed due to the operation: DBWriteInteractionSpec run has no Exception.

the merger failed. Name of the descriptor: [test. XxatSaomOrderHeadersIface].

Caused by a java.util.ConcurrentModificationException.

; nested exception is:

LIAISON. JCA-11616

DBWriteInteractionSpec run Exception failed.

Can someone help us what's not here?

We have the version # 12.1.3.0.4 OSB.

Thanks in advance

NAIT Slimane

Do you mean "Logger to associate"?  You can skip this step. This is done in the article so that the messages to go to a custom file. If you leave it by default, he's going to - diagnostic.log file. You can see the trace messages in the file.

«"" "Bus Service home page, can you choose Logs-> journal Configuation?.»»»" You get something like below (mine is 12.2.1)

At the same time, you can check with Support Oracle via SR. This being Exception Java, it can also be a bug in DBAdapter. They could provide a fix.

Tags: Fusion Middleware

Similar Questions

  • com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: weblogic.utils.AssertionError: * FAILURE of ASSERTION *.

    Hello

    While I was trying to run the commande./weblogicExportMetadata.sh, I got the below error

    Problem call WLST - Traceback (innermost last):

    File "/ uat/tools/iam/middleware1/Oracle_IDM1/server/bin/weblogicExportMetadata.py", line 22, in it?

    File "/ uat/tools/iam/middleware1/oracle_common/common/wlst/mdsWLSTCommands.py", line 263, in exportMetadata

    File "/ uat/tools/iam/middleware1/oracle_common/common/wlst/mdsWLSTCommands.py", line 816, in executeAppRuntimeMBeanOperation

    File "/ uat/tools/iam/middleware1/oracle_common/common/wlst/mdsWLSTCommands.py", line 1097, in saveStackAndRaiseException

    WLSTException: java.lang.SecurityException: access denied MBean operation.

    MBean: oracle.mds.lcm:name = MDSAppRuntime, type = MDSAppRuntime, Application = OIMMetadata ApplicationVersion = 11.1.2.0.0

    Operation: exportMetadata (java.lang.String, boolean, [Ljava.lang.String; [Ljava.lang.String; [Ljava.lang.String; boolean, boolean, boolean, boolean, java.lang.String, java.lang.String, java.lang.String)

    Details: Access denied. View of the roles: Admin, operator, subject to execution: school principals [weblogic, directors] = MDS-91009: operation failed «exportMetadata» DumpStack() to view the full stacktrace.

    Open chat

    As we ran with the default weblogic user, it should have all permissions. But I checked the permissions once more (below the screenshot). It seems good.

    I searched the forums, few users managed by restarting the server of the IOM. So I tried to restart the servers of the IOM. We are on the cluster environment. I was able to bounce the second server, but just by restarting the first server in the console, I got error below...

    Note: I was able to stop the server using scripts. Authorized tmp, hide them, records of the stage and started the server. But it did not help too.

    Error opening com/bea/console/actions/core/server/serverslifecycle/Lifecycle.jpf.

    The source of this error is:

    com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: weblogic.utils.AssertionError: * FAILURE of ASSERTION *.

    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:697)

    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:266)

    at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.render(PageFlowStubImpl.java:135)

    at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:292)

    to com.bea.netuix.nf.ControlLifecycle$ 6.visit(ControlLifecycle.java:429)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)

    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)

    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)

    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)

    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)

    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:389)

    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)

    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)

    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:253)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)

    at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:64)

    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:131)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1485)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: weblogic.utils.AssertionError: * FAILURE of ASSERTION *.

    at weblogic.server.ServerLifeCycleRuntime.getStateRemote(ServerLifeCycleRuntime.java:734)

    at weblogic.server.ServerLifeCycleRuntime.getState(ServerLifeCycleRuntime.java:581)

    at weblogic.server.ServerLifeCycleRuntime.getStateVal(ServerLifeCycleRuntime.java:778)

    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 weblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:525)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:665)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:648)

    at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.getAttribute(FederatedMBeanServerInterceptor.java:308)

    to weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$ 12.run(WLSMBeanServerInterceptorBase.java:326)

    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)

    at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157)

    to weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$ 12.run(WLSMBeanServerInterceptorBase.java:326)

    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)

    to weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$ 12.run(WLSMBeanServerInterceptorBase.java:326)

    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)

    at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299)

    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279)

    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$ $5 1.run(JMXConnectorSubjectForwarder.java:326)

    to weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$ 5.run(JMXConnectorSubjectForwarder.java:324)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.getAttribute(JMXConnectorSubjectForwarder.java:319)

    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1436)

    to javax.management.remote.rmi.RMIConnectionImpl.access$ 300 (RMIConnectionImpl.java:74)

    to javax.management.remote.rmi.RMIConnectionImpl$ PrivilegedOperation.run (RMIConnectionImpl.java:1300)

    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1399)

    at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:635)

    at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke (unknown Source)

    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)

    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)

    at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.getAttribute (unknown Source)

    to javax.management.remote.rmi.RMIConnector$ RemoteMBeanServerConnection.getAttribute (RMIConnector.java:880)

    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:256)

    at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:504)

    at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380)

    to com.sun.proxy. $Proxy200.getStateVal (unknown Source)

    at com.bea.console.utils.MBeanUtils.getServerLifeCycleRuntimeStateVal(MBeanUtils.java:2689)

    at com.bea.console.actions.core.server.lifecycle.Lifecycle.forceShutdown(Lifecycle.java:623)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)

    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)

    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)

    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)

    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)

    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)

    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

    to org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$ 201 (PageFlowRequestProcessor.java:97)

    to org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ ActionRunner.execute (PageFlowRequestProcessor.java:2044)

    to org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$ WrapActionInterceptorChain.continueChain (ActionInterceptors.java:64)

    at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)

    to org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$ WrapActionInterceptorChain.invoke (ActionInterceptors.java:50)

    to org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$ WrapActionInterceptorChain.continueChain (ActionInterceptors.java:58)

    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)

    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)

    at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)

    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)

    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)

    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)

    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)

    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:262)

    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134)

    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)

    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)

    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:266)

    at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.render(PageFlowStubImpl.java:135)

    at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:292)

    to com.bea.netuix.nf.ControlLifecycle$ 6.visit(ControlLifecycle.java:428)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)

    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)

    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)

    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)

    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)

    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)

    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)

    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)

    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:64)

    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    ... 9 more

    Caused by: java.lang.SecurityException: method 'getState' cannot be used without administrator rights

    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)

    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)

    at weblogic.server.RemoteLifeCycleOperationsImpl_1036_WLStub.getState (unknown Source)

    at weblogic.server.ServerLifeCycleRuntime.getStateRemote(ServerLifeCycleRuntime.java:722)

    ... more than 123

    I searched on the oracle support, with the error messages above highlighted, all the docs asked to check the permissions for the user. As we ran with weblogic users, he had the administrator group.

    Even I tried my user account (a administrators group), that didn't work either.

    Is there something else I need to check or configure the WEBLOGIC user.

    We are on OIM 11 g 2 PS2 and weblogic 10.3.6.

    All entries are greatly appreciated.

    Please suggest.

    Thank you

    Hope this helps others.

    First remove the OUD weblogic user. This did not help.

    I managed to solve the problem by stopping the server of the IOM and by disabling the data dir.

    Thanks handat, Abhishek for your contributions. It helped a lot to minor on the issue.

  • 0x000000F4 beginning physical memory dump, this is the error message I got when I perform the adaptation of data operation or run heavy programs, and when I play the music of his tempo becomes slower.

    Original title: 0x000000f4 beginning physical memory dump

    STOP: 0x000000f4 (0 x 00000003, 0x89cb3a18, 0x89cb3b8c, 0x805d29b4) beginning physical memory dump

    This is the error message I got when I perform the adaptation of data operation or run heavy programs, and when I play the music of his tempo becomes slower... What do I do? Help, please...

    Hello

    You did changes to the computer before this problem?

    Step 1: Check if the problem persists in the clean boot state.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Reference:
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
    1. click on start and then click Run.
    2. type msconfig and click OK.

    The System Configuration Utility dialog box appears.

    3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.
    4. When prompted, click on restart to restart the computer.

    Step 2: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Reference:
    Using the event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=true

    Understanding of event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=true

    Procedure to view and manage event logs in Event Viewer in Windows XP
    http://support.Microsoft.com/kb/308427

  • Java Oracle GoldenGate adapter the data loss after the failure of the transactionCommit()?

    I am developing a custom Manager to deliver the change Oracle logs.

    When errors have occurred, normally, I can throw RuntimeException or return Status.ABEND. Then OGG would be the error in the log and stop the process.

    The following code works fine when operationAdded() failed (extraction process will report abend, and when extraction of restarting after errors, the operations in the transaction failure would be referred to the Manager).

    @Override
    public Status operationAdded(DsEvent e, DsTransaction tx,
      
    DsOperation dsOperation) {
      
    Status status = super.operationAdded(e, tx, dsOperation);
      
    ...
      
    //throw new RuntimeException("op add runtime error");
      
    return status;
    }

    However, when the error occurred in the function transactionCommit(), OGG does work as expected. Throw RuntimeException or return only Status.Abend can stop the extract. Just OGG continue to work like nothing happened. (Code below)

    @Override
    public Status transactionCommit(DsEvent e, DsTransaction tx) {
      
    super.transactionCommit(e, tx);
      
    Status status = sendEvents();
      handlerProperties
    .totalTxns++;
      
    //throw new RuntimeException("tx ci runtime error");
      
    return Status.ABEND;
    }

    I tried to kill and restart the extraction process. The transaction that failed were not referred to the Manager. It seems that all the transaction data that failed were lost!

    Here are the logs of return Status.ABEND in transactionCommit():

    ...
    DEBUG
    [main] (AbstractHandler.java:509) - Event: handler=ggdatahub, transactionCommit ( Commit transaction ) DsTransaction [ops=1, buffered=1, state=BEGIN, start=2015-08-21 20:04:25.842275, end=2015-08-21 20:04:25.842275]
    WARN
    [main] (DsEventManager.java:231) - Error sending event to handler: status=ABEND, event=Commit transaction, handler=ggdatahub
    Exception in thread "main" com.goldengate.atg.util.GGException: Unable to commit transaction, STATUS=ABEND
      at com
    .goldengate.atg.datasource.UserExitDataSource.commitActiveTransaction(UserExitDataSource.java:1392)
      at com
    .goldengate.atg.datasource.UserExitDataSource.commitTx(UserExitDataSource.java:1326)
    Error occured in javawriter.c[752]:
    ***********************************************************************
    Exception received committing transaction: com.goldengate.atg.util.GGException: Unable to commit transaction, STATUS=ABEND

    DEBUG
    [main] (UserExitDataSource.java:504) - (JNI) C-user-exit checkpoint event
    DEBUG
    [main] (UserExitDataSource.java:1364) - UserExitDataSource.CommitActiveTransaction: Same transaction committed more than once (possibly due to commit-on-checkpoint).
    DEBUG
    [main] (UserExitDataSource.java:516) - UserExitDataSource.userExitCheckpoint: incrementing the flush counter
    DEBUG
    [main] (PendingOpGroup.java:315) - now ready to checkpoint? false (was ready? false): {pendingOps=1, groupSize=0, timer=0:00:00.000 [total = 0 ms ]}
    DEBUG
    [main] (UserExitDataSource.java:504) - (JNI) C-user-exit checkpoint event
    DEBUG
    [main] (UserExitDataSource.java:1364) - UserExitDataSource.CommitActiveTransaction: Same transaction committed more than once (possibly due to commit-on-checkpoint).
    DEBUG
    [main] (UserExitDataSource.java:516) - UserExitDataSource.userExitCheckpoint: incrementing the flush counter
    DEBUG
    [pool-1-thread-1] (AbstractDataSource.java:737) -  [2] getStatusReport: Mon Aug 24 10:51:14 CST 2015
    DEBUG
    [Thread-1] (UserExitDataSource.java:1601) - UserExitDataSource closing, #1 of class="UserExitDataSource"
    DEBUG
    [main] (PendingOpGroup.java:315) - now ready to checkpoint? false (was ready? false): {pendingOps=3, groupSize=0, timer=0:00:00.000 [total = 0 ms ]}
    DEBUG
    [Thread-1] (UserExitDataSource.java:1608) - Shutting down data source; attempting a final checkpoint.
    INFO
    [pool-1-thread-1] (AbstractDataSource.java:730) - Memory at Status : Max: 455.00 MB, Total: 60.50 MB, Free: 27.54 MB, Used: 32.96 MB
    DEBUG
    [pool-1-thread-1] (UserExitDataSource.java:1637) - time spent checkpointing: 0:00:00.000 [total = 0 ms ]
    DEBUG
    [Thread-1] (UserExitDataSource.java:1668) - doCheckpoint() called
    INFO
    [pool-1-thread-1] (AbstractDataSource.java:980) - Status report: Mon Aug 24 10:51:14 CST 2015
    *************************************************
    Status Report for UserExit
    *************************************************
    Total elapsed time:   2 days 14:47:06.139 [total = 226026 sec = 3767 min = 62 hr ]   => Total time since first event
    Event processing time:  0:00:12.692 [total = 12 sec ]   => Time spent sending msgs (max: 4795 ms)
    Metadata process time:  0:00:02.159 [total = 2 sec ]   => Time spent receiving metadata (1 tables, 3 columns)
    Operations Received/Sent:  3 / 3
    Rate (overall):   0 op/(peak: 0 op/s)
      
    (per event):   0 op/s
    Transactions Received/Sent: 2 / 0
    Rate (overall):   0 tx/(peak: 0 tx/s)
      
    (per event):   0 tx/s
    3 records processed as of Mon Aug 24 10:51:14 CST 2015 (rate 0/sec, delta 3)
    *************************************************

    Someone knows how to fix this? Thanks in advance!


    For others who may encounter this problem:

    It turns out be a bug...

    I switch to Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230 Version 12.1.2.1.4 OGGCORE_12.1.2.1.0OGGBP_PLATFORMS_150303.1209 20470586 . Everything works fine now.

  • MERGE operator. Logic of work.

    Dear Oracle experts,
    I noticed that in some examples logical MERGER work differs from the standard against which tool you use.

    We will check following example in TOAD, sqlplus and you will see that the priority of deletion in the MERGER is higher than the priority of the update.

    create the t_72 table (id1 number, varchar2 (10) Text1, num1);
    insert into t_72 values (1, 'ok', 105);
    insert into t_72 values (2, 'nok', 106);
    insert into t_72 values (3, 'nok', 107);
    create table t_73 (id2 number, Text2 varchar2 (10), num2);
    insert into t_73 values (1, 'nok', 110);
    insert into t_73 values (2, 'ok', 111);
    insert into t_73 values (4, 'w', 112);
    commit;

    merge into t_72
    using t_73
    on (id1 = id2)
    when matched, then update set text1 Text2 =
    Delete where text1 = "nok".
    When not matched then insert values (id2, text2, num2);

    Select * from t_72;

    What do you see? Line with id1 has not been deleted, but was stored with id2.


    Now please check this one in PL/SQL - it will work correctly.

    Could not explain why I'm dealing with 2 other MERGE logic?

    The correct behavior is that the deletion should be applied after the update has been applied.

    In the example, id1 should be deleted because 'ok' should have been upgrade "nok".

    Considering that id2 should not be deleted as "nok" should have been updated for 'ok '.

    (And id3 should be left alone and inserted id4)

    This is obviously a bug as it was discussed in 11.2.0.3, but having had a look in the Support of Oracle online, it is not obvious that he is one of the most exposed. However, as do a search on "bad results" and "outer join" or "fusion" has produced a good number of results...

    In 11.2.0.2:

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    
    SQL> select * from t_72;
    
           ID1 TEXT1            NUM1
    ---------- ---------- ----------
             1 ok                105
             2 nok               106
             3 nok               107
    
    SQL> @merge
    
    3 rows merged.
    
    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------
    SQL_ID  4jjmpqv9muw31, child number 0
    -------------------------------------
    merge into t_72 using t_73 on (id1=id2) when matched then update set
    text1=text2 delete where text1='nok' when not matched then insert
    values (id2,text2,num2)
    
    Plan hash value: 50174811
    
    ------------------------------------------------------------------------------
    | Id  | Operation             | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------
    |   0 | MERGE STATEMENT       |      |       |       |    12 (100)|          |
    |   1 |  MERGE                | T_72 |       |       |            |          |
    |   2 |   VIEW                |      |       |       |            |          |
    |   3 |    NESTED LOOPS OUTER |      |     3 |   234 |    12   (0)| 00:00:01 |
    |   4 |     TABLE ACCESS FULL | T_73 |     3 |    99 |     3   (0)| 00:00:01 |
    |   5 |     VIEW              |      |     1 |    45 |     3   (0)| 00:00:01 |
    |*  6 |      TABLE ACCESS FULL| T_72 |     1 |    45 |     3   (0)| 00:00:01 |
    ------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       6 - filter("ID1"="ID2")
    
    SQL> select * from t_72;
    
           ID1 TEXT1            NUM1
    ---------- ---------- ----------
             1 nok               105
             3 nok               107
             4 w                 112
    
    SQL>
    

    Whereas a merger without deleting seems to do the right stuff:

    SQL>  select * from t_72;
    
           ID1 TEXT1            NUM1
    ---------- ---------- ----------
             1 ok                105
             2 nok               106
             3 nok               107
    
    SQL> @merge_nodel
    
    3 rows merged.
    
    SQL>  select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------
    SQL_ID  4x0ry1a5yg555, child number 0
    -------------------------------------
    merge into t_72 using t_73 on (id1=id2) when matched then update set
    text1=text2 when not matched then insert values (id2,text2,num2)
    
    Plan hash value: 50174811
    
    ------------------------------------------------------------------------------
    | Id  | Operation             | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------
    |   0 | MERGE STATEMENT       |      |       |       |    12 (100)|          |
    |   1 |  MERGE                | T_72 |       |       |            |          |
    |   2 |   VIEW                |      |       |       |            |          |
    |   3 |    NESTED LOOPS OUTER |      |     3 |   234 |    12   (0)| 00:00:01 |
    |   4 |     TABLE ACCESS FULL | T_73 |     3 |    99 |     3   (0)| 00:00:01 |
    |   5 |     VIEW              |      |     1 |    45 |     3   (0)| 00:00:01 |
    |*  6 |      TABLE ACCESS FULL| T_72 |     1 |    45 |     3   (0)| 00:00:01 |
    ------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       6 - filter("ID1"="ID2")
    
    SQL> select * from t_72;
    
           ID1 TEXT1            NUM1
    ---------- ---------- ----------
             1 nok               105
             2 ok                106
             3 nok               107
             4 w                 112
    
    SQL>
    

    The merger, without deleting has the same execution plan, but there are a number of bugs around FUSION and that can be merged if VIEWS this plan faced with views that may be non-merged, we are in a ballpark with known problems/bugs "bad results".

    But base on these correct update of the results, I would expect the delete clause to remove line 1 NOT row 2.

    Which is what you see in 11.2.0.3, as others have noticed

    SQL> select * from t_72;
    
           ID1 TEXT1            NUM1
    ---------- ---------- ----------
             1 ok                105
             2 nok               106
             3 nok               107
    
    SQL> @merge
    
    3 rows merged.
    
    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------
    SQL_ID  4jjmpqv9muw31, child number 0
    -------------------------------------
    merge into t_72 using t_73 on (id1=id2) when matched then update set
    text1=text2 delete where text1='nok' when not matched then insert
    values (id2,text2,num2)
    
    Plan hash value: 659680654
    
    -----------------------------------------------------------------------------
    | Id  | Operation            | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    -----------------------------------------------------------------------------
    |   0 | MERGE STATEMENT      |      |       |       |     7 (100)|          |
    |   1 |  MERGE               | T_72 |       |       |            |          |
    |   2 |   VIEW               |      |       |       |            |          |
    |*  3 |    HASH JOIN OUTER   |      |     3 |   234 |     7  (15)| 00:00:01 |
    |   4 |     TABLE ACCESS FULL| T_73 |     3 |    99 |     3   (0)| 00:00:01 |
    |   5 |     TABLE ACCESS FULL| T_72 |     3 |   135 |     3   (0)| 00:00:01 |
    -----------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       3 - access("ID1"="ID2")
    
    SQL> select * from t_72;
    
           ID1 TEXT1            NUM1
    ---------- ---------- ----------
             2 ok                106
             3 nok               107
             4 w                 112
    
    SQL>
    

    The execution plan change is perhaps significant? Perhaps.

    Now please check this one in PL/SQL - it will work correctly.

    I tried this in the 11.2.0.2 environment. Same behavior as SQL.
    If you get a difference however, investigate all the differences in the execution plan, etc.

    But, "bad results" bugs - far too many of them.

  • No score during the merge operation

    Dear all,

    This is the scenario that I'm testing in a 11.2.0.1 the solaris installation program

    SQL> create table mypart
       (ename varchar2(20), doj date)
       partition by range (doj)
       INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))
       STORE IN (users)
      (partition p_2009 values less than (to_date('01-JAN-2010','DD-MON-YYYY'))
      )
    ;  2    3    4    5    6    7    8
    
    

    After the insertion of rare recordings, high values are as below

    SQL>  SELECT table_name, partition_name, high_value, num_rows from user_tab_partitions where table_name =UPPER('mypart');
    
    
    TABLE_NA PARTITION_NAME
    -------- ------------------------------
    HIGH_VALUE                                                     NUM_ROWS
    ------------------------------------------------------------ ----------
    MYPART   P_2009
    TO_DATE(' 2010-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'N          1
    LS_CALENDAR=GREGORIA
    
    
    MYPART   SYS_P22
    TO_DATE(' 2010-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'N          1
    LS_CALENDAR=GREGORIA
    
    
    MYPART   SYS_P21
    
    
    TABLE_NA PARTITION_NAME
    -------- ------------------------------
    HIGH_VALUE                                                     NUM_ROWS
    ------------------------------------------------------------ ----------
    TO_DATE(' 2010-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'N          2
    LS_CALENDAR=GREGORIA
    
    
    MYPART   SYS_P23
    TO_DATE(' 2010-06-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'N          1
    LS_CALENDAR=GREGORIA
    
    

    Now I initially merged these two partitions

    SQL> alter table MYPART  merge partitions  for(to_date('02-FEB-2010','DD-MON-YYYY')), for(to_date('03-MAR-2010','DD-MON-YYYY'))  into partition p5;
    
    
    Table altered.
    
    
    SQL>  Select table_name,partition_name from user_tab_partitions;
    
    
    TABLE_NA PARTITION_
    -------- ----------
    
    
    
    MYPART   P_2009
    MYPART   SYS_P23
    MYPART   P5
    

    If I try the merging of Partitions for March and may, she throws an error

    SQL> alter table MYPART  merge partitions  for(to_date('03-MAR-2010','DD-MON-YYYY')), for(to_date('01-MAY-2010','DD-MON-YYYY')) into partition p6;
    alter table MYPART  merge partitions  for(to_date('03-MAR-2010','DD-MON-YYYY')), for(to_date('01-MAY-2010','DD-MON-YYYY')) into partition p6
    *
    ERROR at line 1:
    ORA-14274: partitions being merged are not adjacent
    
    SQL>  alter table MYPART  merge partitions  p5,SYS_P23 into partition p6;
     alter table MYPART  merge partitions  p5,SYS_P23 into partition p6
                                           *
    ERROR at line 1:
    ORA-14274: partitions being merged are not adjacent
    

    So I have to insert a record for the month of April to this adjacent partition with the appearance and then associate it to p5, then finally to p23.

    SQL> insert into mypart values('xxx','07-APR-2010');
    
    
    1 row created.
    MYPART   P_2009
    
    
    TABLE_NA PARTITION_
    -------- ----------
    HIGH_VALUE
    --------------------------------------------------------------------------------
    INT SEG
    --- ---
    TO_DATE(' 2010-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA
    NO  YES
    
    
    MYPART   SYS_P24
    TO_DATE(' 2010-05-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA
    YES YES
    
    
    
    
    TABLE_NA PARTITION_
    -------- ----------
    HIGH_VALUE
    --------------------------------------------------------------------------------
    INT SEG
    --- ---
    MYPART   SYS_P23
    TO_DATE(' 2010-06-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA
    YES YES
    
    
    MYPART   P5
    TO_DATE(' 2010-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA
    NO  YES
    
    
    TABLE_NA PARTITION_
    -------- ----------
    HIGH_VALUE
    --------------------------------------------------------------------------------
    INT SEG
    --- ---
    
    
    
    
    SQL>  alter table MYPART  merge partitions  p5,SYS_P24 into partition p6
      2  /
    
    
    Table altered.
    

    I thought it was the holes between the existing partitions will be automatically merged, but this seems not to happen. Is it a case with partitioning interval? Is there a way to bypass this behavior? Also when I referred to one of the reference material, it is said

    "Front holes higher non-intervalle partition will be silently 'merged' as well.

    But in a real-time scenario where there is a possibility for the records to zero during a particular partition (date or number) Beach, how merge us the partitions after a while to move in the archives?

    So please mark the question ANSWER.

  • THE OPERATING SYSTEM - DISK FAILURE IS NOT FOUND

    MESSAGE WHICH IS DISPLAYED AFTER THE SYSTEM POWER.

    Found.please boot device not install an operating system on your hard drive.

    HP PAVILION DV6 NOTEBOOK

    FACTORY INSTALL OS VISTA

    You can buy any 2.5 "laptop hard drive SATA II of your dv6 should not exceed 500 GB where you want.

    You can see if you can order for your dv6 HP recovery disks, by following the instructions on the link below.

    http://support.HP.com/us-en/document/c00810334

    If the recovery discs are not available for your PC, then Yes, you will need to purchase a full version of Windows 7 for your dv6.

    Paul

  • Adapter for vCenter operations for view v. 1.0.1

    I'm trying to install the adapter for vCOPs to see. I use Windows 2008 R2 SP1, platform and installation of program says this installer is 32-bit application and can not continue on the 64-bit version. The binaries are VMware-vcops-viewadapter - 1.0.1 - 855773.exe. Someone facing the same problem?

    Looks like we have a technical problem with our download group. I have attached the module to speed up.

  • Question: insertion of several lines in the MS Sql Server table using the DB adapter

    Hi all

    I managed to insert a single row in a table of MS SQL Server via the adapter DB to my process BPEL, but when I tried to insert in mutiple lines in the same table of MS SQL server, I encounter the error below.

    I use a DB SQL XA connection to connect to the server.

    Kindly help me to solve the problem. Thanks in advance.

    Error:

    " < bpelFault > < faultType > 0 < / faultType > < remoteFault xmlns =" http://schemas.Oracle.com/BPEL/extension "> < a name ="summary"part > < summary > exemption is is produced when the binding was used." Exception occurred during invocation of the JCA binding: "JCA binding run 'merge' reference operations have to: DBWriteInteractionSpec Execute Failed Exception." the merger failed. The descriptor name: [LoadCmpAggSpendStage.SapTable]. Caused by com.microsoft.sqlserver.jdbc.SQLServerException: incorrect syntax near ')'... Check the logs for the record output full DBAdapter before this exception. This exception is considered as reproducible, probably due to a communication failure. To be classified as not reproducible rather add property nonRetriableErrorCodes with the '102' value in the deployment descriptor (i.e. weblogic - RA.Xml). Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff. All properties are integers. ". The called JCA adapter threw an exception of resource. Please examine the error message above carefully to determine a resolution. < /Summary. (> < / piece > < part name = "detail" > < detail syntax > incorrect near ')'. < / details > < / piece > < part name = "code" > < code > 102 < / code > < / piece > < / remoteFault > < / bpelFault >

    Kind regards

    Balaji Rahmani

    It seems that in this case is called merge operation. If existing records (check primary key) are not there then it will be inserted on the other update. Check the syntax of the query that is created. It looks like she may have a supplement "). If you want to only insert then call insert operation and not merge.

  • Why use Top Link is the best in the DB adapter?

    Hi all
    The one you suggest, why use Top Link (Build-in Insert, operation Select etc.) is the best in the DB adapter using the custom query above?

    Thank you

    Hi Michel,.

    to insert / select, it depends on what kind of user you are. TopLink allows you to browse and click on tables and have everything generated for you. If you're a DBA or show me the SQL type then you can simply type SQL directly.

    Some benefits of TopLink would be:

    -The range of SQL generated by TopLink is limited, but if you hard code SQL complex in your service you need to keep it.

    TopLink - can generate when executing the correct SQL for a database, to tell DB2 to Oracle easy.

    -L' merge operation will compare the XML of the columns on the data entry and update only what has changed. It can also make a sparse merger. If only have been 4 columns in the XML file, only 4 columns in the database will be updated.

    -For the incoming interrogation strategy (LogicalDelete, table of sequencing, etc.) is a configuration property and then at run time, several SQL statements are generated. Also leverages the SQL syntax advanced like the Oracle only for UPDATE SKIP LOCKED, he wrote everything yourself can be tedious and error-prone.

    -The main advantage of TopLink is when you go beyond the thinking on one table. If you import more than one table at the same time, TopLink will generate SQL code to select maintain several tables, set the validation and generate a hierarchical XSD. With custom SQL the corresponding XSD is always flat. That is, if you just need to insert a PGE that you could get away with custom SQL. If you need to insert a dept and EMP, I'd use TopLink.

    -C' when the intermediate abstraction of an object/array is also more logical, because you only need to import a schema relationship complex once, then generate inserts, selects, etc.

    So I hope this helps. They are each just as viable and can do something that the other cannot. Where you see an overlap I would go with your personal preference.

    Thank you

    Steve

  • Photosmart C309a does not illuminate and its power adapter 0957-2259 LED flashes.

    I have a Photosmart all-in-in-one C309a.  A few days ago I started to receive messages from the ink system dailure, with the 0xc19a003e code.  I followed it to corresponding to a unit of printhead failed, so I ordered a replacement parts HP UK store on Friday, October 14, and it came today, Monday the 17th. Great rotation of the order of HP UK - thank you.

    When I came to adapt to the new print head today, the printer does not illuminate.  No sign of the power of the power button, the buttons command or display.  The power adapter (model number 0957-2259) has a green LED which was (and still is) very quickly - flashing several times per second.  After that the power had been in the power adapter for a while (several tens of minutes I think, I wasn't timing it) noise started coming from the inside of the printer.  It is a kind of regular knocking and seems to echo the led blinks - but there was still no sign of power - including no movement of the ink/printhead assembly.

    I tried to find suggestions online and I've seen a few posts on some websites that suggest that the adapter can be unloaded in some way - but they are almost exclusively on the PC.  Posts read as if there is some kind of capacitor which accumulates (too) charge and discharge it restores the adapter to the operating state.

    I just reconnected the power again to see if there is no change.  After about 10 minutes, hit him coming back for a few moments then stopped.  I noticed that the LED on the AC Adpater was green fixed so I tried the power switch on the printer and it began to start.  But then hit him came back, the display panel started flashing white light and then complete disappearance of signs of life (other than sound knocking, which became intermittent, maybe 5-15 seconds each time).  The LEDs returned to.

    And then after maybe 20-30 minutes with the power, the printer finally tried to start, the light of the AC adapter / CC has been stable and my computer thought that the printer was (briefly) online.

    But the adapter light started blinking and now the printer behaves as if it has no power.

    It seems to me that the symptoms is due to a problem with the AC adapter.  Then

    (A) that seems reasonable?

    (B) is there a way to release or otherwise 'fixing' the adapter?

    or (C) is it better/more safe to replace the adapter?

    TIA,

    Chris

    The adapter can be reset as described here.

  • Question about the transition from string values to the Partition clause in a merge statement

    Hi all

    I use the code to update the data of specific secondary partition using oracle merge statements below.

    I'm getting the name of the secondary partition and pass this string to the secondary partition clause.

    The Merge statement is a failure, indicating that the specified secondary partition does not exist. But the partition under do exists for the table.

    We use a server Oracle 11 GR 2.

    Here is the code I use to fill in the data.

    declare
    ln_min_batchkey PLS_INTEGER;
    ln_max_batchkey PLS_INTEGER;
    lv_partition_name VARCHAR2 (32767).
    lv_subpartition_name VARCHAR2 (32767).
    Start

    FOR m1 IN (SELECT (year_val + 1) AS year_val, year_val AS orig_year_val)
    FROM (SELECT DISTINCT
    To_char (batch_create_dt, 'YYYY') year_val
    OF stores_comm_mob_sub_temp
    ORDER BY 1)
    ORDER BY year_val)
    LOOP
    lv_partition_name: =.
    () scmsa_handset_mobility_data_build.fn_get_partition_name
    nom_table_p = > 'STORES_COMM_MOB_SUB_INFO ',.
    p_search_string = > m1.year_val);

    FOR m2
    IN (SELECT DISTINCT
    'M' || To_char (batch_create_dt, 'MM') AS month_val
    OF stores_comm_mob_sub_temp
    WHERE TO_CHAR (batch_create_dt, 'YYYY') = m1.orig_year_val)
    LOOP
    lv_subpartition_name: =.
    () scmsa_handset_mobility_data_build.fn_get_subpartition_name
    nom_table_p = > 'STORES_COMM_MOB_SUB_INFO ',.
    p_partition_name = > lv_partition_name,
    p_search_string = > m2.month_val);

    DBMS_OUTPUT. Put_line (' lv_subpartition_name = > ' | lv_subpartition_name |' and lv_partition_name = > ' | lv_partition_name);

    IF lv_subpartition_name IS NULL
    THEN
    DBMS_OUTPUT. Put_line ("to the INTERIOR of FI = > ' |") M2.month_val);
    INSERT INTO STORES_COMM_MOB_SUB_INFO (T1)
    T1.ntlogin,
    T1.first_name,
    T1.last_name,
    T1.job_title,
    T1.store_id,
    T1.batch_create_dt)
    SELECT t2.ntlogin,
    T2.first_name,
    T2.last_name,
    T2.job_title,
    T2.store_id,
    T2.batch_create_dt
    OF stores_comm_mob_sub_temp t2
    WHERE TO_CHAR (batch_create_dt, 'YYYY') = m1.orig_year_val
    AND'M '. To_char (batch_create_dt, 'MM') =
    M2.month_val;
    ELSIF lv_subpartition_name IS NOT NULL
    THEN
    DBMS_OUTPUT. Put_line (' INSIDE ELSIF = > ' | m2.month_val);
    MERGE (SELECT *)
    OF stores_comm_mob_sub_info
    SUBPARTITION (lv_subpartition_name)) T1
    USING (SELECT *)
    OF stores_comm_mob_sub_temp
    WHERE TO_CHAR (batch_create_dt, 'YYYY') =
    M1.orig_year_val
    AND'M '. To_char (batch_create_dt, 'MM') =
    M2.month_val) T2
    WE (T1.store_id = T2.store_id
    AND T1.ntlogin = T2.ntlogin)
    WHEN MATCHED
    THEN
    GAME UPDATE
    T1.postpaid_totalqty =
    (NVL (t1.postpaid_totalqty, 0))
    (+ NVL (t2.postpaid_totalqty, 0));
    T1.sales_transaction_dt =
    LARGEST)
    NVL (t1.sales_transaction_dt,
    T2.sales_transaction_dt),
    NVL (t2.sales_transaction_dt,
    T1.sales_transaction_dt)),
    T1.batch_create_dt =
    LARGEST)
    NVL (t1.batch_create_dt, t2.batch_create_dt),
    NVL (t2.batch_create_dt, t1.batch_create_dt))
    WHEN NOT MATCHED
    THEN
    INSERT (t1.ntlogin,
    T1.first_name,
    T1.last_name,
    T1.job_title,
    T1.store_id,
    T1.batch_create_dt)
    VALUES (t2.ntlogin,
    T2.first_name,
    T2.last_name,
    T2.job_title,
    T2.store_id,
    T2.batch_create_dt);
    END IF;
    END LOOP;
    END LOOP;

    COMMIT;

    end;
    /



    Really appreciate your input here.

    Thank you
    MK.

    Hello

    You can use "immediate execution" what works.

    Thank you

  • Merge help

    Oracle 11.2.0.1
    Windows

    create table customer (cust_id number, cust_name varchar2 (30), address varchar2 (30), mobile phone number (9), bank_name varchar2 (30));
    Insert into customer values(100,'ABC','Delhi',123456,'Bank1');
    Insert into customer values(105,'XYZ','NY',512455,'Bank-14');
    Insert into customer values(102,'AAA','London',524015,'Bank2');
    Insert into customer values(108,'ZZZ','Perth',22141,'Bank6');
    Insert into customer values(111,'BBB','Delhi',12140,'Bank1');
    create table (number of copyto, copyfrom number) transfers;
    insert into a values (102 100) transfers;
    insert into a values (111 108) transfers;
       CUST_ID CUST_NAME                      ADDRESS                            MOBILE BANK_NAME
    ---------- ------------------------------ ------------------------------ ---------- ------------------------------
           100 ABC                            Delhi                              123456 Bank1
           105 XYZ                            NY                                 512455 Bank-14
           102 AAA                            London                             524015 Bank2
           108 ZZZ                            Perth                               22141 Bank6
           111 BBB                            Delhi                               12140 Bank1
    
    SQL> select * from transfers;
    
        COPYTO   COPYFROM
    ---------- ----------
           102        100
           111        108
    After the merge operation (based on the transfer table: cust_name, address, and mobile columns only not bank_name; that is, customer name, address and mobile phone number of 102 cust_id should be replaced by cust_id) 100

    Power required:
       CUST_ID CUST_NAME                      ADDRESS                            MOBILE BANK_NAME
    ---------- ------------------------------ ------------------------------ ---------- ------------------------------
           100 ABC                            Delhi                              123456 Bank1
           105 XYZ                            NY                                 512455 Bank-14
           102 ABC                            Delhi                              123456 Bank2
           108 ZZZ                            Perth                               22141 Bank6
           111 ZZZ                            Perth                               22141 Bank1
    Kindly help me, how can I write merge order above.

    Thank you.

    Something like->

    SATYAKI>
    SATYAKI>select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    Elapsed: 00:00:00.57
    SATYAKI>
    SATYAKI>create table customer(cust_id number,cust_name varchar2(30),address varchar2(30),mobile number(9),bank_name varchar2(30));
    
    Table created.
    
    Elapsed: 00:00:00.28
    SATYAKI>
    SATYAKI>insert into customer values(100,'ABC','Delhi',123456,'Bank1');
    
    1 row created.
    
    Elapsed: 00:00:00.26
    SATYAKI>insert into customer values(105,'XYZ','NY',512455,'Bank-14');
    
    1 row created.
    
    Elapsed: 00:00:00.23
    SATYAKI>insert into customer values(102,'AAA','London',524015,'Bank2');
    
    1 row created.
    
    Elapsed: 00:00:00.25
    SATYAKI>insert into customer values(108,'ZZZ','Perth',22141,'Bank6');
    
    1 row created.
    
    Elapsed: 00:00:00.25
    SATYAKI>insert into customer values(111,'BBB','Delhi',12140,'Bank1');
    
    1 row created.
    
    Elapsed: 00:00:00.28
    SATYAKI>create table transfers(copyto number,copyfrom number);
    
    Table created.
    
    Elapsed: 00:00:00.36
    SATYAKI>insert into transfers values (102,100);
    
    1 row created.
    
    Elapsed: 00:00:00.28
    SATYAKI>insert into transfers values (111,108);
    
    1 row created.
    
    Elapsed: 00:00:00.28
    SATYAKI>
    SATYAKI>commit;
    
    Commit complete.
    
    Elapsed: 00:00:00.26
    SATYAKI>
    SATYAKI>select * from customer;
    
       CUST_ID CUST_NAME                      ADDRESS                            MOBILE BANK_NAME
    ---------- ------------------------------ ------------------------------ ---------- ------------------------------
           100 ABC                            Delhi                              123456 Bank1
           105 XYZ                            NY                                 512455 Bank-14
           102 AAA                            London                             524015 Bank2
           108 ZZZ                            Perth                               22141 Bank6
           111 BBB                            Delhi                               12140 Bank1
    
    Elapsed: 00:00:00.62
    SATYAKI>
    SATYAKI>
    SATYAKI>select * from transfers;
    
        COPYTO   COPYFROM
    ---------- ----------
           102        100
           111        108
    
    Elapsed: 00:00:00.54
    SATYAKI>
    SATYAKI>merge into customer o
      2  using (
      3          select o.copyto cust_id,
      4                 c.cust_name cust_name,
      5                 c.address address,
      6                 c.mobile mobile,
      7                 c.bank_name bank_name
      8          from customer c,
      9               transfers o
     10          where c.cust_id = o.copyfrom
     11        ) n
     12  on (
     13        o.cust_id = n.cust_id
     14     )
     15  when matched then
     16    update
     17    set o.cust_name = n.cust_name,
     18        o.address   = n.address,
     19        o.mobile    = n.mobile,
     20        o.bank_name = n.bank_name;
    
    2 rows merged.
    
    Elapsed: 00:00:01.26
    SATYAKI>
    SATYAKI>select * from customer;
    
       CUST_ID CUST_NAME                      ADDRESS                            MOBILE BANK_NAME
    ---------- ------------------------------ ------------------------------ ---------- ------------------------------
           100 ABC                            Delhi                              123456 Bank1
           105 XYZ                            NY                                 512455 Bank-14
           102 ABC                            Delhi                              123456 Bank1
           108 ZZZ                            Perth                               22141 Bank6
           111 ZZZ                            Perth                               22141 Bank6
    
    Elapsed: 00:00:00.79
    SATYAKI>
    

    Kind regards.

    LOULOU

  • Unique constraint shot while refreshing in the MERGE statement.

    Hi guys

    I have a question that I can't solve. Would appreciate any help on this. The configuration of the data and the script is as below.
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 4 11:46:02 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> 
    
    create table table_1
    (id number,
     id_name varchar2(20));
     
    Alter table table_1 add primary key(id);
    
    create table table_2
    (id number,
     id_name varchar2(20));
     
     insert into table_2 values (1, 'id_1');
     insert into table_2 values (2, 'id_2');
     insert into table_2 values (1, 'id_1_upd');
    
    SQL> select * from table_1;
    
    no rows selected
    
    SQL> select * from table_2;
    
            ID ID_NAME
    ---------- --------------------
             1 id_1
             2 id_2
             1 id_1_upd
    
    SQL> 
    
    SQL>  merge into table_1 target
      2   using (select id, 
      3                 id_name
      4            from table_2) source
      5   on (source.id = target.id)
      6   when matched then
      7      update set target.id_name = source.id_name
      8   when not matched then
      9      insert(id,
     10             id_name)
     11      values(source.id,
     12             source.id_name);
     merge into table_1 target
    *
    ERROR at line 1:
    ORA-00001: unique constraint (SYS_C00137508) violated
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  select constraint_type, table_name, status
      2*   from user_constraints where constraint_name = 'SYS_C00137508'
    SQL> /
    
    C TABLE_NAME                     STATUS
    - ------------------------------ --------
    P TABLE_1                        ENABLED
    Can someone help me please to solve this as the actual code that I am developing has the same configuration and I am constantly getting this error. As long as the same record does not come to the top in the 'source' table, MERGE performs an update or an insert.
    But as a "duplicate" coming soon to update, I get the error of unique constraint.

    Thank you
    -K.B.

    Dear Sir

    ERROR at line 1:
    ORA-00001: unique constraint (SYS_C00137508) violated
    

    You think two things

    (a) coherent reading: what was the situation of table_1 when the maching clause was initially assessed. There were 0 insert rows that correspond to which means that the merge operation will be all
    (b) your corresponding clause has a problem: the join column must be unique in both tables the case the merger will be ambiguous. You do not have a unique key on the source table
    (c) think that the merge operation will never insert id = 1 and then update id = 1 within the same operation. Will never happen

    Hope this helps

    Mohamed Houri

  • Using the merge statement on support-compatible version table time invalid

    Hello
    just a simple question: is it possible to use a merge statement on a table of valid time support-compatible version?

    For the next test, I get an ORA-01733.
    (t1 is the version table compatible with time valid support t1 and t2 have the same structure: two fields: NAME and CODE (pk))

    merge into < table1 > t1
    with the help of < table2 > t2
    on (t1. CODE = t2. CODE)
    when matched, THEN update set t1.NAME = t1.NAME
    where <>t1.NAME, t2.NAME;

    Thank you

    Hello

    The sql merge operation does not currently work with versioned tables, with or without validtime. The optimizer of the merger results in insert/update statements on the underlying table for the _LT. As a result, instead of triggers that are created during the enableversioning are never triggered.

    Kind regards
    Ben

Maybe you are looking for