OK, here is the exception:
 
 
  (Message #0 targetURI=administrationFacade.logoutUser, responseURI=/2)
    (Array #0)
      [0] = (Object #1)
        _flag = "Envelope"
        headers = (Array #2)
          [0] = (Array #3)
            [0] = "ServiceType"
            [1] = false
            [2] = "stateless-class"
          [1] = (Array #4)
            [0] = "Credentials"
            [1] = true
            [2] = (Object #5)
              password = "txmpass"
              userid = "txmadmin"
        data = "" #6)
13:23:09,910 INFO  [STDOUT] Info: Processing batch of 1 request(s)
13:23:09,910 INFO  [STDOUT] Info: Requesting target 'administrationFacade.logout
User'
13:23:09,910 INFO  [STDOUT] Info: Service 'com.bmc.txm.common.interfaces.present
ation.facade.AdministrationDataFacade' sent to adapter 'Java Class Adapter'
13:23:09,910 INFO  [STDOUT] before getHttpRequest
13:23:10,040 INFO  [STDOUT] Error: flashgateway/Gateway
13:23:10,040 INFO  [STDOUT] flashgateway.GatewayException: flashgateway/Gateway
13:23:10,040 INFO  [STDOUT]     at flashgateway.filter.AdapterFilter.invoke(Adap
terFilter.java:152)
13:23:10,040 INFO  [STDOUT]     at flashgateway.filter.MessageSecurityFilter.inv
oke(MessageSecurityFilter.java:144)
13:23:10,040 INFO  [STDOUT]     at flashgateway.filter.ServiceNameFilter.invoke(
ServiceNameFilter.java:101)
13:23:10,040 INFO  [STDOUT]     at flashgateway.filter.EnvelopeFilter.invoke(Env
elopeFilter.java:102)
13:23:10,080 INFO  [STDOUT]     at flashgateway.filter.SessionFilter.invoke(Sess
ionFilter.java:28)
13:23:10,080 INFO  [STDOUT]     at flashgateway.filter.LicenseFilter.invoke(Lice
nseFilter.java:57)
13:23:10,080 INFO  [STDOUT]     at flashgateway.filter.ErrorFilter.invoke(ErrorF
ilter.java:39)
13:23:10,080 INFO  [STDOUT]     at flashgateway.filter.LogFilter.invoke(LogFilte
r.java:46)
13:23:10,080 INFO  [STDOUT]     at flashgateway.filter.BatchProcessFilter.invoke
(BatchProcessFilter.java:63)
13:23:10,080 INFO  [STDOUT]     at flashgateway.filter.PacketSecurityFilter.invo
ke(PacketSecurityFilter.java:68)
13:23:10,080 INFO  [STDOUT]     at flashgateway.filter.DebugFilter.invoke(DebugF
ilter.java:38)
13:23:10,080 INFO  [STDOUT]     at flashgateway.filter.SerializationFilter.invok
e(SerializationFilter.java:89)
13:23:10,080 INFO  [STDOUT]     at flashgateway.Gateway.invoke(Gateway.java:217)
13:23:10,080 INFO  [STDOUT]     at flashgateway.controller.GatewayServlet.servic
e(GatewayServlet.java:69)
13:23:10,080 INFO  [STDOUT]     at javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:810)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:252)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:173)
13:23:10,080 INFO  [STDOUT]     at org.jboss.web.tomcat.filters.ReplyHeaderFilte
r.doFilter(ReplyHeaderFilter.java:81)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:202)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:173)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.core.StandardWrapperValve
.invoke(StandardWrapperValve.java:213)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.core.StandardContextValve
.invoke(StandardContextValve.java:178)
13:23:10,080 INFO  [STDOUT]     at org.jboss.web.tomcat.security.CustomPrincipal
Valve.invoke(CustomPrincipalValve.java:39)
13:23:10,080 INFO  [STDOUT]     at org.jboss.web.tomcat.security.SecurityAssocia
tionValve.invoke(SecurityAssociationValve.java:159)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.authenticator.Authenticat
orBase.invoke(AuthenticatorBase.java:407)
13:23:10,080 INFO  [STDOUT]     at org.jboss.web.tomcat.security.JaccContextValv
e.invoke(JaccContextValve.java:59)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.core.StandardHostValve.in
voke(StandardHostValve.java:126)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.valves.ErrorReportValve.i
nvoke(ErrorReportValve.java:105)
13:23:10,080 INFO  [STDOUT]     at flashgateway.security.TomcatValve.invoke(Tomc
atValve.java:109)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.core.StandardEngineValve.
invoke(StandardEngineValve.java:107)
13:23:10,080 INFO  [STDOUT]     at org.apache.catalina.connector.CoyoteAdapter.s
ervice(CoyoteAdapter.java:148)
13:23:10,080 INFO  [STDOUT]     at org.apache.coyote.http11.Http11Processor.proc
ess(Http11Processor.java:856)
13:23:10,080 INFO  [STDOUT]     at org.apache.coyote.http11.Http11Protocol$Http1
1ConnectionHandler.processConnection(Http11Protocol.java:744)
13:23:10,080 INFO  [STDOUT]     at org.apache.tomcat.util.net.PoolTcpEndpoint.pr
ocessSocket(PoolTcpEndpoint.java:527)
13:23:10,090 INFO  [STDOUT]     at org.apache.tomcat.util.net.MasterSlaveWorkerT
hread.run(MasterSlaveWorkerThread.java:112)
13:23:10,090 INFO  [STDOUT]     at java.lang.Thread.run(Thread.java:595)
13:23:10,090 INFO  [STDOUT] Info: Serializing response
  (Message #0 targetURI=/2/onStatus, responseURI=null)
    (Object #0)
      level = "error"
      code = "Server.Processing"
      type = ""
      rootcause = (Object #1)
        level = "error"
        code = null
        type = ""
        details = ""
        description = "flashgateway/Gateway"
      details = ""
      description = "flashgateway/Gateway"


Douglas Knudsen <[EMAIL PROTECTED]> wrote:
this is what we use.  Popst the exception here, eh?  We are running JRun  and the below works fine.
 
DK

 
On 4/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I tried that with the following code, but any call to the gateway raises an exception.  We are using flex 1.5 and tomcat 5.5 w/jboss.   Is there an incompatability issue here?
 
 
          System.out.println("before invalidate session");
          flashgateway.Gateway.getHttpRequest().getSession().invalidate();
          System.out.println("after invalidate session");

        
Matt Chotin <[EMAIL PROTECTED]> wrote:
I think for 1.5 you need to write your own RemoteObject that will get
the HTTPSession from the Gateway and invalidate it.  Then on the client
you can clearUsernamePassword as well.

Matt

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of jfournet
Sent: Saturday, April 15, 2006 4:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] logout remote object in flex

I need to logout a remoteobject in flex to destroy the users security
creditials.   I don't see anyway to do this in flex 1.5.  Any help
would be appreciated.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links









Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.


YAHOO! GROUPS LINKS

  •  Visit your group "flexcoders" on the web.
     
  •  To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





    • --
      Douglas Knudsen
      http://www.cubicleman.com
      this is my signature, like it?


      Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.


      --
      Flexcoders Mailing List
      FAQ:
      http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
      Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




      YAHOO! GROUPS LINKS




      Reply via email to