Naming Service problem!!! Urgent

1)I am trying to communicate between a servlet deployed on WLS 5.1 on My Sun machine
and an ejb deployed on some different application server on some Tandem machine.
My App servler uses CORBALOC for Naming Service.
To get the initial Context,
i set the provider URL as
env.setProviderUrl("corbaloc://63.80.55.50:2829");
WLS throw an excetion:
javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHost
Exception: Unknown protocol CORBALOC for 63.80.155.150/63.80.55.50]
2) If i ftp the stringified Name Service IOR on my sun machine.
How does a servlet/java client in a WebLogic environment use it?

Try posting this in the WebLogic Enterprise newsgroup
Kapil wrote:
1)I am trying to communicate between a servlet deployed on WLS 5.1 on My Sun machine
and an ejb deployed on some different application server on some Tandem machine.
My App servler uses CORBALOC for Naming Service.
To get the initial Context,
i set the provider URL as
env.setProviderUrl("corbaloc://63.80.55.50:2829");
WLS throw an excetion:
javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHost
Exception: Unknown protocol CORBALOC for 63.80.155.150/63.80.55.50]
2) If i ftp the stringified Name Service IOR on my sun machine.
How does a servlet/java client in a WebLogic environment use it?

Similar Messages

  • Cos Naming & WLS Naming Service problem in distributed Tuxedo application

    Hi,
    we have been starting our investigation into using the distributed application feature of Tuxedo (multiple machines running under 1 Tuxedo domain which make up the entire Tuxedo Application).
    when trying to access WLS EJB object references from Tuxedo, we hit a road block.
    we have been using the standard method of searching through Cos Naming for a bind context which refers to WLS Naming Service. (this method is documented online and in dev2dev samples) Under non distributed application setup (1 Tux domain with 1 machine as in all examples), everything works fine and I can see into 1 WLS server's JNDI tree. But when in distributed application setup where we want to have two (for example) machines and we also want two WLS managed server with each running on their own machine, it seems that there are some unexpected problems:
    1. - only one set of GWADM/GWTDOMAIN is running
    - each WLS managed server has its own WTC server
    - each WTC server has its own LOCAL ACCESS POINTs
    - each WTC server uses the single REMOTE ACCESS POINT
    (since only one GWTDOMAIN is running in this scenario)
    --> problem: only one of the managed server's JNDI tree can be traversed into, and only one of the WTC link works for Cos Naming -> WLS Naming Service resolution
    2. - each machine is running their set of GWADM/GWTDOMAIN
    - in dmconfig, two local Tux domain-ids are defined, for the
    two groups of GW
    - WTC server setup is identical to above; except
    each of the WTC is pointing to separate REMOTE ACCESS POINTs
    - when DOMAINID in ubbconfig is not defined, the same Cos Naming to WLS Naming Service search fails.
    - when DOMAINID in ubbconfig is defined, the same Cos naming to WLS Naming Service search fails with an CORBA:INTERNAL error.
    Does anyone know how to get Cos Naming -> WLS Naming Service working properly under a distributed Tuxedo application setup and also with multiple sets of GWADM/GWTDOMAIN?
    Thanks.
    Edited by a_tam at 04/17/2008 11:34 AM

    Hi,
    we have been starting our investigation into using the distributed application feature of Tuxedo (multiple machines running under 1 Tuxedo domain which make up the entire Tuxedo Application).
    when trying to access WLS EJB object references from Tuxedo, we hit a road block.
    we have been using the standard method of searching through Cos Naming for a bind context which refers to WLS Naming Service. (this method is documented online and in dev2dev samples) Under non distributed application setup (1 Tux domain with 1 machine as in all examples), everything works fine and I can see into 1 WLS server's JNDI tree. But when in distributed application setup where we want to have two (for example) machines and we also want two WLS managed server with each running on their own machine, it seems that there are some unexpected problems:
    1. - only one set of GWADM/GWTDOMAIN is running
    - each WLS managed server has its own WTC server
    - each WTC server has its own LOCAL ACCESS POINTs
    - each WTC server uses the single REMOTE ACCESS POINT
    (since only one GWTDOMAIN is running in this scenario)
    --> problem: only one of the managed server's JNDI tree can be traversed into, and only one of the WTC link works for Cos Naming -> WLS Naming Service resolution
    2. - each machine is running their set of GWADM/GWTDOMAIN
    - in dmconfig, two local Tux domain-ids are defined, for the
    two groups of GW
    - WTC server setup is identical to above; except
    each of the WTC is pointing to separate REMOTE ACCESS POINTs
    - when DOMAINID in ubbconfig is not defined, the same Cos Naming to WLS Naming Service search fails.
    - when DOMAINID in ubbconfig is defined, the same Cos naming to WLS Naming Service search fails with an CORBA:INTERNAL error.
    Does anyone know how to get Cos Naming -> WLS Naming Service working properly under a distributed Tuxedo application setup and also with multiple sets of GWADM/GWTDOMAIN?
    Thanks.
    Edited by a_tam at 04/17/2008 11:34 AM

  • Web service problem URGENT

    Hello
    **I used xsd file (XML schema) to generate data classes by choosing tools-->JAXB compilation**
    **and the classed where generated successfully**
    **when I tried to call a method that set data in one of the classes I got the following exception at run time:-**
    calling http://193.188.64.105:80/GOJPAYSTG/services/JoPayWebService
    java.lang.NullPointerException
         at oracle.xml.jaxb.JaxbNode.getOwnerDocument(JaxbNode.java:226)
         at oracle.xml.jaxb.JaxbNode.setJaxbElement(JaxbNode.java:740)
         at testservice.GetPaymentMethodsRequestTypeImpl.setEServiceId(GetPaymentMethodsRequestTypeImpl.java:46)
         at testservice.proxy.JoPayWebServiceClient.main(JoPayWebServiceClient.java:31)
    Process exited with exit code 0.
    **here is the my code:-**
    public static void main(String[] args) {
    try {
    testservice.proxy.JoPayWebServiceClient myPort = new testservice.proxy.JoPayWebServiceClient();
    System.out.println("calling " + myPort.getEndpoint());
    GetPaymentMethodsRequestImpl req = new GetPaymentMethodsRequestImpl();
    req.setEServiceId("1005001");
    // Add your own code here
    } catch (Exception ex) {
    ex.printStackTrace();
    **following is the autogenerated method in the JAXB generated class:-**
    public void setEServiceId(java.lang.String value)
    java.lang.String lexval = oracle.xml.jaxb.JaxbDatatypeConverter.printString(value);
    super.setJaxbElement("eServiceId", "http://egov.jopay/XMLSchema", lexval, 1);
    }

    please answer

  • Urgent web service problem. can not find url of WSDL

    Hi all,
    I met a web service problem recently.
    1 I have set up a web service and reside it on Java System Application server9.0. But there's a bug of this web server, which will stop after the user log off the server. I have installed the Application server as a windows service. It suppose to run all the time. I don't know why the server stop after I log off.
    2 For that reason, I tried to migrant my web service from the java application server to Tomcat5.5. I deployed my web service to folder webApps. But I don't know the WSDL url of the web service, which is the web reference for my frent-end c#.net application.
    Anybody can give me some idea?
    Many thanks

    Nobody knows?
    Please help me

  • Problem with the naming service

    Hi All,
    I want to register one distributed object with
    the naming service explicitly. I set the distributed
    property "allowed" for the class, and in the init
    method, i tried to set isAnchored property and tried
    to register the object using REgisterObject method. It
    says, object already registered with the naming
    service. So, i set Distributed Property isDefault, the
    same error pops up. What could be the mistake? I know
    that, from the same partition, we can't register
    twice.
    any help is appreicated.
    Thanks,
    Babu
    Get Yahoo! Mail – Free email you can access from anywhere!
    http://mail.yahoo.com/

    See https://opends.dev.java.net/servlets/ProjectForumMessageView?messageID=31827&forumID=3292.
    Regards,
    Ludovic.

  • Issue Password-less SSH:  Sun OpenDS 2.0 as Naming Service

    We are in the final phase of a proof of concept for Sun OpenDS as the Naming service for an important customer and facing problem with password-less ssh. We narrowed the problem down to password policy specifying a value for password maximum age. SSH succeeds with ?0? (zero) but requires password if the value is different from 0.
    Any help in getting a resolution is greatly appreciated, as this is a road block now.
    The following information is gathered.
    The test is performed from a host thud which is setup as an ldapclient.
    thud 275 ssh thud -i .ssh/thud
    Password:
    Last login: Tue Oct 13 06:57:01 2009 from xxx
    Apparent reason (trimmed):
    debug3: authmethod_lookup publickey
    debug3: remaining preferred: keyboard-interactive,password
    debug3: authmethod_is_enabled publickey
    debug1: Next authentication method: publickey
    debug1: Trying public key: .ssh/thud
    debug3: send_pubkey_test
    debug2: we sent a publickey packet, wait for reply
    debug1: Server accepts key: pkalg ssh-dss blen 434 lastkey 1166d0 hint 0
    debug2: input_userauth_pk_ok: fp 07:15:b3:07:8d:da:b3:c8:34:d0:34:91:60:77:e0:39
    debug3: sign_and_send_pubkey
    debug1: read PEM private key done: type DSA
    debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive
    debug2: we did not send a packet, disable method
    debug3: authmethod_lookup keyboard-interactive
    debug3: remaining preferred: password
    debug3: authmethod_is_enabled keyboard-interactive
    debug1: Next authentication method: keyboard-interactive
    Password:
    Corresponding debug info from server (thud):
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: userauth-request for user doejohn service ssh-connection method publickey
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: attempt 1 initial attempt 0 failures 1 initial failures 0
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: test whether pkalg/pkblob are acceptable
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: temporarily_use_uid: 6147/150 (e=0/1)
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: trying public key file /home/doejohn/.ssh/authorized_keys
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: matching key found: file /home/doejohn/.ssh/authorized_keys,
    line 2Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.info] Found matching DSA key: 07:15:b3:07:8d:da:b3:c8:34:d0:34:91:60:77:e0:39
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: restore_uid: 0/1
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: userauth-request for user doejohn service ssh-connection method publickey
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: attempt 2 initial attempt 0 failures 1 initial failures 0
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: temporarily_use_uid: 6147/150 (e=0/1)
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: trying public key file /home/doejohn/.ssh/authorized_keys
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: matching key found: file /home/doejohn/.ssh/authorized_keys, line 2
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.info] Found matching DSA key: 07:15:b3:07:8d:da:b3:c8:34:d0:34:91:60:77:e0:39
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: restore_uid: 0/1
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: ssh_dss_verify: signature correct
    Oct 13 07:29:36 thud sshd[21187]: [ID 966290 auth.debug] PAM[21187]: pam_start(sshd-pubkey,doejohn,0:179560) - debug = 1
    Oct 13 07:29:36 thud sshd[21187]: [ID 390116 auth.debug] PAM[21187]: pam_set_item(179560:service)
    Oct 13 07:29:36 thud sshd[21187]: [ID 390116 auth.debug] PAM[21187]: pam_set_item(179560:user)
    Oct 13 07:29:36 thud sshd[21187]: [ID 390116 auth.debug] PAM[21187]: pam_set_item(179560:conv)
    Oct 13 07:29:36 thud sshd[21187]: [ID 390116 auth.debug] PAM[21187]: pam_set_item(179560:rhost)
    Oct 13 07:29:36 thud sshd[21187]: [ID 390116 auth.debug] PAM[21187]: pam_set_item(179560:tty)
    Oct 13 07:29:36 thud sshd[21187]: [ID 665327 auth.debug] PAM[21187]: pam_acct_mgmt(179560, 0)
    Oct 13 07:29:36 thud sshd[21187]: [ID 118111 auth.debug] PAM[21187]: load_modules(179560, pam_sm_acct_mgmt)=/usr/lib/security/pam_roles.so.1
    Oct 13 07:29:36 thud sshd[21187]: [ID 143372 auth.debug] PAM[21187]: load_function: successful load of pam_sm_acct_mgmt
    Oct 13 07:29:36 thud sshd[21187]: [ID 118111 auth.debug] PAM[21187]: load_modules(179560, pam_sm_acct_mgmt)=/usr/lib/security/pam_projects.so.1
    Oct 13 07:29:36 thud sshd[21187]: [ID 143372 auth.debug] PAM[21187]: load_function: successful load of pam_sm_acct_mgmt
    Oct 13 07:29:36 thud sshd[21187]: [ID 118111 auth.debug] PAM[21187]: load_modules(179560, pam_sm_acct_mgmt)=/usr/lib/security/pam_unix_account.so.1
    Oct 13 07:29:36 thud sshd[21187]: [ID 143372 auth.debug] PAM[21187]: load_function: successful load of pam_sm_acct_mgmt
    Oct 13 07:29:36 thud sshd[21187]: [ID 118111 auth.debug] PAM[21187]: load_modules(179560, pam_sm_acct_mgmt)=/usr/lib/security/pam_ldap.so.1
    Oct 13 07:29:36 thud sshd[21187]: [ID 143372 auth.debug] PAM[21187]: load_function: successful load of pam_sm_acct_mgmt
    Oct 13 07:29:36 thud sshd[21187]: [ID 579461 auth.debug] pam_unix_account: entering pam_sm_acct_mgmt()
    Oct 13 07:29:36 thud sshd[21187]: [ID 267958 auth.debug] pam_unix_account: doejohn: Ignore module
    Oct 13 07:29:36 thud sshd[21187]: [ID 545954 auth.debug] libsldap: more_info is empty, using default values
    Oct 13 07:29:36 thud sshd[21187]: [ID 340006 auth.debug] PAM[21187]: pam_acct_mgmt(179560, 0): error Authentication failed
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.notice] Failed publickey for doejohn from 172.16.1.207 port 44363 ssh2
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: userauth-request for user doejohn service ssh-connection method keyboard-interactive
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: attempt 3 initial attempt 0 failures 3 initial failures 0
    Oct 13 07:29:36 thud sshd[21187]: [ID 800047 auth.debug] debug1: keyboard-interactive devs
    Oct 13 07:29:36 thud sshd[21187]: [ID 390116 auth.debug] PAM[21187]: pam_set_item(179560:conv)
    Oct 13 07:29:36 thud sshd[21187]: [ID 873394 auth.debug] PAM[21187]: pam_end(179560): status = Authentication failed
    Sending the Account Usability control on the server returns:
    ?The account is not usable?
    solaris-z1 487 # ldapsearch -D 'cn=directory manager' -w xxx -b 'dc=texas,dc=net' -J "accountUsability:true" uid=doejohn
    # Account Usability Response Control
    # The account is not usable
    dn: uid=doejohn,ou=eng,ou=People,dc=texas,dc=net
    uid: doejohn
    shadowLastChange: 14480
    loginShell: /bin/ksh
    userPassword: {CRYPT}GOUlmnz01bJbwcY69Btp2sIRJrLf+5RtAj4oug==
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: shadowAccount
    objectClass: IEEPerson
    objectClass: posixAccount
    objectClass: top
    givenName: John
    cn: John Doe
    sn: Doe
    telephoneNumber: ...
    gecos: ...
    homeDirectory: /home/doejohn
    mail: [email protected]
    uidNumber: 6147
    gidNumber: 150
    manager: ...
    For someone with a different password policy (max age is 0) the account is usable.
    Ldapclient is running on a SPARC, Solaris 9 system; the Sun OpenDS 2.0 is running on Solaris 10 Sparc.
    Password-less ssh works as expected when using a system not using LDAP.

    See https://opends.dev.java.net/servlets/ProjectForumMessageView?messageID=31827&forumID=3292.
    Regards,
    Ludovic.

  • Remote Authentication Naming Service Not Found

    Hey everybody,
    I found this thread:
    http://swforum.sun.com/jive/thread.jspa?threadID=54004
    That thread mentions (or implies) there is something different that must be accomplished when performing remote authentications vs local authentications but never actually states what is different.
    Anyhow, I am attempting to perform a remote authentication, and am running into problems. I have taken the code listed in the above thread and modified it for my usage, with a few modifications. However, I keep getting this error:
    [#|2006-02-13T15:50:56.321-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=25;|ERROR: updateNamingTable : Naming Service is not available.
    |#]
    [#|2006-02-13T15:50:56.332-0500|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=25;|
    com.sun.identity.authentication.spi.AuthLoginException(1):null
    com.sun.identity.authentication.spi.AuthLoginException(2):null
    com.sun.identity.authentication.spi.AuthLoginException: Failed to create new Authentication Context: Naming Service is not available.
            at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1310)
            at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1261)
            at com.sun.identity.authentication.AuthContext.<init>(AuthContext.java:178)
            at infrastructure.SessionBean1.login(SessionBean1.java:224)
            at infrastructure.login.button1_action(login.java:267)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at ...When I connect to the service via http://myserver.mydomain.tld/amserver/namingservice I recieve a message that looks like:
    Webtop 2.5 Platform Low Level request servletWhich indicates it is running properly. I also am using the AMConfig.properties that is running on the server to pull my values and my code (listed below) prints out all the values it reads. I am using the base dn for the orgname as indicated in various documentation.
    My code looks like:
        public boolean login(String username, String password) {
            try {
                ResourceBundle resources = ResourceBundle.getBundle("AMConfig");
                String orgname = null;
                Properties props = new Properties();
                Enumeration keyEnum = resources.getKeys();
                while ( keyEnum.hasMoreElements() ) {
                    String key = (String) keyEnum.nextElement();
                    String value = (String) resources.getString(key);
                    props.setProperty(key, value);
                    if ( key.equalsIgnoreCase("com.iplanet.am.defaultOrg") ) {
                        orgname = value;
                    this.getFacesContext().addMessage(null, new FacesMessage(key + " = " + value));
                SystemProperties.initializeProperties(props);
                // Authenticate the user and obtain SSO Token
                AuthContext lc = null;
                lc = new AuthContext(orgname);
                lc.login();
                while (lc.hasMoreRequirements()) {
                    Callback[] callbacks = lc.getRequirements();
                    for (int i = 0; i < callbacks.length; i++) {
                        if (callbacks[i] instanceof NameCallback) {
                            NameCallback nc = (NameCallback) callbacks;
    nc.setName(username);
    } else if (callbacks[i] instanceof PasswordCallback) {
    PasswordCallback pc = (PasswordCallback) callbacks[i];
    pc.setPassword(password.toCharArray());
    } else {
    log("Unknown Callback: " + callbacks[i]);
    return false;
    lc.submitRequirements(callbacks);
    if (lc.getStatus() != AuthContext.Status.SUCCESS) {
    log("Invalid credentials");
    return false;
    // Obtain the SSO Token
    token = lc.getSSOToken();
    log("SSOToken: " + token.getTokenID());
    log("User DN: " +
    token.getPrincipal().getName());
    // Obtain AMUser object
    db = new AMStoreConnection(token);
    user = db.getUser(token.getPrincipal().getName());
    // Get the attributes and display them
    log("Attributes: " + user.getAttributes());
    } catch (Exception e) {
    this.getFacesContext().addMessage(null, new FacesMessage("An exception occurred, unable to login.", e.getMessage()));
    e.printStackTrace();
    return false;
    Any ideas?
    Thanks!
    Joshua Preston.

    The most common reason for this error is improper
    communication with your LDAP server . Is your DS
    setup correctly and are you able to authenticate
    using amadmin ?Yes, our DS is setup correctly and I am able to authenticate using amadmin.

  • 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

  • JApplet communication with CORBA naming service

    I have an applet that needs to resolve/bind to object in the CORBA naming service (we are using Orbix2000). The applet is able to establish a socket connection to the host that is running the naming service; however it cannot find the naming service. I have done extensive research on the web (followed the tutorials from the Sun site) and google to no avail. Can anyone shed some light? We have successfully used Orbix2000 with Java apps. This is the first access via an applet.
    thanks,
    kat
    This is the exception I get when running it from NS4.7 browser:
    Initializing the ORB CORBA exception: java.lang.NullPointerException java.lang.NullPointerException      at com.iona.corba.art.artimpl.ORBDelegate.resolve_initial_references(ORBDelegate.java:835)      at com.iona.corba.art.artimpl.ORBImpl.resolve_initial_references(ORBImpl.java:203)      at CSGConsole.init(CSGConsole.java:139)      at sun.applet.AppletPanel.run(Unknown Source)      at java.lang.Thread.run(Unknown Source)
    This is the applet code snippet
    import CLMOperator.*;     // package contains the CORBA client stubs
    import org.omg.CosNaming.*;     
    import org.omg.CosNaming.NamingContextPackage.*;
    import org.omg.CORBA.*;     
         // Create and initialize the CORBA ORB
    System.setProperty("org.omg.CORBA.ORBClass","com.iona.corba.art.artimpl.ORBImpl");
         System.setProperty("org.omg.CORBA.ORBSingletonClass","com.iona.corba.art.artimpl.ORBSingleton");
         String[] args = { "-ORBInitRef", "NameService=corbaloc:iiop:sea03s20.ds.boeing.com:3075/NameService" };
         System.out.println( "Initializing the ORB" );
    //      ORB orb = ORB.init(this, args);
         Properties props = new Properties();
         props.put("org.omg.CORBA.ORBInitialHost", "sea03s20.ds.boeing.com");     
         props.put("org.omg.CORBA.ORBInitialPort", "3075");     
         ORB orb = ORB.init(this, props);
         // Get the root naming context
         org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService");
         NamingContext ncRef = NamingContextHelper.narrow( objRef );
         // Resolve the object reference in naming
         NameComponent nc = new NameComponent("CLMOperator", "");
         NameComponent path[] = { nc };
         CLMOperator.CLMOper clmOper = CLMOperator.CLMOperHelper.narrow(ncRef.resolve(path));
         // Call the CLMOperator server object and invoke on the method
         clmOper.Notify(1, 'A');
    catch(Exception e) {
         System.out.println("CORBA exception: " + e);
         e.printStackTrace(System.out);

    Kat:
    I ran into a similar problem. I was wondering if it had anything to do with a security policy between the applet and CORBA, i.e., apllet using the NamingService. To test this, I built a another CORBA Java Client (character interface, not applet) and it works fine. The applet must require something else, like setting a security policy. I sent a query off to someone who manages the Java environment. If I get an answer, I'll post it here.
    bfin

  • Naming Service not availabe

    Hi,
    We are devloping Wrapper arround the Identity server sdk which is going to be placed on linux+weblogic platform. Everything is working fine without SSL enabled for access manager(identity server). When AM is running in SSL mode we are facing problem when our code is trying to create AuthContext. Following is the log trace from debug file
    01/20/2005 06:00:06:750 PM MST: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    authenticate...START
    01/20/2005 06:00:09:586 PM MST: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    ERROR: authenticate :
    com.sun.identity.authentication.spi.AuthLoginException(1):null
    com.sun.identity.common.L10NMessageImpl(2):Failed to create New AuthContext: Error while processing XML request
    Naming Service is not available
    com.sun.identity.common.L10NMessageImpl: Failed to create New AuthContext: Error while processing XML request
    Naming Service is not available
    at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1220)
    at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1142)
    at com.sun.identity.authentication.AuthContext.<init>(AuthContext.java:148)
    at com.abs.security.b2b.AuthenticationService.authenticate(Unknown Source)
    at com.abs.security.b2b.B2BIDSInterfaceImpl.authenticate(Unknown Source)
    at com.abs.security.b2b.client.B2BInitialAdminClientServlet.authenticate(Unknown Source)
    at com.abs.security.b2b.client.B2BInitialAdminClientServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    we took care of loading JSS libraries and AMConfig. properties file changes, trusted CA certificate import and also we added system property java.protocol.handler.pkgs=com.iplanet.services.comm
    any help is appreciated.

    Did you resolve this issue. I have just encountered it when I switched from non-SSL to an SSL port. The exception I get is the same as yours. The debug log indicates that the host name is incorrect:
    03/25/2005 03:23:57:841 PM EST: Thread[main,5,main]
    ERROR: updateNamingTable : Naming Service is not available^M
    03/25/2005 03:23:57:881 PM EST: Thread[main,5,main]
    ERROR: Naming service connection failed for https://dakota.abcd.com:4405/am
    server/namingservice
    com.iplanet.services.comm.client.SendRequestException: HTTPS hostname wrong: sh
    ould be <dakota.abcd.com>^M
    at com.iplanet.services.comm.client.PLLClient.send(PLLClient.java:131)^M
    at com.iplanet.services.comm.client.PLLClient.send(PLLClient.java:71)^M
    at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.jav
    a:335)^M
    at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java
    :308)^M
    at com.iplanet.services.naming.WebtopNaming.getServiceURL(WebtopNaming.java:12

  • How to Connect to the Visibroker Naming Service using the Servlet

    Hi
    I am facing Problem in finding the Initial JNDI Context.
    It is giving me ClassCastException.
    In our Application the Tomcat is Integrated with One of the Partitions. And the EJB' are registered on Visibroker Naming Service (on the same machine).
    I want to Access one of the EJB's.
    Following is my Client Code in the Servlet.
    ==============================================================================
    public void doPost(HttpServletRequest request, HttpServletResponse res)
    throws IOException, ServletException
    res.setContentType("text/html");
    PrintWriter pw = res.getWriter();
    pw.println("<html>");
    try{
    Enumeration e= super.getInitParameterNames();
    while(e.hasMoreElements())
    String paramName= (String)super.getInitParameterNames().nextElement();
    String paramValue=super.getInitParameter(paramName);
    pw.println("paramName="+paramName);
    Context ic;
    java.util.Properties props = new java.util.Properties();
    props.putContext.INITIAL_CONTEXT_FACTORY, "com.inprise.j2ee.jndi.CtxFactory");
    props.put(Context.URL_PKG_PREFIXES, "com.inprise.j2ee.jndi");
    ic = new InitialContext();
    pw.println("Initial Context"+ ic);
    ========================================================================
    And I am getting following Error while getting the Inital Context.
    ============================
    ERROR - javax.naming.NoInitialContextException: Cannot instantiate class: com.inprise.j2ee.jndi.CtxFactory [Root exception is java.lang.ClassCastException]
    2006-09-30 05:16:27,461 ERROR - at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    2006-09-30 05:16:27,461 ERROR - at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    2006-09-30 05:16:27,461 ERROR - at javax.naming.InitialContext.init(Unknown Source)
    2006-09-30 05:16:27,461 ERROR - at javax.naming.InitialContext.<init>(Unknown Source)
    2006-09-30 05:16:27,461 ERROR - at com.lucent.omcran.servlet.OmcRanTpuGuiReDirectServlet.doPost(OmcRanTpuGuiReDirectServlet.java:56)
    2006-09-30 05:16:27,461 ERROR - at com.lucent.omcran.servlet.OmcRanTpuGuiReDirectServlet.doGet(OmcRanTpuGuiReDirectServlet.java:33)
    2006-09-30 05:16:27,461 ERROR - at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    2006-09-30 05:16:27,461 ERROR - at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    2006-09-30 05:16:27,461 ERROR - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:248)
    2006-09-30 05:16:27,461 ERROR -
    ===========================================
    Below are the Parameters that I use to Start my Partition
    =============================================================================
    -Diems.locator.localzonetype=presentation -Diems.arm.context=presentation -XX:+DisableExplicitGC= -XX:+UseCMSInitiatingOccupancyOnly= -DAPPNAME=appl1 -DContextId=1 -DCOMMONPATH=/omcsw/common -DIEMSPATH=/omcsw/28.0.1.22.00 -Djava.util.prefs.PreferencesFactory=com.lucent.iems.platform.util.prefs.spi.IEMSPreferencesFactory -Dcom.lucent.iems.prefs.PrefsDirectory=/omcsw/28.0.1.22.00/data/registry -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORBSingleton -Djavax.rmi.CORBA.StubClass=com.inprise.vbroker.rmi.CORBA.StubImpl -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.inprise.vbroker.rmi.CORBA.PortableRemoteObjectImpl -Djavax.rmi.CORBA.UtilClass=com.inprise.vbroker.rmi.CORBA.UtilImpl -Diems.arm.factory=com.lucent.iems.platform.util.arm.impl1.ARMFactoryImpl1 -Dcom.lucent.iems.platform.util.intfc.maxnumofobjects=25 -DGUMDBPOOLNAME=GUMdb -Dvbroker.orb.enableKeyId=false
    ==============================================
    Does Any one have Idea what is going wrong..
    Ankit

    You can check whether any cookies were sent in the request to your servlet:
    Cookie cookies[] = request.getCookies();
    if cookies is not null (cookies != null) then the browser sending you the request suppoerts cookies.
    If it is null then you would need to do a little extra work. Basically add a cookie to the response going back to the browser. Then send a redirect back to this same servlet. You then would have to add code to check to see whether the cookie was sent back.
    // Servlet named myServlet
    String test = request.getParameter("TEST");
    Cookie cookies[] = request.getCookies();
    if (test == null || !test.equals("TRUE")
    if (cookies == null)
    response.addCookie("testCookies","testCookies");
    response.sendRedirect("myServlet?TEST=TRUE");
    else
    // cookies were sent in the initial request, so
    // browser supports cookies
    else
    // This is the redirect. Check the for the presence of
    // our testCookie
    Hope this helps.

  • 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

  • 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;

  • Naming services

    Hi,
    Could someone please provide me with a good link for understanding Naming services and reportServer? And troubleshooting steps, logs to refer etc.
    Thanks

    Please briefly describe your problem. We'll try to indicate which forum will help you the most.
    Typically 'Naming Service' means "translate the computer host name to an IP address" so that we can find the computer that contains some service we want to use. And typically, that is done by a translation file (/etc/hosts or C:\windows\system32\drivers\etc\hosts.) or by DNS (Dynamic Naming Services), which is a distributed-software database application that does the translation. Troubleshooting techniques will vary based on a lot of factors, including your network configuration.
    However, the term may also be used 'find the right database' using Oracles "Transparent Network Substrate" as described in the 3 Oracle Networking books at http://www.oracle.com/pls/db102/portal.portal_db?selected=3#index-NET, with the TNSADMIN.ORA (in the Reference) being the most important one.
    Your report server problem could fall either in the 'host name' or the 'database name' translation. If the latter, check 'Part 3' of the "Net Services Administrator's Guide"

  • Issue while starting Named service

    HI All,
    I an in process of upgrading cluster from 1.2.0.5 to 11gr2.My OS is Redhat linux 5.3 For the same i am trying to configure DNS and scan .As i dont' have much idea  about network so
    I followed the link for configuring DNS Oracle 11gR2 2-node RAC on VMWare Workstation 8 – Part VII | The Gruff DBA  . As per link i installed below rpms
    [root@nod1 log]# rpm -qa bind*
    bind-libs-9.3.4-10.P1.el5
    bind-utils-9.3.4-10.P1.el5
    bind-chroot-9.3.4-10.P1.el5
    bind-9.3.4-10.P1.el5
    [root@nod1 log]#
    root@nod1 log]# rpm -qa cach*
    caching-nameserver-9.3.4-10.P1.el5
    [root@nod2 named]# more /etc/named.conf---> Named.conf file from nod2
    options {
            directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
            forwarders { 192.168.1.1; };
    include "/etc/rndc.key";
    zone "mydomain" IN {
    type master;
    file "mydomain.zone";
    allow-update { none; };
    [root@nod1 named]# pwd
    /var/named
    [root@nod1 named]# more mydomain.zone
    $TTL  86400
    @ IN SOA      mydomain. mydomain.(
    42          ; serial (d. adams)
    3H          ; refresh
    15M         ; retry
    1W          ; expiry
    1D )        ; minimum
    nod1.                        IN NS   192.168.56.2
    localhost                     IN A   127.0.0.1
    nod2.mydomain                 IN A   192.168.56.5
    nod1.mydomain                 IN A    192.168.56.2
    nod2-vip.mydoamin.            IN A    192.168.56.7
    nod1-vip.mydoamin..           IN A    192.168.56.4
    underworld-scan.mydomain.     IN A    192.168.56.20
    underworld-scan.mydomain.     IN A    192.168.56.21
    [root@nod2 named]# more /etc/resolv.conf
    nameserver  192.168.56.5    # nod2 DNS server
    nameserver 192.168.56.2     # nod1 DNS server
    nameserver 192.168.1.1    # Primary DNS in the domain
    search mydomain # Local Domain
    But i am hitting issue when i am starting named service:
    [root@nod1 log]# service named start
    Starting named:
    Error in named configuration:
    zone mydomain/IN: loading master file mydomain.zone: file not found
    _default/mydomain/IN: file not found
                                                               [FAILED]
    [root@nod1 log]# Can anyone please help me out .. as its really hitting me badly . Thanks in advance

    Hi
    To configure the SCAN , this SCAN IP should be resolve through DNS or /etc/hosts file .Please follow the below link to configure the DNS.
    If you face any problem , then please let me know .
    shivenracdba: configure DNS for Installtion of Oracle Grid Infrastructure RAC cluster
    warm regards
    Shivendra Narain Nirala

Maybe you are looking for

  • How do I make iOS 5 photo edits permanent?

    In iOS5 on the iPhone 4 when I edit my photos (crop, adjust color, etc) with the built-in photo editing tools, the photos look fine on the iphone, but when I upload them to my PC, they are not edited... they are the original uncropped, unmodified pho

  • Segment IEA(Interchange Control Trailer)  EDI error

    Hi WHile valiidating the EDI 875 using SpecBuilder I am getting following error Segment IEA(Interchange Control Trailer) at guideline position (N/A) is missing. This segment's standard option is Mandatory. This segment was expected after: Segment Cou

  • Opinions on Flex modes?

    Just curious as to which Flex mode people are finding most natural for quantizing guitar & vocals - my general feeling so far is that the mono is usually best, but I'm not too experienced with it yet. I have not found any setting that seems to be as

  • Fade Through Black Transition Not Displaying Properly

    Greetings all. I have imported my movie clips into iMovie '08. Each of the clips plays fine by themselves as well as when edited and combined in my project. The problem arrises when I try to add a Fade Through Black (or any transition for that matter

  • Error: Transaction cannot be posted due to errors in price determination

    Hi, I am facing below error when i try to post GR for a SA. I checked out all the configurations, these worked on GR for PO but not on SA. I have seen other posts which recommend to view OSS note 447374 and 446831. I am not sure where to find these a