JAAS AdminTool error
Hello:
I tried to run JAAS AdminTool but got the following errors. Any idea?
C:\jdevstudiobase1013\j2ee\home>java -jar jazn.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/securi
ty/jazn/tools/Admintool (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Thanks in advance
Hi,
type java -version and ensure the JRE you use is Java 5. If not, download Java JRE 1.5 or execute the command from a JRE 1.5 home
Frank
Similar Messages
-
HI Iam getting the following error while running a sample RDBMS JAAS Login Module
Error creating LoginContext. Login Failure: all modules ignored
javax.security.auth.login.LoginException: Login Failure: all modules ignored
Please clarify this issue.
Thanks in advance.
KtHI Iam getting the following error while running a
sample RDBMS JAAS Login Module
Error creating LoginContext. Login Failure: all
modules ignored
javax.security.auth.login.LoginException: Login
Failure: all modules ignored
Please clarify this issue.
Thanks in advance.
KtSomething must be wrong in the creation of your LoginContext. Either the config file is wrong or you callbackhandlers are wrong. -
JAAS LoginException, error.jsp
When I throw a LoginException in my Custom Login Module that my Custom AuthenticationProvider
and my web.xml file contains
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/error.jsp</form-error-page>
</form-login-config>
</login-config>
How do I get the error message displayed on the error.jsp file that weblogic authomatically
loads
I tried <% exception.getMessage() %> and I get an exception stating that exception
doesn't exist.
thanks for any help
ChadAfter processing your servlet ,forward it to JSP page and set that exception in object from servlet and accces it in JSP Page and display it.
Example:
//Servlet
String errorMessage;
if error occurs set errorMessage to that error.
request.setAttribute("Message",errorMessage);
//JSP
Acces Message string from request Object and display it imn JSP page using
String errorMessage=request.getAttribute("Message");
This shud work in your case. -
Admin Tool Error while installing C Compiler on Solaris 9 machine.
Hi,
I tried to install C Complier in Solaris 9 Sparc machine(It wasnot installed initially and hence I tried to install) and i got an error message "Admintool :Error ,add software failed"
Can anyone guide me on how to troubleshoot this problem?
Thanks
BalaDoes install from command line work?
-
Rollup Update install error - error code 2771
When trying to install the rollup update 7 on a hub/cas server, I get the following error almost immediately:
"The installer has encountered an unexpected error installing this package,. This may indicate a problem with this package. The error code is 2771."
I get the same thing when installing from a downloaded install (that I've used on other servers) or via windows update.
I also get two errors in the event log:
1. MSIinstaller - event id 10005 - same as above but adds "The arguments are: AdminTools" at the end.
2. MSIinstaller - event id 1023 - "... could not be installed. Error code 1603. Additional info is available..." (no add'l info is in the log file referenced)
I had a similar, if not exact, problem trying to install rollup update 6 and couldn't find any info then... or now. Saw one post about disabling symantec endpoint protection (which we don't use) but I tried closing our trend a/v but no diff.
Oh yeah, the server is Win2k3 R2 x64 SP2.
Any help would be appreciated.
Thanks
FrankHmmm... Logging... Who 'da thunk it... Thanks for the suggestion. :-)
Below are the all lines from the log containing error or debug. The "...." means that the previous two lines were duplicated numerous times.
The only real reference I found to the admintools error was at this link but it wasn't very helpful. http://blogs.msdn.com/windows_installer_team/archive/2005/08/17/451516.aspx
Thanks again for any help
Frank
KB960384.log:3:MSI (c) (0C:E0) [06:48:32:938]: Machine policy value 'Debug' is 0
KB960384.log:2271:MSI (c) (0C:E0) [06:48:49:657]: Baseline: Patch {E3B8F8E3-88C8-4F9B-B495-8B039EF7EF18} modified urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf with full-file update.
KB960384.log:2272:MSI (c) (0C:E0) [06:48:49:672]: Baseline: First patch for urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf, saving native info.
KB960384.log:2273:MSI (c) (0C:E0) [06:48:49:672]: Baseline: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf version for baseline at patch Native: , , 2194.
KB960384.log:2409:MSI (c) (0C:E0) [06:48:49:672]: Baseline: Patch {E3B8F8E3-88C8-4F9B-B495-8B039EF7EF18} modified _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx with full-file update.
KB960384.log:2410:MSI (c) (0C:E0) [06:48:49:672]: Baseline: First patch for _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx, saving native info.
KB960384.log:2411:MSI (c) (0C:E0) [06:48:49:672]: Baseline: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx version for baseline at patch Native: , , 7083.
KB960384.log:3303:MSI (c) (0C:E0) [06:48:49:797]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:4030:MSI (c) (0C:E0) [06:48:49:907]: Baseline: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf version for baseline at patch {E3B8F8E3-88C8-4F9B-B495-8B039EF7EF18}: , , 2194.
KB960384.log:4076:MSI (c) (0C:E0) [06:48:49:907]: Baseline: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx version for baseline at patch {E3B8F8E3-88C8-4F9B-B495-8B039EF7EF18}: , , 7083.
KB960384.log:4458:MSI (c) (0C:E0) [06:48:50:079]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:4459:MSI (c) (0C:E0) [06:48:50:079]: Transforming table Error.
KB960384.log:5301:MSI (c) (0C:E0) [06:48:50:266]: Baseline: Patch {8BE6F13E-5876-4968-B07C-E09C19EA3D96} modified urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf with full-file update.
KB960384.log:5347:MSI (c) (0C:E0) [06:48:50:266]: Baseline: Patch {8BE6F13E-5876-4968-B07C-E09C19EA3D96} modified _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx with full-file update.
KB960384.log:5739:MSI (c) (0C:E0) [06:48:50:329]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:6482:MSI (c) (0C:E0) [06:48:50:438]: Baseline: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf version for baseline at patch {8BE6F13E-5876-4968-B07C-E09C19EA3D96}: , , 2194.
KB960384.log:6528:MSI (c) (0C:E0) [06:48:50:454]: Baseline: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx version for baseline at patch {8BE6F13E-5876-4968-B07C-E09C19EA3D96}: , , 7083.
KB960384.log:7028:MSI (c) (0C:E0) [06:48:50:688]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:7029:MSI (c) (0C:E0) [06:48:50:688]: Transforming table Error.
KB960384.log:7861:MSI (c) (0C:E0) [06:48:50:891]: Baseline: Patch {FAD5369A-D8A9-4783-97E1-3DDB12DCBBAC} modified urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf with full-file update.
KB960384.log:7907:MSI (c) (0C:E0) [06:48:50:891]: Baseline: Patch {FAD5369A-D8A9-4783-97E1-3DDB12DCBBAC} modified _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx with full-file update.
KB960384.log:8277:MSI (c) (0C:E0) [06:48:50:969]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:9028:MSI (c) (0C:E0) [06:48:51:094]: Baseline: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf version for baseline at patch {FAD5369A-D8A9-4783-97E1-3DDB12DCBBAC}: , , 2194.
KB960384.log:9074:MSI (c) (0C:E0) [06:48:51:094]: Baseline: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx version for baseline at patch {FAD5369A-D8A9-4783-97E1-3DDB12DCBBAC}: , , 7083.
KB960384.log:9676:MSI (c) (0C:E0) [06:48:51:860]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:9677:MSI (c) (0C:E0) [06:48:51:860]: Transforming table Error.
KB960384.log:11134:MSI (c) (0C:E0) [06:48:52:172]: Baseline: Patch {139D78E2-E0AD-4F36-982C-3E525123C740} modified urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf with full-file update.
KB960384.log:11180:MSI (c) (0C:E0) [06:48:52:172]: Baseline: Patch {139D78E2-E0AD-4F36-982C-3E525123C740} modified _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx with full-file update.
KB960384.log:12379:MSI (c) (0C:E0) [06:48:52:344]: Baseline: _70759caf7f5142ab97e6432ceedb4d2f_error.gif version for baseline at patch Native: , , 573.
KB960384.log:12380:MSI (c) (0C:E0) [06:48:52:344]: Baseline: Patch {139D78E2-E0AD-4F36-982C-3E525123C740} modified sequence value for _70759caf7f5142ab97e6432ceedb4d2f_error.gif but did not patch.
KB960384.log:13425:MSI (c) (0C:E0) [06:48:52:485]: Baseline: bc77a372b4ad4df0af79f99ab08f378f_error.gif version for baseline at patch Native: , , 1021.
KB960384.log:13426:MSI (c) (0C:E0) [06:48:52:485]: Baseline: Patch {139D78E2-E0AD-4F36-982C-3E525123C740} modified sequence value for bc77a372b4ad4df0af79f99ab08f378f_error.gif but did not patch.
KB960384.log:39957:MSI (c) (0C:E0) [06:48:59:454]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:40915:MSI (c) (0C:E0) [06:48:59:594]: Baseline: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf version for baseline at patch {139D78E2-E0AD-4F36-982C-3E525123C740}: , , 2194.
KB960384.log:40961:MSI (c) (0C:E0) [06:48:59:610]: Baseline: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx version for baseline at patch {139D78E2-E0AD-4F36-982C-3E525123C740}: , , 7083.
KB960384.log:41668:MSI (c) (0C:E0) [06:49:01:329]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:41669:MSI (c) (0C:E0) [06:49:01:344]: Transforming table Error.
KB960384.log:42808:MSI (c) (0C:E0) [06:49:02:016]: Baseline: Patch {8AF6D17D-7066-49DB-91B7-FC9467DAF9B7} modified urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf with full-file update.
KB960384.log:42856:MSI (c) (0C:E0) [06:49:02:048]: Baseline: Patch {8AF6D17D-7066-49DB-91B7-FC9467DAF9B7} modified _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx with full-file update.
KB960384.log:43253:MSI (c) (0C:E0) [06:49:03:470]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:44280:MSI (c) (0C:E0) [06:49:03:657]: Baseline: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf version for baseline at patch {8AF6D17D-7066-49DB-91B7-FC9467DAF9B7}: Microsoft.Exchange.Clients.Owa.dll, , 2194.
KB960384.log:44328:MSI (c) (0C:E0) [06:49:03:657]: Baseline: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx version for baseline at patch {8AF6D17D-7066-49DB-91B7-FC9467DAF9B7}: Microsoft.Exchange.Clients.Owa.dll, , 7083.
KB960384.log:44673:MSI (c) (0C:E0) [06:49:03:860]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:44674:MSI (c) (0C:E0) [06:49:03:860]: Transforming table Error.
KB960384.log:46195:DEBUG: Error 2826: Control BottomLine on dialog PrepareDlg extends beyond the boundaries of the dialog to the right by 5 pixels
KB960384.log:46196:The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: PrepareDlg, BottomLine, to the right
KB960384.log:46950:MSI (c) (0C:E0) [06:49:07:688]: {E3B8F8E3-88C8-4F9B-B495-8B039EF7EF18} File: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf ValData: 2194
KB960384.log:46996:MSI (c) (0C:E0) [06:49:07:688]: {E3B8F8E3-88C8-4F9B-B495-8B039EF7EF18} File: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx ValData: 7083
KB960384.log:47972:MSI (c) (0C:E0) [06:49:07:845]: {8BE6F13E-5876-4968-B07C-E09C19EA3D96} File: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf ValData: 2194
KB960384.log:48018:MSI (c) (0C:E0) [06:49:07:845]: {8BE6F13E-5876-4968-B07C-E09C19EA3D96} File: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx ValData: 7083
KB960384.log:49015:MSI (c) (0C:E0) [06:49:07:923]: {FAD5369A-D8A9-4783-97E1-3DDB12DCBBAC} File: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf ValData: 2194
KB960384.log:49061:MSI (c) (0C:E0) [06:49:07:938]: {FAD5369A-D8A9-4783-97E1-3DDB12DCBBAC} File: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx ValData: 7083
KB960384.log:50263:MSI (c) (0C:E0) [06:49:08:032]: {139D78E2-E0AD-4F36-982C-3E525123C740} File: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf ValData: 2194
KB960384.log:50309:MSI (c) (0C:E0) [06:49:08:048]: {139D78E2-E0AD-4F36-982C-3E525123C740} File: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx ValData: 7083
KB960384.log:51574:MSI (c) (0C:E0) [06:49:08:157]: {8AF6D17D-7066-49DB-91B7-FC9467DAF9B7} File: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf ValData: Microsoft.Exchange.Clients.Owa.dll 2194
KB960384.log:51622:MSI (c) (0C:E0) [06:49:08:157]: {8AF6D17D-7066-49DB-91B7-FC9467DAF9B7} File: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx ValData: Microsoft.Exchange.Clients.Owa.dll 7083
KB960384.log:53062:MSI (c) (0C:E0) [06:49:08:266]: Native File: _70759caf7f5142ab97e6432ceedb4d2f_error.gif ValData: 573
KB960384.log:53585:MSI (c) (0C:E0) [06:49:08:298]: Native File: bc77a372b4ad4df0af79f99ab08f378f_error.gif ValData: 1021
KB960384.log:54620:MSI (c) (0C:E0) [06:49:08:345]: Native File: urlblockederror.aspx_ca89a4d206714a91b403f914255bfddf ValData: 2194
KB960384.log:54713:MSI (c) (0C:E0) [06:49:08:360]: Native File: _7B9793F8_5ACD_4ef8_83A6_46E957C909A0_error.aspx ValData: 7083
KB960384.log:68068:MSI (c) (0C:E0) [06:49:14:360]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:68069:MSI (c) (0C:E0) [06:49:14:360]: Transforming table Error.
KB960384.log:68094:DEBUG: Error 2771: Upgrade of feature AdminTools has a missing component.
KB960384.log:68120:MSI (c) (0C:54) [06:49:14:501]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:68121:MSI (c) (0C:54) [06:49:14:501]: Transforming table Error.
KB960384.log:68146:DEBUG: Error 2826: Control BottomLine on dialog ErrorDlg extends beyond the boundaries of the dialog to the right by 5 pixels
KB960384.log:68147:The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: ErrorDlg, BottomLine, to the right
KB960384.log:68148:The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2771. The arguments are: AdminTools, ,
KB960384.log:68149:MSI (c) (0C:E0) [06:49:16:689]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:68150:MSI (c) (0C:E0) [06:49:16:689]: Transforming table Error.
KB960384.log:68175:MSI (c) (0C:E0) [06:49:16:751]: Product: Microsoft Exchange Server -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2771. The arguments are: AdminTools, ,
KB960384.log:68178:MSI (c) (0C:E0) [06:49:16:767]: Doing action: FatalError
KB960384.log:68179:Action 6:49:16: FatalError.
KB960384.log:68180:Action start 6:49:16: FatalError.
KB960384.log:68231:MSI (c) (0C:54) [06:49:16:923]: Note: 1: 2262 2: Error 3: -2147287038
KB960384.log:68232:MSI (c) (0C:54) [06:49:16:923]: Transforming table Error.
KB960384.log:68257:DEBUG: Error 2826: Control BottomLine on dialog FatalError extends beyond the boundaries of the dialog to the right by 5 pixels
KB960384.log:68258:The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalError, BottomLine, to the right
KB960384.log:68259:Action 6:49:17: FatalError. Dialog created
KB960384.log:68261:Action ended 6:49:17: FatalError. Return value 2.
KB960384.log:68702:Property(C): POWERSHELL_REMOVEFILES_UNDER_EXCHANGEDIR_FIRST_STEP_PROPERTY = -exclude 'data','exchangeoab','logging','UnifiedMessaging','TransportRoles' -Force | foreach{ Get-ChildItem $_.FullName -Force -Recurse | where {-not ($_.Attributes -band 0x10) -and -not $_.FullName.EndsWith('.edb', 0x3) -and -not $_.FullName.EndsWith('.que', 0x3) -and -not $_.FullName.EndsWith('.jrs', 0x3) -and -not $_.FullName.EndsWith('.chk', 0x3) -and -not $_.FullName.EndsWith('.log', 0x3)} | where { (-not ($_.FullName.Equals($owaDir+'CustomADproperties.xml', 0x3))) -and ((-not ($_.FullName.StartsWith($owaDir+'Forms\', 0x3))) -or ($_.FullName.StartsWith($owaDir+'Forms\basic\', 0x3)) -or ($_.FullName.StartsWith($owaDir+'Forms\premium\', 0x3))) } | Remove-Item -Force;};write-output $Error;$Error.Clear();
KB960384.log:68703:Property(C): POWERSHELL_REMOVEFILES_UNDER_EXCHANGEDIR_SECOND_STEP_PROPERTY = -exclude 'voicemail', 'badvoicemail' -Force | foreach{ Get-ChildItem $_.FullName -Force -Recurse | where {-not ($_.Attributes -band 0x00000010) -and -not $_.FullName.EndsWith('.edb', 0x00000003) -and -not $_.FullName.EndsWith('.que', 0x00000003)-and -not $_.FullName.EndsWith('.jrs', 0x00000003) -and -not $_.FullName.EndsWith('.chk', 0x00000003) -and -not $_.FullName.EndsWith('.log', 0x00000003)} | Remove-Item -Force;};write-output $Error;$Error.Clear();
KB960384.log:68704:Property(C): POWERSHELL_REMOVEFILES_UNDER_EXCHANGEDIR_THIRD_STEP_PROPERTY = -exclude 'Logs' -Force | foreach{ Get-ChildItem $_.FullName -Force -Recurse | where {-not ($_.Attributes -band 0x00000010) -and -not $_.FullName.EndsWith('.edb', 0x00000003) -and -not $_.FullName.EndsWith('.que', 0x00000003)-and -not $_.FullName.EndsWith('.jrs', 0x00000003) -and -not $_.FullName.EndsWith('.chk', 0x00000003) -and -not $_.FullName.EndsWith('.log', 0x00000003)} | Remove-Item -Force;};write-output $Error;$Error.Clear();
KB960384.log:68705:Property(C): POWERSHELL_REMOVELOGFILES_UNDER_EXCHANGEDIR_FIRST_STEP_PROPERTY = -exclude 'data', 'exchangeoab', 'logging', 'UnifiedMessaging', 'TransportRoles' -Force | foreach { Get-ChildItem $_.FullName -Force -Recurse | where {-not ($_.Attributes -band 0x10) -and $_.FullName.EndsWith('.log', 0x3) -and -not ($_.FullName.StartsWith($owaFormsDir, 0x3)) } | where {(Get-ChildItem $_.DirectoryName -Force | where {$_.FullName.EndsWith('.edb', 0x3) -or $_.FullName.EndsWith('.que', 0x3)}) -eq $null} | Remove-Item -Force;};write-output $Error;$Error.Clear();
KB960384.log:68706:Property(C): POWERSHELL_REMOVELOGFILES_UNDER_EXCHANGEDIR_SECOND_STEP_PROPERTY = -exclude 'voicemail', 'badvoicemail' -Force | foreach { Get-ChildItem $_.FullName -Force -Recurse | where {-not ($_.Attributes -band 0x00000010) -and $_.FullName.EndsWith('.log', 0x00000003)} | where {(Get-ChildItem $_.DirectoryName -Force | where {$_.FullName.EndsWith('.edb', 0x00000003) -or $_.FullName.EndsWith('.que', 0x00000003)}) -eq $null} | Remove-Item -Force;};write-output $Error;$Error.Clear();
KB960384.log:68707:Property(C): POWERSHELL_REMOVELOGFILES_UNDER_EXCHANGEDIR_THIRD_STEP_PROPERTY = -exclude 'Logs' -Force | foreach { Get-ChildItem $_.FullName -Force -Recurse | where {-not ($_.Attributes -band 0x00000010) -and $_.FullName.EndsWith('.log', 0x00000003)} | where {(Get-ChildItem $_.DirectoryName -Force | where {$_.FullName.EndsWith('.edb', 0x00000003) -or $_.FullName.EndsWith('.que', 0x00000003)}) -eq $null} | Remove-Item -Force;};write-output $Error;$Error.Clear();
KB960384.log:68708:Property(C): POWERSHELL_REMOVEFOLDERS_UNDER_EXCHANGEDIR_PROPERTY = -Force -Recurse | where {($_.Attributes -band 0x00000010)} | foreach { if ($_.Exists) {if ((Get-ChildItem $_.FullName -Force -Recurse | where {-not ($_.Attributes -band 0x00000010)}) -eq $null) {Remove-Item $_.FullName -Force -Recurse;}}};write-output $Error;$Error.Clear();
KB960384.log:68843:Property(C): ErrorDialog = ErrorDlg
KB960384.log:68981:MSI (c) (0C:E0) [06:49:18:626]: Product: Microsoft Exchange Server - Update 'Update Rollup 7 for Exchange Server 2007 Service Pack 1 (KB960384) 8.1.359.2' could not be installed. Error code 1603. Additional information is available in the log file c:\KB960384.log.
KB960384.log:68984:MSI (c) (0C:E0) [06:49:18:626]: Unable to delete the file. LastError = 32 -
Web Diagtool error while testing for SPNEGO
Dear Experts,
I have configured SPNEGO and got some trace from web-daigtool. While connecting through portal, I get UNKNOWN ERROR in the login page. I have checked the j2ee user password and its fine..The trace is as below,
GSS Context created.
12:23:45:618 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 System.out Entered Krb5Context.acceptSecContext with state=STATE_NEW
12:23:45:618 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 System.out >>> EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
12:23:45:620 Error J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~rity.core.server.jaas.SPNegoLoginModule CreateContext failed: GSSException: Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31))
[EXCEPTION]
h1 GSSException: Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31))
at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:734)
at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:300)
at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:246)
at com.sap.security.core.server.jaas.SPNegoLoginModule.doHandshake(SPNegoLoginModule.java:612)
at com.sap.security.core.server.jaas.SPNegoLoginModule.login(SPNegoLoginModule.java:321)
at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:150)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:172)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
12:23:45:623 Error J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~rity.core.server.jaas.SPNegoLoginModule Error during handshake (has already been reported). Authentication failed.
12:23:45:623 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.engine.services.security Login module com.sap.security.core.server.jaas.SPNegoLoginModule from authentication stack spnego does not authenticate the caller.
12:23:45:623 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~m.sap.security.core.server.jaas.login() Entering method
12:23:45:623 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas No authenticated user found.
12:23:45:623 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with false
12:23:45:624 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.engine.services.security No user name provided.
12:23:45:624 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~m.sap.security.core.server.jaas.login() Entering method
12:23:45:624 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas No authenticated user found.
12:23:45:624 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with false
12:23:45:624 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.engine.services.security Unsuccessful login: no login module succeeded. The size of the used authentication stack spnego is 5.
12:23:45:625 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.engine.services.security Exception : No login module succeeded.
java.lang.Exception
at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1141)
at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:253)
at com.sap.engine.services.security.exceptions.BaseLoginException.<init>(BaseLoginException.java:134)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:172)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:131)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:303)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:96)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:186)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
..more error below12:23:45:626 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~m.sap.security.core.server.jaas.abort() Entering method
12:23:45:626 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Internal Login Module data has been reset.
12:23:45:626 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with true
12:23:45:626 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~m.sap.security.core.server.jaas.abort() Entering method
12:23:45:626 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with true
12:23:45:627 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~m.sap.security.core.server.jaas.abort() Entering method
12:23:45:627 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with true
12:23:45:627 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~][md=getUserAccountByLogonId][cl=19874] Entering method
12:23:45:627 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~][md=getUserAccountByLogonId][cl=19874] Found uniqueID for logonId J2EE_GUEST
12:23:45:627 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~][md=getUserAccountByLogonId][cl=19874] Exiting method with userAccount from cache
12:23:45:628 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~.security.core.server.jaas.initialize() Entering method with (Subject:
, javax.security.auth.login.LoginContext$SecureCallbackHandler@6f6b52b2)
12:23:45:628 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas The options of EvaluateTicketLoginModule in [spnego] authentication stack are: [{ume.configuration.active=true, trustediss1=OU=J2EE,CN=ABC, trustedsys1=ABC,555, trusteddn1=OU=J2EE,CN=ABC}].
12:23:45:628 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~s.constructor(Map, Properties, boolean) Entering method with ({System-ID=ABC, sap.security.auth.configuration.name=spnego, sap.security.auth.context.object=Security Context : session (0) for J2EE_GUEST created at Wed Mar 11 12:13:58 AST 2009}, <null>)
12:23:45:628 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas got [ume.configuration.active]: [true]
12:23:45:629 Warning J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas no authscheme found that has auth template spnego
12:23:45:629 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with [Ljava.lang.Object;@6f025d43
12:23:45:629 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~ity.core.server.jaas.getMergedOptions() Entering method
12:23:45:629 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with [Ljava.lang.Object;@43912a5
12:23:45:629 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas The options of EvaluateTicketLoginModule in [spnego] authentication stack after merge with UME properties are: [{ume.configuration.active=true, trustediss1=OU=J2EE,CN=ABC, system=ABC, client=555, j_authscheme=default, inclcert=0, trusteddn1=OU=J2EE,CN=ABC, ume.logon.httponlycookie=TRUE, alias=SAPLogonTicketKeypair, ume.logon.security.enforce_secure_cookie=FALSE, validity=8, keystore=TicketKeystore, trustedsys1=ABC,555, password=}].
12:23:45:629 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas The options of EvaluateTicketLoginModule in [spnego] authentication stack after adding the default values are: [{ume.configuration.active=true, trustediss1=OU=J2EE,CN=ABC, system=ABC, client=555, j_authscheme=default, inclcert=0, trusteddn1=OU=J2EE,CN=ABC, ume.logon.httponlycookie=TRUE, alias=SAPLogonTicketKeypair, sap.security.auth.configuration.name=spnego, ume.logon.security.enforce_secure_cookie=FALSE, validity=8, keystore=TicketKeystore, trustedsys1=ABC,555, password=}].
12:23:45:630 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method
12:23:45:630 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~.security.core.server.jaas.initialize() Entering method with (Subject:
, javax.security.auth.login.LoginContext$SecureCallbackHandler@6f6b52b2, {System-ID=ABC, sap.security.auth.configuration.name=spnego, sap.security.auth.context.object=Security Context : session (0) for J2EE_GUEST created at Wed Mar 11 12:13:58 AST 2009}, {ume.configuration.active=true})
12:23:45:630 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas The options of CreateTicketLoginModule in [spnego] authentication stack are: [{ume.configuration.active=true}].
12:23:45:630 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~s.constructor(Map, Properties, boolean) Entering method with ({System-ID=ABC, sap.security.auth.configuration.name=spnego, sap.security.auth.context.object=Security Context : session (0) for J2EE_GUEST created at Wed Mar 11 12:13:58 AST 2009}, <null>)
12:23:45:630 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas got [ume.configuration.active]: [true]
12:23:45:631 Warning J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas no authscheme found that has auth template spnego
12:23:45:631 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with [Ljava.lang.Object;@3ef710cd
12:23:45:631 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~ity.core.server.jaas.getMergedOptions() Entering method
12:23:45:631 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method with [Ljava.lang.Object;@4e702306
12:23:45:631 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas The options of CreateTicketLoginModule in [spnego] authentication stack after merge with UME properties are: [{ume.configuration.active=true, system=ABC, client=555, j_authscheme=default, inclcert=0, ume.logon.httponlycookie=TRUE, alias=SAPLogonTicketKeypair, ume.logon.security.enforce_secure_cookie=FALSE, validity=8, keystore=TicketKeystore, password=}].
12:23:45:632 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas The options of CreateTicketLoginModule in [spnego] authentication stack after adding the default values are: [{ume.configuration.active=true, system=ABC, client=555, j_authscheme=default, inclcert=0, ume.logon.httponlycookie=TRUE, alias=SAPLogonTicketKeypair, sap.security.auth.configuration.name=spnego, ume.logon.security.enforce_secure_cookie=FALSE, validity=8, keystore=TicketKeystore, password=}].
12:23:45:632 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.server.jaas Exiting method
12:23:45:632 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~.security.core.server.jaas.initialize() Entering method with (Subject:
, javax.security.auth.login.LoginContext$SecureCallbackHandler@6f6b52b2, {System-ID=ABC, sap.security.auth.configuration.name=spnego, sap.security.auth.context.object=Security Context : session (0) for J2EE_GUEST created at Wed Mar 11 12:13:58 AST 2009}, {ume.configuration.active=true})
12:23:45:635 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.engine.services.security Unsuccessful login: no login module succeeded. The size of the used authentication stack spnego is 5.
12:23:45:637 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.engine.services.security Exception
: No login module succeeded.
java.lang.Exception
at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1141)
at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:253)
at com.sap.engine.services.security.exceptions.BaseLoginException.<init>(BaseLoginException.java:134)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:172)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:848)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:186)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
12:23:45:637 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~m.sap.security.core.server.jaas.abort() Entering method
com.sap.security.core.server.jaas Exiting method with true
12:23:45:639 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~l.SecurityAudit][md=log(...)][cl=19874] ObjectID handed over is 'null'!
12:23:45:639 Warning J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 com.sap.security.core.util.SecurityAudit J2EE_GUEST | LOGIN.ERROR | null | | Login Method=[default], UserID=[null], IP Address=[10.150.162.205], Reason=[No login module succeeded.]
12:23:45:639 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~][md=getUserAccountByLogonId][cl=19874] Entering method
12:23:45:640 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~][md=getUserAccountByLogonId][cl=19874] Found uniqueID for logonId J2EE_GUEST
12:23:45:640 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~][md=getUserAccountByLogonId][cl=19874] Exiting method with userAccount from cache
12:23:45:646 Error J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~n.SAPMLogonLogic][md=doLogon][cl=22651] h1 doLogon failed
[EXCEPTION]
com.sap.security.core.logon.imp.UMELoginException
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:943)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:186)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
12:23:45:647 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~rBean][md=ErrorBean(Message)][cl=19874] message UNKNOWN_ERROR
12:23:45:648 Error J2EE_GUEST SAPEngine_Application_Thread[impl:3]_0 ~.util.ResourceBean][md=print][cl=19874] Message ID (UNKNOWN_ERROR) not found in properties files-UNKNOWN_ERROR
[EXCEPTION]
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key h1 UNKNOWN_ERROR
at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
at java.util.ResourceBundle.getObject(ResourceBundle.java:322)
at java.util.ResourceBundle.getString(ResourceBundle.java:285)
at com.sap.security.core.util.ResourceBean.getString(ResourceBean.java:119)
at com.sap.security.core.util.ResourceBean.print(ResourceBean.java:133)
at sapportalsjspumLogonPage.subDoContent(_sapportalsjsp_umLogonPage.java:538)
at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:67)
at sapportalsjspumLogonPage.service(_sapportalsjsp_umLogonPage.java:47)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service
12:23:48:712 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_38 ~.security.core.server.jaas.initialize() Entering method with (Subject:
, javax.security.auth.login.LoginContext$SecureCallbackHandler@6038a47d)
12:23:48:712 Debug J2EE_GUEST SAPEngine_Application_Thread[impl:3]_38 com.sap.security.core.server.jaas The options of EvaluateTicketLoginModule in [spnego] authentication stack are: [{ume.configuration.active=true, trustediss1=OU=J2EE,CN=ABC, trustedsys1=ABC,555, trusteddn1=OU=J2EE,CN=ABC}].
12:23:48:712 Path J2EE_GUEST SAPEngine_Application_Thread[impl:3]_38 ~s.constructor(Map, Properties, boolean) Entering method with ({System-ID=ABC, sap.security.auth.configuration.name=spnego, sap.security.auth.context.object=Security Context : session (0) for J2EE_GUEST created at Wed Mar 11 12:13:58 AST 2009}, <null>)
12:23:48:712 Info J2EE_GUEST SAPEngine_Application_Thread[impl:3]_38 com.sap.security.core.server.jaas got [ume.configuration.active]: [true] -
Problem with servlet after migrating from OC4J to WebLogic 10.3
I come across a problem when I was migrating from jDev 11g TP4 to production version in that step also server got changed from OC4J to webLogic.
I am running java http servlet along other jspx pages. When everything was on OC4J there was no problem whit security on this servlet ( servlet was under same authorization automatically, and I was able to create new application module on this servlet by createRootApplicationModule
) but when I changed to WebLogic 10.3 I come across a numerous problems. First one is solved i managed to put the servlet under same authorization as jspx pages by
*<servlet>*
*<servlet-name>report</servlet-name>*
*<servlet-class>path.to.class</servlet-class>*
*<security-role-ref>*
*<role-name>name</role-name>*
*<role-link>valid-users</role-link>*
*</security-role-ref>*
*</servlet>*
but when I trying to create new application module I get JBO-30003 error which is Caused by:
oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
Invalid null input: name
Has anybody any idea what I am doing wrong?
Thank you for your help, Rok Kogovšekfor example:
web.xml
<security-role>
<role-name>yourrole</role-name>
</security-role>
weblogic.xml
<security-role-assignment>
<role-name>yourrole</role-name>
<principal-name>wlsuser</principal-name > <!-- wlsuser is define at wls console-->
</security-role-assignment> -
Config Repository and Security management Tools, Attn Frank/anyone
Hi Frank:
I am trying to change permissions not from JDEV but from a "tool." Our customer might want to change permissions once delivered.
I looked over the link you sent me. I am somewhat confused. On Page 17, it says "use Application Server Control" for Users/Roles .
For policies, it says use JAAS Provider Tool (which is the command line tool, I guess). However, third column says Tools for JAAS Login Module (n/a).
I am assuming I have start start_oc4j.bat whether it is standalone or embedded.
"App Server Control" tool web-based and started via http://localhost:8888/em? Looks like there is a place to change default module. Wonder we can use the tool to set secure-web-app?
For policies, and JAAS AdminTool, how do I issue the commands. Is this the one to do with changing permissions? Do I have to specify all paths when issuing commands? Where are the commands doc?
I am testing in embedded environment, not standalone. Can I still use the above tools and how? (Any doc/examples)
Lastly, I am not even sure if I can use any of these? I use custom JAAS Login Module and the doc says "n/a". Does that mean I have to change permissions manually?
ThanksHi,
actually enterprise managed in OC4J might not be as powerful as EM in ApplicationServer. I never used both of them to configure security and instead used Textpad as I am feeling confident with the syntax to use.
Frank -
JDev11g : How to add java servlet under ADF security policies
I'm trying to set a same login on http servlet ( i create it trough wizard in jDev ) as it is for other .jspx pages.
I configured the jazn-data.xml and login ( user roles, realms ) is working fine.
But i can't configure http servlet to be under this authorization.
This problem occured when I was migrating from jDev 11g TP4 to production also from OC4J to WebLogic,
but if I create a new http servlet I am also unable to put it under JAZN authorization.
Thank you in advance for your help, Rok KogovšekI reproduced problem on new test application, it was working fine until I set up ADF Security by wizard.
I choose ADF Authentication and Authorization then Http Basic Authentication ( on real project is form based but probablly this doesn't matters )
then for Identy store I chose Application XML, no automatic grants and without redirect.
I also set inside web.xml this ( to put servlet under same login as other pages ).
*<security-constraint>*
*<web-resource-collection>*
*<web-resource-name>testServlet</web-resource-name>*
*<url-pattern>/test</url-pattern>*
*</web-resource-collection>*
*<auth-constraint>*
*<role-name>valid-users</role-name>*
*</auth-constraint>*
*</security-constraint>*
When I finish this i got same error as on first project.
Here is whole error:
oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (oracle.fod.mobile.testModuleLocal) failed to checkout an application module due to the following exception:
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2262)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1395)
at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1363)
at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1335)
at oracle.fod.mobile.testServlet.doGet(testServlet.java:22)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
Invalid null input: name
at oracle.adf.share.security.authentication.JAASAuthenticationService.doLogin(JAASAuthenticationService.java:120)
at oracle.adf.share.security.authentication.JAASAuthenticationService.login(JAASAuthenticationService.java:89)
at oracle.adf.share.security.authentication.JAASAuthenticationService.login(JAASAuthenticationService.java:71)
at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:62)
at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:29)
at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:6387)
at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:6356)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:171)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
... 25 more
Caused by: javax.security.auth.login.LoginException: Invalid null input: name
at javax.security.auth.login.LoginContext.init(LoginContext.java:229)
at javax.security.auth.login.LoginContext.(LoginContext.java:367)
at javax.security.auth.login.LoginContext.(LoginContext.java:444)
at oracle.adf.share.security.authentication.JAASAuthenticationService.doLogin(JAASAuthenticationService.java:102)
... 36 more
*And here is the sample application on which i reproduced this error [http://www.k-invent.si/doc/testServlet.zip|https://marvin/exchweb/bin/redir.asp?URL=http://www.k-invent.si/doc/testServlet.zip]*
Thank you for your help, Rok Kogovšek -
HTTP Error 400 on Tomcat 5.0.28 and JAAS
Hi
I have this problem every time I send an Authentication Request using JAAS. I've a login form and, after I send my request, LoginModule starts to process it. The problem is that, viewing the tomcat log output, the authentication goes well, but Tomcat send me a HTTP error code 400 which means "Invalid direct reference to form login page".
If I reload the login form, not back button, and retype my credentials, I reach to enter in my website. Tomcat send me a HTTP code 302, then load my home page.
This is the login HTTP message:
POST /j_security_check HTTP/1.1
Host: localhost:1999
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost/xxxx/index
Cookie: JSESSIONID=8F91E0B617B45C1BC772E370481C8FCF
Content-Type: application/x-www-form-urlencoded
Content-Length: 65
j_username=user&j_password=pass&Submit=LoginAnd this is the login form:
<form method="post" action ="j_security_check" name="loginform" >
<table width="100%" cellpadding="2" cellspacing="0" class="corpo">
<tr>
<td><div align="right">Username</div></td>
<td width="20%"><input type="text" class="corpo" name="j_username" /></td>
</tr>
<tr>
<td><div align="right">Password</div></td>
<td width="20%"><input type="password" class="corpo" name="j_password" /></td>
</tr>
<tr>
<td> </td>
<td><div align="right">
<input type="submit" class="bottone" name="Submit" value="Login" /><br />
<a href="javascript:apriFinestra('<%= request.getContextPath() %>/jsp/password.jsp', '', '400px', '400px');" class="corpo"><%=lu.resource(rb, "HOME.forgot") %> </a>
</div></td>
</tr>
</table>
</form>There've been issues when running in the embedded OC4J server where logged messages don't appear at all - I suspect this is happening on both environments, but you're only seeing the message on Tomcat.
If you look in the HTML, you'll see a <!-- ILLEGAL HTML: --> comment where the problem occurs, and you should be able to trace that content back to the components you're using at that spot. Could you let us know what combination of components produces this error? (The problem is exactly what the error message says: HTML does not allow <img> directly inside of <table>, but that's what got produced.) -
JAAS Login Module development/deployment - getting en error
Guys,
I have developed a JAAS Login Module (as per the SAP documentation) and configured the J2EE Engine (as per the SAP documentation) for this module to sit amongst several other standard modules, but I have a problem. I am unable to get the Module working on one portal instance and I am getting an error in the default.trc file when the server restarts after SDM deployment.
The error is: "cannot load login module class....... java.lang.ClassNotFoundException........"
The whole thing works on another instance of EP6 SP16,17 and 18..... however it does not work on this one completely separate instance (there probably are configuration difference between these instances!)
Im not quite sure, given this set of circumstances, what could be causing the Login Module not to load. Which part of the configuration of the J2EE engine should I look in, something perhaps overlooked in the documentation?
Thanks
AdrianWith some help I have now solved this.
In the properties tab of Security Provider, the reference to your login module in the classloader needs to be prefixed with library:~<provider>. For the default SAP example the provider in com.sap...... or whatever you have changed it to. -
I was trying to run the JAAS1.0 sample on win2000, jdk1.3. I have followd the steps with regard to the classpath and editing the policy files (with '/') etc. But when I run it I get this error:
C:\jaas>java -classpath lib\jaas.jar;doc\samples\sample.jar;doc\samples\sample
action.jar;doc\samples\samplemodule.jar -Djava.security.manager -Djava.securit
y.policy=doc\samples\config\sample_java2.policy -Djava.security.auth.policy=doc\
samples\config\sample_jaas.policy -Djava.security.auth.login.config=doc\samples
\config\sample_jaas.config sample.Sample
Exception in thread "main" java.lang.ExceptionInInitializerError: java.security.
AccessControlException: access denied (java.util.PropertyPermission java.securit
y.auth.debug read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at javax.security.auth.login.Debug$1.run(Debug.java:27)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.Debug.<clinit>(Debug.java:24)
at javax.security.auth.login.LoginContext.<clinit>(LoginContext.java:147
at sample.Sample.main(Sample.java:41)
Thanks a lot,
SanjayCan you post your conf and policy files.
Problems are often form there.
Yann -
jaas sample progrma in weblogic 6.1 giving the following error java.lang.SecurityException:
attempting to add an object which is not an instance of java.security.Principal
to a Subjec
on runnig the program during the call of method Authenticate.authenticate(env,
subject); giving following exceptions Error: Login Exception on authenticate,
java.lang.SecurityException: attempting to add an object which is not an instance
of java.security.Principal to a Subjec t's Principal Set Authentication Failed:
Unexpected Exception, javax.security.auth.login.LoginExce ption: java.lang.SecurityException:
attempting to add an object which is not an instance of java.security.Principal
to a Subject's Principal Set javax.security.auth.login.LoginException: javax.security.auth.login.LoginExcepti
on: java.lang.SecurityException: attempting to add an object which is not an ins
tance of java.security.Principal to a Subject's Principal Set at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java
:192) at java.lang.reflect.Method.invoke(Native Method) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1 25) at
javax.security.auth.login.LoginContext$3.run(LoginContext.java:531) at java.security.AccessController.doPrivileged(Native
Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java
:528) at javax.security.auth.login.LoginContext.login(LoginContext.java:449) at
examples.security.jaas.SampleClient.main(SampleClient.java:96)
1)what is the reason for this problem
2)in weblogic document they told to edit server.policy file in webligic\lib folder
a)what the modification is needed in this file..?Hi jerry
i already got that problem solved by removing jaas.jar file
from class path.
i don'nt how it is working with out in classpath...?
Jerry <[email protected]> wrote:
Hi Nivas,
I think that the problem you are seeing has something to do with the
placement of jaas.jar in your classpath
On WebLogic server, put jaas.jar in the classpath after weblogic.jar.
I would bet that you have it placed before weblogic.jar right now.
I don't think the exception that you're seeing right now has anything
to do with your weblogic.policy file right now, so I think it is
safe to not worry about it right now.
Hope this helps,
Joe Jerry -
Error from sample JAAS: Integrity check on decrypted field failed (31)
I am trying to follow the tutorial for JAAS Authentication located here:
http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/tutorials/AcnOnly.html
I am trying to run the sample JaasAcn.java but am getting a strange error when I try to log on to my Active Directory.
I am using Java version: jre1.6.0_03
I can login to Active Directory fine with the credentials I am providing, just not with this client, so I know the credentials are valid.
What could this mean?
The Error message is: [Krb5LoginModule] authentication failed
Integrity check on decrypted field failed (31)
Here is the full output:
C:\Progra~1\Java\jre1.6.0_03\bin\java -Dsun.security.krb5.debug=true -Djava.security.krb5.realm=PRSDev.local -Djava.security.krb5.kdc=192.168.40.72 -Djava.security.auth.login.config=jaas.conf JaasAcn
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt f
alse ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is fa
lse principal is null tryFirstPass is false useFirstPass is false storePass is f
alse clearPass is false
Kerberos username [ILea]: sra
Kerberos password for sra:
[Krb5LoginModule] user entered username: sra
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
Acquire TGT using AS Exchange
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
KrbAsReq calling createMessage
KrbAsReq in createMessage
KrbKdcReq send: kdc=192.168.40.72 UDP:88, timeout=30000, number of retries =3, #bytes=144
KDCCommunication: kdc=192.168.40.72 UDP:88, timeout=30000,Attempt =1, #bytes=144
KrbKdcReq send: #bytes read=587
KrbKdcReq send: #bytes read=587
EType: sun.security.krb5.internal.crypto.DesCbcMd5EType[Krb5LoginModule] authentication failed
Integrity check on decrypted field failed (31)
Authentication failed:
Integrity check on decrypted field failed (31)FYI The fix for this was to chang the value for -Djava.security.krb5.realm to be all upper case
Once that change was made authentication passed
Edited by: IDL on Jan 2, 2008 9:25 AM -
Error from sample JAAS client: Message stream modified (41)
I am trying to follow the tutorial for JAAS Authentication located here:
http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/tutorials/AcnOnly.html
I am trying to run the sample client JaasAcn.java but am getting a strange error when I try to log on to my Active Directory.
I am using Java version: jre1.6.0_03
I can login to Active Directory fine with the credentials I am providing, just not with this client, so I know the credentials are valid.
Here is the error I get that I don't understand. Any suggestions would be very helpful, if you provide help for this
The Error message is: [Krb5LoginModule] authentication failed
Message stream modified (41)
Here is the full output:
C:\Progra~1\Java\jre1.6.0_03\bin\java -Dsun.security.krb5.debug=true -Djava.security.krb5.realm=PRSDev.local -Djava.security.krb5.kdc=192.168.40.72 -Djava.security.auth.login.config=jaas.conf JaasAcn
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt f
alse ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is fa
lse principal is null tryFirstPass is false useFirstPass is false storePass is f
alse clearPass is false
Kerberos username [ILea]: sra
Kerberos password for sra:
[Krb5LoginModule] user entered username: sra
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
Acquire TGT using AS Exchange
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
KrbAsReq calling createMessage
KrbAsReq in createMessage
KrbKdcReq send: kdc=192.168.40.72 UDP:88, timeout=30000, number of retries =3, #bytes=144
KDCCommunication: kdc=192.168.40.72 UDP:88, timeout=30000,Attempt =1, #bytes=144
KrbKdcReq send: #bytes read=202
KrbKdcReq send: #bytes read=202
KDCRep: init() encoding tag is 126 req type is 11
KRBError:sTime is Mon Dec 31 11:56:40 PST 2007 1199131000000
suSec is 884978
error code is 25
error Message is Additional pre-authentication required
realm is PRSDev.local
sname is krbtgt/PRSDev.local
eData provided.
msgType is 30
Pre-Authentication Data:PA-DATA type = 11
PA-ETYPE-INFO etype = 23
Pre-Authentication Data:PA-DATA type = 2
PA-ENC-TIMESTAMP
Pre-Authentication Data:PA-DATA type = 15
AcquireTGT: PREAUTH FAILED/REQUIRED, re-send AS-REQ
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
Pre-Authentication: Set preferred etype = 23
KrbAsReq salt is PRSDev.localsraPre-Authenticaton: find key for etype = 23
AS-REQ: Add PA_ENC_TIMESTAMP now
EType: sun.security.krb5.internal.crypto.ArcFourHmacEType
KrbAsReq calling createMessage
KrbAsReq in createMessage
KrbKdcReq send: kdc=192.168.40.72 UDP:88, timeout=30000, number of retries =3, #bytes=210
KDCCommunication: kdc=192.168.40.72 UDP:88, timeout=30000,Attempt =1, #bytes=210
KrbKdcReq send: #bytes read=1182
KrbKdcReq send: #bytes read=1182
EType: sun.security.krb5.internal.crypto.ArcFourHmacEType[Krb5LoginModule] authentication failed
Message stream modified (41)
Authentication failed:
Message stream modified (41)FYI I have fixed this problem (and moved on to the next error)
I disabled the preauthentication requirement on the Active Directory account according to this article:
http://technet2.microsoft.com/windowsserver/en/library/a0bd7520-ef2d-4de4-b487-e105a9de9e4f1033.mspx?mfr=true
Maybe you are looking for
-
Dear All, We are following project sub-contracting process. As per SAP recommendation, we have created a new storage location for vendor as XXXX u2013 Vendor storage location. And we are sending material to vendors with movement type 311 u2013 Q. Wh
-
IMac i5 HDD temperature concerns
I've been using my iMac for a week now, (hate to say this as to jinx), without issues. It's fantastic. I'm loving it. I have one concern. SMART results are flagging the temperature as a fail, with steady drive temps always around 50 - 52 degrees Cels
-
Messages regularly hangs entire OS
My wife and I have almost identical machines: Mid 2009 MBP running 10.8.2. Several times a week, the Messages app causes the entire OS to hang until we force quit it. The second I force quit, everything is back to normal. I'm having trouble googling
-
Is it secure to store username and password in session?
I need to call web services from an ADF page. As I know the only way that I can free users from entering username/passwords again is keeping username/password in session variables. then in the proxy code I can call the web service through such a code
-
How to create local store adapters in bulk without using ODSM in OVD
Hello, Our requirement is to create 62 local store adapters in OVD Hence, it can not be done using manual effort I have tried to do this using below approach: Create an ldif containing 62 groups Update adapters.os_xml to have the 62 nodes of "standar