glassfish
  1. glassfish
  2. GLASSFISH-11107

[Regression] appclient corba exceptions during the deployment test execution.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: not determined
    • Component/s: standalone_client
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      11,107

      Description

      This is a regression issue, first time it happened when I've run the
      deployment test against b72. The whole test has four executions of appclient.
      Three of then create this esxeption, and correspondingly the appclient
      execution failed:
      ======================================================================
      java.rmi.ServerException: RemoteException occurred in server thread; nested
      exception is:
      java.rmi.AccessException: Client is not authorized for this invocation.
      at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:242)
      ..............................................................
      =================================================================
      See the full output at the bottom. I can not reproduce this issue manually, but
      I see it constantly during the whole deployment test execution. So I've
      decided to open this bug for the record, may be later we will find what caused
      this problem.

      =============================================================================
      com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates
      INFO: Using
      com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the
      delegate
      Caught an unexpected exception!
      java.rmi.ServerException: RemoteException occurred in server thread; nested
      exception is:
      java.rmi.AccessException: Client is not authorized for this invocation.
      at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:242)
      at
      com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:200)
      at
      com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:147)
      at
      com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:225)
      at
      samples.ejb.timersession.ejb._TimerSessionHome_DynamicStub.create(samples/ejb/timersession/ejb/_TimerSessionHome_DynamicStub.java)
      at samples.ejb.timersession.client.TimerSessionClient.main(Unknown Source)
      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:597)
      at
      org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:424)
      at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
      at
      org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
      Caused by: java.rmi.AccessException: Client is not authorized for this invocation.
      at
      com.sun.ejb.containers.BaseContainer.authorizeRemoteMethod(BaseContainer.java:2063)
      at
      com.sun.ejb.containers.StatelessSessionContainer.createEJBObjectImpl(StatelessSessionContainer.java:312)
      at com.sun.ejb.containers.EJBHomeImpl.createEJBObjectImpl(EJBHomeImpl.java:111)
      at
      com.sun.ejb.containers.EJBHomeInvocationHandler.invoke(EJBHomeInvocationHandler.java:230)
      at $Proxy1323.create(Unknown Source)
      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:597)
      at
      com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:146)
      at
      com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:176)
      at
      com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:682)
      at
      com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:216)
      at
      com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1841)
      at
      com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:221)
      at
      com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:797)
      at
      com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:561)
      at
      com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2558)
      at
      com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:492)
      at
      com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:528)

        Activity

        Hide
        easarina added a comment -

        Created an attachment (id=3958)
        timersession.ear

        Show
        easarina added a comment - Created an attachment (id=3958) timersession.ear
        Hide
        Hong Zhang added a comment -

        assign to tim to take a look

        Show
        Hong Zhang added a comment - assign to tim to take a look
        Hide
        Tim Quinn added a comment -

        Adding Ken C. since the ORB is in the picture as well.

        Not clear at this point whether the problem is in the ACC, the ORB, or somewhere
        else entirely. Given that the error occurs only during the four-test run, and
        not manually, suggests there could be a race condition somewhere.

        Show
        Tim Quinn added a comment - Adding Ken C. since the ORB is in the picture as well. Not clear at this point whether the problem is in the ACC, the ORB, or somewhere else entirely. Given that the error occurs only during the four-test run, and not manually, suggests there could be a race condition somewhere.
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

          People

          • Assignee:
            Tim Quinn
            Reporter:
            easarina
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: