Insert Portlet Server name for troubleshooting

Hi,
We have multiple gadget servers in a load balanced / failover setup. We are using Plumtree Load balancing. We would like to insert the server name or ip address into a hidden text field in the gadget for troubleshooting. Since we have a lot of gadgets already written, I would like to be able to do this on the web server. Additionally, we would also like to be able to identify which Web server is being used. This was straight forward in ASP, but I am not sure what the best way to do this in 5.03.
Any suggestions would be appreciated.
Thanks
Rick

Yeah, just use a Macro :>
1) In the login script check the network address to determine the physical
location.
2) One the location is determined, map a drive or set an environment
variable based upon this location.
3) Reference that variable or drive letter in your app.
Craig Wilson
Novell Product Support Forum Sysop
Master CNE, MCSE 2003, CCNA
Editor - http://www.ithowto.com
(Seeking Full-Time Expert? Drop me a note :> )
"KeN Etter" <kle@_RemoveThis_msktd.com> wrote in message
news:[email protected]..
>I have two locations and I distribute apps locally at each location.
> Right now I make two applications, associate each one to the correct
> location, and specify the local server for each one. The only
> difference between the apps is the source (local server). If I could
> have a macro insert the correct server name, I could simplify and just
> have one app. Any suggestions?
>
> Regards,
> KeN
>
> Novell....it does a server good!

