0 Replies Latest reply: Oct 30, 2003 2:46 AM by 807581 RSS

    Unable to start iiopserver

    807581
      I'm trying to run the example of JExpenseNB using the following combination in one single machine: -
      -UDS 5.0.18
      -iIS 3.0.10
      -J2SDK1.4.1_02 (requirement said 1.2.2)

      I'd fix some bugs like using idlj instead of idltojava and generate idlj framewor.idl from <FORTE_ROOT>/inc/idl which is of the newer version as compared to its version in conductor.jar (certain classes not exist in older version).

      Now I have come to the final step where I need to start the iiopserver. The command is failed and generated the error stacks as shown below.
      I tried removed the ns.ior file and the server can be started. So I suspect it might be something wrong with the generated ns.ior file.
      Anyone experience this before? Could it be caused by the JDK version?

      Appreciate for the helps.

      ==================================
      cscript > iiopserver start
      ERROR: Command failed. The error manager stack is:

      SYSTEM ERROR: Attempt to load partition named WFCorbaApi_cl1_Part1 failed.
      Class: qqsp_ResourceException
      Error #: [1001, 4]
      Detected at: qqrt_ForteExecAgent::LoadPartition at 2
      Last TOOL statement: method WFSCRIPT_Shell.StartIIOP
      Error Time: Thu Oct 30 16:35:36
      Distributed method called: qqsm_PartAgentProxy.ExecuteCommand!54 (object
      name Unnamed) from partition "WFscript_cl1_Client", (partitionId =
      AD7CADA0-03A1-11D8-A8D2-08C910CEAA77:0x206:0x1, taskId =
      [AD7CADA0-03A1-11D8-A8D2-08C910CEAA77:0x206.5]) in application "cscript",
      pid 2304 on node CHINJN in environment centrale
      Distributed method called: qqrt_ForteExecAgentProxy.LoadPartition!7
      (object name Unnamed) from partition "Node Manager", (partitionId =
      AD7CADA0-03A1-11D8-A8D2-08C910CEAA77:0x1f8, taskId =
      [AD7CADA0-03A1-11D8-A8D2-08C910CEAA77:0x1f8.52]) in application "System
      Manager", pid 4008 on node CHINJN in environment centrale
      Exception occurred (remotely) on partition "Forte_Executor", (partitionId
      = AD7CADA0-03A1-11D8-A8D2-08C910CEAA77:0x200, taskId =
      [AD7CADA0-03A1-11D8-A8D2-08C910CEAA77:0x200.5]) in application
      "WFCorbaApi_cl1", pid 3660 on node CHINJN in environment centrale.

      USER ERROR: Attempt to cast an object of class qqcb_CorbaObjectImplProxy
      to the class qqcn_NamingContext. The class qqcb_CorbaObjectImplProxy is
      not a subclass of class qqcn_NamingContext. The runtime type of the object

      being cast must be the same as or a subclass of the class
      qqcn_NamingContext.
      Traceback:
      CorbaWFDirectory.Initialize at offset 264
      CorbaWFDirectory. at offset 978
      <UNKNOWN>. at offset 0
      <UNKNOWN>. at offset 0

      Class: qqsp_UsageException with ReasonCode: SP_ER_INVALIDSTATE
      Error #: [901, 77]
      Detected at: qqin_IrObjectCast
      Last TOOL statement: method CorbaWFDirectory.Initialize
      Error Time: Thu Oct 30 16:35:36
      Exception occurred (remotely) on partition "Forte_Executor",
      (partitionId = AD7CADA0-03A1-11D8-A8D2-08C910CEAA77:0x200, taskId =
      [AD7CADA0-03A1-11D8-A8D2-08C910CEAA77:0x200.5]) in application
      "WFCorbaApi_cl1", pid 3660 on node CHINJN in environment centrale.