WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-15-07 06:24 PM

Hello
I'm running WAS 6.1.0.5.
The stack trace below comes up when trying to log out of the application.
I don't have any problems on WAS 5.1.
Thank you for any help.

HTML logout code:
<p>
<form method=post action=ibm_security_logout>
<table bgcolor="#0090DD" width="100%" cellpadding=&qu
ot;2" cellspacing="0">
<th align=right><input type=submit class="formButton" val
ue=Logout></th>
</table>
<input type=hidden name=logoutExitPage value=/html/login.html></for
m>
<p>

Stack Trace:
[7/15/07 13:05:33:111 EDT] 0000002d WebContainer  E   SRVE0232E: Interna
l Server Error. <br> Exception Message: [java.lang.ClassCastExcept
ion: com.ibm.ejs.csi.DefaultComponentMetaData incompatible with com.ibm.wssp
i.wswebcontainer.metadata.WebCompon
entMetaData
at com.ibm.ws.wswebcontainer.webapp.WebAppDispatcherContext.isSecurityEnable
dForApplication(WebAppDispatcherContext.java:91)
at com.ibm.ws.webcontainer.srt.SRTServletRequest.getRemoteUser(SRTServletReq
uest.java:1148)
at com.ibm.ws.security.web.FormLogoutExtensionProcessor.formLogout(FormLogou
tExtensionProcessor.java:231)
at com.ibm.ws.security.web.FormLogoutExtensionProcessor.handleRequest(FormLo
goutExtensionProcessor.java:174)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3146)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:14
33)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:10
0)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination
(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation
(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL
ReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Aio
ReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.j
ava:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncF
uture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:
743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)





[ Post a follow-up to this message ]



    Re: WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout  
Brian S Paskin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-16-07 12:28 AM

Hi,

I just tried it on 6.1.0.5 and it works fine for me. You may want to try the
 example I am including on the IBM Forum on DeveloperWorks.  It is a simple 
test to logon and logoff.

Brian





[ Post a follow-up to this message ]



    Re: WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-17-07 12:22 AM

Thank you Brian.
The example you gave produced the same error.
j_security_check works fine although the session never terminates even after
 closing IE.





[ Post a follow-up to this message ]



    Re: WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout  
Brian S Paskin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-17-07 12:22 AM

Hi, You will have to open a problem report with IBM to solve this one.

Brian





[ Post a follow-up to this message ]



    Re: WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-18-07 06:26 PM

Thanks for your suggestion Brian.
One other odd thing is that the ibm_security_logout works fine in the Admin 
Console.
Is the ibm_security_logout something that can be defined when installing a n
ew application?





[ Post a follow-up to this message ]



    Re: WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout  
Brian S Paskin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-18-07 06:26 PM

Hi, There is no way I know of to define the security logout besides the way 
it is currently implemented.

Brian





[ Post a follow-up to this message ]



    Re: WAS 6.1 SRVE0232E ClassCastException from ibm_security_logout  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-24-07 06:26 PM

This ended up being something wrong with the security on Web Sphere.
We had it enabled at the server level but not the Web Sphere level.
After turning it on at the Web Sphere level the app was able to use ibm_secu
rity_logout.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:17 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register