Similar Messages

  • WebtopNaming - can not find server name for server ID

    We have a LB, and web servers in front of OpenSSO app servers in our environment.
    OpenSSO debug log CoreSystem fills up with lot of errors like these:
    ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
    com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
    Sometimes, it even complains about a server id (07 in the following trace) which doesn't even exist in the Site Id Table.
    There are no changes in the configuration. DNS is properly configured and all the servers and their connectivity are available. CoreSystem throws these errors even after a restart of opensso app servers.
    Any ideas about the root cause?
    amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
    Server Id Table -> {%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF=iplanet-am-naming-samlassertionmanager-url, http://host4.company.com:8080/openSSO=04, com.iplanet.dpro.profile.agent.ProfileService=iplanet-am-naming-profile-class, %protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF=iplanet-am-naming-securitytokenmanager-url, %protocol://%host:%port%uri/authservice=iplanet-am-naming-auth-url, %protocol://%host:%port%uri/sts=sun-naming-sts-url, %protocol://%host:%port%uri/SAMLAwareServlet=iplanet-am-naming-samlawareservlet-url, http://host5.company.com:8080/openSSO=05, com.sun.identity.authentication.server.AuthXMLHandler=iplanet-am-naming-auth-class, com.sun.identity.policy.remote.PolicyRequestHandler=iplanet-am-naming-policy-class, %protocol://%host:%port%uri/loggingservice=iplanet-am-naming-logging-url, %protocol://%host:%port%uri/jaxrpc/=iplanet-am-naming-jaxrpc-url, %protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF=iplanet-am-naming-fsassertionmanager-url, %protocol://%host:%port%uri/identity/=sun-naming-idsvcs-rest-url, 03,05,04,02|03,01|03=iplanet-am-platform-site-id-list, %protocol://%host:%port%uri/identityservices/=sun-naming-idsvcs-jaxws-url, %protocol://%host:%port%uri/sts/mex=sun-naming-sts-mex-url, %protocol://%host:%port%uri/profileservice=iplanet-am-naming-profile-url, %protocol://%host:%port%uri/SAMLPOSTProfileServlet=iplanet-am-naming-samlpostservlet-url, 02|02,01|01,05|05,04|04=iplanet-am-platform-lb-cookie-value-list, %protocol://%host:%port%uri/SAMLSOAPReceiver=iplanet-am-naming-samlsoapreceiver-url, https://host4.company.com:8443/openSSO=01, com.sun.identity.log.service.LogService=iplanet-am-naming-logging-class, %protocol://%host:%port%uri/sessionservice=iplanet-am-naming-session-url, https://host5.company.com:8443/openSSO=02, %protocol://%host:%port%uri/policyservice=iplanet-am-naming-policy-url, iplanet-am-naming-service=serviceObjectClasses, com.iplanet.dpro.session.service.SessionRequestHandler=iplanet-am-naming-session-class, https://opensso-qa.company.com:443/openSSO=03}
    amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
    Site Id Table -> {03=03, 02=03, 01=03, 05=05, 04=04}
    amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
    Platform Servers -> [https://opensso-qa.company.com:443/openSSO, https://host5.company.com:8443/openSSO, https://host4.company.com:8443/openSSO, http://host4.company.com:8080/openSSO, http://host5.company.com:8080/openSSO]
    amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
    Platform Server IDs -> [03, 02, 01, 04, 05]
    amNaming:05/13/2011 10:22:37:010 AM PST: Thread[WebContainer : 0,5,main]
    ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
    com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
    at com.iplanet.services.naming.ServerEntryNotFoundException.<init>(ServerEntryNotFoundException.java:52)
    at com.iplanet.services.naming.WebtopNaming.getServerFromID(WebtopNaming.java:709)
    at com.iplanet.dpro.session.SessionID.setServerID(SessionID.java:380)
    at com.iplanet.dpro.session.SessionID.parseSessionString(SessionID.java:363)
    at com.iplanet.dpro.session.SessionID.getSessionServerID(SessionID.java:261)
    at com.iplanet.dpro.session.service.SessionService.isLocalSite(SessionService.java:881)
    at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:1197)
    at com.sun.identity.authentication.UI.LoginServlet.initializeRequestContext(LoginServlet.java:153)
    at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:578)
    at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    Thank You for the response.
    Here is my site configuration in OpenSSO:
    There are 4 servers in the two opensso hosts (2 secure, 2 non secure)
    Servers:
    http://host4.company.com:8080/openSSO
    http://host5.company.com:8080/openSSO
    https://host4.company.com:8443/openSSO
    https://host5.company.com:8443/openSSO
    Only one site with secure URLs is configured
    Sites:
    site1
    Primary URL: https://opensso-qa.company.com:443/openSSO
    Assigned Servers:
    https://host4.company.com:8443/openSSO
    https://host5.company.com:8443/openSSO
    From the CoreSystem log, Server ID definitions are:
    https://host4.company.com:8443/openSSO=01
    https://host5.company.com:8443/openSSO=02
    https://opensso-qa.company.com:443/openSSO=03
    http://host4.company.com:8080/openSSO=04
    http://host5.company.com:8080/openSSO=05
    Sometimes it throws an exception with existing server IDs. But sometimes it also complains about non existing server IDs.

  • Retrieve available server names for MS SQL server

    hello
    Can somebody tell me how I can retrieve available server names for MS SQL server.
    When MS SQL server loads it asks for server name to connect but on the same time has a combobox with the available server names(instace+database name). How can I provide the same functionality in my application?
    Thank you in advance.

    It isn't going to be as simple as just the name.
    There are also different ways to connect and probably other parameters as well.
    SQL Server Enterprise Manager probably uses a discovery protocol. It probably sends one or more messages requesting information and those servers that want to respond.
    Note that none of that has anything to do with JDBC and discovering how it does that probably isn't easy. A packet sniffer might help.

  • Changing Server Name for EAS Account

    Is there a way to change the server name for an EAS account without having to remove the account and re-add it?  If not, Palm please put in this ability.
    Thanks.
    Post relates to: Pre p100eww (Sprint)
    This question was solved.
    View Solution.

    Hello!
    The reason for this not avail as a security feature built into the EAS protocol.  From a corporate security point of view, corporations do not want the chance of company-sensitive data being extracted/put into a different server(s) that could very well be not their own.  Any device that uses EAS will have to remove the acct and add the new one.  You IT will need to assist with any data migrations that the new server doesnt have.  

  • Error: IP Address or Server Name for the Licences Server

    I am getting this error after installing SAP Server and after that the client. But the Error keep Comming back:
    IP Address or Server Name for the Licences Server.
    Regards,
    Faisal Baloch

    Hi faisal,
    Ca you please elaborate more on this like, which version & module you have installed the server on? like solution manager etc.
    Thanks
    M. Nizam

  • Pls Suggest server names for Reporting Server and Shared Services

    Hi,
    Can any one Pls Suggest server names for Reporting Server and Shared Services
    Thanks in advance.

    Report server name: OrclRpt
    Shared Services: OrclSS

  • Incoming and Outgoin server name for Hotmail

    Dear All,
    Can anyone please help with the Incoming and Outgoin server names for Hotmail account.I am trying to set up my hotmail account on my i phone.Has anyone been succesful at doing this?
    Mo

    You can configure Hotmail to work on the iPhone. It's working great on mine!! You have to upgrade to a Hotmail Plus account (although, apparently they will be offering POP3 on free accounts, as well, sometime within the next year). It sounds like POP3 on the paid Hotmail accounts is something that was just "officially" enabled last week. I found an official announcement from one of the Lead PMs for Hotmail - take a look, here:
    http://mailcall.spaces.live.com/Blog/cns!CC9301187A51FE33!44348.entry
    I just upgraded my Hotmail account to Hotmail Plus yesterday and now my mail works from my iPhone (it was not working yesterday before I upgraded my account). Here are the iPhone mail settings I am using successfully (the email addresses and passwords are just examples, of course):
    Account: On
    *Account Information:*
    Name: John Smith (note: enter your own name)
    Address: [email protected] (note: enter your full Hotmail email address)
    Description: Hotmail
    *Incoming Mail Server:*
    Host Name: pop3.live.com
    User Name: [email protected] (note: enter your full Hotmail email address)
    Password: password (note: enter your Hotmail password)
    *Outgoing Mail Server (SMTP):*
    Host Name: smtp.live.com
    User Name: [email protected] (note: enter your full Hotmail email address)
    Password: password (note: enter your Hotmail password)
    *Advanced Settings:*
    Incoming Uses SSL: On
    Outgoing Uses SSL: On
    Authentication: Password
    Delete from Server: When removed from Inbox (or your preferred option)
    That's it - I hope everything works for you, as well. Good luck!
    - Dohsane

  • How to Retrieve Server Name for creating connection pool during startup!

    Hi All,
    I am going thru the edocs documentation of weblogic for creating the connection pool and the datasource dynamically. The URL I referred to was as under
    http://edocs.bea.com/wls/docs81/jdbc/programming.html
    There is a sample given in the above-mentioned URL. The Server MBean is created by passing the server name.
    The code below mentioned was have placed in my dblib.java
    svrAdminMBean = (ServerMBean)adminMBeanHome.getAdminMBean("myserver", "Server");
    I am creating the connection pool from the servlet by invoking the dblib.java
    I cannot hard-code the server name in the dblib.java since the same code was shared across multiple servlets.
    Each Servlet will create its own connection pool during application server startup.
    Is there a way to retrieve the server name in which the dblib.java is invoked.
    Any pointers to info source will be REALLY appreciated.
    Many Thanks in Advance,
    C R Baradwaj

    You can get it from the Java system property weblogic.Name, i.e. System.getProperty("weblogic.Name");
    Cheers
    Feargal

  • Lync 2013 - Easy way to insert internal server name onto client

    A little background.  Currently only the IT dept is using Lync 2010 or Lync 2013.  We are not using Exchange(happening soon though).  Our Lync Server is only internal(again working on building an edge server).  Our Lync
    clients used to connect automatically with their AD name when restarting or logging into Lync. 
    Last week we noticed that Lync 2013 has upgraged to Skype for Business. This made us not log into Lync until we figured out why.  We finally figured out that if we put the FQDN in the Internal Server name Lync 2013 will work again(was left blank
    before).  We stopped the updates from going out but a few still got it. We manually went around and fixed those Lync 2013 clients.  My question for you all is there an easy way to push the FQDN to the internal server name under Tools-->Personal-->advanced..? Looking
    for a script that I can have them click or some other way.   

    Hi Hurley081182,
    Agree with others, it’s recommend to use Lync 2013.admx Administrative Template, which contain the registry-based policy settings that you configure for Group Policy objects in the domain.
    For more details, please check out the following article.
    Configuring client bootstrapping policies in Lync Server 2013
    https://technet.microsoft.com/en-us/library/gg425941%28v=ocs.15%29.aspx
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Shared Printers - Using a DNS record instead of server name for failover

    I have a Server 2012 Print Server. I plan on creating a second one for failover purposes. I will be installing the shared printers on client PCs using Group policy preferences.  Instead of using
    \\servername\printer as the path, can I create a DNS record for the server name and use
    \\dnsname\printer?  That way, if the first server dies, I just edit the dns record to point to the second server instead of renaming the second server and changing the IP of the second server.

    Hi,
    Based on your description, we can try creating a DNS alias for our printer server and use the alias instead of the host name in the UNC path. When this server goes down, we
    can make the alias pointing to another printer server.
    Regarding how to create an alias for a DNS host name, the following article can be referred to for more information.
    Add an Alias (CNAME) Resource Record to a Zone
    http://technet.microsoft.com/en-us/library/cc772053.aspx
    Hope it helps.
    Best regards,
    Frank Shen

  • Changing windows server name for Broadcast Agent

    I need to rename my windows server, whick Broadcast Agent is installed. Is there a road map to do this, or any simple way?
    Thanks
    Fabio Florio

    Yes! Thanks.
    Sequence of steps to change was so
    1. At the URL: http://<sapsolmanhost>:<port>/webdynpro/dispatcher/sap.com/tc~smd~server~agent~admin/SMDAgentAdminApplication
    I stop agent (corresponding drop-down menu item on the agent)
    2. Produce commands from the console: smdsetup changeservername servername:"name of the server that I need"
    3. Produce restart agent, similar to paragraph 1 (a start point in the dropdown menu)
    4. Produce Update "Server Name" is similar to paragraph 1 (a start point in the dropdown menu on the agent name in list of agents)

  • Bell Sympatico server name for CalDAV

    Does anyone know the server name to connect my Bell Sympatico calender to iOS?

    Setting up Sympatico in your iPhone:
    Incoming Mail Server:
    Host - pophm.sympatico.ca
    Username - full email add
    Password - password
    Outgoing Mail server:
    SMTP - smtp1sympatico.ca [please note there is No dot btwn smtp & sympatico]
    Go to smtp settings and your:
    Primary Server - smtp1sympatico.ca will be On.
    Now select Primary server:
    Host smtp1sympatico.ca
    Username - not necessary
    Password - not necessary
    Use SSL - On
    Authentication - password
    Server Port - 25
    Other SMTP Servers settings:
    smtphm.sympatico.ca will be On
    Rogers SMTP Server will be on [pls note they both have to be turned On, don't have to do
    anything more]
    Advanced settings:
    Use SSl - On
    Authentication - Password
    Server Port 995
    You will be able to Send and Receive mail from Sympatico But if you have other custom
    folders under your main sympatico setup, they somehow do not show up on the iPhone. But the
    important and most relieving part is that you will now be able to Send and Receive mail with
    ease. Any questions, please post and any new discoveries, please share.

  • NNTP Server Name for Sun's Java Newsgroups

    Please can someone tell me the above NNTP server name ? I'd like to make use of Outlook Express to read & post to the java newsgroups.
    TIA.

    There are some free news servers but usualy they don't allow postings.
    The best think you can do is to contact your ISP and ask them if they have NNTP server or at least NNTP proxy which you can use.

  • Mail setup for exchange - what is the server name for msn accounts

    Lost my ability to send messages using mail and msn outlook exchange account.  Deleted account and now trying to re-set it up.  Get to the server name and I’m stumped. Any ideas? It should be simple but I can’t get it to work. Thanks

    Ask Microsoft, it's their server.

  • HT1277 what is the incoming mail server name for hotmail?

    What is the Incoming Mail server for a hotmail email account

    Try to find it here http://www.emailaddressmanager.com/tips/mail-settings.html

Maybe you are looking for