<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: customizing a logon frontend to identify what app server is being used. in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/235060#M3614</link>
    <description>&lt;P&gt;to some extent yes that was the goal . In the interrum I ran across ways to embedd JSP and jquery into the logon_custom.jsp and get information and do some cooll coding. Our experiment with a cluster was a utter failure due to a plan file that did mnot work ...we had to pay the SAS consultant more to actually create one again . Anyway at that point we said ^&amp;amp;^% it and went with stand alone servers.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2015 16:33:31 GMT</pubDate>
    <dc:creator>robm</dc:creator>
    <dc:date>2015-11-17T16:33:31Z</dc:date>
    <item>
      <title>customizing a logon frontend to identify what app server is being used.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/208698#M3087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;was trying to use this link to customize a page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/bimtag/66823/HTML/default/viewer.htm#p1eq380abe3z6en1tpnsj931qrke.htm" title="http://support.sas.com/documentation/cdl/en/bimtag/66823/HTML/default/viewer.htm#p1eq380abe3z6en1tpnsj931qrke.htm"&gt;SAS(R) 9.4 Intelligence Platform: Middle-Tier Administration Guide, Second Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i would like to do is use some JSP code to identify what WebAppServer&amp;nbsp; and what MetaDataServer&amp;nbsp; I am using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to this end i modifed the D:\SASHome\SASWebInfrastructurePlatform\9.4\Static\wars\sas.svcs.logon\WEB-INF\view\jsp\default\ui\logon_custom.jsp &lt;/P&gt;&lt;P&gt;hoping that the environment variables might reveal something but after a build of the wip service and a deployment on all 3 nodes I still see nothing on the &lt;/P&gt;&lt;P&gt;logon page . i went in prior to the deployment and enable the customization in SASS Manager&amp;nbsp; , I assume this just flags to include the logon_custom.jsp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas how I can get this to work I still have a login page with no additional information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%-- &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This JSP file is included as part of the logon.jsp if a site&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; has enabled the custom logon page message policy. The tags&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; below are provided as a simple convenience for those sites&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; that want to simply provide an embedded text message. These&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tags can be modified or removed if additional customization&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; is required.&lt;/P&gt;&lt;P&gt;--%&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;p&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; java.util.Enumeration e = System.getProperties().propertyNames();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; while( e.hasMoreElements() ){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String prop = (String)e.nextElement();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.print(prop);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.print(" = ");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.print( System.getProperty(prop) );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.print("&amp;lt;br&amp;gt;");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 21:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/208698#M3087</guid>
      <dc:creator>robm</dc:creator>
      <dc:date>2015-06-17T21:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: customizing a logon frontend to identify what app server is being used.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/231962#M3517</link>
      <description>&lt;P&gt;Hi robm,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Found your question interesting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is it you are utlimately trying to achieve i.e. why do you need to identify what app server is being used? Are you trying to determine the level of load balancing across 2 or more instances of the same web app server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers, Simon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 11:20:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/231962#M3517</guid>
      <dc:creator>SimonWilliams</dc:creator>
      <dc:date>2015-10-28T11:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: customizing a logon frontend to identify what app server is being used.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/235060#M3614</link>
      <description>&lt;P&gt;to some extent yes that was the goal . In the interrum I ran across ways to embedd JSP and jquery into the logon_custom.jsp and get information and do some cooll coding. Our experiment with a cluster was a utter failure due to a plan file that did mnot work ...we had to pay the SAS consultant more to actually create one again . Anyway at that point we said ^&amp;amp;^% it and went with stand alone servers.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 16:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/235060#M3614</guid>
      <dc:creator>robm</dc:creator>
      <dc:date>2015-11-17T16:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: customizing a logon frontend to identify what app server is being used.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/235193#M3616</link>
      <description>&lt;P&gt;Hi robm,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like you have come to a conclusion but for future reference there are some built in-tools you can use with SAS 9.4:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SAS Web Administration Console;&lt;/LI&gt;
