Paging from DB level or Application level .
Hi All,
Just wonder if anyone if you guys can give me some ideas no implementation of paging. How would normally paging be done? To be more exact, my question is referring that the paging should be done :
1. SQL Level
Here the retrieval of records are queried into block of record. ie: within
range of 1-10, 11-20. There will be likely multiple hit to DB.
2. Application level(jsp)
Here the retrieval of records are queried from one SQL stmt. ie:
select * from table where name = '';
Then if it returns more 10 rows, paging is done at application level.
The first option will reduce the network usage in terms of bandwidth.
Kindly advice asap.
And appreciate if u can give me any good links for reading
Thanks.
It also depends on whether the data retrieved must be consistent. For example, I issue a search for records. The search completes and I receive the first page of results. I navigate to the second page. A user subsequently adds a new record that would have displayed on the first page.
So what should happen if I hit 'back'?
Option 1 is that I use database pagination methods. In this case, I will see the new record when I hit 'back'.
Option 2 is that I cache the results in memory (if the result set is small) or to the filesystem (if the result set is large). In this case, I will see the same page as before.Neither implementation is 'right'. It depends on the behavior that is required. Reports, for example, probably should not use method 1. However, searches probably do not need the snapshot produced by method 2.
If you do want to save the snapshot, be sure to consider serializing it to the filesystem. I normally create one file per page and populate the data there directly. The files are named [session_id]-[page number]. However, you have a considerable amount of freedom in how you approach this.
- Saish
Similar Messages
-
Oracle Database Server 9i supports the usage of LABELS to enforce highly granular
resource access restrictions at the database level independent of the application
that is accessing it. In order to use this however, the particular user, and
not just the application, accessing the database must be known. Oracle Application
Server (Oracle's J2EE product line) solves this by providing the ability to PROXY
the identity of the application user and creditials (SSL Certs for instance) down
to the database server.
I haven't seen a similar ability for BEA Weblogic Server 8.1 which allow the user
identity and credientials to be PROXIED to the database server. Is this possible?
Have I missed an important document?
Thanks for any input,
Raymond TiongOn 3 Feb 2004 12:51:26 -0800, Raymond Tiong <[email protected]> wrote:
>
Oracle Database Server 9i supports the usage of LABELS to enforce highly
granular
resource access restrictions at the database level independent of the
application
that is accessing it. In order to use this however, the particular
user, and
not just the application, accessing the database must be known. Oracle
Application
Server (Oracle's J2EE product line) solves this by providing the ability
to PROXY
the identity of the application user and creditials (SSL Certs for
instance) down
to the database server.
I haven't seen a similar ability for BEA Weblogic Server 8.1 which allow
the user
identity and credientials to be PROXIED to the database server. Is this
possible?
Have I missed an important document?
Thanks for any input,
Raymond Tiong
I think there is a section in the JDBC documentation for 8.1 which
describes what it takes to utilize Oracle 9i extension called "Virtual
Private Database". With this extension, one might be able to proxy the
callers
identity to the DB.
See: http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html#1103627 -
Co-existence of OS-level and application level cluster
hiI will be buying pre-configured Linux cluster from Compaq which uses SteelEye's Lifekeeper techology.This cluster is required for File systems,applications and processes.Now i need to make a cluster of Weblogic application Server on top of it,which is forEJB clustering.Will it be possible for Weblogic cluster to work on top of Steeleye's LifeKeeper clustering technology.can they co-exist?regardssanjay
Hi,
They can't co-exist on the same machine. The older version is uninstalled and the new installed.
You could try unistalling CR and then check registry and remove entries: search on "Business Objects", then reinstall CR 11.5.
You existing apps should now work.
Hope this helps
Jacques -
Providing application-level help within Flex apps
What is the general guideline / approach for help (not
embedded or field-level help but page level or application level
help like you get when you click Help in most applications) within
a Flex app? Is it to spawn a new Window that goes to standard
HTML-based help engines/content or to display the content in a
dialog within the Flex application itself? ThanksSlow down! Found it here:
http://raghunathraoflexing.blogspot.com/2006/12/flex-i-frame.html -
Set item value from application level item
Hello,
I'm using Apex 2.2.1.00.04. I've modified the Page "No Tabs" template so that I can have my own Form (which is submitted to an outside website). On this form, I create some hidden items:
<form name="frmEPay" method="POST" action="some_website">
<input type="hidden" id="i1" name="userId" value=&G_ID. />
<input type="hidden" id="i11" name="timestamp" value="" />
<input type="hidden" id="i12" name="hash" value="" />
On this apex page, I have a javascript function which is called in the onload (basically, the ApEx webpage displays and then is redirected). Here's a snippet of that function:
var appProc = new htmldb_Get(null, html_GetElement('pFlowId').value,'APPLICATION_PROCESS=PrepEPay',0);
appProc.get();
appProc = null;
document.getElementById('i11').value = "&G_ECOM_TIMESTAMP.";
document.getElementById('i12').value = "&G_HASH.";
document.frm_infiNET.submit();
As you can see, the function calls an application level On Demand process (PrepEPay). That process sets the values of the application level items G_ECOM_TIMESTAMP and G_HASH. After those App level items have their values, I want to take those values and apply them to the hidden items on my custom form. Unfortunately, it doesn't work how I have things currently. I've verified that the On Demand process is running(by viewing the Session report on the page). So my problem seems to be this: 1. Retrieving the values from the Apex application level items
2. Setting those values to the values of my hidden items (on my custom form)
I think the biggest reason why I'm having difficulties is because I have to do a lot of this in the template, since that is the only way to have a separate Form. Maybe my problem is that I don't understand how to reference the Apex application level item value from a different form?
Thanks,
MartyMarty,
You are describing this as if you expect the substitution within "&G_ECOM_TIMESTAMP." and the other one to take place in some kind of lexical order, e.g., from the top to the bottom of the HTML. The replacements happen in the engine, before anything is sent to the page. Then the browser interprets language constructs such as javascript calls which in your case includes an ajax invocation of a server-side application process.
You need to re-think the machinery here.
Scott -
Can XI as a middleware drive the content from the Application level
Can XI as a middleware drive the content from the Application level (backend) into the front-end Portal? By XI connectors? Is there a documentation that explains that?
You can't plug an iPod into an iPad in order to access its media, and as far as I am aware you can only use home sharing between a computer and an iOS device (iPad, iPhone, iPod Touch, but not an iPod Classic), and not between 2 iOS devices : http://support.apple.com/kb/HT4557 and http://www.apple.com/support/homesharing/
-
Change Default Application level setting for checkbox value from "On"/"Off" to 1/0
Hi,
I am creating livecycle designer forms. In that the checkboxes take a default value of "On'/"Off" and I have to change it to 1 and 0 in all the boxes on layout checkbox property.
In livecycle i have to change it in Object-Binding tab.
Is there an application level setting where I can set the default to 1 and 0 instead of "on/"off" at the app level itself? this way every new form will have 0 and 1 instead of off/on
I export the form data to XML and push it to database and it needs 1 and 0.
I need the app setting for both Adobe Acrobat 9 Extended Pro
Please helpIt is 1/0 by default .....if you drag a checkbox from the object library onto the canvas and you are getting on/off as your default, then you have modified th eobject. You can set the object the way you want (anf property not just binding) and then you can drag the object back onto the Library palette. This will ask you to name it and if you choose the same name it will overwrite the one that is in the library.
Paul -
How to keep an application level object running with SunIDM?
We are working on intergrate a gmail project with SunIDM. We need an application level object running with SunIDM so it will maintain a token generated from Gmail side. In anther servlet project, I had this object saved in the attribute of the ServletContext, then other session level servlet could share this attribute anytime. Is there a way to store attribute in Servlet Context and have it shared by different user session in SunIDM? I have been reading documents and searched this forum, haven't find any topics related how to maintain an application level object live. Hopefully that I can get some hint here.
Thank you so much.Paul, Thank you so much for the further explaination. I don't think it will work since the token generated from gmail will expire every 24 hours.
We are using the gdata library published from by gmail people, and I create a new UserService object and have it run in the application level. The UserService object will generate a token and renew it every 24 hours behind the scene. Here is how I implement it in my Servlet project:
//to have a UserService object running at the application level:
public class GmailUserService extends HttpServlet {
public void init(ServletConfig config) throws ServletException{
super.init();
userService = new UserService(myApplication);
config.getServletContext().setAttribute("gmailUserService", userService);
//to access this UserService object from other servlet in each user session:
UserService userService = (UserService)servletContext.getAttribute("gmailUserService");
Gmail will trigger an error if we create a new UserService object for each user. They recommend to have all the user to share one UserService object. I am looking for similar approach in SunIDM.
Thank you again, Paul, for trying to help. -
Session time out when working in application level
Hi
We are upgraded our PROD environment from 11.5.10.2 to R12.1.3
When end user working at application level then it is throughing the session time out error, end user is not idle state he active and working on application level
I have checked the profile ICX:Session Timeout it is 30
Thanks
ShaikHi;
Please see:
ICX:SESSION TIME OUT
Re: Inccreasing the timeout parameter for the Oracle R12 session
Also see:
How AutoConfig sets ICX: Session Timeout [ID 307149.1]
How To Manage Timeout at Responsibility Level [ID 412224.1]
Regard
Helios -
Work status at application level
Hi Team
Can any one explain purpose of keeping dimension members in work status settings where dimensions are not relevent for work status at application level?Hi Miguel,
You are comparing work status and the validation rules. However, these 2 are completely different functionalities.
For maintaining validations, please take a look at the below links from help.sap:
http://help.sap.com/saphelp_bpc75_nw/helpdata/en/72/027eddf803405eb131738b655408ce/content.htm
http://help.sap.com/saphelp_bpc75_nw/helpdata/en/d9/7e49e5b686462a9f2a2d38c98b8446/content.htm
For work status, please refer to the below links from help.sap:
http://help.sap.com/saphelp_bpc75_nw/helpdata/en/f8/d51b881cfa4c5992de481ccfa05db3/content.htm
http://help.sap.com/saphelp_bpc75_nw/helpdata/en/75/712b5c7be845cbb1e76cfe78650343/content.htm
Hope this helps. -
Setting application level item during authentication
We’re having an issue with an application level item that we set during our custom authentication function to store a role list for authorization. The issue is that the application level item, which should be set using htmldb_util.set_session_state(‘ITEM_NAME’, p_item_value), is not being set.
On further investigation we realised that this issue was only affecting developers, not users of the application. This seems to be because the home page link, set in Shared Components > Edit Security Attributes, is set to “f?p=&APP_ID.:1:&SESSION.”, which means that the developers session was being passed to the application when the “Run Application” button was pressed. What then happens is that following the successful execution of the authentication function, a new session id is generated and visible on the URL and the Application Level Items are not set correctly.
Examples:
I’m developing an application on Apex that has the home page link set to “f?p=&APP_ID.:1:&SESSION.”, here’s the first part of my URL at the Application home page:
http://apex.oracle.com/pls/otn/f?p=4000:1:1065658352862710::
I hit “Run Application” and get to this URL (note the session id is the same)
http://apex.oracle.com/pls/otn/f?p=16033:1:1065658352862710:::::
I log in using any old username and password (the auth scheme on this demo app always returns true) and I get to this URL (note the session id is different):
http://apex.oracle.com/pls/otn/f?p=16033:1:1403999736046638
My application level item is not set and I start to cry. When I recover from my tearful episode I try to log in again, I hit logout and get taken to this URL:
http://apex.oracle.com/pls/otn/f?p=16033:1
I log in again (with the same username or different, it doesn’t matter) and low and behold, my application level item is set ok. This is the URL I can see (note another new session id):
http://apex.oracle.com/pls/otn/f?p=16033:1:4917752800353335
In despair, I close my browser window and go to my other application, this one has got the home page link set to “f?p=&APP_ID.:1” (no session id passed).
I log back into Apex as a developer and go to the application home page at this URL:
http://apex.oracle.com/pls/otn/f?p=4000:1:131988631742187::
I hit “Run Application” and get to this URL (note the session id is missing):
http://apex.oracle.com/pls/otn/f?p=19114:1::::::
I log in using any old username and password (same deal as before) and I get to this URL (new session id):
http://apex.oracle.com/pls/otn/f?p=19114:1:4320851658879093:::::
Amazingly, this time the application level items are set first time.
What I’d like to know (there is a purpose to this) is:
- Why is a different session allocated to the application after login, when a “developer’s” session id is passed to the application?
- If I remove the session id from the home page url what is the impact? I can’t think of anywhere within the application that this is used (other than between page 101 and the home page), but our thoughts are that this could mean that users end up generating more sessions on the server.
- Is there any other way around this, perhaps using a different method of setting the application level item? The authentication procedure which sets the item reads as follows and mimics our authentication procedure (which you can assume does a little bit more than just returning true):
function test_login
(p_username in varchar2 default null,
p_password in varchar2 default null) return boolean is
begin
htmldb_util.set_session_state('F16929_SYSDATE', to_char(sysdate, 'DAY'));
return true;
end;- Has anyone else encountered difficulties with the setting of application level items during login or has anyone come up with a more ingenious plan for passing something back from authentication that can later be used for authorisation?
Thanks
mattScott,
Many thanks for the response.
We've found a way around this now, by changing the developer's usernames to the same as their NT/ Active Directory signon, which fools APEX into maintaining the session id from their builder session even though when logging into the application they get authenticated by LDAP.
Using a post authentication process would be ok but I can't see any way of passing a variable retrieved in the authentication process under the first session to the post authentication process so that it can be set in the second session. We'd either therefore have to insert the data into a table and read it back or add an extra LDAP call to retrieve the user role/ group list during the post authentication process.
Thanks again,
Matt -
How to view the table at the application level
Dear All,
How to view the table in the Data Dictionary at the application level, If a table is created at the database level by using CREATE statement.
code/
create table zmard as select * from sapone.mard where 1 = 2
/code
I would like to view the table above, which is created at the Oracle database level in the Data Dictionary.
can anyone guess the solution.
Best wishes
MaheshHi
U should create a program using SQL native in order to select and show the data.
By SE11 or directly in the program u can define a structure like your table:
DATA: BEGIN OF W_ZMARD,
FIELD,
END OF W_ZMARD.
EXEC.
OPEN CURSO FOR SELECT * FROM ZMARD
ENDEXEC.
DO.
EXEC.
FETCH NEXT CURSOR INTO :W_ZMARD
ENDEXEC.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
WRITE: / W_ZMARD-FIELD,
ENDDO.
EXEC.
CLOSE CURSOR
ENDEXEC.
I don't know if it's possible to create a view in SE11, because it's needs a table just defined in SE11, u can create a new view ZMARD based on MARD but I don't believe it'll use your table.
Max -
Can't access Application level item
Hi,
I have set an Application level item. I have tried to assign it as a default value on a Page Item but nothing is being shown.
Application Level Item: APP_USER_ID
On New Instance computation:
select user_id
from isp_user
where login_id=:APP_USER
Page Item: P57_CREATED_BY
Default Value: &APP_USER_ID.
Default Type: Static Text with Session State Substitutions
No value is displayed, but if I replace &APP_USER_ID. with &APP_USER a value is displayed.
Thanks for any assistance.OK, I've simplified the scenario to avoid any confusion. I'll give you a step by step of what I think you are telling me and see how we go. Believe I feel like I've tried everything...sure it's just my inexperience with the tool.
Via Shared Components/Items created....
Application Level Item: APP_USER_ID
On Page 57 of my Application I created a Before Header computation:
Item Name: APP_USER_ID
Type: SQL Query
Computation Point: Before Header
Computation: select 21 from dual
I assigned this to be the default value for a database field on Page 57, defined as follows:
Page Item: P57_CREATED_BY
Display As: Text Field
Source Used: Always,replacing any existing value in session state
Source Type: Database Column
Default Value: &APP_USER_ID.
Default Value Type: Static Text with Session State Substitutions
I logged out and logged back in. I checked Session State and saw that the APP_USER_ID Application Item exists but has not value.
I navigated to Page 57... no value is displayed in the P57_CREATED_BY field... If I review the Session State I can see that APP_USER_ID Application Item has a value of 21.
Changing &APP_USER_ID. to &APP_USER. displays a value which seems to indicate it is not an issue with the field definition.
Hope that is a little clearer.
Thanks, appreciate your help.
Jona -
Hi xperts,
My Env
oim11gR2
PSUM Connector 11.1.1.5
I am trying to provision to the PSGl and getting the below error. Anyone with any suggestions please?
Running CREATEUSER
Target Class = oracle.iam.connectors.icfcommon.prov.ICProvisioningManager
<Jan 10, 2013 1:01:31 PM MYT> <Warning> <ORG.IDENTITYCONNECTORS.PEOPLESOFT.COMPINTFC.PEOPLESOFTCOMPINTFCSETATTRIBUTESHELPER> <BEA-000000> <org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcSetAttributesHelper : validateRequiredAttributes : Required attribute IDTypes not present in the set of attributes from OIM>
<Jan 10, 2013 1:01:31 PM MYT> <Warning> <ORG.IDENTITYCONNECTORS.PEOPLESOFT.COMPINTFC.PEOPLESOFTCOMPINTFCSETATTRIBUTESHELPER> <BEA-000000> <org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcSetAttributesHelper : getDefaultvalue : Adding the default value NON for IDType>
<Jan 10, 2013 1:01:31 PM MYT> <Warning> <ORG.IDENTITYCONNECTORS.PEOPLESOFT.COMPINTFC.PEOPLESOFTCOMPINTFCSETATTRIBUTESHELPER> <BEA-000000> <org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcSetAttributesHelper : validateRequiredAttributes : Required attribute LanguageCode not present in the set of attributes from OIM>
<Jan 10, 2013 1:01:31 PM MYT> <Warning> <ORG.IDENTITYCONNECTORS.PEOPLESOFT.COMPINTFC.PEOPLESOFTCOMPINTFCSETATTRIBUTESHELPER> <BEA-000000> <org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcSetAttributesHelper : getDefaultvalue : Adding the default value ENG for LanguageCode>
<Jan 10, 2013 1:01:32 PM MYT> <Error> <ORG.IDENTITYCONNECTORS.PEOPLESOFT.COMPINTFC.PEOPLESOFTCOMPINTFCCREATEOP> <BEA-000000> <org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcCreateOp : create : Error Occured cannot create user >
<Jan 10, 2013 1:01:32 PM MYT> <Error> <ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER> <BEA-000000> <oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user
org.identityconnectors.framework.common.exceptions.ConnectorException: Cannot create user
at org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcCreateOp.create(PeoplesoftCompIntfcCreateOp.java:120)
at org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcConnector.create(PeopleSoftCompIntfcConnector.java:126)
at org.identityconnectors.framework.impl.api.local.operations.CreateImpl.create(CreateImpl.java:80)
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.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)
at $Proxy994.create(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 org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)
at $Proxy994.create(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 $Proxy246.execute(Unknown Source)
at oracle.iam.platform.kernel.impl.OrchProcessData.runActionEvents(OrchProcessData.java:1115)
at oracle.iam.platform.kernel.impl.OrchProcessData.access$500(OrchProcessData.jav
a:84)
at oracle.iam.platform.kernel.impl.OrchProcessData$8.processWithoutResult(OrchProcessData.java:719)
at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: psft.pt8.joa.JOAException: TPESVCFAIL - application level service failure
* at psft.pt8.joa.CISvc.setProperties(CISvc.java:94)*
* at psft.pt8.joa.CI.flush(CI.java:367)*
* at psft.pt8.joa.CI.getProperty(CI.java:106)*
* at org.identityconnectors.peoplesoft.common.InterfaceWrapper.getProperty(InterfaceWrapper.java:69)*
* at org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcSetAttributesHelper.setComplexAttributeEmbeddedObj(PeoplesoftCompIntfcSetAttributesHelper.java:302)*
at org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcSetAttributesHelper.setAttributes(PeoplesoftCompIntfcSetAttributesHelper.java:139)
at org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcCreateOp.create(PeoplesoftCompIntfcCreateOp.java:111)
at org.identityconnectors.peoplesoft.compintfc.PeopleSoftCompIntfcConnector.create(PeopleSoftCompIntfcConnector.java:126)
at org.identityconnectors.framework.impl.api.local.operations.CreateImpl.create(CreateImpl.java:80)
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.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)
at $Proxy994.create(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 org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)
at $Proxy994.create(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 org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:107)
at $Proxy994.create(Unknown Source)Does your Peoplesoft instance require you provide an employee id? Or is it one that does not link back to the Person tables? Looks like you aren't populating it, since it's sending NON, so chances are, you need to provide the employee id.
-Kevin -
TPESVCFAIL - application level service failure
#include <atmi.h>
#include <fml32.h>
#include <fml1632.h>
#include <tpadm.h>
#include <stdio.h>
#include <stdlib.h>
int main(void)
long len = 0;
char lmid[16];
char serverName[64];
char srvID[64];
char srvGrp[16];
char rqAddr[16];
char totWorkl[16];
char state[16];
char numReq[16];
if (tpinit((TPINIT*)NULL) == -1) {
fprintf(stderr, "tpint error\n");
exit(1);
int flags = MIB_LOCAL;
FBFR32* rqbuf = (FBFR32*)tpalloc(FMLTYPE32, NULL, 0);
Finit32(rqbuf, (FLDLEN32)Fsizeof32(rqbuf));
Fchg32(rqbuf,TA_OPERATION, 0, "GET", 0);
Fchg32(rqbuf, TA_CLASS, 0, "T_SERVER", 0);
Fchg32(rqbuf, TA_FLAGS, 0, (char*)&flags, 0); **/+/if i add this line: compile succeed, but run wrong!!! error info: TPESVCFAIL - application level service failure+**
if (tpcall(".TMIB",(char*)rqbuf, 0, (char**)&rqbuf, &len, 0) != -1)
int i, j;
i = Foccur32(rqbuf, TA_SERVERNAME);
for (j = 0; j < i; ++j) {
Fget32(rqbuf, TA_SERVERNAME, j, serverName, 0 );
Fget32(rqbuf, TA_SRVID, j, srvID, 0);
Fget32(rqbuf, TA_STATE, j, state, 0);
Fget32(rqbuf, TA_SRVGRP, j, srvGrp, 0);
Fget32(rqbuf, TA_RQADDR, j, rqAddr, 0);
Fget32(rqbuf, TA_TOTWORKL, j, totWorkl, 0);
Fget32(rqbuf, TA_NUMREQ, j, numReq, 0);
if (strcmp(state, "ACTIVE") == 0)
printf("%s,%s,%s,%s,%s,%s,%s\n",serverName, srvID, state, srvGrp, rqAddr, totWorkl, numReq);
else{
printf("%s\n", tpstrerror(tperrno));
exit(1);
tpfree((char*)rqbuf);
tpterm();
return 0;
how to get local information ,not global information ?
thinks!!!
Edited by: 998527 on 2013-4-7 上午7:27See the TA_FLAGS in the docs;
TA_FLAGS
Long valued FML32 field identifying generic and component MIB specific flag values. Component MIB specific values that may be set in this attribute are defined within each component MIB reference page. Generic flag values and uses are listed below.
MIB_LOCAL
This flag is used to modify retrievals from certain classes defined in this MIB. For a number of classes in this MIB, there exists both global information (available at any site in an active application) and local information (available on the particular site where the object is active). Requests to retrieve information from these classes will by default retrieve only the global information and not the local for efficiency. If the application user is willing to wait for local information to be collected, possibly from multiple sites, this flag should be set on the retrieval request. Classes with local information have local attributes listed last in the attribute table with a subheading indicating that they are local attributes. Classes which have only local information will automatically default to retrieving local information even if this flag value is not set.
MIB_PREIMAGE
indicates that a pre-image check must be passed before a SET operation will be performed. A pre-image check insures that occurrence 0 of any MIB specific class attributes match the existing object. If so, the object is updated using occurrence 1 of any MIB specific class attributes. Attributes occurring less than two times are not considered for pre-image checking. Multiply occurring fields are checked if their associated count attribute is specified twice.
MIB_SELF
This flag is used as a shorthand to indicate that identification attributes for the client or server originating the request should be added to the request buffer prior to processing. For clients, TA_CLIENTID is added and for servers, TA_GRPNO and TA_SRVID are added.
Maybe you are looking for
-
Welcome to the new Oracle User Group Community
Welcome to the new Oracle User Group Community. Whether you landed here via the redirect from the previous community site - IOUC.org - or navigated here directly, welcome. This new platform brings new community features to enhance the way you connect
-
Hey, I have a broadcom 4328 card, as identified by lspci | grep bcm43 I can't get it to work (in short). I followed the directions here: http://wiki.archlinux.org/index.php/Broadcom_BCM4312 But to no avail, eth0 (ethernet) works 100% fine. Wireless
-
Why won't LR remember new HD folder???
I bought a larger HD to move everything to before upgrading from LR3.6 to 5. I created a folder called 2009 and moved items there by dragging and dropping within LR. Upon relaunch of LR to make sure everything was fine, the folder was not visible!
-
IMovie9 compatibility with Canon camcorders
The Canon Vixia HF R500 provides the option to record in either Mp4 or AVI format. Can the recording be downloaded directly into iMovie9 if the Mp4 format is chosen?
-
I'm using a trial version of InDesignCC on Mac (Snow Leopard 10.6.8). It's very slow and jerky. Not at all nice to work with. I've previously been using InDesign_cs4 with no problems. Do I need to upgrade my system software? Or anything else I can do