RMI :- how to know that rmi registry is running or not using java code

hi
I want to know that how to check wather rmi registry is running or not by program in java
plz any one reply

Simple method - try to connect to it and see if you get an exception.
Since the registry can be running on a remote machine, the only simple way
is to try connecting.
If the registry is running on a local machine you can also use OS tools (like "ps" on unix) to check whether the process is running, or network tools (e.g. netstat) to check whether it's listening on its TCP/IP port.
Genady

Similar Messages

  • How to know that item is serially controlled or not ?

    Hi,
    How to know that the ordered item is serially controlled or not ?
    In which tables we have refere to know that ?
    Thanks

    --If the item is only serial number controlled and not lot number controlled
    select serial_number from mtl_unit_transactions a, mtl_material_transactions b, wsh_delivery_details c
    where a.transaction_id=b.transaction_id
    and b.trx_source_line_id=c.source_line_id
    and c.source_header_number=&order_number
    and b.transaction_type_id=33 --34 if it is internal order shipments
    OR (If it is lot and serial number controlled)
    select serial_number from mtl_unit_transactions a, mtl_material_transactions b, wsh_delivery_details c, mtl_transaction_lot_numbers d
    where b.transaction_id=d.transaction_id
    and a.transaction_id=d.serial_transaction_id
    and b.trx_source_line_id=c.source_line_id
    and c.source_header_number=&order_number
    and b.transaction_type_id=33 --34 if it is internal order shipments
    Thanks
    Nagamohan

  • How to know that a form is running in query-only mode

    I have a form that can run in query-only mode or non-query-only mode depending on the current user who logs in, and I want to change its apprearance dynamically when it's in different modes (for example, enable or disable buttons). Is there a built-in or system variable from which I know that the form is running in query-only mode or not?
    Thanks,
    Shu

    The global variable solution is what we are using now. I thought there are some unpublished built-in or system variables. In my application, there is a public "menu" form from where hundreds of forms are CALLed with some in query-only mode and some in non-query-only mode depending on the current user role. :PARAMETER.QUERY_ONLY will always be 'NO' because the "menu" form is started in non-query-only mode. But it's good to know about it.
    Thank you very much for your replies,
    Shu

  • How to set the File Path to run a javascript using Plugin Code?

    Hi All,
    Im new to Indesign Plugin Development.Can any one help me out with my problem.
    What i want to do is to run a javascript using Plugin Code.When i went through this forum i was able to find out that i should use the IscriptRunner Class to automate this.I could also figure out that the Member Function to use is "CanHandleFile" &"RunFile".
    The first parameter in CanHandleFile & RunFile Member Function is to specify the path of the JavaScript File i suppose!I could also find out that IDFile has to used to set the file path Information.
    But im clueless how to set the Javascript FilePath using IDFile.Can any one help me how to do this?Any Code Snippets Please?
    Waiting for reply.
    Thanks
    myRiaz

    Hi,  Andreas<br /><br />  Can you explain this in detail? I found it in your post before.<br /><br />  The content of elements are returned through the Characters callback function:<br /><br />From ISaxContentHandler.h:<br /><br />/**<br />        Receives character data<br /><br />The parser will call this method to report each chunk of<br />        character data. SAX parsers may return all contiguous<br />        character data in a single chunk, or they may split it into<br />        several chunks. But all characters in any single<br />        event must come from the same external entity so the<br />        Locator provides useful information.<br /><br />Note some parsers will report whitespace using the<br />        IgnorableWhitespace() method rather than this one (validating<br />        parsers must do so).<br /><br />@param Chars The characters from the XML document.<br />        */<br />virtual void Characters(const PMString& chars) = 0; <br /><br />  What i have done is implement my own SAXContentHandlerServiceBoss, and in my file XXXSAXContentHandler.cpp, I override the fonctions StartElement, EndElement, and Characters() like below: I add the PMString xmlData to collect the file content:<br /><br />class XXXSAXContentHandler : public CSAXContentHandler<br />{<br />void XXXSAXContentHandler::Characters(const WideString& chars)<br />{<br />xmlData.Append(chars);<br />}<br /><br />void XXXSAXContentHandler::StartElement(const WideString& uri, const WideString& localname, const WideString& qname, ISAXAttributes* attrs)<br />{<br />xmlData.Append("<"); xmlData.Append(localname); xmlData.Append(">");<br />}<br />void XXXSAXContentHandler::EndElement(const WideString& uri, const WideString& localname, const WideString& qname)<br />{<br />xmlData.Append("</"); xmlData.Append(localname); xmlData.Append(">");<br />}<br /><br />}<br /><br />and in my program, I use the code below to call the fonction I overrided, but I dont know how I can get the String xmlData I defined in the XXXSAXContentHandler.cpp<br /><br />InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());<br /><br />InterfacePtr<IK2ServiceProvider> xmlProvider(serviceRegistry->QueryServiceProviderByClassID(kXMLParserService, kXMLParserServiceBoss));<br /><br />InterfacePtr<ISAXServices> saxServices(xmlProvider, UseDefaultIID());<br />InterfacePtr<ISAXContentHandler> saxHandler(::CreateObject2<ISAXContentHandler>(kXXXSAXContentHandlerServiceBoss));<br />saxHandler->Register(saxServices);<br />bool16 parseFailed = saxServices->ParseStream(readStream, saxHandler);<br /><br />Can you give me any help?<br /><br />Thanks and regards!

  • How to Invoke bpel process which is deployed in weblogic using java code

    Hi
    I want to invoke a BPEL Process which is deployed in Weblogic server using Java code. Please provide me the code snnipet which will be used to connect and then invoke a BPEL Process.

    The simple way would be creating a java client to consume the SOAP webservice interface exposed by the bpel process.
    If you have Oracle Service Registry you can also use UDDI to discover the endpoint at runtime.
    But you can also use direct binding to do that.
    If you search on internet you will find many blog entries about this as well as many related posts here on OTN.
    I can't suggest a specific one, but looking on Google this one seems quite ok: Managing Oracle SOA Environment [10g/11g]: Invoking SOA11g Composite Using Direct Binding Invocation API

  • How to launch Jar file in Mac Os using java code??

    can anyone tell me how can i launch another jar file in my apllication using java code.

    define "launch".
    - You want to run a new java program in a separate process? (see Runtime.exec())
    - You want to run a method in a specific class in the jar? (add jar to application classpath and then simply instantiate the class and call the method)

  • How to write excel file (.xlsx) using file adapter without using java code

    Hi All,
    In soa suite 11g Is there any ways to write the data to the excel ( xlsx ) file using fileadapter and not using java code..Thanks in Advance

    Hi Siva,
    I don't think there is any way to write .xls file directly. You'll have to use some Java API (iText etc.) to create an .xls file. However, you can write .csv file that can be easily converted into .xls at the target end. In MS, it opens as Excel file if delimiter is comma *,*.
    Regards,
    Neeraj Sehgal

  • How to know that URL is currenty open into other Group Tab feature ?

    Hello Firefox team,
    I use a group tab features (CTRL+SHIFT+E) and I have open many URLs in many group tab's. This URLs are on one domain because I work on one SupportTeam website and all cases/tickets have different URLs.
    I don't know that I open a duplication tab (cases/ticket) who is open in other tab or on tab in other group tab.
    How to know that URL whom I open is a duplication?.
    Best Regards
    Marcin Przysowa

    I upgrade FF to 10.0 version. The situation is the same.
    For me some information bar is perfect like:
    This URL is open in $grouptab_name.
    By click into that hint I should be jump to older tab in $grouptab_name.

  • I forget my icloud passport. so i can't unlock my phone. how to know that passport

    I forget my icloud passport. How to know that passport ?

    Sorry, not understanding what it is you are asking. Your iCloud password is the same as your Apple ID password. If you are attempting to restore the device and you are on the Activation Lock screen, you must supply the iCloud/Apple ID password before you can proceed:
    ACTIVATION LOCK
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support
    Cheers,
    GB

  • HT4061 How can I know that my iPad is original or not?

    How can I know that my iPad is original or not? If I can know, how?

    Do you think it's a fake iPad?
    Were you able to register it with no problems?
    https://supportprofile.apple.com/MySupportProfile.do
    Where did you buy it?  Can you compare it with iPads at an Apple store or reseller?

  • How to know that iphone 4 is locked??, How to know that iphone 4 is locked??

    How to know that iphone is locked or unlocked ?
    In my case when I put the sim card of SK telecom the iphone display the carrier of SK telecom and when I replace the sim card with KT then it displays the carrier with KT telecom in the settings.
    Does that mean my iphone is unlocked and it is  carrier free?
    In my case these both sim are expired so they dont show any networks.
    They just display "Searching " and then "No service" but in the carrier section (settings) it displays the corresponding telecoms and the phone numbers.
    So is it unlocked phone.
    If it is unlocked phone then I was thinking o use a mini sim card(SK telecom) in it which is not expired by cutting it into micro sim card .Will it work ?
    Help me !!!

    dipencha wrote:
    How to know that iphone is locked or unlocked ?
    The ONLY way to know for sure whether your phone is officially unlocked or not is to have purchased your phone from an official source that sells officially unlocked iPhones. If you did so, you have nothing to worry about. If you did not purchase from an official source, well...you take your chances and hope for the best. Many phones, from non-official sources, advertised as "factory unlocked", are in fact hacked to unlock them.

  • How do know that the battery is fully charged on ios 7

    How do know that the battery is fully charged on ios 7

    When you turn it on from sleep mode, below the time on the lock screen it says how much charged it is.

  • How to know that my cache is disttributed (i mean partitioned or replicated

    How to know that my cache is distributed or replicated.. if it is not distributed then how can we make it as distributed(where do we need to change.)
    Thanks
    --Krishna..                                                                                                                                                                                                                                                                                                                                                                       

    Krishna -
    Cache type is configured by the server side (cluster side) cache configuration file within a <caching-scheme-mapping> <cache-mapping> element.
    The <scheme-name> element specifies either a <distributed-scheme> (for Partitioned) or <replicated-scheme> <caching-scheme> named element.
    A client side configuration file references the <cache-name>.
    I do recommend working through the Coherence Tutorial:
    http://download.oracle.com/docs/cd/E18686_01/coh.37/e18692/toc.htm
    Regards,
    /Mark J
    Oracle Coherence

  • How to know that my new ipad specification is wifi+4g?

    How to know that my new ipad specification is wifi+4g?

    Check the model number on the back of the iPad
    Apple iPad Wi-Fi (Original) 16, 32, 64 GB
    The wi-fi only iPad configurations are assigned model number A1219.
    MB292LL/A is the order number for the 16 GB configuration. The 32 GB configuration is assigned MB293LL/A and the 64 GB configuration is assigned MB294LL/A.
    Apple iPad Wi-Fi/3G/GPS (Original) 16, 32, 64 GB
    The Wi-Fi/3G/A-GPS iPad configurations are assigned model number A1337.
    MC349LL/A is the order number for the 16 GB configuration. The 32 GB configuration is assigned MC496LL/A and the 64 GB configuration is assigned MC497LL/A.
    Apple iPad 2 (Wi-Fi Only) 16, 32, 64 GB
    The wi-fi only iPad 2 configurations are assigned model number A1395.
    MC769LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC770LL/A and the 64 GB configuration in black is assigned MC916LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC979LL/A, MC980LL/A, and MC981LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC954LL/A and MC989LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 2 (Wi-Fi/GSM/GPS AT&T) 16, 32, 64 GB
    The Wi-Fi/GSM/GPS iPad 2 configurations are assigned model number A1396.
    MC773LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC774LL/A and the 64 GB configuration in black is assigned MC775LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC982LL/A, MC983LL/A, and MC984LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC957LL/A and MC992LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 2 (Wi-Fi/CDMA/GPS Verizon) 16, 32, 64 GB
    The Wi-Fi/CDMA/GPS iPad 2 configurations are assigned model number A1397.
    MC755LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC763LL/A and the 64 GB configuration in black is assigned MC764LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC985LL/A, MC986LL/A, and MC987LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC755LL/A and MC985LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 3rd Gen (Wi-Fi Only) 16, 32, 64 GB
    The Wi-Fi Only iPad 3 configurations are assigned model number A1416
    MC705LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MC706LL/A and MC707LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD328LL/A, MD329LL/A, and MD330LL/A, respectively.
    Apple iPad 3rd Gen (Wi-Fi/4G LTE AT&T/GPS) 16, 32, 64 GB
    The Wi-Fi/4G LTE AT&T/GPS iPad 3 configurations are assigned model number A1430
    MD366LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MD367LL/A and MD368LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD369LL/A, MD370LL/A and MD371LL/A, respectively
    Apple iPad 3rd Gen (Wi-Fi/4G LTE Verizon/GPS) 16, 32, 64 GB
    The Wi-Fi/4G LTE Verizon/GPS iPad 3 configurations are assigned model number A1403
    MC733LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MC744LL/A and MC756LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD363LL/A, MD364LL/A, and MD365LL/A, respectively.

  • How to know that a sales order is approved?

    Hi all,
    Can any one let me know how to know that a sales order is approved? Is there any flag or status code to pull the information from the backend?
    Thanks for your help,
    Prathima

    Hi Prathima,
    Oracle Order Management does not have any approvals, i.e. there is no status as 'Approved' for Order. You can consider an order to be final once it is booked, which you can know from the booked_flag or the value of flow_Status_code field in oe_order_headers_all.
    Hope this helps

Maybe you are looking for

  • How do I increase the resolution of the texturization preview window?

    Hello, Illustrator noob here with a question regarding the texturization window. For some reason, every texture included (as well as one that I made in Photoshop), shows up in the Texturization window with a resolution of  about 20 x 20 pixels. Even

  • Streaming from Nas drive to Hi Fi

    I wish to stream music from a Nas drive to my new Naim Hi Fi, what is the best programme for doing so, whilst retaining playlists etc. in i Tunes on my Mac. What is the best way to transfer my i Tunes library to the Nas drive ? My current library is

  • InDesign equivalent of LiveCycle's "Image Field" in PDF form creation?

    LiveCycle has a PDF form field called "Image Field". We add this field to the PDF files we create so that our end users can select and import a JPEG image into their PDF document using Adobe Reader. Now we would like to use InDesign to produce the sa

  • CFFTP using browse, filename is wrong

    I want a user to be able to browse to a file on their local machine then FTP it to a remote server.I've been using CFFTP. I can make the connection to the server just fine. I have the path correct. The problem is when selecting the file through brows

  • Editing in LR5 then PSCC

    Help me please! I shoot my photos in RAW Import them into LR5, I do most of my editing in LR. Next I open the photo I want in PSCC but pushing cm-e, the photo opens but does not look anything like the edit I have made in LR5. The photo the PS shows i