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

can't use: javac -verbose

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1
    • tools
    • None
    • x86
    • windows_95



      Name: mc57594 Date: 01/20/97


      given file does not compile with -verbose switch

      /**************************************************************************
      Copyright (c) 1995-6 IONA Technologies Ltd.
      All Rights Reserved
       
      THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Iona Technologies
       
      The copyright notice above does not evidence any
      actual or intended publication of such source code.
       
      The information contained herein is TRADE SECRET and
      PROPRIETARY INFORMATION of IONA Technologies Ltd.and is not to
      be disclosed without the express written consent of IONA
      Technologies Ltd.
       
      *****************************************************************************/
       
      //
      // Configure Class - shipped code.
      //

      package IE.Iona.Orbix2;

      import IE.Iona.Orbix2.CORBA.BOA;

      /**
       * This class is used to configure the default functionality of the
      OrbixWeb
       * product. The source of this class will be shipped with the product so
      that
       * the defaults can be altered by application programmers.
       *
       * This class is loaded when _CORBA is referenced.
       */

      public class Configure {
        // ---- Constructors -------------------------------------------------

        /**
         * This class is never instatiated. All members are static.
         */
        private Configure() {}


        // ---- Default variables
      ---------------------------------------------

        static public void loadStatics() {

        /**
         * Use the IIOP or Orbix Protocol as the default when calling _bind()
         */

        _CORBA.IT_BIND_USING_IIOP = true;

        /**
         * Default port used when communicating with the orbixd
         * Note you must also update Orbix.cfg.
         */

        _CORBA.IT_ORBIXD_PORT = 1570;

        /**
         * Default port used when communicating with the orbixd using IIOP
         * Note you must also update Orbix.cfg.
         */

        _CORBA.IT_ORBIXD_IIOP_PORT = 1571;


        /**
         * Switch on/off accepting connections. Must be switched off for
         * Netscape 2.x due to security restriction (o.k. in NS 3.x and
         * other tested browsers), but this limits server-side support to
      callbacks
         * initiated via Orbix protocol - IIOP requires that the client
      accepts
         * a new connection from the server to process callbacks, but
         * Orbix allows the callbacks to share the existing client/server
         * connection.
         */

        _CORBA.IT_ACCEPT_CONNECTIONS = true;

        /**
         * The port on which to listen for incoming IIOP connections from
      clients.
         *
         * Setting this port to zero results in a port being dynamically
      assigned
         * either from the orbixd (via a call to 'impl_is_ready') or by the
      runtime
         * when an object reference is exported to an IIOP client (either
         * in an IOR or as an operation parameter).
         *
         * Setting this value to non-zero implies the server will attempt to
      listen
         * on the specified port for IIOP connections (orbix protocol
      connections
         * will be accepted on the port obtained from the orbix daemon). If
      the
         * port is busy, this will fail - but it can be useful if it is
      desired
         * that the server should listen on a "well-known" port.
         */

        _CORBA.IT_IIOP_LISTEN_PORT = 0;

        /**
         * Server object table size. Must be set before BOA is initialised
      below.
         */

        _CORBA.IT_OBJECT_TABLE_SIZE = 500;

        /**
         * Initiaise _CORBA.Orbix to be either an ORB (client-only) or a BOA.
         * Default here is BOA with the parameters above.
         *
         * Use "_CORBA.Orbix=new IE.Iona.Orbix2.CORBA.ORB();" to create an
         * ORB (client-only) object.
         */

        _CORBA.Orbix = new IE.Iona.Orbix2.CORBA.BOA();

      // _CORBA.Orbix = new IE.Iona.Orbix2.CORBA.ORB();

        /**
         * The local DNS domain name, used in server
         */

      _CORBA.IT_LOCAL_DOMAIN="ponton.uni-hannover.de";

        /**
         * Default priority for server listener threads.
         */

        _CORBA.IT_LISTENER_PRIORITY = 5;

        /**
         * Default priority for server connection reader threads.
         */

        _CORBA.IT_READER_PRIORITY = 3;

        /**
         * The initial allocation size for marshalling buffers.
         */

        _CORBA.IT_BUFFER_SIZE = 8192;

        /**
         * The initial client-side request cache size.
         * Indicates the number of outstanding requests allowed.
         */

        _CORBA.IT_REQ_CACHE_SIZE = 10;

        /**
         * Support for resolving Name Service reference as IOR.
         */

        _CORBA.IT_NS_HOSTNAME = _CORBA.Orbix.myHost(); // for host in NS IOR
        _CORBA.IT_NS_PORT = _CORBA.IT_ORBIXD_IIOP_PORT; // initial
      request to daemon;
      // it will forward to NS
        };
      };

      ======================================================================

            nishimur Naoyuki Ishimura (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: