Hi,

A very strange problem accesing JBoss from Tomcat running in differente JVM.

Jboss 4.0.5
tomcat 5.5.17
jvm 1.5.08
xfire 1.2.3

I'll describe my instalation:

    Jboss ->  Stateless-Session userAuthorization
             ->  Stateless-Session calculator

    tomcat (in differente JVM) front end to jboss Stateless-Session

    tomcat has in it's share class-loader all jboss-client jars (except
jws), and then
    all xfire jars (in that order)

    When a user needs to run a service this needs to be done:

        Obtain a ticket from web-service userAuthorization
           The web-service obtains a ticket calling EJB userAuthorization

        Use this ticket to call calculator's methods (example add(ticket,
num, num))
            The web-service validates ticket against EJB userAuthorization
                                      call the corresponding calculator
method

The problem:
        The consumer obtain the ticket without problem
        When he tries to call the calculator method, the ticket validation
           gives a strange ClassCastException in Jboss generated Proxy.

        if I wait 60 seconds between the 2 calls all works fine (????)
        if I wait less than 60 seconds, the same problem appears.

What I tested:
        I make a client calling directly jboss from java, all works ok
        I make a standard servlet deployed in my tomcat that receives
            an URL and does the two calls, it worked ok
        I make a WS-Client the problem appears
        I tried with soapui the problem appears


Any ideas where or what to look for will be greatly apreciatted.
Thanks in advance
tonio                    
-- 
View this message in context: 
http://www.nabble.com/Tomcat-Jboss-problem-tf2895466.html#a8089691
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to