How to connect server using naming service IOR and server IOR in java

I need to connect server code from my client code using naming service IOR and server IOR. what are the steps have to be followed to bind the server.
please help me.

Connection refused means that you can't reach the server or that the server isn't listening.
Kaj

Similar Messages

  • How to connect WCF using RESTful service from iphone

    Hi ,
    I have been facing trouble to connect .Net based  WCF webservice through REST from iPhone.
    Please let me know any idea to implement that.
    Thanks in advance,

    Hi
    1) Login to the relevant system
    2) Goto the transaction IF_SPAF_INB_PROCESS_AGENT~PERFORM_ERROR_HANDLING
    7) Click on the method to get into source code and then goto menu u2018Gotoà Class Definitionu2019
    Click tab u2018Propertiesu2019
    Double Click the Package
    Note the Application Component of the Package
    The application component is the component in which the CSS message has to be raised
    Regards,
    Jayakumar

  • How to run Naming service in WebAs server using telnet

    Hi
       i have a requirement to start a naming service in WebAs server.I have seen all the services running in server using telnet.But i haven't find naming service.So i have to start it.so pls send me the command and the way how to start it.

    Hello Bhogi,
    The naming service is a core service so it should always be started. You can check it via telnet using lss command on the server shell or in the visual administrator if you navidate to server-> services -> JNDI Registry.
    I suspect that you have not seen the naming service via telnet as you were on the dispatcher node instead of on the server.
    Best Regards
    Vyara

  • How To Use Reporting Services On SQL Server 2000 ?

    Hi all .
    Today , I has a issue .
    Normal , if the customer use SQl Server 2005 , it is no proplem , so if use SQL Server 2000 ,  Now , I want to use Reporting services on SQL Server 2000 , but , I am searching  on Internet , so I know , if I want to use SQL 2000 reporting server , I must have license of SQL server 2000 .
    is Every body  idea for this issue  ? .
    Please help me .
    Thanks alot .

    Ok ,anyway thanks alot ,.

  • Error getting the server-side naming service functionality

    Hi all,
    we are currently setting up the CTS+ activity based transport scenario. Everything seems to be working fine, however, we have to import each transport twice...
    Before I go into detail in the error we get I will first describe our landscape. All the configuration we did was done in debate with SAP.
    We use the SAP Solution manager (ehp1 SP 4) as the CTS+ server as recommended by SAP and have an NWDI system of which we only use the components DTR and CBS (since CMS is not used anymore in the activity based transport). We have defined three logical ports/RFCs. CTSCONFIG points to the NWDI system. CTSDEPLOY is running on the java stack of the solution manager and is only used for portal content (=epa) transports. CTSDEPLOY_DI is pointing to the NWDI system and is used for all NWDI (=dip) changes. The NWDI is running ehp1 SP3.
    In STMS I defined all the non-abap systems (and configured them to use CTSDEPLOY_DI) and created the following transport route:
    upload system (IMP) -> DEV -> ACC -> QAS -> PRD
    I first attached the used dependencies in a transport request (SAP_BUILDT, EP_BUILDT, etc) these imported just fine. Then I did the SCA files which contain our custom code. I extracted these from the assemble step on our current NWDI system which will be removed as soon as we switch to the new CTS+ environment.
    When we import the transport into the runtime systems then we see the DTR and CBS be filled sucesfully for this specific system. However, the transport request itself always fails with errorcode 12 and the error is:
    Error during export service registration: Error getting the server-side naming service functionality during getInitialContext opera
    tion. com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    Error in execution of Web services CTSDEPLOY_DI , exception is cx_cts_file_import_failed
    File import canceled
    When we then reimport the same transport it will go the second time fine. This is no problem during the setup but will not be workable when we go live ofcourse. Is there anyone who had this issue before as well and have a solution for it?
    Kind Regards,
    Nico van der Linden...

    Hello Nico,
    I would need the java trace files to get more info on this issue, but you can start troubleshooting this error with these notes:
    #1172252: CTS+, 'attach file': Troubleshooting Guide;
    #1003674: Enhancement for non-ABAP systems in CTS;
    #1155884: CTS+, configuration 'close coupling': Troubleshooting guide;
    Pay special attention to parameter  NON_ABAP_WBO_CLIENT, whether it's correctly set on your CTS+ system(s).
    Note #1003674 is a must for any CTS+ systems to work properly, as well as having an updated version of the transport programs (tp and R3trans).
    Lastly, note #1155884 goes through some JCoException exceptions that commonly take place during CTS+ transports. But again, you need to check the underlying trace files to find the root cause of your issue.
    I hope this information helps.
    Best regards,
    Tomas Black

  • How to connect labviewv database toolkit to SQL CE server

    Dear sir,
                      i am using labview 8.2.1 and Database Connectivity 8.2.i need same simple  concept of how to connect  LV database toolkit to SQL CE Server.

    When opening the database connection, you will need to provide either a connection string, or a path to a UDL (which will contain a conenction string). The easiest way to get a connection string is to go to (no I am not kidding) www.ConnectionStrings.com. Once there you enter the type of DBMS you are trying to connect to, and the system will list connection strings that you can use based on the drivers that you're using.
    How much experience do you have with LV and/or databases?
    Mike...
    PS: you might also want to check out a series I did a bit ago on database connectivity in my blog. See the link in my signature...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Server-side naming service functionality

    Dear all,
    I have this problem on my JCA connection:
    ###Exception #1#com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:238)
    at ...etc etc....
    The problem is on this part of code:
    public void doProcessBeforeOutput() throws PageException {
    TestJCABean myBean = new TestJCABean();
    myBean.setStr(remoteStr);
    ((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
    this.setForward("TestJCA.jsp");
    I really don't understand, any suggestion regarding this?
    I will apprecciate a lot.
    Vipa

    Hi Ravi,
    here my code, thanks for your help.
    -----TESTJca.java
    public class TestJCA extends PageProcessorComponent {
      public DynPage getPage(){
        return new TestJCADynPage();
      public static class TestJCADynPage extends JSPDynPage{
         private final static String LOGGER = "NameJCA";
         private final static ILogger log = PortalRuntime.getLogger(LOGGER);
         private String remoteStr = "";
        public void doInitialization(){
             //Accedo il portal component profile per ottente il valore del system alias configurato per l'iview
             //MNT è stato configurato da portal e sul file xml
              log.info(this, "[doInitialization()]comincio");
             IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
              IPortalComponentContext compContext = request.getComponentContext();
              IPortalComponentProfile userProfile = compContext.getProfile();
            //Ritorna MNT che ho aggiunto in portalapp.xml
              String sys = userProfile.getProperty("System"); 
              log.info(this, "[doInitialization()]valore del system alias: "sys"");
              //Utilizza la funzione per la connessione al sys di backend e reperimento dell'info necessarie
              remoteStr = getRemoteString(request, sys);
              log.info(this, "[doInitialization()]remoteStr: "remoteStr"");
        public void doProcessAfterInput() throws PageException {
        public void doProcessBeforeOutput() throws PageException {
          TestJCABean myBean = new TestJCABean();
          myBean.setStr(remoteStr);
          ((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
          // fill your bean with data here...
           //log.info(this, "[doInitialization()]Setto il nome della jsp");
          this.setJspName("TestJCA.jsp");
          //this.setForward("TestJCA.jsp");
           //IResource jsp = request.getResource(IResource.JSP, "pagelet/bannerOriginalle.jsp");
           //response.include(request, jsp);
    @param pgContext
    @param response
    @param compBean
    @param cubeName
    @param templateID
              private String getRemoteString(IPortalComponentRequest request, String sapSystem) {
                   IConnection connection = null;
                   try {
                        // get the Connector Gateway Service
                        Object connectorservice = PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
                        IConnectorGatewayService cgService = (IConnectorGatewayService) connectorservice;
                        if (cgService == null) {
                             log.info(this, "[getRemoteString()]Error in get Connector Gateway Service
    try {
    IUser user = request.getUser();
    ConnectionProperties cp = new ConnectionProperties(user.getLocale(), user);
    connection = cgService.getConnection(sapSystem, (ConnectionProperties) request);
    } catch (Exception e) {
    log.severe(this, "[getRemoteString()]Connection to SAP system failed. Exception:" +e.getLocalizedMessage());
    if (connection == null) {
    log.info(this, "[getRemoteString()]Connection is null
    } else {
    log.info(this, "[getRemoteString()]Connection succesful");
    } catch (Exception e) {
    log.severe(this, "[getRemoteString()]Exception occured. Exception:" +e.getLocalizedMessage());
    log.info(this, "[getRemoteString()]Iview: runFunction");
    try {
    // Get the Interaction interface for executing the command
    IInteraction ix = connection.createInteractionEx();
    // Get interaction spec and set the name of the command to run
    IInteractionSpec ixspec = ix.getInteractionSpec();
    //String functionName = "Z_ESTRAIDATA";
    String functionName = "RPL_CUSTOMER_NAME_GET";
    // Put Function Name into interaction Properties.
    ixspec.setPropertyValue("Name", functionName);
    // return structure - dovrebbe essere il nome del parametro di export della funzione
    //cambiarlo di conseguenza
    //String function_out = "ERRORE";
    String function_out = "PE_NAME1";
    String function_in_value = "1000010001";
    RecordFactory rf = ix.getRecordFactory();
    MappedRecord input = rf.createMappedRecord("input");
    // put function input parameters
    // input.put("ZSC_CUBE", cubeName);
    // input.put("ZSC_PERVAL", selection);
    // input.put("ZSC_UTENTE", user.getLogonUid());
    input.put("PI_KUNNR", function_in_value);
    //ottengo l'oggetto che mi rappresenta l'output della funzione
    //lancio la RFM
    MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
    Object rs = null;
    try {
    Object result = output.get(function_out);
    if (result == null) {
    rs = new String(" ");
    } else if (result instanceof IRecordSet) {
    rs = (IRecordSet) result;
    log.info(this, "[getRemoteString()]rs ritornato: " + rs.toString());
    return rs.toString();
    // Do need all type here ?
    else {
    rs = result.toString();
    log.info(this, "[getRemoteString()]rs ritornato: " + rs.toString());
    return rs.toString();
    } catch (Exception ex) {
    log.severe(ex, "[getRemoteString()]Error getting function result. Exception:" +ex.getLocalizedMessage());
    log.info(this, "[getRemoteString()]Codice errore ritornato: " + rs.toString());
    } catch (Exception e) {
    log.severe(e, "[getRemoteString()]Error getting function interaction. Exception:" +e.getLocalizedMessage());
    return null;
    -----TESTJcaBean.java
    package ... ... ... ...
    import java.io.Serializable;
    public class TestJCABean implements Serializable {
         private String str;
    @return
         public String getStr() {
              return str;
    @param string
         public void setStr(String string) {
              str = string;

  • How to connect peoplesoft using bapi?

    how to connect peoplesoft using bapi?
    points will be awarded

    Hi,
    You can actually connect any 2 systems, if they are capable of providing and consuming web services.
    If you want to connect SAP to Peoplesoft to fetch or send data, then Peoplesoft should expose these functionalities in the form of Webservice. Then you will have to create Proxy Objects in SAP by consuming these webservices (SE80). Through this proxy object you can communicate with Peoplesoft.
    Thanks...
    Preetham S
    Message was edited by:
            Preetham S

  • Invoke a DS Job in One Unix server using Web Services

    Hi All,
    I would like to know- How we can invoke a Job in one Unix server from another Unix Server using Web services.
    Please provide some pointers.
    Regards,
    Mayank

    Hi Manoj,
    Thanks for your email. Could you provide with some example where this functionality was achieved.
    Regards,
    Mayank

  • How many transaction key used for Service PO

    Hi,
    Please let me know, how many transaction key used for Service PO...
    In OBYC, we have maintained GBB & WRX Transaction key's for Service PO, Is there any other Transaction key skip???
    Please guide...

    Hi,
    GBB is used for Offsetting entry for inventory posting but for Service procurement WRX Transaction key is used for GR/IR clearing-service.
    NOTE: You may use WRX with new account modifier ZZZ  to triggers GR/IR clearing-service only for service procurement where you need to post all separate GR/IR clearing- material , GR/IR clearing-asset and GR/IR clearing-service and can done with user exit.
    #But in special case GBB can be used with VBR key or copy of VBR as ZBR for default G/L account foe service PO.
    For more check the link:
    http://www.bluemarlinsys.com/ns/0603-03.asp
    Regards,
    Biju K

  • Error :server-side naming service functionality during getInitialcontext op

    Hi Friends,
    I am trying  out Java Proxies Scenario(Asynchronous).
    I am facing problem with the following error:
    <b>Error getting the server-side naming service functionality during getInitialContext operation.</b>
    Please help out to solve the above problem.
    Sudheer.

    Hi Sudheer
    Check the following thread,
    Re: Problems When recieving Jms messages from XI
    cheers
    Sameer

  • How to Upload documents using Gateway Service in SAP UI5?

    Hi Team,
    How to upload documents using Gateway Service in UI5 app.
    This is Attachment Functionality.using Gateway Service in Controller.JS/View.JS.
    Thanks in Advance.
    Regards,
    Satya

    Hi,
    I suggest you use the search function on scn/google...
    Anyways, here are some usefull links:
    How To Upload and Download Files Using SAP NW Gateway SP06
    Uploading files to SAP using HTML5 /AJAX/Gateway media links with real-time progress bar
    Kind regards,
    RW

  • Destination disabled. []: [CrystalEnterprise.Ftp]. Please note the name of the job server used for your request and contact your system administrator to make sure the specified destination is enabled. (FWB 00031)

    Hi
    In BO 4.0 SP 9 when a administrator tries to schedule a report via CMC there is no error
    But when a user schedules a report and the destination is FTP location -> Use default settings he gets following error
    Destination disabled. []: [CrystalEnterprise.Ftp]. Please note the name of the job server used for your request and contact your system administrator to make sure the specified destination is enabled. (FWB 00031)
    There is only one Job Server and the destinations are enabled in it
    There is no Job server for Crystal Reports Job Server
    Do i need to create it and how.

    Please check if you have proper rights to schedule to FTP. You can create a new job server, whenever you schedule it, there are multiple job servers, it will handle based on the load. But it is not mandatory, depends on the load.

  • After i installed updates for my mac mini server, the web services for the server app wont start, it gives an error massage: "Error Reading Settings"

    After i installed updates for my mac mini server, the web services for the server app wont start, it gives an error massage: "Error Reading Settings"
    The system logs reads:
    Mar 29 22:06:25 server servermgrd[82]: servermgr_web:  Error Domain=XSServerFoundationErrorDomain Code=4 "Failed to read settings: Exception:
              undefined method `downcase' for nil:NilClass
              ." UserInfo=0x7fc547901080 {NSLocalizedDescription=Failed to read settings: Exception:
              undefined method `downcase' for nil:NilClass

    To check the local network for some of the common configuration problems, launch Terminal.app and issue the following diagnostic command:
    sudo changeip -checkhostname
    That'll report some local configuration information and then either no errors detected and no changes required, or it'll point to whatever configuration errors or issues it might detect.  That doesn't catch everything, but it catches the common errors.
    FWIW, 192.168.0.0/24 and 192.168.1.0/24 are poor choices for the local network, as VPNs are based on IP routing and IP routing gets tangled when the same subnet is used on both ends of the VPN. 192.168.0.0/24 and 192.168.1.0/24 are near ubiquitous in home networks and coffee shops.

  • My husband and I share a new PC.  We have different music tastes and each have an iphone.  How can we both use our one computer and one itunes program with separate music libraries and separate iphones?

    My husband and I share a new PC.  We have different music tastes and each have an iphone.  How can we both use our one computer and one itunes program with separate music libraries and separate iphones?

    Each device only syncs waht you select.
    Select only what you want for each phone.

Maybe you are looking for

  • How to find out the Non Partitioned Tables used 2Gb on oracle

    Hi team how to find out the Non Partitioned Tables used > 2Gb on oracle where not is sys & system regards

  • XI config for MM-SUS

    Hi, I am trying to configure XI for the MM-SUS scenario. I know there are predefined business scenarios available. I tried according to the configuration guide, but was not successful. Could anyone send me any document which describes any additional

  • Possible to use ranking value in formula?

    Hi! User wants to compare previous month to current month ranking number to trend the change. Setup is 2 key fig with sales current month and sales previous month where row is sales office. Then calculate single value as rank. Now, I want to use the

  • ITunes 11.1 + Apple TV = No Movies?

    Before updating to the latest iTunes and Apple TV, I could browse and play my Home-Shared "Movies" from any of three Apple TVs in my house. After updating, when I browse to my Computer on Apple TV it will show me only "TV Shows" and "Home Videos" - n

  • Network question HELP!

    I have a wired airport extreme in my office on a pc( i also use it to run 2 mac books wireless) and apple tv in living room. my question is!!!! can i put an airport express in my loft and use the ethernet plug wire to connect a pc (it doesnt have wir