Problem Note 35693: The Oracle WebLogic scripting tool cannot connect to the WebLogic administration server when the SAS® trusted-authentication provider is configured
SAS provides a WebLogic authentication provider for use configuring Web authentication. When the SAS authentication provider is configured, it is not possible to perform a Java Management Extensions (JMX) connection to the administration server from an external client such as the WebLogic scripting tool
(WLST). In such cases, the following exception error might be displayed in the WebLogic administration-server log:
<Error> <HTTP> <WINIM32> <AdminServer>
<[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'
>
<<WLS Kernel>> <> <> <1234392669612> <BEA-101017>
<[weblogic.servlet.internal.WebAppServletContext@96b38e - appName:
'bea_wls_internal', name: 'bea_wls_internal.war', context-path:
'/bea_wls_internal'] Root cause of ServletException.
java.lang.AssertionError: Exception creating response stream
at
weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:
234)
at weblogic.rjvm.MsgAbbrevInputStream.init(MsgAbbrevInputStream.java:174)
at
weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:435)
at
weblogic.rjvm.http.HTTPServerJVMConnection.dispatch(HTTPServerJVMConnection.java
:355)
at weblogic.rjvm.http.TunnelSendServlet.service(TunnelSendServlet.java:25)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecuri
tyHelper.java:227)
at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.ja
va:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAp
pServletContext.java:3244)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.ja
va:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletConte
xt.java:2010)
at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java
:1916)
at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
java.lang.ClassNotFoundException:
com.sas.services.security.login.weblogic.WLServerPrincipal
The solution for this problem is to include the required SAS .jar files in the system CLASSPATH environment variable. To do this, modify the CLASSPATH declaration in WebLogic's commEnv.cmd file (for Windows environments) or the commEnv.sh file (for UNIX environments).
If you encounter this problem, you will have performed the Web authentication configuration as described in Configuring BEA WebLogic Server 9.2 for Web Authentication with SAS® 9.2
Web Applications". This document has instructions for extracting the SAS .jar files from the SAS Logon Manager .ear file for use in the Remote Services class path. You can use this document as a reference for this modification. The same set of .jar files that are listed in the document are required in the WebLogic system class path. You can copy the .jar files to a separate folder and reference that folder in the class path. After you make this change, you must restart all WebLogic server processes.
Operating System and Release Information
| WEBLOGIC | BEA WebLogic Server | Microsoft® Windows® for x64 | 9.2 TS2M0 | 9.2 TS2M2 |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | 9.2 TS2M2 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | 9.2 TS2M2 |
| Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | 9.2 TS2M2 |
| Microsoft Windows XP Professional | 9.2 TS2M0 | 9.2 TS2M2 |
| Windows Vista | 9.2 TS2M0 | 9.2 TS2M2 |
| 64-bit Enabled AIX | 9.2 TS2M0 | 9.2 TS2M2 |
| 64-bit Enabled Solaris | 9.2 TS2M0 | 9.2 TS2M2 |
| HP-UX IPF | 9.2 TS2M0 | 9.2 TS2M2 |
| Solaris for x64 | 9.2 TS2M0 | 9.2 TS2M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The Oracle WebLogic scripting tool (WLST) might fail to connect to the WebLogic admintration server because of a due to a class-path that involves the SAS trusted-authentication provider.
| Type: | Problem Note |
| Priority: | low |
| Date Modified: | 2009-09-29 11:12:17 |
| Date Created: | 2009-04-27 10:40:20 |