Registry issue when invoking the save_business operation
When, I invoke the save_business operation on the UDDI_Publication_PortType I get the stack trace below. This really puzzles me because I've sent in a few different messages that validate against the uddi_v3.xsd.
Anybody know how to determine which element or attribute it's choking on?
org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:77)
at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize(Save_businessDeserializer.java:187)
at com.idoox.wasp.serialization.xml.XMLBasicConstructDeserializer.deserialize (XMLBasicConstructDeserializer.java:168)
at com.idoox.wasp.serialization.xml.XMLSimpleDeserializer.deserialize(XMLSimpleDeserializer.java :80)
at com.idoox.wasp.serialization.SerializationHelper.deserializeElement( SerializationHelper.java:437)
at com.idoox.wasp.serialization.WaspSerializationHelper.deserialize(WaspSerializationHelper.java:220)
at com.systinet.wasp.server.adaptor.JavaInvoker.fillCallParamsXml(JavaInvoker.java :1223)
at com.systinet.wasp.server.adaptor.JavaInvoker.beginInvoke(JavaInvoker.java:492)
at com.idoox.wasp.server.adaptor.JavaAdaptorImpl.beginInvoke (JavaAdaptorImpl.java:63)
at com.idoox.wasp.server.AdaptorTemplate.javaInvocation (AdaptorTemplate.java:514)
at com.idoox.wasp.server.AdaptorTemplate.doDispatch(AdaptorTemplate.java:395)
at com.idoox.wasp.server.AdaptorTemplate.dispatch (AdaptorTemplate.java:328)
at com.idoox.wasp.server.ServiceConnector.dispatch (ServiceConnector.java:393)
at com.systinet.wasp.ServiceManagerImpl.dispatchRequest(ServiceManagerImpl.java:638)
at com.systinet.wasp.ServiceManagerImpl.dispatch (ServiceManagerImpl.java:473)
at com.systinet.wasp.ServiceManagerImpl$DispatcherConnHandler.handlePost (ServiceManagerImpl.java:2594)
at com.systinet.transport.servlet.server.Servlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service( HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java :711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java :368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest (HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run (HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java :239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java :34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java :303)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:156)
at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize(Save_businessDeserializer.java:67)
... 31 more
Caused by: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java:77)
at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:131)
... 32 more
Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java:319)
at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize (BusinessEntityDeserializer.java :67)
... 33 more
Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize(DescriptionDeserializer.java:77)
at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java :183)
... 34 more
Caused by: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize (DescriptionDeserializer.java:141)
at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize(DescriptionDeserializer.java:67)
... 35 more
Caused by: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
at org.systinet.uddi.client.v3.struct.Description.setValue(Description.java:84)
at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize (DescriptionDeserializer.java:127)
... 36 more
Hi,
Try seeing the log messages after doing the following setup in the instance :-
1. Telnet to environment
1. In $INST_TOP/ora/10.1.3/j2ee/oafm/config/oc4j.properties
1. Add following property at the end of the file : SOA_ENABLE_STANDALONE_LOGGING=TRUE
2. Bounce oafm container using script $ADMIN_SCRIPTS_HOME/adoafmctl.sh
3. Perform any SOA specific action like generate.
SOA specific log would be created at : $INST_TOP/soa/SOALog.log
This file should show you the exact error happening.
Thanks,
Sai.M
Similar Messages
-
Detail; The fault returned when invoking the web service operation
Hi,
We are getting below errors from Coldfusion, I am not a coldfusion expert engg. so unable to trace it futher..kindly suggest some move to get this resolve.
Detail; The fault returned when invoking the web service operation is:<br> <pre>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: java.lang.reflect.UndeclaredThrowableException faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.lang.reflect.UndeclaredThrowableException at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(U... ''</pre>
Message: Cannot perform web service invocation getStudentByNRIC.
StackTrace: coldfusion.xml.rpc.ServiceProxy$ServiceInvocationException: Cannot perform web service invocation getStudentByNRIC. at coldfusion.xml.rpc.ServiceProxy.invokeImpl(ServiceProxy.java:230) at coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProxy.java:143) atI expected something like:
http://localhost:8500/opensource/QBWC_Shell.cfc?wsdl
Apart from that, your code looks right. -
Error while invoking the commit operation in a data control
JDeveloper 11.1.2
When we invoke the commit operation exposed thru the data control, sometimes we get the following error:
Caused by: java.lang.NullPointerException
at oracle.jbo.server.DBTransactionImpl.addPendingEvent(DBTransactionImpl.java:5751)
at oracle.jbo.server.DBTransactionImpl.sendOrQueueEventForSharedTrans(DBTransactionImpl.java:6659)
at oracle.jbo.server.DBTransactionImpl.fireTransactionStateEvent(DBTransactionImpl.java:6693)
at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2301)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2159)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
This issue is intermittent but occurs many times.
I am NOT able to find any issues with the code.
Any pointers on resolving the issue.
Thanks,
NavaneethMy problem is special, we change the AM configuration to EJB (2.1 stateful, let's put performance issue aside) and deploy remotely, however, there's a NullPointerException occurred at the same line number as your case when we change the task flow id of the dynamic region, because the ADF framework always calls Rollback during region refresh, this Rollback cause the NullPointerException. Even if I caught and ignore this error, there will be always a NullPointerException thrown the next time we do any VO attribute update (kind of same as the blog entry described below).
http://adfbugs.blogspot.com/2011/08/rollback-is-executed-when-region-is.html
I am not sure if we could benefit from fixing of your SR by Oracle. Please share if you have any hints, thank you!
Edited by: codeplay on Mar 30, 2012 9:42 AM -
Exception occured while invoking the webservice operation
I have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
Thanks
NasirI have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
Thanks
Nasir -
Hello,
I'm not sure when (I suspect SQL 2012 SP1 CU3 and Windows Updates) reporting stopped working.
In Internet Explorer I have error:
An error occurred when invoking the authorization extension. (rsAuthorizationExtensionError)
Get
Online Help
For more information about this error navigate to the report server on the local server machine, or enable remote errors
In MSSRS logs lot of:
library!ReportServer_0-1!15f4!03/31/2015-00:00:42:: i INFO: Call to ListChildrenAction(/, False).
library!ReportServer_0-1!15f4!03/31/2015-00:00:42:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.AuthorizationExtensionException: , Microsoft.ReportingServices.Diagnostics.Utilities.AuthorizationExtensionException: An error occurred
when invoking the authorization extension. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The type initializer for 'Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess' threw an exception. (Fault Detail is
equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.TypeInitializationException: The type initializer for 'Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess' threw an exception. ----> System.Exception: Exception decrypting. The specified file could not be decrypted
at Microsoft.EnterpriseManagement.Security.DPAPIWrapper.Decrypt(Byte[] cipherText)
at Microsoft.EnterpriseManagement.Security.AsymmetricKeyManager.Initialize(Byte[] publicKey)
at Microsoft.EnterpriseManagement.Security.SecureStorageManager.Initialize()
at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.get_secureStorageDatabaseManager()
at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess..cctor()
--- End of inner ExceptionDetail stack trace ---
at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess..ctor()
at CreateMicrosoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessBackCompatProxy()
at Syst...).
--- End of inner exception stack trace ---;
MSSRS version is
Microsoft SQL Server Reporting Services Version 2011.0110.5058.00.
I tried to delete all encrypted content, restart SQL and Reporting few times, install last Windows Update updates and don't have idea what to do more.
SQL and MSSRS services are working on domain accounts, nothing changes.Hi LukaszH,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
I'm using a mid 2014 13" rmbp. I reinstall the Yosemite due to the wifi issue, when finished, the iMovie was not installed, I try to download it from app store, but it's not free. How can I get iMovie back?
It's something to do with the main user account (not iTunes account) on my Mac because I logged in with another account and it downloaded fine, I installed it on the HDD and even though the date in App Store was 16th October 2014, it is the full installer of 10.10.2.
To try to resolve this problem, I have copied the installer app elsewhere and deleted it but App Store still will not allow me to download it with my main user account yet just allowed me to update iTunes.
I had a brainwave last night that it might have been related to me changing the default downloads folder to one not on my boot drive (to save disk space on my main boot drive) but having changed it back, tried again, rebooted and tried yet again, deleted my App Store preferences. nothing has worked. -
Issue in invoking the webservice on EBS 12.1.3
Hi,
We are using R12.1.3 version of EBS. We have developed the custome PL SQL logic and deployed it on the Integration repository. Generated the WSDL and Deploy process were successful on IR. Authentication type used was "Username Token". Created the necessary user grants.
When we try to invoke the webservice from SOAP UI, we are getting below error:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: System Errornull</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
Also, we checked in the log files and found below entries.
<MSG_TEXT>An error occurred for port: SOAProvider: oracle.webservices.provider.ProviderException: oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: System Errornull.</MSG_TEXT>
<MSG_TEXT>Unable to determine operation id from SOAP Message.</MSG_TEXT>
Can someone help me in this issue? We are successfully able to invoke the same webservices on R12.1 version but getting an error in 12.1.3 version!!!
Thanks in advance.
Regards,
VasanthHi,
Try seeing the log messages after doing the following setup in the instance :-
1. Telnet to environment
1. In $INST_TOP/ora/10.1.3/j2ee/oafm/config/oc4j.properties
1. Add following property at the end of the file : SOA_ENABLE_STANDALONE_LOGGING=TRUE
2. Bounce oafm container using script $ADMIN_SCRIPTS_HOME/adoafmctl.sh
3. Perform any SOA specific action like generate.
SOA specific log would be created at : $INST_TOP/soa/SOALog.log
This file should show you the exact error happening.
Thanks,
Sai.M -
Issue in invoking the BPEL process from Oracle using a SOAP Request
Hi,
We are facing an issue while invoking a deployed Bpel Process from Oracle Applications 11.5.10..
Using a concurrent program( Unix / Host program ) we are passing the input variables required for the Bpel process in the ProcessRequest tags and forming this as a SOAP message payload.
Then trying to invoke the deployed bpel process using the end point location using HTTP POST..but nothing is happening..
The bpel process is not getting invoked when i look at the Console and also checked for the Manual Recovery queue..it's not stuck there as well..
Have set the Transfer Time Out to 25 minutes using UTL_HTTP.SET_TRANSFER_TIMEOUT(1500);
Could someone please help us as soon as possible with this ..as this is critical and we are stuck at the moment.
The logic is mentioned below :
UTL_HTTP.SET_TRANSFER_TIMEOUT(1500);
UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(ENABLE=>TRUE);
soap_request:='<?xml version="1.0" encoding="UTF-8"?>'||
'<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'||
'<soap:Header/>'||
'<soap:Body xmlns:ns1="http://xmlns.oracle.com/bpelprocessname">'||
'<ns1:bpelprocessnameProcessRequest>'||
'<ns1:CSONum>'||order_number||'</ns1:CSONum>'||
'<ns1:CreationDate>'||c_chr_cso_last_run_dte||'</ns1:CreationDate>'||
'</ns1:bpelprocessnameProcessRequest>'||
'</soap:Body>'||
'</soap:Envelope>';
http_req:= utl_http.begin_request
('http://bpel_server ip:port/orabpel/domain_name/bpelprocessname/1.0' , 'POST', 'HTTP/1.1'
utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
utl_http.set_header(http_req, 'SOAPAction', 'process');
utl_http.write_text(http_req, soap_request) ;
http_resp:= utl_http.get_response(http_req) ;
utl_http.read_text(http_resp, soap_respond) ;
utl_http.end_response(http_resp) ;
dbms_output.put_line(soap_respond);
Thankscheck if your soap envelope is correct,check my below procedure which is working fine for me
procedure xxxxx_BPEL_SCHEDULER
IS
soap_request varchar2(30000);
soap_respond varchar2(30000);
http_req utl_http.req;
http_resp utl_http.resp;
launch_url varchar2(240) ;
begin
soap_request:='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:add="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:star="http://xmlns.oracle.com/xxxxx_BPEL_SCHEDULER">
<soapenv:Header>
<add:MessageID>?</add:MessageID>
<add:ReplyTo>
<add:Address>?</add:Address>
<!--Optional:-->
<add:ReferenceProperties>
<!--You may enter ANY elements at this point-->
</add:ReferenceProperties>
<!--Optional:-->
<add:PortType>?</add:PortType>
<!--Optional:-->
<add:ServiceName PortName="?">?</add:ServiceName>
<!--You may enter ANY elements at this point-->
</add:ReplyTo>
</soapenv:Header>
<soapenv:Body>
<star:STARS_BPEL_SCHEDULERProcessRequest>
<star:SCHEDULER_PARAM1>?</star:SCHEDULER_PARAM1>
<star:SCHEDULER_PARAM2>?</star:SCHEDULER_PARAM2>
<star:SCHEDULER_PARAM3>?</star:SCHEDULER_PARAM3>
<star:SCHEDULER_PARAM4>?</star:SCHEDULER_PARAM4>
<star:SCHEDULER_PARAM5>?</star:SCHEDULER_PARAM5>
</star:STARS_BPEL_SCHEDULERProcessRequest>
</soapenv:Body>
</soapenv:Envelope>';
http_req:= utl_http.begin_request('http://xxxxxx.com:16000/orabpel/default/xxxx_BPEL_SCHEDULER/1.0 '
,'POST',
'HTTP/1.1'
utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
utl_http.set_header(http_req, 'SOAPAction', 'initiate');
utl_http.write_text(http_req, soap_request) ;
http_resp:= utl_http.get_response(http_req) ;
utl_http.read_text(http_resp, soap_respond) ;
utl_http.end_response(http_resp) ;
dbms_output.put_line(soap_respond);
END; -
Unable to load the specified offline registry hive when rejoining the domain
I have a Windows Server 2008 R2 Ent member server that we needed to clone. So we removed it from the domain, cloned it, and when we went back to join it to the domain it we get a error:
The Following error occurred attempting to join the domain: Unable to load the specified offline registry hive. Please ensure you have access to the specified path location and permissions to modify its contents. Running as an elevated administrator
may be required.
There is nothing in event viewer and no other error message then this. I can look at my domain controller and i do see a computer object is created but its like the member server either never gets the message that its done or it can't write to the registry.
I've disabled the firewall. I've tried to verify permission in regedit, to the best i know, and i still get this error.
We have also tried multiple local user accounts, multiple domain admin accounts, renamed the server, changed the workgroup its in. even ran a few registry cleaners.
Nothing works. I need help since this server has to be online 6am Monday morning.Hi,
To add the local administrators in the User Rights assignments
1) Start>Run>gpedit.msc
2) Computer Configuration>Windows Settings>Security Settings>Local Policies>User Rights Assignments
3) Double click on Back up files and directories and add the Administrators.
4) Double click on Restore files and directories and add the Administrators.
5) Close the window and reboot the machine.
6) Try to add the machine to the domain.
If the issue persist, Reset the security database.
1) Open MMC
2) Add Security Configuration and Analysis tool
3) Right click Security Configuration and Analysis in the left pane
4) Select open database
5) In the new database, type in secnew.sdb, click ok.
6) Select setup defltbase.inf as the template to import from C:\Windows\inf, click ok.
7) Rightclick Security Configuration and Analysis in the left pane again
8) Select configure computer
9) Reboot the machine.
10) Try adding the machine to the domain.
Hope this helps!
Best Regards
Elytis Cheng
Elytis Cheng
TechNet Community Support
By the way folks, this is the FIX that worked for me. No need to go re-installing the OS
Paul E Coz -
TimeZone issues when starting the OEM Agent since summertime switch Germany
Hello gurus,
since yesterday when the system time has swithched to summer time in Germany I have below errors when starting the agents on our systems:
****@*****: /oracle > su - ora*** -c /oracle/product/agent10g/bin/emctl start agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ....... failed.
The agentTZRegion value in /oracle/product/agent10g/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script mgmt_target.set_agent_tzrgn(<agent_name>, <new_tz_rgn>) to get the value propagated to repository.
Consult the log files in: /oracle/product/agent10g/sysman/log
So I tryed the suggested resetTZ, but get below errors:
root@******: /oracle/product/agent10g/sysman/log > su - oradeu -c /oracle/product/agent10g/bin/emctl resetTZ agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Updating /oracle/product/agent10g/sysman/config/emd.properties...
----- Mon Mar 31 10:18:48 2008::tzOffset for +01:00 is 60(min), but agent is runnning with tzOffset 120(min)
----- Mon Mar 31 10:18:48 2008::trying again after waiting for 1 sec to account for daylight transition
----- Mon Mar 31 10:18:48 2008::tzOffset for +01:00 is 60(min), but agent is runnning with tzOffset 120(min)
resetTZ failed.
The agentTZRegion in:
/oracle/product/agent10g/sysman/config/emd.properties
is not in agreement with what the agent thinks it should be.
Fix your environment.
Pick a TZ value that corresponds to time zone settings listed in:
/oracle/product/agent10g/sysman/admin/supportedtzs.lst
I checked the TZ settings:
*****> echo $TZ
MEZ-1MSZ,M3.5.0/02:00:00,M10.5.0/03:00:00
*****: /oracle/product/agent10g/sysman/config > more emd.properties|grep agentTZ
agentTZRegion=+01:00
which is the reason for the difference of 120min as shown by the resetTZ I assume because AIX system time says MEZ -1 and emd.properties finds GMT+1 which gives a difference of 120min.
I already applied the patch 5632264 to the agent, but the issue still exists.
When I manipulate the envirement TZ to GMT+01:00 the agent starts again, but this is no solution. Also patching the TZ of UNIX/AIX is no solution because this will cause other issues.
Any ideas how I can get the agent working again?
ps. I already tried a reinstallation of the Agent, but the issue still exists.
Thank you
F.WittmannHello,
I already installed the DST patch v4. see my first post.
Below I attached the logs from starting the agenent since crash:
emctl.log (since start until crash)=
1310886 :: Thu Apr 3 10:29:31 2008::AgentLifeCycle.pm: Processing status agent
1310886 :: Thu Apr 3 10:29:31 2008::AgentStatus.pm:Processing status agent
1310886 :: Thu Apr 3 10:29:31 2008::AgentStatus.pm:emdctl status returned 1
1462412 :: Thu Apr 3 10:29:41 2008::AgentLifeCycle.pm: Processing start agent
1462412 :: Thu Apr 3 10:29:41 2008::AgentLifeCycle.pm: EMHOME is /oracle/product/agent10g
1462412 :: Thu Apr 3 10:29:41 2008::AgentLifeCycle.pm:status agent returned with retCode=1
1462412 :: Thu Apr 3 10:30:37 2008::AgentLifeCycle.pm: Exited loop with retCode=4
1003654 :: Thu Apr 3 10:35:00 2008::AgentLifeCycle.pm: Processing status agent
1003654 :: Thu Apr 3 10:35:00 2008::AgentStatus.pm:Processing status agent
1003654 :: Thu Apr 3 10:35:02 2008::AgentStatus.pm:emdctl status returned 3
1536132 :: Thu Apr 3 10:38:26 2008::AgentLifeCycle.pm: Processing status agent
1536132 :: Thu Apr 3 10:38:26 2008::AgentStatus.pm:Processing status agent
1536132 :: Thu Apr 3 10:38:26 2008::AgentStatus.pm:emdctl status returned 1
emdctl.trc (since start until crash)=
2008-04-03 10:29:41 Thread-1 WARN http: snmehl_connect: connect failed to (sat141:3872): A remote host refused an attempted connect operation. (error = 79)
2008-04-03 10:29:41 Thread-1 ERROR main: nmectla_agentctl: Error connecting to https://*****:3872/emd/main/. Returning status code 1
2008-04-03 10:37:05 Thread-1 WARN http: snmehl_connect: connect failed to (sat141:3872): A remote host refused an attempted connect operation. (error = 79)
2008-04-03 10:37:05 Thread-1 ERROR main: nmectla_agentctl: Error connecting to https://*****:3872/emd/main/. Returning status code 1
2008-04-03 10:38:26 Thread-1 WARN http: snmehl_connect: connect failed to (sat141:3872): A remote host refused an attempted connect operation. (error = 79)
2008-04-03 10:38:26 Thread-1 ERROR main: nmectla_agentctl: Error connecting to https://*****:3872/emd/main/. Returning status code 1
emagent.log (since start until crash)=
2008-04-03 10:31:13 Thread-1 EMAgent started successfully (00702)
2008-04-03 10:37:04 Thread-1670 <Upload Manager> Unsuccessful Upload attempts for XML file exceeds specified limit=3, Agent will shutdown (00851)
2008-04-03 10:37:04 Thread-1 EMAgent abnormal terminating (00704)
emagent.trc (since start until crash)=
2008-04-03 10:35:16 Thread-1076 WARN TargetManager: Regenerating all Metadata
2008-04-03 10:36:48 Thread-1076 DEBUG TargetManager: In getTypeAndNameForHostTarget
2008-04-03 10:36:48 Thread-1076 DEBUG TargetManager: getTypeAndNameForHostTarget found host, sat141
2008-04-03 10:36:48 Thread-1076 DEBUG TargetManager: In getTypeAndNameForHostTarget
2008-04-03 10:36:48 Thread-1076 DEBUG TargetManager: getTypeAndNameForHostTarget found host, sat141
2008-04-03 10:36:48 Thread-1076 DEBUG TargetManager: In getTypeAndNameForHostTarget
2008-04-03 10:36:48 Thread-1076 DEBUG TargetManager: getTypeAndNameForHostTarget found host, sat141
2008-04-03 10:36:48 Thread-1076 DEBUG TargetManager: In getTypeAndNameForHostTarget
2008-04-03 10:36:48 Thread-1076 DEBUG TargetManager: getTypeAndNameForHostTarget found host, sat141
2008-04-03 10:36:48 Thread-1076 WARN collector: Regenerating all DefaultColls
2008-04-03 10:36:58 Thread-1076 ERROR upload: Failed to upload file A0000003.xml, ret = -6
2008-04-03 10:36:58 Thread-1076 ERROR upload: 3 Failures in a row for A0000003.xml, we give up
2008-04-03 10:36:58 Thread-1076 ERROR upload: Error in uploadXMLFiles. Trying again in 72.00 seconds or earlier.
2008-04-03 10:37:04 Thread-1670 WARN upload: FxferSend: received fatal error in header from repository: https://stloem2:1159/em/upload
FATAL_ERROR::500|ORA-20603: Updating timezone region of a target is not supported. Use mgmt_target.set_agent_tzrgn() API to modify the timezone region.(target name = sat141:3872)(target type = oracle_emd)(new tzrgn = MET)(old tzrgn = +01:00)
ORA-06512: at "SYSMAN.CHECK_DUPLICATE_TARGETS", line 92
ORA-04088: error during execution of trigger 'SYSMAN.CHECK_DUPLICATE_TARGETS'
2008-04-03 10:37:04 Thread-1670 ERROR upload: number of fatal error exceeds the limit 3
2008-04-03 10:37:04 Thread-1670 ERROR upload: agent will shutdown now
2008-04-03 10:37:04 Thread-1670 ERROR : Signalled to Exit with status 55
2008-04-03 10:37:04 Thread-1 ERROR main: EMAgent abnormal terminating
=======================================================
when I run emctl config agent getTZ it returns me GMT+01:00,
but with this value the agent does not start, oly with MEZ....
root@******: /oracle/product/agent10g/oracore/zoneinfo > su - oradeu -c /oracle/product/agent10g/bin/emctl config agent getTZ
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
GMT+01:00
Kind regards
F.Wittmann -
Performance issue when using the same query in a different way
Hello,
I have a performance problem with the statement below when running it with an insert or with execute immediate.
n.b.: This statement could be more optimized, but it is a generated statement.
When I run this statement I get one row back within one second, so there is no performance problem.
select sysdate
,5
,'testje'
,count (1)
,'NL' groupby
from (select 'different (target)' compare_type
,t.id_org_addr id_org_addr -- ID_ORG_ADDR
,t.vpd_country vpd_country -- CTL_COUNTRY
,t.addr_type addr_type -- ADDRESSTYP_COD
from (select *
from (select t.*
from ods.ods_org_addr t
left outer join
m_sy_foreign_key m
on m.vpd_country = t.vpd_country
and m.key_type = 'ORGADDR2'
and m.target_value = t.id_org_addr
where coalesce (t.end_date, to_date ('99991231', 'yyyymmdd')) >= sysdate) /*SGRB*/
where vpd_country = 'NL' /*EGRB*/
) t
where exists
(select null
from (select *
from (select m.target_value id_org_addr
,s.wkp_id_cegedim || '-' || s.adr_id_cegedim || '-' || s.addresstyp_cod id_cegedim
,s.*
from okc_mdl_workplace_address s
left outer join
m_sy_foreign_key m
on m.vpd_country = s.ctl_country
and m.key_type = 'ORGADDR2'
and m.source_value = s.wkp_id_cegedim || '-' || s.adr_id_cegedim || '-' || s.addresstyp_cod
where coalesce (s.end_val_dat, to_date ('99991231', 'yyyymmdd')) >= sysdate) /*SGRB*/
where ctl_country = 'NL' /*EGRB*/
) s
where t.id_org_addr = s.id_org_addr)
minus
select 'different (target)' compare_type
,s.id_org_addr id_org_addr -- ID_ORG_ADDR
,s.ctl_country vpd_country -- CTL_COUNTRY
, (select to_number (l.target_value)
from okc_code_foreign l
where l.source_code_type = 'TYS'
and l.target_code_type = 'ADDRLINKTYPE'
and l.source_value = upper (s.addresstyp_cod)
and l.vpd_country = s.ctl_country)
addr_type -- ADDRESSTYP_COD
from (select *
from (select m.target_value id_org_addr
,s.wkp_id_cegedim || '-' || s.adr_id_cegedim || '-' || s.addresstyp_cod id_cegedim
,s.*
from okc_mdl_workplace_address s
left outer join
m_sy_foreign_key m
on m.vpd_country = s.ctl_country
and m.key_type = 'ORGADDR2'
and m.source_value = s.wkp_id_cegedim || '-' || s.adr_id_cegedim || '-' || s.addresstyp_cod
where coalesce (s.end_val_dat, to_date ('99991231', 'yyyymmdd')) >= sysdate) /*SGRB*/
where ctl_country = 'NL' /*EGRB*/
) s) When I run this statement using a insert by placing
insert into okc_compare_results (
datetime
,compare_tables_id
,compare_target
,record_count
,groupby
) before the statement, then the statement runs about *3 to 4 minutes*, The same is happening when running the select part only using execute immediate.
Below the execution plans of the insert with the select and the select only.
Could somebody tell me what causes the different behavior of the "same" statement and what could I do to avoid this behavior.
The database version is: 11.1.0.7.0
Regards,
Fred.
SQL Statement which produced this data:
select * from table(dbms_xplan.display_cursor ('cuk3uwnxx344q',0 /*3431532430 */))
union all
select * from table(dbms_xplan.display_cursor ('862aq599gfd6n',0/*3531428851 */))
plan_table_output
SQL_ID cuk3uwnxx344q, child number 0
select sysdate ,:"SYS_B_00" ,:"SYS_B_01"
,count (:"SYS_B_02") ,:"SYS_B_03" groupby from ( (select
:"SYS_B_04" compare_type ,t.id_org_addr id_org_addr
-- ID_ORG_ADDR ,t.vpd_country vpd_country --
CTL_COUNTRY ,t.addr_type addr_type -- ADDRESSTYP_COD
from (select * from (select t.*
from ods.ods_org_addr t
left outer join
m_sy_foreign_key m on
m.vpd_country = t.vpd_country ; and
m.key_type = :"SYS_B_05" and
m.target_value = t.id_org_addr ; where
coalesce (t.end_date, to_date (:"SYS_B_06", :"SYS_B_07")) >= sysdate)
/*SGRB*/ where vpd_country = :"SYS_B_08" /*EGRB*/
Plan hash value: 3431532430
Id Operation Name Rows Bytes Cost (%CPU) Time Pstart Pstop
0 SELECT STATEMENT 1772 (100)
1 SORT AGGREGATE 1
2 VIEW 3 1772 (1) 00:00:22
3 MINUS
4 SORT UNIQUE 3 492 1146 (1) 00:00:14
* 5 HASH JOIN OUTER 3 492 1145 (1) 00:00:14
6 NESTED LOOPS
7 NESTED LOOPS 3 408 675 (1) 00:00:09
* 8 HASH JOIN 42 4242 625 (1) 00:00:08
9 PARTITION LIST SINGLE 3375 148K 155 (2) 00:00:02 KEY KEY
* 10 TABLE ACCESS FULL OKC_MDL_WORKPLACE_ADDRESS 3375 148K 155 (2) 00:00:02 KEY KEY
* 11 INDEX RANGE SCAN PK_M_SY_FOREIGN_KEY 49537 2709K 469 (1) 00:00:06
* 12 INDEX UNIQUE SCAN UK_ODS_ORG_ADDR 1 1 (0) 00:00:01
* 13 TABLE ACCESS BY GLOBAL INDEX ROWID ODS_ORG_ADDR 1 35 2 (0) 00:00:01 ROWID ROWID
* 14 INDEX RANGE SCAN PK_M_SY_FOREIGN_KEY 49537 1354K 469 (1) 00:00:06
15 NESTED LOOPS
16 NESTED LOOPS 1 67 9 (12) 00:00:01
17 NESTED LOOPS 1 48 8 (13) 00:00:01
* 18 HASH JOIN 1 23 6 (17) 00:00:01
* 19 TABLE ACCESS BY GLOBAL INDEX ROWID ODS_COUNTRY_SYSTEM 1 11 2 (0) 00:00:01 ROWID ROWID
* 20 INDEX RANGE SCAN PK_ODS_DIVISION_SYSTEM 1 1 (0) 00:00:01
* 21 TABLE ACCESS FULL SY_SOURCE_CODE 8 96 3 (0) 00:00:01
22 TABLE ACCESS BY INDEX ROWID SY_FOREIGN_CODE 1 25 2 (0) 00:00:01
* 23 INDEX RANGE SCAN PK_SY_FOREIGN_CODE 1 1 (0) 00:00:01
* 24 INDEX UNIQUE SCAN PK_SY_TARGET_CODE 1 0 (0)
* 25 TABLE ACCESS BY INDEX ROWID SY_TARGET_CODE 1 19 1 (0) 00:00:01
26 SORT UNIQUE 3375 332K 626 (1) 00:00:08
* 27 HASH JOIN OUTER 3375 332K 625 (1) 00:00:08
28 PARTITION LIST SINGLE 3375 148K 155 (2) 00:00:02 KEY KEY
* 29 TABLE ACCESS FULL OKC_MDL_WORKPLACE_ADDRESS 3375 148K 155 (2) 00:00:02 KEY KEY
* 30 INDEX RANGE SCAN PK_M_SY_FOREIGN_KEY 49537 2709K 469 (1) 00:00:06
Predicate Information (identified by operation id):
5 - access("M"."TARGET_VALUE"="T"."ID_ORG_ADDR" AND "M"."VPD_COUNTRY"="T"."VPD_COUNTRY")
8 - access("M"."SOURCE_VALUE"="S"."WKP_ID_CEGEDIM" :SYS_B_12 S."ADR_ID_CEGEDIM" :SYS_B_13 S."ADDRESSTYP_COD" AND
"M"."VPD_COUNTRY"="S"."CTL_COUNTRY")
10 - filter(COALESCE("S"."END_VAL_DAT",TO_DATE(:SYS_B_14,:SYS_B_15))>=SYSDATE@!)
11 - access("M"."KEY_TYPE"=:SYS_B_11 AND "M"."VPD_COUNTRY"=:SYS_B_16)
12 - access("T"."ID_ORG_ADDR"="M"."TARGET_VALUE")
13 - filter(("T"."VPD_COUNTRY"=:SYS_B_08 AND COALESCE("T"."END_DATE",TO_DATE(:SYS_B_06,:SYS_B_07))>=SYSDATE@!))
14 - access("M"."KEY_TYPE"=:SYS_B_05 AND "M"."VPD_COUNTRY"=:SYS_B_08)
18 - access("CS"."ID_SYSTEM"="SK"."ID_SOURCE_SYSTEM")
19 - filter("CS"."SYSTEM_TYPE"=1)
20 - access("CS"."VPD_COUNTRY"=:B1 AND "CS"."EXP_IMP_TYPE"='I')
filter("CS"."EXP_IMP_TYPE"='I')
21 - filter("SK"."CODE_TYPE"=:SYS_B_18)
23 - access("FK"."ID_SOURCE_CODE"="SK"."ID_SOURCE_CODE" AND "FK"."SOURCE_VALUE"=UPPER(:B1) AND
"CS"."VPD_COUNTRY"="FK"."VPD_COUNTRY")
filter(("FK"."VPD_COUNTRY"=:B1 AND "FK"."SOURCE_VALUE"=UPPER(:B2) AND "CS"."VPD_COUNTRY"="FK"."VPD_COUNTRY"))
24 - access("FK"."ID_TARGET_CODE"="TK"."ID_TARGET_CODE")
25 - filter("TK"."CODE_TYPE"=:SYS_B_19)
27 - access("M"."SOURCE_VALUE"="S"."WKP_ID_CEGEDIM" :SYS_B_23 S."ADR_ID_CEGEDIM" :SYS_B_24 S."ADDRESSTYP_COD" AND
"M"."VPD_COUNTRY"="S"."CTL_COUNTRY")
29 - filter(COALESCE("S"."END_VAL_DAT",TO_DATE(:SYS_B_25,:SYS_B_26))>=SYSDATE@!)
30 - access("M"."KEY_TYPE"=:SYS_B_22 AND "M"."VPD_COUNTRY"=:SYS_B_27)
SQL_ID 862aq599gfd6n, child number 0
insert into okc_compare_results ( datetime
,compare_tables_id ,compare_target
,record_count ,groupby )
select sysdate ,:"SYS_B_00" ,:"SYS_B_01"
,count (:"SYS_B_02") ,:"SYS_B_03" groupby from ( (select
:"SYS_B_04" compare_type ,t.id_org_addr id_org_addr
-- ID_ORG_ADDR ,t.vpd_country vpd_country --
CTL_COUNTRY ,t.addr_type addr_type -- ADDRESSTYP_COD
from (select * from (select t.*
from ods.ods_org_addr t
left outer join
m_sy_foreign_key m on
m.vpd_country = t.vpd_country ; and
m.key_type = :"SYS_B_05" and
m.target_value = t.id_org_addr
Plan hash value: 3531428851
Id Operation Name Rows Bytes Cost (%CPU) Time Pstart Pstop
0 INSERT STATEMENT 1646 (100)
1 LOAD TABLE CONVENTIONAL
2 SORT AGGREGATE 1
3 VIEW 1 1646 (1) 00:00:20
4 MINUS
5 SORT UNIQUE 1 163
6 NESTED LOOPS OUTER 1 163 1067 (1) 00:00:13
7 NESTED LOOPS 1 135 599 (1) 00:00:08
* 8 HASH JOIN 19 1919 577 (2) 00:00:07
9 PARTITION LIST SINGLE 1535 69075 107 (4) 00:00:02 KEY KEY
* 10 TABLE ACCESS FULL OKC_MDL_WORKPLACE_ADDRESS 1535 69075 107 (4) 00:00:02 KEY KEY
* 11 INDEX RANGE SCAN PK_M_SY_FOREIGN_KEY 49537 2709K 469 (1) 00:00:06
* 12 TABLE ACCESS BY GLOBAL INDEX ROWID ODS_ORG_ADDR 1 34 2 (0) 00:00:01 ROWID ROWID
* 13 INDEX UNIQUE SCAN UK_ODS_ORG_ADDR 25 1 (0) 00:00:01
* 14 INDEX RANGE SCAN PK_M_SY_FOREIGN_KEY 1 28 468 (1) 00:00:06
15 NESTED LOOPS
16 NESTED LOOPS 1 67 8 (0) 00:00:01
17 NESTED LOOPS 1 48 7 (0) 00:00:01
18 NESTED LOOPS 1 23 5 (0) 00:00:01
* 19 TABLE ACCESS BY GLOBAL INDEX ROWID ODS_COUNTRY_SYSTEM 1 11 2 (0) 00:00:01 ROWID ROWID
* 20 INDEX RANGE SCAN PK_ODS_DIVISION_SYSTEM 1 1 (0) 00:00:01
* 21 TABLE ACCESS FULL SY_SOURCE_CODE 1 12 3 (0) 00:00:01
22 TABLE ACCESS BY INDEX ROWID SY_FOREIGN_CODE 1 25 2 (0) 00:00:01
* 23 INDEX RANGE SCAN PK_SY_FOREIGN_CODE 1 1 (0) 00:00:01
* 24 INDEX UNIQUE SCAN PK_SY_TARGET_CODE 1 0 (0)
* 25 TABLE ACCESS BY INDEX ROWID SY_TARGET_CODE 1 19 1 (0) 00:00:01
26 SORT UNIQUE 1535 151K
* 27 HASH JOIN OUTER 1535 151K 577 (2) 00:00:07
28 PARTITION LIST SINGLE 1535 69075 107 (4) 00:00:02 KEY KEY
* 29 TABLE ACCESS FULL OKC_MDL_WORKPLACE_ADDRESS 1535 69075 107 (4) 00:00:02 KEY KEY
* 30 INDEX RANGE SCAN PK_M_SY_FOREIGN_KEY 49537 2709K 469 (1) 00:00:06
Predicate Information (identified by operation id):
8 - access("M"."SOURCE_VALUE"="S"."WKP_ID_CEGEDIM" :SYS_B_12 S."ADR_ID_CEGEDIM" :SYS_B_13 S."ADDRESSTYP_COD" AND
"M"."VPD_COUNTRY"="S"."CTL_COUNTRY")
10 - filter(COALESCE("S"."END_VAL_DAT",TO_DATE(:SYS_B_14,:SYS_B_15))>=SYSDATE@!)
11 - access("M"."KEY_TYPE"=:SYS_B_11 AND "M"."VPD_COUNTRY"=:SYS_B_16)
12 - filter((COALESCE("T"."END_DATE",TO_DATE(:SYS_B_06,:SYS_B_07))>=SYSDATE@! AND "T"."VPD_COUNTRY"=:SYS_B_08))
13 - access("T"."ID_ORG_ADDR"="M"."TARGET_VALUE")
14 - access("M"."KEY_TYPE"=:SYS_B_05 AND "M"."VPD_COUNTRY"=:SYS_B_08 AND "M"."TARGET_VALUE"="T"."ID_ORG_ADDR")
filter("M"."TARGET_VALUE"="T"."ID_ORG_ADDR")
19 - filter("CS"."SYSTEM_TYPE"=1)
20 - access("CS"."VPD_COUNTRY"=:B1 AND "CS"."EXP_IMP_TYPE"='I')
filter("CS"."EXP_IMP_TYPE"='I')
21 - filter(("SK"."CODE_TYPE"=:SYS_B_18 AND "CS"."ID_SYSTEM"="SK"."ID_SOURCE_SYSTEM"))
23 - access("FK"."ID_SOURCE_CODE"="SK"."ID_SOURCE_CODE" AND "FK"."SOURCE_VALUE"=UPPER(:B1) AND
"CS"."VPD_COUNTRY"="FK"."VPD_COUNTRY")
filter(("FK"."VPD_COUNTRY"=:B1 AND "FK"."SOURCE_VALUE"=UPPER(:B2) AND "CS"."VPD_COUNTRY"="FK"."VPD_COUNTRY"))
24 - access("FK"."ID_TARGET_CODE"="TK"."ID_TARGET_CODE")
25 - filter("TK"."CODE_TYPE"=:SYS_B_19)
27 - access("M"."SOURCE_VALUE"="S"."WKP_ID_CEGEDIM" :SYS_B_23 S."ADR_ID_CEGEDIM" :SYS_B_24 S."ADDRESSTYP_COD" AND
"M"."VPD_COUNTRY"="S"."CTL_COUNTRY")
29 - filter(COALESCE("S"."END_VAL_DAT",TO_DATE(:SYS_B_25,:SYS_B_26))>=SYSDATE@!)
30 - access("M"."KEY_TYPE"=:SYS_B_22 AND "M"."VPD_COUNTRY"=:SYS_B_27)Edited by: BluShadow on 20-Jun-2012 10:30
added {noformat}{noformat} tags for readability. Please read {message:id=9360002} and learn to do this yourself.yes, all the used tables are analyzed.
Thanks, for pointing to the metalink bug, I have also searched in metalink, but didn't find this bug.
I have a little bit more information about the problem.
I use the following select (now in a readable format)
select count (1)
from ( (select 'different (target)' compare_type
,t.id_org_addr id_org_addr -- ID_ORG_ADDR
,t.vpd_country vpd_country -- CTL_COUNTRY
,t.addr_type addr_type -- ADDRESSTYP_COD
from (select *
from (select t.*
from ods.ods_org_addr t
left outer join
m_sy_foreign_key m
on m.vpd_country = t.vpd_country
and m.key_type = 'ORGADDR2'
and m.target_value = t.id_org_addr
where coalesce (t.end_date, to_date ('99991231', 'yyyymmdd')) >= sysdate) /*SGRB*/
where vpd_country = 'NL' /*EGRB*/
) t
where exists
(select null
from (select *
from (select m.target_value id_org_addr
,s.wkp_id_cegedim || '-' || s.adr_id_cegedim || '-' || s.addresstyp_cod id_cegedim
,s.*
from okc_mdl_workplace_address s
left outer join
m_sy_foreign_key m
on m.vpd_country = s.ctl_country
and m.key_type = 'ORGADDR2'
and m.source_value = s.wkp_id_cegedim || '-' || s.adr_id_cegedim || '-' || s.addresstyp_cod
where coalesce (s.end_val_dat, to_date ('99991231', 'yyyymmdd')) >= sysdate) /*SGRB*/
where ctl_country = 'NL' /*EGRB*/
) s
where t.id_org_addr = s.id_org_addr)
minus
select 'different (target)' compare_type
,s.id_org_addr id_org_addr -- ID_ORG_ADDR
,s.ctl_country vpd_country -- CTL_COUNTRY
, (select to_number (l.target_value)
from okc_code_foreign l
where l.source_code_type = 'TYS'
and l.target_code_type = 'ADDRLINKTYPE'
and l.source_value = upper (s.addresstyp_cod)
and l.vpd_country = s.ctl_country)
addr_type -- ADDRESSTYP_COD
from (select *
from (select m.target_value id_org_addr
,s.wkp_id_cegedim || '-' || s.adr_id_cegedim || '-' || s.addresstyp_cod id_cegedim
,s.*
from okc_mdl_workplace_address s
left outer join
m_sy_foreign_key m
on m.vpd_country = s.ctl_country
and m.key_type = 'ORGADDR2'
and m.source_value = s.wkp_id_cegedim || '-' || s.adr_id_cegedim || '-' || s.addresstyp_cod
where coalesce (s.end_val_dat, to_date ('99991231', 'yyyymmdd')) >= sysdate) /*SGRB*/
where ctl_country = 'NL' /*EGRB*/
) s)) The select is executed in 813 msecs
When I execute the same select using execute immediate like:
declare
ln_count number;
begin
execute immediate q'[<select statement>]' into ln_count;
end;This takes 3:56 minutes to complete.
When I change the second coalesce part (the one within the exists) in the flowing way:
the part
coalesce (s.end_val_dat, to_date ('99991231', 'yyyymmdd')) >= sysdate
is replaced by
s.end_val_dat >= sysdate or s.end_val_dat is nullthen the execution time is even faster (560 msecs) in both, the plain select and the select using the execute immediate. -
SQL Loader ISSUE- when invoking function in a package - in Direct Path- SPK
This is the loader file a.ctl
load data
append
into table emp
when eno='4'
(eno number,
ename varchar2(20))
when (1)<>'4'
into table detpt
(deptno number,
deplogid "Log.get_logid('logid')"
Note: the deptlogid field is not null column.
The par fie is as follows
rows=1000
errors=0
direct=true
control=a.ctl
when i am running this file i am getting error when i am invoking the package Log.get_logid('logid')" in direct mode. It returns null value when it is used in control file.
1) if i am running this function in sql prompt like
select Log.get_logid('logid') from dual
i am getting result as 121.
2) what is the problem when the same function is used in Sql loader in direct mode.
3) is there any restriction to use the function in sql loader?
4) whether to use the function in sql loader is applicable for direct mode or conventional mode.
5) when i am running in conventional mode it is working fine . what is the reason??
I am running the loader from dos prompt like
c:> sqlldr scott/tiger@dev parfile=abc.par
Oracle 9i is the version for the loader.
Please help me out to solve the issueThis is the loader file a.ctl
load data
append
into table emp
when eno='4'
(eno number,
ename varchar2(20))
when (1)<>'4'
into table detpt
(deptno number,
deplogid "Log.get_logid('logid')"
Note: the deptlogid field is not null column.
The par fie is as follows
rows=1000
errors=0
direct=true
control=a.ctl
when i am running this file i am getting error when i am invoking the package Log.get_logid('logid')" in direct mode. It returns null value when it is used in control file.
1) if i am running this function in sql prompt like
select Log.get_logid('logid') from dual
i am getting result as 121.
2) what is the problem when the same function is used in Sql loader in direct mode.
3) is there any restriction to use the function in sql loader?
4) whether to use the function in sql loader is applicable for direct mode or conventional mode.
5) when i am running in conventional mode it is working fine . what is the reason??
I am running the loader from dos prompt like
c:> sqlldr scott/tiger@dev parfile=abc.par
Oracle 9i is the version for the loader.
Please help me out to solve the issue -
Why is there an odd delay when invoking the task switcher w/"Reduce motion" off?
Sometime after updating to iOS 7.1 (and 7.1.1), I noticed that when I double-clicked the home button in order to invoke the task switcher (and when I pressed on an app preview or icon in order to switch to it), that there was a 2-3 second delay before the task switcher actually appears (or I switch to the chosen app). What is doubly strange is that if I turn "reduce motion" to OFF in Settings > Accessibility, the delay goes away.
To make matters worse, a friend of mine with an "iPad 3" (i.e. the first iPad with a retina display) tells me that he does not see the delay. I've restored the iPad and set it up as a new iPad, yet the delay does not disappear.
Has anyone else observed this problem?I see this problem as well.
There is a 2-second delay from when I hit the HOME button twice on my iPAD 2 before any of the open Apps appear.
There is also a lag when selecting some settings (ex. Wallpapers & Brightness ... about 2-3 seconds after I make the selection).
My Settings -> General -> Accessibility -> Reduce Motion is set to ON as well. -
CFC Issue when invoking a method
Hello Community:
I am getting the following error message when invoking my CFC:
"If the component name is specified as a type of this argument, its possible that a definition file for the component cannot be found or is not accessible."
This is the code where I call the method:
<cfinvoke component="cfc.cartSelection" method="#meth#">
<cfinvokeargument name="inum" value="#ihdnum#">
<cfinvokeargument name="qty" value="#qty#">
</cfinvoke>
Any thoughts are deeply appreciated!
Ysais.Hi, You specified this:
cfc.cartSelection
check to make sure that you have a cfc folder and cartSelection.cfc as the CFC inside the CFC Folder.
I would suggest you 1 way. if you are using application.cfc or application.cfm:
try as:
<cfset request.cfcPath = cfc>
if you cfc is in admin path and application.cfm file is outside the admin root
you can fetch it as:
<cfset request.cfcPath =admin.cfc>
Try it and let me know how it goes.
Also your method name is dynamic, make sure the method name you are calling exist or not. -
When is the Mac operating system coming out?
Just asking when is the new oprating systm out?
Apple said that OS X Mavericks would be released in fall, between September and December. However, we don't know the launch date yet.
If you have a look at other sites, you will see that OS X Mavericks is close to its general release, but there's no launch date yet
Maybe you are looking for
-
Call transaction in ABAP Inbound proxy
Hi All, I am processing transaction KKPAN in inbound proxy. As per my knowledge, there is no BAPI or other way of processing this transaction. I have recorded a BDC, and I am calling this BDC using Call Transaction in my Inbound proxy. The problem is
-
Hello, How do I decline the offer to buy AA 9 Pro after my one month trial? I get a message to register a serial # or quit. When I quit, it closes all pdf files. I need to use my pdfs, so what do I do now? Can I just remove the program from the contr
-
Hi, How to correct the goods issue for materials which have not been issued through backflush? Is the error automatically removed from COGI once the goods issue has been successfully done? Thanks, Nicky
-
Problem with corrupted Mail program
This all started because my battery is so weak at this point that if I unplug for more than a few minutes, the system just blinks off....which is exactly what happened while the Mail program was doing something important. When I rebooted, my mail pro
-
Mail can't start, everyone's sad
For the past 3 days, Mac Mail just can't seem to start. All other applications are working just fine. Mail jumps up and down in the dock all excited to start running, but then the pointer turns into a whirring color wheel and keeps whirring forever.