Discovering on which node an object is stored
Hello everyone,
I'm interested in discovering which node in my cluster holds a particular key/value pair, is there something in the API that would allow me to query the cluster in such fashion?
Cheers!
Depends.
If you are running an extend client, you won't be able to get the PartitonedService on client side, you'd need to use either Invocable or EntryProcessor and get the service on server side.
If you are running the code within a node (which join the distributed service), looks like you can just use the NamedCache.getCacheService() (assume you already have a NamedCache object).
Similar Messages
-
Performance Management Objectives are stored Table?
Hi Friends,
When i click on Add Objective using Performance Management page i.e the SSHR page
I am getting the following fields:
Objective Name
Created By
Start Date
Target Date
Next Review Date
Group (Has a list of departments)
Priority
Weighting Scale
Complete (%)
Achievement Date
I would like to know if these fields are stored in which table immediately.
but after transfer the objects to manager, the manager Review worker changes then PER_OBJECTIVES table populated.
but i want to before which table these objective are stored.
Please helpHi avajain,
per_performance_tatings fine.
but i want to objective status informantion.
means manager created objective send to employee that time status is WKR, Then employee changes and send to manger that time status APPROVAL like way..
these objective status which table stored.
can u help me any body
thanks and regards
rkrao. -
Object name stored in Database table
Hi all,
Lets say I have a Database table that contains the name of the window
objects that I want to create and display at run-time, how do I go about
creating that object from the table field wich is a string ?
Example :
MenuTable { ItemNo, IsFolder, ParentFolder, PromptMsgNo, ..., WindowName,
StartMethod }
Then I use this table to fill in a TreeView or OutlineView using a
Subclassed DisplayNode that contains
the WindowName and WindowMethod fields.
When the user selects a node I want to instantiate an object of the type
indicated in WindowName and
do a start task of the method indicated by WindowMethod for WindowName.
How could I code the following lines ? :
theWindow : "--> Content of CurrentNode.WindowName" = new;
start task theWindow."--> Content of CurrentNode.WindowMethod";
Goal :
Be able to customize the menu system without customizing code for each
client.
Any idea on alternative methodes to reach the the goal would also be
appreciated.
Thanks in advance.
Christian Boult ([email protected])
Systemes Influatec inc.Hi Christian,
When the user selects a node I want to instantiate an object of the type
indicated in WindowName and
do a start task of the method indicated by WindowMethod for WindowName.
How could I code the following lines ? :
theWindow : "--> Content of CurrentNode.WindowName" = new;
start task theWindow."--> Content of CurrentNode.WindowMethod";---<<<---
cl : integer = 0;
aLib : Library = task.part.findLibrary(projectName = 'MeineTestKlassen',
distributionID = 'test',
compatibilityLevel = cl,
libraryName = 'meinetes');
aType : ClassType;
myObject : Object;
// myObject : meinNeuesObjektClassTypeName;
aType = aLib.FindClass(className = meinNeuesObjektClassTypeName);
myObject = aType.InstanceAlloc();
myObject = (object)(meinNeuerStream.ReadSerialized());
--->>>---
This code is part of a method that stores objects persistent into a Database
and then restores and instantiates them.
You'll have to put the Name of the Class your Object should be of in the
"meinNeuesObjektClassTypeName" Attribute. Then, aType.InstanceAlloc()
instantitates an Object of the given Class.
Please note that, due to the diefferences between the declared and the
runtime class type (Object vs. whatever class your object is of) you'll have
to cast your Object to the correct class. (I used to create a virtual
Superclass for this, which contains the method(s) to be called and the
needed Attributes and then cast all created objects to that superclass).
(You might also use a Template for this and implement that in all classes
that need it -- but I didn't try it yet, so I don't know if it really
works).
Hope that helps...
ralf
/* Ralf Folkerts
Geschaeft: [email protected]
Privat: [email protected] */
-----Ursprüngliche Nachricht-----
Von: Christian Boult <[email protected]>
An: Forte Maling list <[email protected]>
Datum: Dienstag, 31. März 1998 04:59
Betreff: Object name stored in Database table -
"Object Picker cannot open because no locations from which to choose objects can be found"
Hi,
When I try in AD management console in the domain controller to add a new group for a user I get the following error:
"Object Picker cannot open because no locations from which to choose objects can be found" error message when you try to select objects from an Active Directory domain in Windows 2000
Our domain controller is a W2000 cluster (two W2000 advanced server machines) and this happens in one of the nodes of the controller while in the other node it Works well (the difference between them is where it fails, has the resources: print,
file sharing and quorum services). Both nodes of the controller have the remote registry service disabled and in the node where it fails when you start this service it works well but I don`t think this is the reason because in the other node with remote registry
service disabled it works. Solutions from the following support articles don`t work:
kb 263231
kb 284914
I have checked that the situation is independent of the domain administrator who tries to add the group to the user.
Can anybody help me? Which is the reason of this different behaviour from one cluster node to another ?
Thanks.Hi Milos,
Thanks for your answer but I think this is not the case because the problem is not with NTFS and we don' have these problems:
Users or groups that have Full Control access cannot delegate permissions.
Users who have Full Control access cannot make permission changes on a DFS share.
If you give the non-privileged user the right to log on locally and you log on locally to the file server where the error message occurs, you can successfully edit the ACL.
It only happens with the AD management console. Now, for us it is not posible to upgrade the system. -
Save tree the lists of which is class' object
Hi, my question :
how can i save tree the lists of which is class' object?
i save tree with the help of ObjectOutputStream class, but when i read tree object from file i have leaf without name(clean leaf)
how read and save tree in file for normal with it?
Code of my function for save tree:
import javax.swing.JTree;
import java.io.*;
import java.util.*;
public class SaveTree {
public SaveTree(){
public void saveTree(JTree tree){
try{
ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream("tree.info"));
out.writeObject(tree);
out.close();
catch(Exception e){
e.printStackTrace();
public JTree loadTree(){
JTree tree = new JTree();
try{
ObjectInputStream in = new ObjectInputStream(new FileInputStream("tree.info"));
tree = (JTree)in.readObject();
in.close();
catch(Exception e){
e.printStackTrace();
return tree;
}the code where i create new node as class' object
public void actionPerformed(ActionEvent e) {
String command = e.getActionCommand();
if (ADD_COMMAND.equals(command)) {
//Add button clicked
book = new DefaultMutableTreeNode(new BookInfo
(name.getText(),
"file:///"+ System.getProperty("user.dir") + "/" + ID.getText() + ".html", Integer.parseInt(ID.getText())));
treePanel.addObject(book);
name.setText("");
ID.setText("");
}my class BookInfo
public class BookInfo {
public String bookName;
public String bookURL;
private int bookID;
public BookInfo(String book, String filename, int ID) {
bookID = ID;
bookName = book;
bookURL = filename;
System.out.println(bookURL);
if (bookURL == null) {
System.err.println("Couldn't find file: "
+ filename);
public String toString() {
return bookName;
public int getID(){
return bookID;
public void setID(int ID){
bookID = ID;
}thanks for attention ! :)Jos, thanks for answer :)
Erm, get the TreeModel from the JTree, serialize it and later deserialize it and set it as the TreeModel for your JTree again?
kind regards,
JosHm, i save treeModel the same way, but when i (de)serialize treeModel from file i get clean tree
my function to save treeModel
class Save{
public Save(){}
public DefaultTreeModel loadModel(DefaultTreeModel model){
try{
ObjectInputStream in = new ObjectInputStream(new FileInputStream("tree.info"));
model = (DefaultTreeModel)in.readObject();
in.close();
catch(Exception e){
e.printStackTrace();
return model;
public DefaultTreeModel saveModel(DefaultTreeModel model){
try{
ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream("tree.info"));
out.writeObject(model);
out.close();
catch(Exception e){
e.printStackTrace();
//return model;
}and here i init tree with treeModel
Save save = new Save();
DefaultMutableTreeNode root = new DefaultMutableTreeNode(myObject);
DefaultTreeModel model = new DefaultTreeModel(root);
JTree tree = new JTree(save.saveModel(model));
JPanel panel = new JPanel();
panel.add(new JScrollPane(tree));
this.add(panel);Edited by: Tmrs on May 18, 2008 6:00 AM -
How to know which master data objects need to activated in R3
SALES OVERVIEW CUBE -0SD_C03
How to know which master data objects need to activated from delivery version to active version in R/3 for a particular standard cube like 0SD_C03.
its very urgent please advise.
R/3 in RSA5
Sales Master Data
0ACCNT_ASGN_TEXT Account assignment group for this customer
0ACCNT_GRP_TEXT Customer account group
0BILBLK_DL_TEXT Locked
0BILBLK_ITM_TEXT Billing block for item
0BILL_BLOCK_TEXT Billing block in SD document
0BILL_CAT_TEXT Billing Category
0BILL_RELEV_TEXT Relevant for Billing
0BILL_RULE_TEXT Billing rule
0BILL_TYPE_TEXT Billing Type
0CONSUMER_ATTR Consumer
0CONSUMER_LKLS_HIER Consumer
0CONSUMER_TEXT Consumer
0CUST_CLASS_TEXT Customer Classification
0CUST_GROUP_TEXT Customer Group
0CUST_GRP1_TEXT Customer Group 1
0CUST_GRP2_TEXT Customer Group 2
0CUST_GRP3_TEXT Customer Group 3
0CUST_GRP4_TEXT Customer Group 4
0CUST_GRP5_TEXT Customer Group 5
0DEALTYPE_TEXT Sales Deal Type
0DEL_BLOCK_TEXT Delivery block (document header)
0DEL_TYPE_TEXT Delivery Type
0DISTR_CHAN_TEXT Distribution Channel
0DIVISION_TEXT Division
0DLV_BLOCK_TEXT Schedule line blocked for delivery
0DOC_CATEG_TEXT SD Document Category
0DOC_TYPE_TEXT Sales Document Type
0INCOTERMS_TEXT Incoterms (Part 1)
0INDUSTRY_TEXT Industry keys
0IND_CODE_3_TEXT Industry code 3
0IND_CODE_4_TEXT Industry code 4
0IND_CODE_5_TEXT Industry code 5
0IND_CODE_TEXT Industry code
0ITEM_CATEG_TEXT Sales document item category
0ITM_TYPE_TEXT FS item type
0KHERK_TEXT Condition Origin
0MATL_GRP_1_TEXT Material Group1
0MATL_GRP_2_TEXT Material Group 2
0MATL_GRP_3_TEXT Material Group 3
0MATL_GRP_4_TEXT Material Group 4
0MATL_GRP_5_TEXT Material Group 5
0MATL_TYPE_TEXT Material Type
0MAT_STGRP_TEXT Material statistics group
0NIELSEN_ID_TEXT Nielsen ID
0ORD_REASON_TEXT Order reason (reason for the business transaction)
0PICK_INDC_TEXT Indicator for picking control
0PRODCAT_TEXT Product Catalog Number
0PROD_HIER_TEXT Product Hierarchy
0PROMOTION_ATTR Promotion
0PROMOTION_TEXT Promotion
0PROMOTYPE_TEXT Promotion Type
0PROV_GROUP_TEXT Commission Group
0REASON_REJ_TEXT Reason for rejection of quotations and sales orders
0REBATE_GRP_TEXT Volume rebate group
0RECIPCNTRY_TEXT Destination country
0ROUTE_TEXT Route
0SALESDEAL_ATTR Sales deal
0SALESDEAL_TEXT Sales deal
0SALESORG_ATTR Sales organization
0SALESORG_TEXT Sales Organization
0SALES_DIST_TEXT Sales district
0SALES_GRP_TEXT Sales Group
0SALES_OFF_TEXT Sales Office
0SCHD_CATEG_TEXT Schedule line category
0SHIP_POINT_TEXT Shipping point/receiving point
In BW
Base Unit of Measure 0BASE_UOM
Bill-to party 0BILLTOPRTY
Calendar Day 0CALDAY
Calendar Year/Month 0CALMONTH
Calendar Year/Week 0CALWEEK
Change Run ID 0CHNGID
Company code 0COMP_CODE
Cost in statistics currency 0COST_VAL_S
Credit/debit posting (C/D) 0DEB_CRED
Distribution Channel 0DISTR_CHAN
Division 0DIVISION
Number of documents 0DOCUMENTS
Sales Document Category 0DOC_CATEG
Document category /Quotation/Order/Delivery/Invoice 0DOC_CLASS
Number of Document Items 0DOC_ITEMS
Fiscal year / period
Fiscal year variant 0FISCVARNT
Gross weight in kilograms 0GR_WT_KG
Number of Employees 0HDCNT_LAST
Material 0MATERIAL
Net value in statistics currency 0NET_VAL_S
Net weight in kilograms 0NT_WT_KG
Open orders quantity in base unit of measure 0OPORDQTYBM
Net value of open orders in statistics currency 0OPORDVALSC
Payer 0PAYER
Plant 0PLANT
Quantity in base units of measure 0QUANT_B
Record type 0RECORDTP
Request ID 0REQUID
Sales Employee 0SALESEMPLY
Sales Organization 0SALESORG
Sales group 0SALES_GRP
Sales Office 0SALES_OFF
Shipping point 0SHIP_POINT
Ship-To Party 0SHIP_TO
Sold-to party 0SOLD_TO
Statistics Currency 0STAT_CURR
In R3 RSA5 we have all the Master data data sources as mentioned above, and BW also. How to find the related Master data Infosource in R/3 Master data Data sources.
Thanks in advance,
Bhima.
Message was edited by: Bhima Chandra Sekhar GuntlaHi,
<i>How to know which master data objects need to activated from delivery version to active version in R/3 for a particular standard cube like 0SD_C03.</i>
I think, you are looking for master data sources(text,attributes,hier).Am i right?
If so, This cube has almost all SD master data characterstics. So you can activate all the all master data datasources of SD in r/3 (SD-IO).
Any way you requirement does not stop only by using this cube . You will activate all other cubes in SD also. So if you want to activate only needed master data datasources when you are activating a cube, the job becomes senseless. There is no problem(wrong) in activating all master data available under that application , even though you want to activate only one cube.
With rgds,
Anil Kumar Sharma .P -
Hi All,
I want to convert the output of Applescript which is in object format to string or text format, am running Applescript with Java, I need to display the output of applescript in Eclipse Java Console, since its object format the output is not properly displayed..
Pls suggest.. I used the below code
repeat with i in allContents
if class of i is button then set the end of allStaticText to contents of i
end repeat
Applscript ouptput
{button 1 of window "Player Installer" of application process "Install Player" of application "System Events", button 2 of window "Player Installer" of application process "Install Player" of application "System Events", button 3 of window "Player Installer" of application process "Install Player" of application "System Events", button "Finish" of UI element 1 of scroll area 1 of window "Player Installer" of application process "Install Player" of application "System Events"}
Java output
<NSAppleEventDescriptor: 'obj '{ 'form':'indx', 'want':'butT', 'seld':1, 'from':'obj '{ 'form':'name', 'want':'cwin', 'seld':'utxt'(" Player Installer"), 'from':'obj '{ 'form':'name', 'want':'pcap', 'seld':'utxt'("Install Player"), 'from':'null'() } } }>Here's an improved version of the previous script, where the handler now returns "button 2 of window \"Untitled\" of application process \"TextEdit\" of application \"System Events\"" instead of "button \"2\" of window \"Untitled\" of application process \"TextEdit\" of application \"System Events\"":
tell application "System Events"
get button 2 of window 1 of process "TextEdit"
my objectToText(result) --> "button 2 of window \"Untitled\" of application process \"TextEdit\" of application \"System Events\""
end tell
on objectToText(UI_element)
set theText to ""
tell application "System Events"
repeat
if exists attribute "AXParent" of UI_element then
set theParent to value of attribute "AXParent" of UI_element
set theClass to class of UI_element
if name of UI_element exists then
set theName to name of UI_element
set theText to theText & (theClass as text) & " \"" & theName & "\" of "
else
set k to 0
get UI elements of theParent whose class is theClass
repeat with thisItem in result
set k to k + 1
if contents of thisItem is UI_element then exit repeat
end repeat
set theIndex to k
set theText to theText & (theClass as text) & " " & theIndex & " of "
end if
set UI_element to theParent
else
set theClass to class of UI_element
set theName to name of UI_element
set theText to theText & (theClass as text) & " \"" & theName & "\" of application \"System Events\""
exit repeat
end if
end repeat
end tell
return theText
end objectToText
Message was edited by: Pierre L. -
I have a broken laptop which I can not get into on which my itunes library is stored, I have set up another library on my new laptop but I can not add tunes etc., without sync and erasing because you can only be registered to one library, how do I get around not having to start all over again putting music on my ipod, and spending loads more money downloading, I have the 1st generation ipod nano
many thanksSee this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
https://discussions.apple.com/thread/2452022?start=0&tstart=0
B-rock -
In which table these Applicant details stored
Hi,
In which table these Applicant details stored
1) No. of applicants received
2) No. of applicant attend the test
3) No. of applicant attend the Face to Face interview
5) No. of applicant offered
6) No. of applicant rejected.
So that I can write a program and view the report.
Regards,
Surjithhi you can see the all the above you asked you can see in the table pb4000,pb4001,pb4002,pb4003
relating to applicants
bye
naveen -
Hi All,
I have 4 node rac. My question is suppose the master node go evicted,
In this case,which node will become master and who decide which node will become master.
I have read somewhere that the node wilth least number will become master.
How oracle decide the numbering which node will have least number?
Could you please help me in cleairing my doubt?
your suggestion are welcome.
Thanks and RegardsHi,
I have learned somewhere the node with the least node number will become master node.
How oracle decides which node will have highest node and which will have lowest node number?The information which you want is not documented (far as I know). What is difficult to accurately tell you the truth.
There's a reason to you want to know about this. Depending on what you need, we can to solve in another way without trying to figure out which node have OCR Master all the time.
Markus is Principal Product Manager Oracle RAC and he is one of Contributors of documentation of Oracle Database see his answer.
Markus words:
Why are you interested in knowing which node the OCR Master resides on all the time?
The OCR backup is taken only every 4 hours. If you are of bad luck, the OCR master could have changed between the time of the last backup and the check using ocrconfig -showbackup. Now, if this was the case, the CRSD.log(s) will probably tell you But again, you should not be required to find the OCR master permanently.
Re: Identify the OCR master node for 11.2
Levi Pereira -
How does RAC determine which instance number to run on which node
Good afternoon
I am trying to script a process and I need to identify how RAC decides which node runs which instance. Is it the first one of the pair added to the cluster that runs node 1 or is there some other piece of information that I need to work this out
This is on Redhat Linux with 10.2.0.3 for CRS, ASM and databases
Cheers
PeterBefore "you" start an instance you set env variable ORACLE_SID. This identifies an instance. When you go into sqlplus and issue STARTUP, Oracle starts the instance named by the sid. Thus the instance running on the server is controlled by you. This changes as noted below.
If you were using a non-Oracle tool to start instances, such as Veritas, then you would see it start the instance you coded into the tool. It would not randomly pick an instance. It looks in the Veritas config file and sees that you always want instance 1 on this node and instance 2 on that node.
That said, you can make Oracle more random or "grid" like. 10g RAC done Oracle's way likes to bounce around between primary and secondary nodes. To see which instances are running on a node you can "ps -ef | grep pmon". Alternatively, use sqlplus to look in the database: view gv$instance gives you each instance name paired with the name of the host it is currently running on. There is one line of output per instance currently running.
-Mark -
Table name in which return item data is stored of a PO
Can some please specify the table name in which return item data is stored of a PO?
Thanks in advance;Hi,
Let me explain what exactly I need. In a PO there is a checkbox "Retun Item". If we check that checkbox for an item that item becomes a retun item.
I need to fetch all the data of this return Item. The commitment data goes to table COOI but this return item records doesn't get stored in COOI table. I need all the data of this entry including the Network Activity, Project, WBS element etc.
Please let me know if you could help me.
Thanks. -
Table name in which the trip history is stored.
Hi All,
I was trying to find out the table in which the trip history is stored but in vain could not. Can any one let me know the table name plz.
Your help is very much appreciated.
Thanks and Regards
SriFITV_REJECT Rejected Trips
FTPT_IMR_SURFACE IMR - Other Segments of Trip as Flights
FTPT_QT_ALTERN Quicktrip Trip Alternative
FTPT_QT_QTRIP Quicktrip Trip
PTRV_ARCHIVE Administrative Table for Archived Trip Dat
PTRV_BEIH_BEL Assignment of Receipts to a Subsidy for Tr
PTRV_BEIH_TAG Assignment of Days to a Subsidy for Trips
PTRV_BEIH_WEG Assignment of Trip Segments to a Subsidy f
PTRV_BEIHILFE Subsidies for Trips Home for Entire Separa
PTRV_COMM_AMT Detail Data: Transfer to FM When Trip Save
PTRV_COMM_ITM Header Data: Transfer to FM When Trip Save
PTRV_F_FBLK Form Blocks of the Trip Costs Form
PTRV_F_FBLK_TXT Form Blocks of the Trip Costs Form
PTRV_HEAD General Trip Data
PTRV_PERIO Period Data of a Trip
PTRV_REDUCTION Decision Fields: Change of Statutory Trip
PTRV_ROT_AWKEY Assignment of Trip Results to Posting Doc.
PTRV_SADD Trip Statistics - Add. Receipt Data
PTRV_SBACKLOG Trip Statistics - Batch/Backlog Processing
PTRV_SCOS Trip Statistics - Cost Assignment
PTRV_SHDR Trip Statistics - Trip Amounts
PTRV_SREC Trip Statistics - Receipts
PTRV_TRIP_CHAIN Table of all Trip Destinations f. Processi
PTRV_TRIP_DELETE Trips Deleted in R/3 For Offline Travel Ma
SFLTRIPBOK Individual Flight Bookings for a Flight Tr
T702N Trip Provision Variants -
How can I know which nodes are doing what?
I have QMaster helping with a Compressor job, is there a way I can tell in the Batch Monitor (or maybe somewhere else) which nodes are working on the task?
Thanks. Problem is that Apple Qadministrator tells me that information is not available for QuickClusters. Since I just let Qmaster sortof set itself up, that's what it is, a QuickCluster.
-
When we generated a script in which language it will be stored
Hi,
when we generated a script in which language it will be stored.
Thanks
RamaHi Rama,
Whenever we generate a script, it is maintained in all languages, by default, if we tick the <b>maintain in all languages</b> checkbox.
The original script is always maintained in the original langauge,i.e. <b>DE</b>.
Hope this resolves your query.
Reward all the helpful answers.
Regards
Maybe you are looking for
-
Inspection lot of cancelled process orders
Hi Gurus, I would like to ask if there is an easier way of knowing if the order of an inspection lot was cancelled. Right now the business is on early lot creation, meaning once the order is created an inspection lot is also created. The problem is w
-
Google Docs open in Mobile Version on Mac Air
Every time I use Google Docs on my Mac Bk Air, it launches in the 'Mobile version'. I have to then scroll to the bottom to click on 'Desktop', then continue to next page to click on 'Continue to desktop version' to finally get to the desktop version.
-
Hi, when user executes DB12, DB13 T-code , user is getting error "you are not authorised to execute transaction". but when he executed SU53 tcode getting report is showing object "S_ADMI_FCD" with value DBA in BI system. what could be the reason the
-
PicDelete ohne Rückfrage???
Habe folgendes Problem: Erstelle mir zu meinen einzelnen Kanalgruppen je ein Layout und speicher es als tdr-File. Nun will ich beim Erzeugen eines gemeinschaftlichen ( also alle Layouts in einer pdf-Datei) die Seiten mit Seitennummern versehen... Hie
-
URGENT : FORM6i & W2K & WNT4 : USER.EXE
HI, I've got a big application in forms 4.5 with Oracle 7 and Oracle 8i. I transform this application in Forms 6i, my application can run and the communication with the database is OK, but i can't close it (any form) this error system message appear