Multiple Key Puts derived from single Client Put
Hi
I have a use case where a storage disabled member performs a single put into a distributed cache and at the Cache processing level (based on certain logic) I may wish to add extra keys into the cache for this value all within the same synchronous put.
So client performs...
cache.put("key1","value1")
In the Cache layer...(Trigger, Listener, LocaCache override?)
value 1 == some test then ...
cache.put("key2","value1")
cache.put("key3","value1")
cache.put("key4","vaue1")
I've tried to implement this by extending a LocalCache (that acts as an internal cache store for a ReadWriteBacking Map) and intercepting the single put, performing my logic and calling extra super.puts with the new keys. However I fallen foul of exceptions where the member performing the operation is not the owner. This is despite KeyAssociation being implemented on the keys, so I assume that all operations should be performed by the same member? I have confirmed that all the keys conform to the association.
The exception string...
"An entry was inserted into the backing map for the partitioned cache "london/env1/type1" that is not owned by this member; the entry will be removed."
So my question to any kind soul out thre is....what is the safest way to implement this functionality?
I could perform the extra puts within the client, however I wish to shield this storage disabled JVM from the logic and perform it somewhere on a cache thread.
To add further complexity the code that performs the logic to decide whether or not to add extra keys must have access to a JDBC connection or CacheLoader possibly?
Kind Regards
Davey
Hi Davey,
While your scenario is rather advanced and requires caution, it's definitely feasible. The only explanation I have for the "is not owned by this member" message is that your key affinity was not configured/written the way you intended. As a result, the internal map listener Coherence utilizes to "watch" backing map operations prevented this from happening. If your test case small enough to be posted here, I'd be happy to review it; otherwise I would suggest opening a corresponding service request.
Regards,
Gene
Similar Messages
-
RE: Accessing multiple Env from single Client-PC
Look in the "System Management Guide" under connected environments page
72. This will allow services in your primary environment to find
services in your connected environment. However, there is a bug
reported on this feature which is fixed in 2F4 for the HP and H1 for all
other servers. The following is from Forte:
The connected environments bug that was fixed in 2F4 is #24282. The
problem
was in the nodemgr/name server source code and caused the following to
occur:
Service1 is in connected envs A and B.
Client has env A as primary, B as secondary.
Envmgr A dies before the client has ever made a call to Service1.
Afer env A is gone, client makes a call to Service1 which causes Envmgr
B to
seg fault.
You should upgrade your node manager/env manager nodes to 2F4. The 2F2
development and runtime clients are fully compatible with 2F4 servers.
Kal Inman
Andersen Windows
From: Inho Choi[SMTP:[email protected]]
Sent: Monday, April 21, 1997 2:04 AM
To: [email protected]
Subject: Accessing multiple Env from single Client-PC
Hi, All!
Is there anybody has any idea to access multiple environments from
single client-PC? I have to have multiple environments because each
environment resides geographically remote node and network bandwidth,
reliability are not good enough to include all the systems into single
environment.
Using Control Panel for doing this is not easy for those who are not
familiar with Windows. The end-user tend to use just single application
to access all necessary services.
I could consider two option to doing this:
1. Make some DOS batch command file to switch different environment
like, copying back/forward between environment repositories and
set up forte.ini for changing FORTE_NS_ADDRESS. After then, invoke
proper client partition(ftexec).
2. Duplicate necessary services among each environment.
But, these two options have many drawbacks in terms of system
management(option 1), performance(option 2) and others.
Has anybody good idea to implement this? Any suggestion would be
appreciated.
Inho Choi, Daou Tech., Inc.
email: [email protected]
phone: +82-2-3450-4696Look in the "System Management Guide" under connected environments page
72. This will allow services in your primary environment to find
services in your connected environment. However, there is a bug
reported on this feature which is fixed in 2F4 for the HP and H1 for all
other servers. The following is from Forte:
The connected environments bug that was fixed in 2F4 is #24282. The
problem
was in the nodemgr/name server source code and caused the following to
occur:
Service1 is in connected envs A and B.
Client has env A as primary, B as secondary.
Envmgr A dies before the client has ever made a call to Service1.
Afer env A is gone, client makes a call to Service1 which causes Envmgr
B to
seg fault.
You should upgrade your node manager/env manager nodes to 2F4. The 2F2
development and runtime clients are fully compatible with 2F4 servers.
Kal Inman
Andersen Windows
From: Inho Choi[SMTP:[email protected]]
Sent: Monday, April 21, 1997 2:04 AM
To: [email protected]
Subject: Accessing multiple Env from single Client-PC
Hi, All!
Is there anybody has any idea to access multiple environments from
single client-PC? I have to have multiple environments because each
environment resides geographically remote node and network bandwidth,
reliability are not good enough to include all the systems into single
environment.
Using Control Panel for doing this is not easy for those who are not
familiar with Windows. The end-user tend to use just single application
to access all necessary services.
I could consider two option to doing this:
1. Make some DOS batch command file to switch different environment
like, copying back/forward between environment repositories and
set up forte.ini for changing FORTE_NS_ADDRESS. After then, invoke
proper client partition(ftexec).
2. Duplicate necessary services among each environment.
But, these two options have many drawbacks in terms of system
management(option 1), performance(option 2) and others.
Has anybody good idea to implement this? Any suggestion would be
appreciated.
Inho Choi, Daou Tech., Inc.
email: [email protected]
phone: +82-2-3450-4696 -
Accessing multiple Env from single Client-PC
Hi, All!
Is there anybody has any idea to access multiple environments from
single client-PC? I have to have multiple environments because each
environment resides geographically remote node and network bandwidth,
reliability are not good enough to include all the systems into single
environment.
Using Control Panel for doing this is not easy for those who are not
familiar with Windows. The end-user tend to use just single application
to access all necessary services.
I could consider two option to doing this:
1. Make some DOS batch command file to switch different environment
like, copying back/forward between environment repositories and
set up forte.ini for changing FORTE_NS_ADDRESS. After then, invoke
proper client partition(ftexec).
2. Duplicate necessary services among each environment.
But, these two options have many drawbacks in terms of system
management(option 1), performance(option 2) and others.
Has anybody good idea to implement this? Any suggestion would be
appreciated.
Inho Choi, Daou Tech., Inc.
email: [email protected]
phone: +82-2-3450-4696Hi, All!
Is there anybody has any idea to access multiple environments from
single client-PC? I have to have multiple environments because each
environment resides geographically remote node and network bandwidth,
reliability are not good enough to include all the systems into single
environment.
Using Control Panel for doing this is not easy for those who are not
familiar with Windows. The end-user tend to use just single application
to access all necessary services.
I could consider two option to doing this:
1. Make some DOS batch command file to switch different environment
like, copying back/forward between environment repositories and
set up forte.ini for changing FORTE_NS_ADDRESS. After then, invoke
proper client partition(ftexec).
2. Duplicate necessary services among each environment.
But, these two options have many drawbacks in terms of system
management(option 1), performance(option 2) and others.
Has anybody good idea to implement this? Any suggestion would be
appreciated.
Inho Choi, Daou Tech., Inc.
email: [email protected]
phone: +82-2-3450-4696 -
Lync autodiscovery key is missing from our client computers.
Lync autodiscovery key is missing from our client computers, Lync prompts for Exchange credentials but cannot authenticate. What is causing the autodiscovery key not to be created or to be deleted?
Thanks in advance.Hello guy,
Check it:
Get-WebServicesVirtualDirectory | fl *url*
https://<URL_webservices)/ews/exchange.asmx
https://<smtp_domain>/autodiscover/autodiscover.xml
https://autodiscover.<smtp_domain>/autodiscover/autodiscover.xml
http://AutoDiscover.<smtp_domain> /Autodiscover/Autodiscover.xml
_autodiscover._tcp.<owa_url> (Autodiscover DNS SRV Record) port 443
Internally, point to Exchange Server
“Vote As Helpful” and/or “Mark As Answered” - Thiago Mendes da Silva - MCSE Communication - ITIL v3 Foundation - http://www.ucsteps.com/ -
How to use multiple tape drive from single client when I want to backup single filesystem?
Hello All.
I want to backup 1 filesystem using 4 tape drives for reducing backup time.
In case of symantec veritas netbackup, they can user "NEW_STREAM" for multi-streaming backup.
Please anybody let me know that how to do use multiple tape drive for single client.
1. Backup Source server : Linux (1 client)
2. Backup Soucre : /data1 (500GB)
-> Current directory structure doesn't have sub directory under /data1, just files present under /data1
If direcotry struceture has a sub-direcotry like( /data1/aaa, /data1/bbb ), Is it availble to use multiple tape drives?
3. Tape Drive with OSB : LTO6 * 4 drives
Thank you.You would have to create a different dataset for each sub-folder. If you only have files at the top level folder then even the NEW_STREAM option couldn't be used to split the job.
Organise it into folders and then create datasets in a client folder such as :
/usr/local/oracle/backup/admin/config/dataset/Linux/data1_aaa
/usr/local/oracle/backup/admin/config/dataset/Linux/data1_bbb
Then in the schedule you just specify the Linux folder. In each dataset you list the hostname and the folder name, such as :
include host Linux
include path /data1/aaa
Now it will create a new job for each dataset and therefore each folder.
Thanks
Rich -
Multiple key items for a single data item?
hi all. In my application multiple key items may have the same data item, such as:
key data
1 abcd
1 abcd
1 abcd
2 efg
2 efg
but it may lead to a lot of duplicate storage spaces. I can use two dbs by giving each data item an ID, just like:
db1
key data
1 1
1 1
1 1
2 2
2 2
db2
key data
1 abcd
2 efg
is there any other simple solutions? thanks in advanceHello,
This sounds like a data modeling question. I think your solution is reasonable, though you'll get a lot of good ideas and info if you read up on normalization for relational schemas - there's a ton of literature out there. Just do a search for "database normalization".
Normalization is intended to eliminate redundancy and also avoid various update anomalies.
Warm regards.
ashok -
Trouble connecting to RDP from single client machine.
I have a Server 2012 machine running remote desktop services. Users at our branch offices connect to it over the corporate VPN.
It has been running for over a year now with no significant issues, until this past Tuesday.
I have exactly one client machine that immediately disconnects upon connecting to the machine. This does not generate very helpful error codes - On the server side, just a generic 4005 - The Windows logon process has unexpectedly terminated.
All other client machines can connect to the server without issue, including other client machines in that branch office. Furthermore, attempting to simply remote desktop into another 2012 server produces the same results on this machine, while remote
desktop to another windows 7 client machine seems to work just fine.
I have seen some similar problems mentioned, but they typically involve a server that consistently fails with all clients, whereas I have a single client machine that suddenly cannot RDP to Server 2012 machines. Any ideas?Hi,
Thank you for posting in Windows Server Forum.
Have you check with other user account on that client machine?
Does ping response successfully to the server?
Firstly please try to run sfc /scannow, check performance for that system, check event viewer whether can find any particular error\event id. For more information you can refer below article.
Fix “The Windows Logon Process has Unexpectedly Terminated”
Hope it helps!
Thanks.
Dharmesh Solanki -
How to handle multiple requests from single client??
hi all
I wrote a client server program to handle requests from client.I have 2 types of requests, one is to submit comments to the server other is to view comments on the server.I have tested the app and it works fine for either of them(independently) but they don't work both together i.e when i submit a comment and view it,it's stuck and when i close the program it gives SocketException :Connection reset.
on client side:
My request is just a string
on the server side:
I check the string and give the client what it wants.
I want to know if there's any other way to send requests other than passing it as a string.
I can post my code if needed.
thanks,
SreeHere is my client code,minimized it to the extent possible and it might give some compilation problems since i didn't include all the functions needed but i think you should be able to get an idea if i'm doing something wrong.
Can give you my server code if needed.
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
import java.net.UnknownHostException;
import javax.swing.JButton;
public class Test {
JButton submit_button;
JButton view_button;
Socket client;
JButton get_submit_button() {
if (submit_button == null) {
submit_button = new JButton();
submit_button.setText("Submit");
submit_button.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
send_comments_to_server();
return submit_button;
Socket check_client_connection(){
String host = "C001192097"; //server host name
if(client == null || client.isClosed()){
try {
client = new Socket(host, 4321);
}catch (UnknownHostException exception){
System.err.println(host + ": unknown host.");
catch (IOException exception){
System.err.println("I/O error with " + host);
return client;
void send_comments_to_server(){
try
Socket client = check_client_connection();
DataOutputStream output_stream = new DataOutputStream(client.getOutputStream());
BufferedReader stream_input = new BufferedReader(new InputStreamReader(client.getInputStream()));
String comment_report = "comments";
Comments comment = new Comments();
User_Data user_data = new User_Data(); //function that returns client details such as host name and stuff
String user_info = "User Name: "+user_data.user_name+" "+"Host Name: "+user_data.host_name+" "+"Domain Name: "+ user_data.domain_name;
comment.user_info = user_info;
comment.summary = comment_report;
comment.comments = "passing comments";
String report = user_info+" "+comment_report+" ";
output_stream.writeBytes(report+"\n");
// output_stream.close();
// stream_input.close();
// client.close();
}catch(IOException e){
e.printStackTrace();
void receive_comments_from_server(){
String line;
StringBuffer comments = new StringBuffer();
try
Socket client = check_client_connection();
DataOutputStream output_stream = new DataOutputStream(client.getOutputStream());
BufferedReader stream_input = new BufferedReader(new InputStreamReader(client.getInputStream()));
String msg = "view comments";
output_stream.writeBytes(msg);
System.out.println("waiting for response");
while((line = stream_input.readLine()) != null){
comments.append(line);
System.out.println("Comments from server "+comments);
} catch (IOException e) {
e.printStackTrace();
JButton get_view_button() {
if (view_button == null) {
view_button = new JButton();
view_button.setText("View Comments");
view_button.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
System.out.println("request sent");
receive_comments_from_server();
return view_button;
}thanks
Sree -
Multiple Best Practice installation on Single Client
Hi All,
Can we install multiple best practice client in on single ECC client?
e.g
BP US baseline package
BP HCM
BP IS UT
And would it be affecting other clients in system?
Thanks,
Bhanu Pratap SinghDear Dipankar,
You can find the answer for your questions individually by explorering the link below
[http://help.sap.com/content/bestpractices/baseline/bestp_baseline_baseline.htm]
hope this meet with your queries.
Regards,
Alex Vo. -
Multiple Key figure in a single column of a query
Hi,
Is it possible to use muliple key figure like Amount and Qty field together in a column of a query?
Please advise,
Best Regards,
URHi,
You will be able to do it with the help of cell definitions.
Say,you have a structure in Rows :
A
B
For A ..in corresponding column cell,use cell definition with KF1
For B.....in corresponding column cell,use cell definition with KF2
this way,you will be able to see both in one column
I m not sure how much it is relavant to your requirement.But this is one way of gettin it -
Multiple page word doc from single page template?
Hi,
I'm working on a system which needs to generate a detailed report of multiple findings, ideally in MS Word. Each finding would have a page in the report and the format of all of these would be identical. Is it possible to use a word template repeatedly in one document to do this? I've looked at the tutorial on using a word template and the labview toolkit but this assumes each datum to be inserted has a unique bookmark name in the document.
Thanks for any help
MikeHow are you going to insert the data into the template without using the bookmark names? The bookmarks indicate the location that the data is going to be inserted. You could create a template that is multiple pages long and on each page is an identical template, with bookmark names like "voltageinput1", "voltageoutput1" on page one, and "voltageinput2", "voltageoutput2" on page two, etc.
Alternately you could try using ActiveX for Word. You can use the Word Get ActiveX References.vi to gain access to the various objects that you can manipulate in ActiveX. You can do just about anything with ActiveX and Word, which makes it much more complicated as well.
Colden -
Combine multiple key figures in single key figure
Hi,
We have a requirement where we need to put multiple key figures into a single key figure
For example source DSO is as follows (+ Unit object):
Region | Date | Amount | Quantity
Asia | 01-01-2008 | 100 | 1000
Eurpoe | 02-02-2008 | 200 | 2000
In Target DSO / Cube, the data must appear like this (no Unit Object)
Region | Date | Type | Value
Asia | 01-01-2008 | Amount | 100
Asia | 01-01-2008 | Quantity | 1000
Eurpoe | 02-02-2008 | Amount | 200
Eurpoe | 02-02-2008 | Quantity | 2000
How do we achieve this?
Regards,
NikhilHi
Write a strart routine that maps Type ->Amount and Quantity,Value -> Kf of Amount or Quantity
Put these chars into Key fields in target DSO = Region | Date | Type ,that will assure unique entries
Bye -
How to use multiple tape drive for single filesystem on single client.
Hello All.
I want to backup single filesystem with multiple tape drive.
Incase of Symantec veritas netbackup "NEW_STREAM" for multi-stream backup.
Backup client has a single backup filesystem like /data1 directory with 4 LTO6 drives.
/data1 directory doesn't have a sub-direcotry, just present a files.
If /data1 directory has a sub-directory like /data1/aaa, /data1/bbb, /data1/ccc , Is it possible to use multiple drives?
Please anybody answer the questions.
Thanks advanced.See how to use multiple tape drive from single client when I want to backup single filesystem?
-
Invoke multiple web services in single client
hi everyone,
Can we invoke multiple web services in a single client?.
--web serviceWe can invoke..any number of services in a client.
-
Is it Possible to have multiple sheet Excel output from a single BI report?
Hi,
I am using Oracle BI Publisher Desktop veriosn 11.1.1.7
JDE tool set 811.
Is it possible to generate multiple excel sheet tabs from single report?Creating Excel Templates - 11g Release 1 (11.1.1)
BI Publisher: Excel Template: 'Fixed' Multi-Sheet Template
Maybe you are looking for
-
Itunes won't open...error 2206 I have tried to uninstall and to reinstall...still won't open. Any suggestions so i can use my itunes library again?
-
Hard drive crash- cannot load burned cd's from ipod onto desktop
I recently had a HD crash. replaced HD, downloaded Itunes. synced with Ipod, but only the "purchased music" was loaded onto the new desktop hd. I have hundreds of songs and audio books which I have burned from cd"s to itunes, How do I get Itunes to
-
Saving MS Word docs with Parental Controls
I have set up an account for my kids using parental controls and have managed to add apps I needed, blocked sites, etc. My son is using MS Word for homework, but how can he save work under the kids login and I access it in the main account? Thank you
-
I am switching from a MacBook to a MacBook Air.
I have connect to the cloud, but then it asks for the keychain password and I do not know that. What do I do? Can I add/change the password??
-
42TL515U blacks out when changing channels in different formats
This television is getting annoying. Unlike our previous television, a Samsung, whenever I switch from a program from a non HD channel stored on the DVR to a live HD broadcast the Toshiba frequently seems to "get confused" with the format switch and