&lt;LI&gt;Load Balancer interface;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See: &lt;A href="http://support.sas.com/documentation/cdl/en/bimtag/68217/HTML/default/titlepage.htm" target="_self"&gt;&lt;SPAN style="font: small/20px Arial, Helvetica, Verdana, sans-serif; text-align: left; color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; widows: 1; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"&gt;SAS 9.4 Intelligence Platform: Middle-Tier Administration Guide, Third Edition&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SAS Web Administration Console&lt;/STRONG&gt;:　&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;monitoring information about users who are currently logged on to SAS web applications;&lt;/LI&gt;
&lt;LI&gt;viewing audit reports that show user logon and logoff activity and failed logon attempts&lt;/LI&gt;
&lt;LI&gt;performing server maintenance, as a part of system maintenance&lt;/LI&gt;
&lt;LI&gt;updating the Job Execution Service configuration on page 78&lt;/LI&gt;
&lt;LI&gt;managing notification templates and letterheads&lt;/LI&gt;
&lt;LI&gt;managing authorization, including Web Infrastructure Platform roles and privileges and web-layer permissions&lt;/LI&gt;
&lt;LI&gt;viewing the current configuration for web applications that have been deployed at your site&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Load Balancer interface:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;sessions are assigned to a given instance of a&amp;nbsp;SAS Web Application Server;&lt;/LI&gt;
&lt;LI&gt;Allows an administrator to drain sessions to prevent new users logging on;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Simon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/235193#M3616</guid>
      <dc:creator>SimonWilliams</dc:creator>
      <dc:date>2015-11-18T09:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: customizing a logon frontend to identify what app server is being used.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/235376#M3622</link>
      <description>&lt;P&gt;well not to get what metadata server I was using, however&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;D:\SASConfig\Lev1\Web\WebAppServer\SASServer1_1\sas_webapps\sas.svcs.logon.war\WEB-INF\view\jsp\default\ui&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you have custom logon and custom logout enabled&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Application management&amp;gt;SAS Aplication Infrastructure&amp;gt;Properties&amp;gt;Settings&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;say yes to Display Custome logon message&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then in logon_customer.jsp you can write some JSP code to spit out env vars&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;STRONG&gt;&amp;lt;%
   java.util.Enumeration e = System.getProperties().propertyNames();
   while( e.hasMoreElements() ){
   	String prop = (String)e.nextElement();
   	out.print(prop);
   	out.print(" = ");
   	out.print( System.getProperty(prop) );
   	out.print("&amp;lt;br&amp;gt;");
   }&lt;BR /&gt;%&amp;gt;&lt;/STRONG&gt;
&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can t include stuff like&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;&amp;lt;%@ page import="java.util.*" %&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as well you can insert jQUERY to do things like in this case redirect a bad URL someone has cached:&lt;/P&gt;
&lt;P&gt;we have users that have links from 9.3ebi on there desktop instead of an error this redirects them to the login page and they can go find their new link&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;%-- &lt;BR /&gt; This JSP file is included as part of the logon.jsp if a site&lt;BR /&gt; has enabled the custom logon page message policy. The tags&lt;BR /&gt; below are provided as a simple convenience for those sites&lt;BR /&gt; that want to simply provide an embedded text message. These&lt;BR /&gt; tags can be modified or removed if additional customization&lt;BR /&gt; is required.&lt;BR /&gt;--%&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;%-- custom content goes here --%&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;lt;link rel="stylesheet" href="&lt;A href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css&amp;quot;" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css"&lt;/A&gt; type="text/css" media="all" /&amp;gt;&lt;BR /&gt;&amp;lt;script src="&lt;A href="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&amp;quot;" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"&lt;/A&gt; type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script src="&lt;A href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js&amp;quot;" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"&lt;/A&gt; type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;script type="text/javascript" language="javascript"&amp;gt;&lt;BR /&gt;var theUrl = $(location).attr('href'); &lt;BR /&gt;var isFound = theUrl.toLowerCase().indexOf("_sasapp=information+delivery+portal+4.3&amp;amp;");&lt;BR /&gt;if (isFound &amp;gt; 0)&lt;BR /&gt;{&lt;BR /&gt; var res = theUrl.split('?');&lt;BR /&gt; theUrl = res[0];&lt;BR /&gt; $('#custom-logon-message').append('&amp;lt;font color=red&amp;gt;&amp;lt;h2&amp;gt;' + theUrl + ' &amp;lt;/h2&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;' )&lt;BR /&gt; $('#fm1').attr('action', '/SASLogon/login');&lt;BR /&gt; $('#fm1').get(0).setAttribute('action', '/SASPortal');&lt;BR /&gt; var actionis = $( '#fm1' ).attr( 'action' );&lt;BR /&gt; $('#custom-logon-message').append('&amp;lt;br&amp;gt;&amp;lt;font color=red&amp;gt;&amp;lt;h2&amp;gt;' + actionis + ' &amp;lt;/h2&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;' )&lt;BR /&gt; theUrl = theUrl.replace('/SASLogon/login','/SASPortal')&lt;BR /&gt; window.location.replace(theUrl);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 20:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/customizing-a-logon-frontend-to-identify-what-app-server-is/m-p/235376#M3622</guid>
      <dc:creator>robm</dc:creator>
      <dc:date>2015-11-18T20:21:57Z</dc:date>
    </item>
  </channel>
</rss>

