Return simultaneous errors when called more then once in a workflow
Hello
When I call the OKCREPMA workflow, I have a business need to run the kernel OKC_REP_CON_APPR_ATTACH simultaneous more than once, the first time he's going very well, but when I call it once again in the same workflow, it throws the following exception:
oracle.apps.fnd.framework.OAException: Application: DNF, Message name: FND_GENERIC_MESSAGE. Chips: MESSAGE = java.sql.SQLException: ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL. INIT, N, ERRNO,-20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL. SET_ORG_ACCESS, N, ERRNO,-20001, N, REASON, ORA-20001: APP-FND-02938: Falha na multiorganizacoes ao iniciar uma sessao soum para o produto: & PRODUCT. Informed seu suporte representative.
ORA-06512: em 'APPS. FND_MESSAGE', line 509
ORA-06512: em 'APPS. MO_GLOBAL', line 36
ORA-06512: em 'APPS. MO_GLOBAL', line 757
ORA-06512: em 'APPS. MO_GLOBAL', line 700
ORA-06512: em line 1;
Anyone have any hint on how to solve this problem?
Kind regards
Adelmo
1. go in the liability: System Administrator
2. go to profile > system.
3 ask MO: the safety profile and MB: operational unit, set the value of the level of responsibility
4. test the issue again.
Please close the thread by marking as replied with correct/good, if its response.
Tags: Database
Similar Questions
-
error when calling NtSetTimerResolution in NTDLL 1097. DLL
I get 1097 error when calling NtSetTimerResolution in NTDLL. DLL. why? I scoured most of the posts on this forum describing the 1097 error and tried the solutions without success.
This is a link to the function prototype (copied below) that I adapted in the node call the attached vi library (you will be asked to locate NTDLL. DLL on your system when opening it)
NtSetTimerResolution and NtQueryTimerResolution are defined as follows. All hours are stated in hundreds of nanoseconds.
NTSTATUS NtSetTimerResolution (
IN ULONG RequestedResolution,
IN BOOLEAN defined.
ON PULONG ActualResolution
);Parameters
RequestedResolution
The desired timer resolution. Must be the legal scope of the system timer values supported by NT. The standard x 86 systems it's 1 to 10 milliseconds. The values that are within the acceptable limits are rounded to the next higher standard x 86 HAL millisecond limit. This parameter is ignored if the Set parameter is set to FALSE.
Set
This is TRUE if we ask a new resolution of the clock, and FALSE if the application is indicating that he hasn't needed a resolution already implemented.
ActualResolution
The resolution of timer in effect once the call is returned in this parameter.
Woohoo! I solved the problem.
I was using a copy of NTDLL. DLL C:\Drivers\I386\SYSTEM32\NTDLL here. DLL (version 5.1.2600.1106)
instead of C:\WINDOWS\system32\ntdll.dll here (version 5.1.2600.5755).
An observation aside Interestingly enough, I did, when I tried to put the old version in C:\WINDOWS\system32 to see if it was just a problem of dependence, rather than a version number, I couldn't do it! I tried renaming C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\ntdll.dll.old and immediately a replacement c:\windows\system32\ntdll.dll pop up would be in his place! I even tried to drag / drop of C:\Drivers\I386\SYSTEM32\NTDLL. DLL C:\WINDOWS\system32\ntdll.dll, it seemed to replace, but a system of security immediately replaced it with the latest version. WinXP is smarter than I thought, or maybe something like Microsoft Windows Defender Antispyware installed by our company does this.
In any case, I've confirmed lateer version is necessary because when I copied C:\WINDOWS\system32\ntdll.dll to C:\Drivers\I386\SYSTEM32\NTDLL. DLL, it also solves the problem.
You might well ask why I did not use the correct version in the first place - well not knowing where he was, I only noticed the old version when I searched for it with my Google Desktop.
Rgds
-
I'm trying to install the trial version of SQL Server 2008 R2 on my computer for the second time within the period of 180 days, because last time it has installed without Analysis Services, I needed. The first time it installed fine.
I do not get a specific error message - once the Download Manager comes to extract the SQLFULL_x86_ENU.exe file, a box opens and says "the server returned an error. Would you like to try again? "and continues to appear if I try again and block the Download Manager.
I have Windows 7 and a 32-bit computer. Is the question the fact that it is the second time that I install, or something else? I would have thought that the error would have been more accurate, if that were the case. If so, what can I do to get the software installed on my machine for the rest of the trial period?
Thanks please help!
Hello RobPeterscheck,
If this is your 2nd time to install, did you uninstall the original SQL version until you tried to reinstall?
You can temporarily disable the download manager in Internet Explorer and then activate once you have installed the download you want. This will help to highlight if Download Manager is the problem.
Log on with an account that has privileges Administrativer.
Open Internet Explorer.Click on 'Tools' on 'Internet Options'.
Go to the Security tab.
Go to custom level.
Go to the downloads Section.
Find the file downloads tab and disable the option button.
Click OK.Restart to save the changes.
Please reply back and let us know if this can help.
Sincerely,
Marilyn
-
error when calling a function package
any idea why my object is slip out during a function call. the error is
oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-06502: PL/SQL: digital or value error: character of number conversion error
ORA-06512: at line 1
It errors when cs.execute () is. What is the investment? Thanks for the help...
then the pkg func is xxx.get_log
Get_Log (rmode in NUMBER, doc_type IN VARCHAR2 DEFAULT 'SUCH', IN VARCHAR2 DEFAULT NULL, annual
doc_num IN VARCHAR2 DEFAULT NULL-, p_out out varchar2.
)
RETURN varchar2 IS...
the co
_______________
ParamDocLocatorParamList serializable [] = {paramRMODE, paramDOC_TYPE, paramDOC_ID, paramDOC_NUM, p_out};
Am = (OAApplicationModule) pageContext.getApplicationModule (webBean) OAApplicationModule;
OADBTransaction dbtrans;
OAViewObject docLocator = (OAViewObject) am.findViewObject ("DocLocatorVO1");
rtxt0. SetValue (pageContext, "here it is" + am.invokeMethod ("getHTMLString", paramDocLocatorParamList));
docLocator.executeQuery ();
am.invokeMethod ("getHTMLString", paramDocLocatorParamList);
_____________________
the impl
public String getHTMLString (String paramRMODE, String paramDOC_TYPE, String paramDOC_ID, String paramDOC_NUM, String p_out)
{
System.out.println ("enter the Impl AM");
CallableStatement st = null;
// {
TXN OADBTransaction = (OADBTransaction) getDBTransaction ();
Connection Conn = txn.getJdbcConnection ();
String sql = "START: 5: = test_proc.get_log (: 1,: 2: 3: 4);" END; ";
CallableStatement cs = txn.createCallableStatement(sql,1);
String ErrorExist = "";
String getHTML = "";
Try
{
cs.setString (1, paramRMODE);
cs.setString (2, paramDOC_TYPE);
cs.setString (3, paramDOC_ID);
cs.setString (4, paramDOC_NUM);
cs.setString(5,p_out); -param
/ * cs.registerOutParameter(1,Types.CHAR);
cs.registerOutParameter(2,Types.CHAR);
cs.registerOutParameter(3,Types.CHAR);
cs.registerOutParameter(4,Types.CHAR); * /
cs.registerOutParameter(5,Types.CHAR);
CS. Execute();
getHTML = cs.getString (5);
/ * System.out.println ("getHTML is" + getHTML);
CS. Close();
If ("E".equals (ErrorExist))
throw new OAException ("payment request is already cancelled");
// */
}
catch (SQLException sqle)
{
try {cs.close (;})
catch (Exception e) {}
throw OAException.wrapperException (sqle);
}
Doctype string = paramDOC_TYPE;
String docnum = paramDOC_NUM;
String html;
System.out.println ("paramDOC_TYPE in IMPL is" + doctype);
System.out.println ("paramDOC_Numb in IMPL is" + docnum);
GetHTML return;Hello
Your package is to have different input parameters types,
then the pkg func is xxx.get_log
Get_Log (rmode in NUMBER, doc_type IN VARCHAR2 DEFAULT 'SUCH', IN VARCHAR2 DEFAULT NULL, annual
doc_num IN VARCHAR2 DEFAULT NULL-, p_out out varchar2.
)But you spend all String, could you please do it
setInt rmode value,
ascs.setInt (2, Integer.parseInt (paramRMODE));
If paramRMODE is very large number, use setLong.
Thank you
With respect,
Kali.
OSSi. -
Hi, I recently changed to Visual Studio 2010 and Windows 7 64-bit.
I have an existing Office RT system running RT 2009. This system calls a DLL that I already built using Visual Studio .net 2003 and Windows XP.
Since I've recompiled the DLL I get an error 7 file not found error when I call the RT DLL, even if I simply replaced the old DLL with a new one in the file system so the path has not changed.
I also noticed that the message on the screen connected to the RT system during startup:
"achieveworldpeace.dll" load error: lack of export 'DecodePointer' of ' Kernel32.dll'.
Any ideas on this problem? It is perhaps as simple as a switch in the compiler?
Thank you.
I'm not sure it's a simple switch in the project settings in Visual C. The problem is clearly in the standard C runtime library that gets linked to your DLL and refers to exports of Windows which are not available on the RT system. Don't forget that the RT system is a limited Win32 API emulation.
I usually avoid these problems using Visual C 6 to create DLLs for LabVIEW projects. The standard library of the C runtimes will not know what Windows API reference more recent exports because they have supported even under Win95. So unless your explicitedly reference code not supported RT APIs you wouldn't have problems. If you do not use the standard C file i/o functions and management of memory in your DLL functions, you can also try to link statically C runtime libraries in your DLL, or vice versa depending on what you have now. It may or may not work. Otherwise there is not much else but by using an earlier version of Visual Studio.
-
my yahoo email use for 2 months, but yesterday it wouldn't let me connect.
It pops up the message: selected server returned an error during attemptingt to meet your demand.
I tried to google and find this error without real success. people did not know or were very technicdal.
all other sites are fine, just can not access my yahoo email.
TIA
Hello!
Try to connect after you connect your WiFi device.
I hope that solves your problem!
If your problem has been resolved then would you be asked to click 'Like' and accept as a 'Solution' that other advisors invest it times on this Message more.
Thank you.
-
Error when calling bean 'delivery': waiting for reply has expired.
Hello
I run a process that currently catches an exception since a partnerlink. When the exception is caught, I send an email and the process stops. When I submit an application since the BPEL console, I have to wait the JTA timeout before the return of the page. However, the instance goes smoothly and I got the email before the time-out occurs. That's what I see in the newspapers. When I look at the audit workflow and activity, all activities were time-stamped before throwing exception. Has anyone seen this problem or knows what is happening. Is there a problem of in a catch block or catch-all mail?
< 2009-04-19 22:33:41, 859 > < ERROR > < iCareTest.collaxa.cube > < BaseCubeSessionBean::logError > error when the bean 'delivery': waiting for reply has expired. The conversation id is cf9324c9be114336:513ede58:120c17e1922:-7 fc 0. Please check the detail process instance.
com.oracle.bpel.client.delivery.ReceiveTimeOutException: waiting for reply has expired. The conversation id is cf9324c9be114336:513ede58:120c17e1922:-7 fc 0. Please check the detail process instance.
Thanks in advance
JimThere is no question why it happens to expire is because you don't have a response to the client in your tote.
If you look at your processes, you will see that the default response is in the main field of application. When the Tote is called this response is in the past, that's why no reply is sent.
Please answer in your catch all back to the client and it will work.
see you soon
James -
Error when calling model sup in the XML editor
Hi friends,
For the part of the header of my report, I create a template void and I try to call it.
I called the sub model by using the following commands: -.
<? call@inlines:header? >
<? end call? >
Then in the body, I'm importing this file using the <? import:file:///C:\sreekanth\Header.RTF? >
When I run the report I get the following error
Due to: java.io.FileNotFoundException: /C:\sreekanth\Header.rtf (no such file or directory)
Please help me.
I can't find the reason for the error.
But when I run it on the spot, it works fine.
Is no problem when I create the submodel? What are the steps to create a sub termplate?Hello
the BI Publisher Forum may be a better place for you to get a response than the reports Forum.
Concerning
Rainer -
Error when calling Fusion R9 on Service SOAP premise of JDeveloper 11.1.1.7
Hi team,
Here is the WSDL Iam I invoke:
. http://fusionapp < clientName > .com:10607/prcPorCreateReq/CreateReqService? WSDL
OER WSDL, example: https://fusionappsoer.oracle.com/oer/custom/r9/oer/oracle/apps/prc/por/createReq/createReqService/CreateReqService.wsdl
Client Java code:
public static void main(String [] args) { //setup security feature with OWSM policy SecurityPolicyFeature[] securityFeature = new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_username_token_client_policy") }; createReqService_Service = new CreateReqService_Service(); CreateReqService createReqService = createReqService_Service.getCreateReqServiceSoapHttpPort(securityFeature); // Get the request context to set the outgoing addressing properties WSBindingProvider wsbp = (WSBindingProvider)createReqService; WSEndpointReference replyTo = new WSEndpointReference("http://fusionapp.techmahindra.com:10607/prcPorCreateReq/CreateReqService?WSDL", WS_ADDR_VER); String uuid = "uuid:" + UUID.randomUUID(); wsbp.setOutboundHeaders( new StringHeader(WS_ADDR_VER.messageIDTag, uuid), replyTo.createHeader(WS_ADDR_VER.replyToTag)); // Add Security Headers below if any Authentication is required. wsbp.getRequestContext().put(WSBindingProvider.USERNAME_PROPERTY, "nitin"); wsbp.getRequestContext().put(WSBindingProvider.PASSWORD_PROPERTY, "Welcome123"); // Add your code to call the desired methods long requisitionHeaderId =1234 ; RequisitionHeader variableName; // Add your code to call the desired methods. try { System.out.println("Invoking get req method"); variableName = createReqService.getRequisitionHeader(requisitionHeaderId); } catch (ServiceException e) { } }
Policy feature of security referred to in the WSDL document
"" < policyReference xmlns:wsp= "http://schemas.xmlsoap.org/ws/2004/09/policy" " URI="#wss_saml_or_username_token_service_policy" wsdl: required="false"/ >""" < policyReference xmlns:wsp= "http://schemas.xmlsoap.org/ws/2004/09/policy" " URI="#wsaddr_policy" wsdl: required="false"/ >"Exception when calling
C:\Oracle\MiddlewareJdev11117\jdk160_24\bin\javaw.exe -client -classpath D:\Sridhar\Software\p17888411_R12_GENERIC\jdevhome\jdev\mywork\FusionR9CreateReqServ\.adf;D:\Sridhar\Software\p17888411_R12_GENERIC\jdevhome\jdev\mywork\FusionR9CreateReqServ\FusionR9CreateReqServ\classes;C:\Oracle\MiddlewareJdev11117\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\MiddlewareJdev11117\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MiddlewareJdev11117\modules\com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar;C:\Oracle\MiddlewareJdev11117\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\MiddlewareJdev11117\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\MiddlewareJdev11117\modules\javax.persistence_1.0.0.0_2-0-0.jar;C:\Oracle\MiddlewareJdev11117\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar -Djavax.net.ssl.trustStore=C:\Oracle\MiddlewareJdev11117\wlserver_10.3\server\lib\DemoTrust.jks com.oracle.xmlns.apps.prc.por.createreq.createreqservice.CreateReqServiceSoapHttpPortClient Jun 3, 2015 5:23:59 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://fusionapp.techmahindra.com:10607/prcPorCreateReq/CreateReqService?WSDL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException. SEVERE: java.io.FileNotFoundException: .\config\jps-config.xml (The system cannot find the path specified) SEVERE: java.io.FileNotFoundException: .\config\jps-config.xml (The system cannot find the path specified) INFO: WSM-09004 Component auditing cannot be initialized. Invoking get req method INFO: Recipient Alias property not configured in the policy. Defaulting to encrypting with signers certificate. Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: access denied (oracle.wsm.security.WSFunctionPermission http://xmlns.oracle.com/apps/prc/por/createReq/createReqService/CreateReqService#getRequisitionHeader invoke) at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136) at $Proxy43.getRequisitionHeader(Unknown Source) 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.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84) at $Proxy44.getRequisitionHeader(Unknown Source) at com.oracle.xmlns.apps.prc.por.createreq.createreqservice.CreateReqServiceSoapHttpPortClient.main(CreateReqServiceSoapHttpPortClient.java:56) Process exited with exit code 1.
Please let me know how to configure the java client based on the WSDL file secuirity policy. I would like to know where iam missing.
I have raised several MOS - SR Oracle, but no response until now.
Concerning
Sridhar
Here's the code that worked:
Public Shared Sub main (String [] args)
{
installation with GOSA policy security feature
SecurityPolicyFeature [] securityFeature = new SecurityPolicyFeature [] {new SecurityPolicyFeature("oracle/wss_username_token_client_policy")};
currenciesService_Service = new CurrenciesService_Service();
CurrenciesService currenciesService = (securityFeature) currenciesService_Service.getCurrenciesServiceSoapHttpPort;
Get the request context to set the outgoing address properties
WSBindingProvider wsbp = (WSBindingProvider) currenciesService;
ReplyTo = WSEndpointReference
new WSEndpointReference ("http://fusionapp.techmahindra.com:7406/finGlCurrManageRateSetupService/CurrenciesService?") WSDL"(, WS_ADDR_VER);"
String uuid = "uuid:" + UUID.randomUUID ();
wsbp.setOutboundHeaders (new StringHeader (WS_ADDR_VER.messageIDTag, uuid), replyTo.createHeader (WS_ADDR_VER.replyToTag));
Add headers of following security if authentication is required.
wsbp.getRequestContext () .put (WSBindingProvider.USERNAME_PROPERTY, "FAADMIN");
wsbp.getRequestContext () .put (WSBindingProvider.PASSWORD_PROPERTY, "Welcome1");
String conversionType = "Corporation."
VariableName of DailyConversionType;
Add your code to call the desired methods.
try {}
System.out.println ("method call");
variableName = currenciesService.getDailyConversionType (conversionType);
System.out.println ("Value of the Variable name-->" + VariableName);
System.out.println ("Data-->" + variableName.attribute1);
System.out.println ("Type of Conversion-->" + variableName.conversionType);
} catch (ServiceException e) {}
}
}
Concerning
Sridhar
-
Thread: Error when calling a database adapter
I got the following error when I invoke a task in the service process that contains the data adapter.
LIAISON. JCA-12511
JCA Binding Component connection problem.
JCA Binding component is unable to create an outgoing connection of JCA (CCI).
SaveMessageProject:LocalDB [LocalDB_ptt::insert (MessagesCollection)]: The JCA Binding component could not establish an outbound connection of JCA CCI due to the following problem: BINDING. JCA-12510
Location of JCA resource adapter error.
Cannot find the adapter in JCA resources via the element of the binding .jca file <-factory connections / >
The Binding of JCA component is unable to startup of the resource adapter that is specified in the <-factory connections / > element: location = ' EI/DB/localDB.
The reason is most likely to be
(1) the resource adapter RAR file has not been deployed successfully to the WebLogic application server or
(2) the "< jndi name >" element in weblogic - ra.xml has not been defined in eis/DB/localDB. In the latter case, you need to add a new factory of connections from WebLogic JCA (deploy a RAR).
Please fix this and then restart the application server
Please ensure that the JCA connection factory and dependent connection factories have been set up with a sufficient limit for maximum connections Please also make sure that the physical connection to the EIS server is available and the backend itself accepts connections.
I miss nothing need to do on the weblogic?
The steps I did to deploy are simply click on the service to deploy on Jdeveloper and following the wizard to deploy on the weblogic application server.
Please help, I am so depressed on this subject.I guess that's #2, which means that you must create a Weblogic JDBC data source and also a connection pool. There are instructions to act quickly in the doc of installation Instructions here:
http://www.Oracle.com/technetwork/middleware/soasuite/BPM-11g-sales-quote-demo-Setup-and--131283.zip
Hope that helps you out of your depression :-)
-
Error when calling a procedure using an external table with c#.
Hello
I'm developing an application scheduler with Visual Studio 2010 (c#) to start my PL/SQL procedures.
Everything works fine with each procedure, but one who reads the contents of an external table.
Strange thing is when I start the same procedure with Toad, I have no problem, but when I run with my c# code:
OracleCommand cmdMET = new OracleCommand();
cmdMET.CommandText = 'STG_AE. M_MET_S_EXT_DEFECT ';
cmdMET.CommandType = CommandType.StoredProcedure;
con = cmdMET.Connection;
OracleParameter retvalMET = new OracleParameter ("value", OracleDbType.Varchar2, 50);
retvalMET.Direction = ParameterDirection.ReturnValue;
cmdMET.Parameters.Add (retvalMET);
cmdMET.ExecuteNonQuery ();
I got this error:
ORA-29913: error in executing ODCIEXTTABLEFETCH legend
ORA-01722: invalid number
ORA-06512: at "STG_AE. M_MET_S_EXT_DEFECT', line 8
ORA-06512: at "STG_AE. MET_SRC', line 10
ORA-06512: at "STG_AE. PUTS", line 14
ORA-06512: at line 1
I can't understand why it works when I run it with Toad and why I get this error when launching of it with c#... Any advice would be great!
Thank you!
I can't understand why it works when I run it with Toad and why I get this error when launching of it with c#... Any advice would be great!
The error led to think that a string to number conversion fails all by accessing the external table.
What is the format of numeric fields in the external file?
I'm guessing that your session NLS_NUMERIC_CHARACTERS setting is defined differently whether you're in your application c# or toad.
Could check you on both?
-
Connect with user name more then once
Hello
I'm having a problem. I can not connect through auth Web page from a controller 4404, and once with the same user name. I get an error telling me to many connections with the same username, when I try.
We have our maximum novell connection set to unlimited on my account and on behalf of students 2. LDAP a bridge between the controller and novell.
Any thoughts on how I could get multipul connections at work?
Brandon,
Take a look under Security > Policies(pulling this out of memory, so it may be Management not Security) user. There is an option for the number of simultaneous connections. If you set this to 0, it will be unlimited.
See you soon,.
Steve
Please do not forget to messages useful rates
-
Error when calling a method AM of Bean managed
Hi friends,
JDev's Studio Edition Version 11.1.2.4.0
I have a page (HomePG) that has a read-only table. Select a field in the table and you enter a value for the inputText and then clicking on a button, the selected employee's salary should be replaced by the value entered in the inputText field.
I am trying to call a method of the managed bean AM and I get an error while doing this. I created a link to the method in the page where the call is made.
Here is the code of the AOS
' Public Sub hikeSelectedRow (Key key, BigDecimal val) {}
ViewObjectImpl emp = getEMPVO1();
RowSetIterator empVO = emp.createRowSetIterator ("Test");
System.out.println ("in selected Update");
System.out.println ("in selected, Update key:" + key);
Row [] selectedEmpArr;
selectedEmpArr = empVO.findByKey (key, 1); -> Error comes here
System.out.println ("in selected, Update key:" + key.toString ());
EMPVORowImpl selectedEmp = (EMPVORowImpl) selectedEmpArr [0];
selectedEmp.setSal (selectedEmp.getSal () .add (val));
System.out.println ("added, made Bravo");
getTransaction () .commit ();
}
The line is selected in the Managed bean and is also selected. However during appraisal findByKey get the performance I get the below error. Can someone please.
The error I get is
< ActionListenerImpl > < processAction > java.lang.NumberFormatException: for input string: "[oracle.jbo.Key [7566]].
javax.faces.el.EvaluationException: java.lang.NumberFormatException: for input string: "[oracle.jbo.Key [7566]].
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
KeyVal key = new key (new Object() {Integer.parseInt (((List) tableIterator.next ()) m:System.NET.SocketAddress.ToString ())});
So, what will return: (tableIterator.next ()) m:System.NET.SocketAddress.ToString () (list)?
I suppose this relates a strange string?
Check out this blog for a correct use of the RowKeySet (and is also described in a easier way to get the current line in the case of single selection): ADF:TABLE - Get selected or lines. John Brunswick
Dario
-
component Java - ora-01013 error when calling ws.createResultSetSQL
Performance of Content Server 11.1.1.5 on WLS 10.3.5 in 64-bit Linux environment. Same component/code runs in the dev environment, but still get this error in production. In production, the query executes against display in the same schema as the system database. I can run the same query in SQL Developer or SQLPlus and the return of almost immediate results - about 1 second.
The query in the Java component expires almost everytime, even if very little load on the system (late at night).
getMessage() returns «!» csDbUnableToCreateResultSet
I already have the default query time-out in config.cfg to 120 seconds.
Any suggestions? Really stumped on this one!
Thank you, Ken
Here is an example of the Java code used in the call.
{code} package com.example;
Import intradoc.common.ExecutionContext;
Import intradoc.common.ServiceException;
Import intradoc.common.SystemUtils;
Import intradoc.data.DataBinder;
Import intradoc.data.DataException;
Import intradoc.data.DataResultSet;
Import intradoc.data.ResultSet;
Import intradoc.data.Workspace;
Import intradoc.provider.Provider;
Import intradoc.provider.Providers;
Import intradoc.shared.FilterImplementor;
Import intradoc.util.IdcMessage;
public class Test implements {FilterImplementor}
public int doFilter (workspace ws, linking DataBinder, ExecutionContext cxt) survey DataException, ServiceException {}
String value = "-1";
String xEMP_NUM ="";
String SQL = "";
String ResultSetName = "XEMPNUMCOUNT";
int rowcount = 0;
Result DataResultSet = null;
DataException error = null;
ResultSet temp = null;
WsTemp workspace = null;
SystemUtils.trace ("filterdebug", "Start doFilter to Test");
xEMP_NUM = binder.getLocal ("xEMP_NUM");
xEMP_NUM = (xEMP_NUM == null)? NULL: xEMP_NUM.trim ();
SystemUtils.trace ("filterdebug", "xEMP_NUM =" + xEMP_NUM);
If (xEMP_NUM! = null & &! xEMP_NUM.equalsIgnoreCase("0") & & xEMP_NUM.length () > 0) {}
SQL = "select emp_num, emp_mname, emp_lname and emp_fname from MSE where emp_num ="+ xEMP_NUM.trim (); ".
SystemUtils.trace ("filterdebug", "SQL =" + SQL);
If (ws == null) {}
SystemUtils.trace ("filterdebug", "ws is null, getting ws of appeal to getSystemWorkspace()");
WS = getSystemWorkspace();
}
SystemUtils.trace ("filterdebug", "try-catch block to get SQL ResultSet");
try {}
SystemUtils.trace ("filterdebug", "start: temp = ws.createResultSetSQL (SQL)");
Temp = ws.createResultSetSQL (SQL);
SystemUtils.trace ("filterdebug", "end: temp = ws.createResultSetSQL (SQL)");
result = new DataResultSet();
result. Copy (temp);
RowCount = result.getNumRows ();
SystemUtils.trace ("filterdebug", "number of lines =" + rowcount);
} {} catch (DataException of)
error = from;
SystemUtils.trace ("filterdebug", "de.getMessage () =" + de.getMessage ());
} {Finally
ws.releaseConnection ();
}
If (rowcount > 0) {}
try {}
int fieldCnt = result.getNumFields ();
SystemUtils.trace ("filterdebug", "fieldCnt =" + fieldCnt);
result. First();
xEMP_NUM = result.getStringValue (0);
binder.putLocal ("xEMP_NUM", xEMP_NUM);
String xEMP_LNAME = result.getStringValue (1);
binder.putLocal ("xEMP_LNAME", xEMP_LNAME);
String xEMP_MNAME = result.getStringValue (2);
binder.putLocal ("xEMP_MNAME", xEMP_MNAME);
String xEMP_FNAME = result.getStringValue (3);
binder.putLocal ("xEMP_FNAME", xEMP_FNAME);
} catch (NumberFormatException nfe) {}
SystemUtils.trace ("filterdebug", "nfe.getMessage () =" + nfe.getMessage ());
}
} else {}
SystemUtils.trace ("filterdebug", "error to throw because xEMP_NUM is not in the table of the ems");
throw new ServiceException ("provided Invalid number!");
}
If (error! = null) {}
SystemUtils.trace ("filterdebug", "Error lay like error condition exist.");
throw error;
}
}
SystemUtils.trace ("filterdebug", "End doFilter for Temp");
Back to CONTINUE;
}
public getSystemWorkspace() {} Workspace
Workspace workspace = null;
WsProvider provider = Providers.getProvider ("SystemDatabase");
If (wsProvider! = null) {}
workspace (Workspace) = wsProvider.getProvider ();
}
Returns the workspace;
}
}
{code}Hello
ORA-01013: user has requested the cancellation of the current operation
This is the basic error being returned in the newspapers of the Complutense University of MADRID, which is originally that the result settled the question.
Can you check to see if the connection DB at UCM is losing.
Perhaps a way to check this would restart DB completely which will clear the dead / suspended the process on the side of the db and then try to run the same query to see what is happening.
Thank you
Srinath -
Internal error when calling "catalog: createKeyword.
Hi all
I'm in the decision to make the migration process in Lightroom. An important aspect is that I'm able to import my existing keywords to my photos (currently in ACDSee) somehow. I managed with the easy part already: conversion of categories in a text format based on TABS and import it as keywords in Lightroom.
Now, I want to associate images with the keywords already imported. The following thread led me to a speed very quickly: http://adobe.hosted.jivesoftware.com/thread/1033982?tstart=0
But now I am somehow hit. I can get the keyword root directly, and I am also able to get her children. Unfortunately, whenever I call createKeyword with a parent I got the following error message:
"An internal error has occurred:?: 0: attempt to index a nil value.
Any ideas what could be the cause?
Here's the script, by encapsulating the problem, if it helps:
local LrDialogs = import 'LrDialogs' local LrApplication = import 'LrApplication' local catalog = LrApplication.activeCatalog() MyMenuItem = {} function MyMenuItem.runProcess() catalog:withWriteAccessDo("setKeywords", MyMenuItem.setKeywords) end function MyMenuItem.setKeywords() local targetPhotos = catalog:getTargetPhotos() if targetPhotos ~= nil and #targetPhotos > 0 then -- LrDialogs.message(#targetPhotos) else LrDialogs.message( "No target photos." ) return end -- ( keywordName, synonyms, includeOnExport, parent, returnExisting ) local myRootKeyword = catalog:createKeyword( 'People', nil, true, nil, true ) if myRootKeyword ~= nil then LrDialogs.message(myRootKeyword:getName()) else LrDialogs.message( "Keyword has not been returned." ) return end local childs = myRootKeyword:getChildren() for i,child in ipairs( childs ) do LrDialogs.message(child:getName()) end -- Shows Friends, Others, ... LrDialogs.message( "createKeyword is about to be called" ) -- Crashes after this line "An internal error has occurred: ?:0: attempt to index a nil value" local mySecKeyword = catalog:createKeyword( 'Friends', nil, true, myRootKeyword, true ) if mySecKeyword ~= nil then LrDialogs.message(mySecKeyword:getName()) else LrDialogs.message( "Keyword has not been returned." ) return end end import 'LrTasks'.startAsyncTask( MyMenuItem.runProcess )
Thanks for the advice in advance.
Kind regards
Thorsten
Ah, the problem is that you try to call myRootKeyword:getName() before leaving the catalog:withWriteAccessDo (). The doc of catalogue: createKeyword() says:
Must be called in one of the with__WriteAccessDo doors. The new keyword is not available for access until that function returns.
If instead, you restructure your code like this:
local myRootKeyword catalog:withWriteAccessDo("setKeywords", function () myRootKeyword = catalog:createKeyword( 'People', {}, true, nil, true ) end)
It works very well.
Furthermore, your "Accidents After this line" comment was wrong. I suggest to you that use debugging tools, which will make it much faster to identify your bugs. It will take time to hang it to the top of the first, but he will pay fairly quickly.
Maybe you are looking for
-
WXP and Portege R500 - cannot add a new USB device
Hello. I have a new Portege R500 Windows XP Home edition. It works great except for one thing, when I try to add a USB device does not install automatically. I get the 'Add new hardware' Wizard, who found the drivers and starts to copy the files... b
-
November 3, 2015, new update for Samsung printers. Before the update, no problem, which means that the printer remained connected and ready for printing. Since then, printer is still not connected. I do my best sense: re - feed printer Apple-preferen
-
I have an old xp client built the machine who bought. I would like to buy a new license key for it and then activate the key. Is it possible more
-
How can you stop your malfunctioing album covers?
Just the day before I had an update I did on my computer. I noticed after the update from microsoft that I was getting a malfunction in my windows media player 11. So far, none of my music has dissappeared. The question that happens is that a part
-
Hello. I had looked at Netflix stream through my office several months ago (Vista home premium). Obviously some download/update or the other DID or didn't have not loaded and now I can't watch netflix streaming more. The help of Netflix site led m