Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4385559

ServerRequestInfo.result() & arguments() throws NO_RESOURCES DSI-based servants

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • merlin
    • sparc
    • solaris_7
    • Not verified

      ServerRequest.arguments() and ServerRequest.set_result() is done for DSI-based servants in the servant implementation. Even then arguments() and result() are throwing org.omg.CORBA.NO_RESOURCES exception in send_reply interception point in ServerRequestInterceptor.

      Test case is attached to reproduce the problem.

      <STACK-TRACE>
      Accessing arguments ...
      org.omg.CORBA.NO_RESOURCES: The Portable Java Bindings do not support arguments() minor code: 1330446337 completed: No
              at com.sun.corba.ee.internal.Interceptors.ServerRequestInfoImpl.arguments(ServerRequestInfoImpl.java:357)
              at examples.SRInterceptorImpl_DSI.send_reply(SRInterceptorImpl_DSI.java:52)
              at com.sun.corba.ee.internal.Interceptors.InterceptorInvoker.invokeServerInterceptorEndingPoint(InterceptorInvoker.java:503)
              at com.sun.corba.ee.internal.Interceptors.PIORB.invokeServerPIEndingPoint(PIORB.java:742)
              at com.sun.corba.ee.internal.iiop.ServerResponseImpl.<init>(ServerResponseImpl.java:58)
              at com.sun.corba.ee.internal.iiop.ServerResponseImpl.<init>(ServerResponseImpl.java:29)
              at com.sun.corba.ee.internal.iiop.ServerRequestImpl.createResponse(ServerRequestImpl.java:93)
              at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
              at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:265)
              at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:89)
              at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:91)
      Arguments done.
      Accessing result ...
      org.omg.CORBA.NO_RESOURCES: The Portable Java Bindings do not support result() minor code: 1330446337 completed: No
              at com.sun.corba.ee.internal.Interceptors.ServerRequestInfoImpl.result(ServerRequestInfoImpl.java:416)
              at examples.SRInterceptorImpl_DSI.send_reply(SRInterceptorImpl_DSI.java:59)
              at com.sun.corba.ee.internal.Interceptors.InterceptorInvoker.invokeServerInterceptorEndingPoint(InterceptorInvoker.java:503)
              at com.sun.corba.ee.internal.Interceptors.PIORB.invokeServerPIEndingPoint(PIORB.java:742)
              at com.sun.corba.ee.internal.iiop.ServerResponseImpl.<init>(ServerResponseImpl.java:58)
              at com.sun.corba.ee.internal.iiop.ServerResponseImpl.<init>(ServerResponseImpl.java:29)
              at com.sun.corba.ee.internal.iiop.ServerRequestImpl.createResponse(ServerRequestImpl.java:93)
              at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
              at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:265)
              at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:89)
              at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:91)
      Result done.
      </STACK-TRACE>

      ********************************************************************************
      Ramshankar Rajha: 2001-08-15

      -Fix verified ok
       1) with build: j2sdk-1_4_0-beta_refresh-bin-b75-solsparc-09_arg_2001
       2) with test:
         tests/product/pi/bugs/bug_4385559

      -I am using muthu's bugtraq id to close the bugs. while i am waiting for my id to get activated.
      ********************************************************************************

            mrothsunw Mark Roth (Inactive)
            arungup Arun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: