Connecting to cache and getting list of cache names
I have a cache cluster (server) running on my local machine with these settings:
===============
-server
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=28000
-Dcom.sun.management.jmxremote.authenticate=false
-XX:+HeapDumpOnOutOfMemoryError
-Xmx1000M
-Dfire.disable.cachestore=true
-Dtangosol.coherence.wka=${hostname}
-Dcom.sun.management.jmxremote
-Dfire.tcp.extend.port=9199
-Dtangosol.coherence.management=all
-Dtangosol.coherence.management.remote=true
-Dtangosol.coherence.cacheconfig=fire-cache-config.xml
-Dtangosol.coherence.override=fire-cluster-config.xml
-Dtangosol.join.timeout=1000
-Dtangosol.coherence.ttl=0
-Dlog4j.configuration=fire-log4j.xml
-Dfire.coherence.storage.dir=${storage}
===============
I am trying to connect to this cluster from another process (client), running on my local machine, with these settings:
===============
-Dtangosol.coherence.distributed.localstorage=false
-Dtangosol.coherence.wka=${hostname}
-Dtangosol.coherence.management=all
-Dtangosol.coherence.management.remote=true
-Dcom.sun.management.jmxremote
-Dtangosol.coherence.cacheconfig=fire-cache-config.xml
-Dtangosol.coherence.override=fire-cluster-config.xml
===============
The client process fails with the following error message:
===============
java.lang.IllegalStateException: SafeCluster has been explicitly stopped or has not been started
===============
When the following line of statement is executed:
===============
Cluster cluster = CacheFactory.getCluster();
cluster.getServiceNames(); // exception thrown
===============
The server is running, and another process (written by someone else) is able to connect to it. The settings I am running client with have been validated against the settings that the working process is using. But, no luck.
Oracle Coherence Version 3.3.1/389
OS: Windows XP Pro
Env: Eclipse 3.4 / sun-jdk-1.6.06
I have been looking around for any intelligent sign of clue about whats going on. But have not been able to find anything useful on google or these forums or the javadoc API.
Any help / info / pointers towards getting the client to connect to the server would be greatly appreciated.
Thanks in advance
Ajay
Yes, I have. It does not get me access to caches in the cluster. ensureCluster does get me service names, but return null when I call cluster.getService(name);
Do you have any reason to recommend ensureCluster instead of getCluster?
My eventual goal is to get a list of all caches. If you have a better way to get a list of all caches, please do recommend / point me in the right direction.
Thanks
Ajay
Similar Messages
-
HP Pavilion dv6700 CTO Notebook PC and I hook to HDMI cable and connect to tv and get no sound
i have a HP Pavilion dv6700 CTO Entertainment Notebook PC and I hook to HDMI cable and connect to tv and get no sound when attached to tv. I attach the cable get the video but no sound. I check sound and do not see anything other than the altec lansing speckers and realtek. Th altec lansings are the default. Help
Hello gman0700.
Welcome to the HP Forums. I understand you are unable to produce audio through an HDMI connection. I apologize for the late response, but I will do my best to assist you. Before anything else, please answer these questions:
1. What is the current computer's operating system? Does the same behaviour occur on multiple operating systems?
2. The title seems to imply that there is no audio when connected to a television, using HDMI. Does this only occur when you connect to a television? Will it occur if you connect to something else using HDMI?
3. Have you tried connecting to a television using VGA or DVI? If so, what are the results?
As an additional suggestion, for now, I would review the television's manual to confirm that everything is correct from the television's standpoint.
Please post this information as soon as you can. Thank you posting on the HP Forums. Have a great day!
Mario
I worked on behalf of HP. -
How to get list of file names from a directory?
How to get list of file names from a directory?
Please helpIn addition, this:
String filename = files;Should be this:
String filename = files;
That's just because he didn't use the "code" tags, so [ i ] made everything following it become italicized. -
How to get List Item attachments name without write any custom code or any database query?
Hi,
How to get List Items attachments name without write any custom code or any database query?You can get it from Rest,
There are 2 options,
1) create a 'Result Source' which has a search query for that List which has attachments
- Use rest query to get the 'Filename' , it will have the attachment file name
For example, if the result source id is : 73e6b573-abf8-4407-9e5f-8a85a4a95159 , then the query will be
http://[site URL]/_api/search/query?querytext='*'&selectproperties='Title,Path,FileExtension,SecondaryFileExtension,Filename'&sourceid='73e6b573-abf8-4407-9e5f-8a85a4a95159'&startrow=0&rowLimit=100
You can refine the query, be giving proper 'querytext'
2) Use the List rest api
For example if your list guid is :38d524a1-e95c-439f-befd-9ede6ecd242e
You can get he attachments for 1st item using this
http://[Site URL]/_api/lists(guid'38d524a1-e95c-439f-befd-9ede6ecd242e')/items(1)/AttachmentFiles
get2pallav
Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you. -
Getting list of domain names on NT, and authenticating user
Hello, I want to make an class that will check the user login name and password on a NT domain, the class will show a screen with 2 fields, username and password, and a combobox, with all domain names, on this screen the user will type his username and password and choose a domain to login to, the class will then check if he can login to that domain.
Currently the problem I have is that I couldn�t find a way to get a list of domain names.
And after I get that list, what is the best way to authenticate the user ?
Thanks a lot in advance for any help.hi,
you can ask for username, password by running this code:
String auth = httpRequest.getHeader("Authorization");
if (auth == null)
httpResponse.setStatus(httpResponse.SC_UNAUTHORIZED);
httpResponse.setHeader("WWW-Authenticate", "NTLM");
httpResponse.flushBuffer();
return;
if (auth.startsWith("NTLM "))
byte[] msg = new sun.misc.BASE64Decoder().decodeBuffer(auth.substring(5));
int off = 0, length, offset;
if (msg[8] == 1)
byte z = 0;
byte[] msg1 = {(byte)'N', (byte)'T', (byte)'L', (byte)'M', (byte)'S', (byte)'S', (byte)'P',
z,(byte)2, z, z, z, z, z, z, z,(byte)40, z, z, z,
(byte)1, (byte)130, z, z,z, (byte)2, (byte)2,
(byte)2, z, z, z, z, z, z, z, z, z, z, z, z};
httpResponse.setHeader("WWW-Authenticate", "NTLM " +
new sun.misc.BASE64Encoder().encodeBuffer(msg1));
httpResponse.sendError(httpResponse.SC_UNAUTHORIZED);
return;
else if (msg[8] == 3)
off = 30;
length = msg[off+17]*256 + msg[off+16];
offset = msg[off+19]*256 + msg[off+18];
String remoteHost = new String(msg, offset, length);
length = msg[off+1]*256 + msg[off];
offset = msg[off+3]*256 + msg[off+2];
String domain = new String(msg, offset, length);
length = msg[off+9]*256 + msg[off+8];
offset = msg[off+11]*256 + msg[off+10];
String username = new String(msg, offset, length);
You can put this code in youe servlet or in a filter.
I am also strucked with similar problem.
With this code i am getting the window to enter loginId/password but i am not able to authenticate it.
If you have found any solution to authenticate the user please help me.
i am really strucked.
thanks in advance
Pamjoshua -
Can I connect via HDMI and get 1920x1080?
Can I connect my MacBook Pro HDMI adapter up to my new Samsung Display via the HDMI connection and get 1920x1080? Or is the 1080p the best display I can do with that connection? Should I get the VGA adapter instead?
Not so fast please...
for HDMI rev 3.1 and above the AOK
However my SHARP 42" flat screen (model LC-42D72U) requires DVI MBP (adapter ) to DVI port on the SHARP.
I also have HDMI( and S video, component video and composite video) Also digital audio output from SHARP flat screen but for max UXGA resolution at horizontal frequency of 75.0 kHz DVI the way SHARP requires.
Fortunately Apple gave me DVI adapter free ( seldom heard nice four letter word )
"and a little help from my friends"...(apologies to the Beetles)
Let 'er rip and...
cheers -
Hi,
I would like to get, if it is possible, do searching in one determinate folder and get all the files with the same extension, For example, Give the *.pou and get all the files on one list of the files in this folder and sub-folders...
If it is possible i would like to see any example.
Thanks a lot, Fonsi.Hi Dennis,
I got your advise, I download the openG (i had problems, and downloading directly and install one to one).
Ok, i got but i have one problem, which i can't solve. I entry the promt to search and put the directory to save, later i push 'Do it' and it search the files, show the paths and number, then save in the folder and finally show the window , all ok!.
The problem is with the target path, when i want use the browse, it doesnt run properly. I want select one carpet, and it demands one file, i dont understand why??, i changed the options browse but it didnt work. Also i would like when i put one path if folder doesnt exist, directly create it and save the files, if exist copy it.
Thanks for all!. I attached the file in lv 7.1
Attachments:
buscar3.vi 50 KB
capture.GIF 48 KB -
Losing connection during call and get no reconnection for hours
Hi, I use my iphone4 (not iphone 4S) with ISO5 latest version. Since some weeks during calls I lose connection to provider and cannot reconnect to network. Restarting doen't help. After some hours the iphone get again connection not knowing what has happend. Losing connection happens while I'm on a fixed place (not travelling in a car or something similar) and making a call. It also happens at different places. Vodafone changed my SIM-card but it doen't help. I also backed-up and renewed the the iphone-software by using iTunes. The vodafone-support explained that with renewing the software a new software-patch will also be installed that should help. As you can imagine - I still have the problem! Who can help?
Thanks for answering!#1 Did the problem start occurring after any particular weather event?
#2 What light turned/turns red?
#3 Do you have Voice service, and if so, do you have noise or static on the line while in a call that was never there before?
#4 Lastly, visit http://192.168.1.1/ and visit the System Status section of the ActionTec. Provide the Transceiver Statistics it shows.
If you need a login, try the following:
admin/password
admin/password1
admin/admin
admin/admin1
Your Verizon Username and Password
If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button. -
Getting list of document name in a container
Hi,
I am trying to get list of all document names in a container using the following code in PHP:
http://dpaste.com/25409/
but I am getting an error as listed in the above link.
Any idea? I searched on Google but couldnt get any definitive answer.
Thanks.Hello,
Try:
for $doc in collection() return dbxml:metadata('dbxml:name',$doc)
Regards,
George -
Bought mlbtv through itunes. Tried to access mlbtv and got message that user name or password not recognized. They were both correct. Created new password and user name anyway. Still not recognized.
Are you using the MLB.com At Bat app for iPhone/iPad?
-> https://itunes.apple.com/us/app/mlb.com-at-bat/id493619333?mt=8&ign-mpt=uo%3D4 -
Parsing query and getting list of tables used
Hi All,
I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
And need to validate that, the list of tables against a whitelist to maintained in the file.
I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
I require a help, Is there any other ways to get the list of tables used in a query?
Thanks,
Mahendran..user10279893 wrote:
Hi All,
I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
And need to validate that, the list of tables against a whitelist to maintained in the file.
I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
I require a help, Is there any other ways to get the list of tables used in a query?
Thanks,
Mahendran..
You'll never cover all scenarios by trying to parse a query.
For example, what about a query that queries views and those views query pipelined functions, and those pipelined functions query other views or tables or pipelined functions etc.
And what about a query that dynamically obtains the table names, such as...
SQL> select
2 table_name,
3 to_number(
4 extractvalue(
5 xmltype(
6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
7 ,'/ROWSET/ROW/C')) count
8 from user_tables
9 where iot_type != 'IOT_OVERFLOW'
10 or iot_type is null;
TABLE_NAME COUNT
DEPT 4
EMP 14
BONUS 0
SALGRADE 5
.. in this case the tables being accessed (to count their rows) are not even known within the code, they are dynamically generated queries at run-time, so the only way to know what tables are accessed is to actually run the query.
Of course, a well designed system, with proper documentation and version control would allow you to take any database object and know where and what is using it, and whether it's even being used. -
I think this should be easily resolved, but I need some guidance.
I have a client with 2 Server 2003 R2 x64 DCs: BORIS & NATASHA. Last year I upgraded both of them from x86 to x64 one at a time, allowing replication to occur between the upgrades. BORIS is the FSMO roles holder as it is currently the production server,
while NATASHA is a backup DC. One thing that puzzles me though is that if I look at the NS record in DNS on the SOA tab, it says NATASHA is the Primary server.
While doing some routine maintenance I noticed an error in the File Replication Service events about a 'Tombstone' situation (Event ID 2042). I looked at article cc757610 in the Technet Library and opted for remedy #3 as I did not want to demote NATASHA
and I got confused looking at the help about using "repadmin /removelingeringobjects". I have no idea how to determine which DC has the good copy of the directory.
Now, in running "repadmin /showrepl" I get
"DC=CPA,DC=local
Default-First-Site-Name\BORIS via RPC
DC object GUID: 0267a090-1890-40e2-9a15-ea928cabd425
Last attempt @ 2012-12-27 08:28:55 failed, result -2146893022 (0x80090322):
The target principal name is incorrect.
1179 consecutive failure(s). Last success @ 2012-12-21 23:30:15." <-- THIS IS WEIRD SINCE THIS IS THE DATE THAT I DISCOVERED THE TOMBSTONE EVENT AND MADE THE REGISTRY CHANGE
(I THINK).
When I try to look at the FSMO roles on NATASHA, it shows ERROR for RID, PDC & Infrastructure and says "The current Operations Master is offline. The role cannot be transferred." The other issue I'm having is that client PCs are intermittently having
trouble reconnecting to necessary server shares.
TIA
Wayne S. CompTIA A+ CompTIA Network+ Microsoft MCPHello Sandesh,
I spent a lot of time trying to understand using NETDOM to reset machine account passwords (don't understand it yet), but I see that you're saying that won't work anyway.
I'm not really sure how to tell which DC is the broken one, but I'm assuming it's BORIS since that's the one users are unable to connect to. Since it is the FSMO role holder and GC I want to make sure I understand the steps correctly:
1.Use dcpromo to forcefully demote BORIS
2.Do metadata cleanup on NATASHA (using ntdsutil?)
3.Promote BORIS again to DC
Should I leave NATASHA as the FSMO role holder and GC? BORIS is the better (more resources/faster processor) machine and it's the file server. Or should the better machine be the FSMO role holder and GC as well as the file server. NATASHA is meant to be
a backup in case BORIS dies.
Thanks,
Wayne S. CompTIA A+ CompTIA Network+ Microsoft MCP www.InfoTek831.com
Hi,
The step you are performing is correct but you also need to seize the FSMO role on other DC if BORIS is FSMO role holder and configure authorative time server role.You can later move the famo role to BORIS server the choice is your however if you are
moveing the role then you need configure authorative time server on BORIS server.
Configuring the time service on the PDC Emulator FSMO role holder
http://msmvps.com/blogs/acefekay/archive/2009/09/18/configuring-the-windows-time-service-for-windows-server.aspx
Domain Replication has exceeded the tombstone lifetime
http://pmeijden.wordpress.com/2011/01/12/domain-replication-has-exceeded-the-tombstone-lifetime/
Forcefull removal of DC:
http://support.microsoft.com/kb/332199
How to transfer or seize FSMO roles
http://sandeshdubey.wordpress.com/2011/10/07/how-to-transfer-or-seize-fsmo-roles/
Metadata Cleanup of a Domain controller
http://sandeshdubey.wordpress.com/2011/10/12/metadata-cleanup-of-a-domain-controller/
Once both server is online check the health of DC by running dcdiag /q and repadmin /replsum.Ensure that DNS/GC role is configured on both DC's
Hope this helps
Best Regards,
Sandesh Dubey.
MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator |
My Blog
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
I had to restore my iphone about 10 times in the space of 24 Hours. This really *****. Someone please help!!!!
Hello TonioG242,
Thanks for using Apple Support Communities.
From your post I see that you are getting error 27 when trying to update your iPhone in iTunes. I can definitely understand how this is a frustrating issue, especially after trying multiple times to restore the phone but to only get the same error. There are troubleshooting steps however that you can follow to help resolve the issue.
Check for hardware issues
Related errors: 1, 3, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
These errors mean that your device or computer might have a hardware issue that stops the update or restore from completing.
Check that your security software and settings aren't blocking your device from communicating with the Apple update server.
Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
Make sure that your security software and settings are allowing communication between your device and update servers.
If you still see the error message when you update or restore, contact Apple support.
Get help with iOS update and restore errors - Apple Support
Have a good one,
Alex H. -
Trying to update OS on an original iPad. Connected to iTunes -- screen is locked showing iTunes/USB cable icons. iTunes says must restore to default settings, but receive an error message 3014 that this cannot be done. Cannot unlock screen to use nor can I update or restore, so iPad not usable at this point. How can I unlock screen so I can use iPad, how do I fix this error? Latest version of iTunes is downloaded and I've followed all the instructions in regard to Windows. I'd at least like to unlock iPad so it can be used. Thanks.
bummer. *Note that if you are actually running iOS 5.1.1, that's it for the iPad 1st Gen.
Resolve iOS update and restore errors - Apple Support
ÇÇÇ -
Connect to iPhone and Get Data
How can I get my OS X 10.5 Leopard app to communicate with my iPhone. For example, I would like to copy my text messages off the iPhone.
No need to connect to the phone for this - you can extract the messages from your backup (the one iTunes creates on your local folder) - use "iPhone Backup Extractor" to get the SMS.db from your backup (it is a pretty simple SQlite DB which contains all your SMS messages):
http://supercrazyawesome.com/
Andreas
Maybe you are looking for
-
Lose connection when WEP enabled
I lose internet connection whenever I enable WEP when using my WRT54G in wireless mode. No problem when hard wired. Thanks
-
Oracle 10.2.0.1.0 installation fails
Hello, I have a problem installing Oracle 10g (10.2.0.1.0) in a new home, while on the same machine is installed oracle 9i base. The installation starts, I select Enterprise suite, and a new home, the setup passes trough some checks and unexpectedly
-
Windows Integrated Authentication on an ABAP data source
Dear Experts, I have to implement Windows Integrated Authentication in my portal. By using Kerberos & SPNEGO, we can implement very easily if portal user id & windows (ADS) user id is same. But my scenario is windows id & portal id is different & dat
-
I Firefox crashes upon opening, I have uninstalled and installed it now 2 times. On initial opening it will work, the future opens it doesn't. None of these problems occurred until we upgraded to 9.0.1 Desk top running window 7
-
Jumpy video when exporting (sharing) to Quicktime
Hi all, I'm doing a simple internet commercial for a conference in Chicago. I am having a new problem with imovie. When I try to make the video into a quicktime movie the transitions and frames are jumpy. Here's a clip http://timandalison.com/Transvi