Remote object trying to return another remote object and a ClassCastExcepti

I have a server running with a TreeModel (the tree model implements Remote). I also have the the TreeNodes all linked together on the server. Now, I can get to the TreeModel on the server and the root node of the remote tree model.
treeModelStub = (treeModelIface)Naming.lookup(url+"remoteTM"); //works
rootStub = (remoteTreeNodeIface)treeModelStub.getRoot(); //works. The call to getRoot returns Object
But when I call
remoteTreeNodeIface aChild = (remoteTreeNodeIface)rootStub.getChildAt(index) //Does not work. "Exception in thread "main" java.lang.ClassCastException
at remoteTreeNode_Stub.getChildAt(Unknown Source)
The remote tree node method getChildAt returns TreeNode because the class implements TreeNode:
public class remoteTreeNode extends UnicastRemoteObject implements rdcaDataIface, Comparable, TreeNode {
public TreeNode getChildAt(int idx) {
System.out.println("DEBUG: class is "+this.getClass()); // class is remoteTreeNode
return (remoteTreeNode)children.get(idx);
The remote interface is defined as:
public interface rdcaDataIface extends java.rmi.Remote {
public TreeNode getChildAt(int idx) throws RemoteException;
Any ideas why this does not work. Why can a remote object of type Object be returned just fine, but a TreeNode not be returned?
Thank you for your help,
Brent

I have a server running with a TreeModel (the tree
model implements Remote). I also have the the
TreeNodes all linked together on the server. Now, I
can get to the TreeModel on the server and the root
node of the remote tree model.
treeModelStub =
(treeModelIface)Naming.lookup(url+"remoteTM");
//works
rootStub =
(remoteTreeNodeIface)treeModelStub.getRoot();
//works. The call to getRoot returns Object
But when I call
remoteTreeNodeIface aChild =
(remoteTreeNodeIface)rootStub.getChildAt(index)******************************************
can only be casted to rdcaDataIface. The returned object is an instanceof the rdcaDataIface_stub, which have nothing to do with TreeNode.
//Does not work. "Exception in thread "main"
java.lang.ClassCastException
at remoteTreeNode_Stub.getChildAt(Unknown
t(Unknown Source)
The remote tree node method getChildAt returns
TreeNode because the class implements TreeNode:
public class remoteTreeNode extends
UnicastRemoteObject implements rdcaDataIface,
Comparable, TreeNode {
public TreeNode getChildAt(int idx) {
System.out.println("DEBUG: class is
lass is "+this.getClass()); // class is
remoteTreeNode
return (remoteTreeNode)children.get(idx);
The remote interface is defined as:
public interface rdcaDataIface extends java.rmi.Remote
public TreeNode getChildAt(int idx) throws
ows RemoteException;
Any ideas why this does not work. Why can a remote
object of type Object be returned just fine, but a
TreeNode not be returned?
Thank you for your help,
Brent

Similar Messages

  • Hi all, I'm trying this morning to make the backup of my iPhone from 32 gigabytes. When I start the synchronization and backup I get written'' iTunes could not back up iPhone because an error occurred. I tried it on another iphone (4) and everything works

    Hi all, I'm trying this morning to make the backup of my iPhone from 32 gigabytes. When I start the synchronization and backup I get written'' iTunes could not back up iPhone because an error occurred. I tried it on another iphone (4) and everything works fine. I can not reset the device because I have too much important data on it. Please help me.
    Salve a tutti, sto cercando da stamattina di effettuare il Backup del mio IPhone da 32 gigabyte. Quando avvio la sincronizzazione e il Backup mi esce scritto '' iTunes non ha potuto eseguire il backup di Iphone perche si è verificato un errore. Ho provato su un altro iphone (4) e tutto funziona correttamente. Non posso ripristinare il dispositivo perchè ho troppi dati importanti sopra. Vi prego aiutatemi.

    Ok I tried to delete the backup by using your location via preferences, but I did not find any file, maybe because I've already deleted following the path to the disk. I repeat that I have 2 devices and the problem only occurs on one

  • My iPhone 5 doesn't send any text messages or i messages and the problem isn't with the sim card as i tried it with another iPhone 5 and it worked fine.

    my iPhone 5 doesn't send any text messages or i messages and the problem isn't with the sim card as i tried it with another iPhone 5 and it worked fine.

    OK. Thanks for sharing.
    Have a nice day.

  • I'm trying to make an android game and I want that when a collision with another object change of sc

    I'm trying to make an android game and I want that when a collision with another object change of scene
    how i can do this

    here is the doc on htiTestObject for detecting collisions.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayOb ject.html#hitTestObject()
    for scene change use the second parameter in gotoandplay() to define scene name doc below
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/MovieClip .html#gotoAndPlay()

  • Creating remote objects and passing the retrieved data to modules

    I found at this Adobe tutorial a nice "RemoteService" class that  creates a RemoteObject and contains the functions for handling the  result and fault events. If I wanted to use this approach, how could I  pass the data from the result handler to interfaces that modules from  the main application could use?
    I could put the RemoteService/RemoteObject in the modules, but (in my  opinion- and I could be wrong) the best design seems to be using the  remote calls in the main app and passing the data along to the modules.
    Ultimately, I would like to know what the "best practices" are for creating remote objects and passing the retrieved data to modules
    Thanks!

    public void mouseClicked(MouseEvent e) {
      X x = new X(e.getX(), e.getY());
    }I don't see the difficulty.

  • Trying to return a Hashtable object

    Hi,
    I'm trying to return a Hashtable object from a method defined as:
    public static Hashtable getValues(String str){
    In the calling method, I'm using:
    Hashtable<Object,Object> table=new Hashtable<Object,Object>();
    table=(Hashtable<Object,Object>)Test.getValues(str);
    I get the compiler warning as shown below:
    Note: App.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    Upon compiling with -Xlint:unchecked option, I get:
    App.java:10: warning: [unchecked] unchecked cast
    found : java.util.Hashtable
    required: java.util.Hashtable<java.lang.Object,java.lang.Object>
    table=(Hashtable<Object,Object>)Test.getValues(str);
    ^
    How can I correct this?
    Thanks.
    Vijay

    were your method to return a Map<Object, Object> rather than a HashMapyou could transparently return either a HashMap or a HashTable - or anything else that implements the Map interface - without changing any of the code that actually calls this method. you will still, obviously, need to instantiate one inside the method
    hence the mantra "code to an abstraction, not a concrete type"

  • I'm trying to hi-light objects and text in a pdf converted from a cadd drawing but can't do either?

    I'm trying to hi-light objects and text in a pdf converted from a cadd drawing but can't do either?

    Hi blueteam,
    Please check :http://www.wikihow.com/Highlight-Text-in-a-PDF-Document
    Regards,
    Rave

  • I have inserted a disc in my remote disc and it is not working and even i am trying to eject the disc but it is not working ? what to do ?

    i have inserted a disc in my remote disc and it is not working and even i am trying to eject the disc but it is not working ? what to do ?

    Would you rather upgrade to windows 8, BlackBerry or Android phones? Do you honestly think those don't have problems?
    You waited a lot and chose to buy an early production model. Mistakes happen all the time a factory retools and workers relearn new skills necessary to keep US happy.
    Exercise your rights.... Send it back for a new one. 
    In any case, I feel your frustration. Btw, I love Apple but use a Blackberry

  • Return code  For DataStore objects and InfoObjectsb

    Hello Gurus,
           For DataStore objects and InfoObjects: you cannot use the
    return code in the routine for data fields that are updated by being
    overwritten.
           as per above statement, why ?
    Many thanks,
    Frank Zhang

    How you creating this file? Why you couldn't create without enter?
    But, however, see solution in that case:
    File 1.sql:
    select 1 from dual;File 2.sql:
    select 2/0 from dual;File 3.sql:
    select 3 from dual;File exec_sql.sql:
    WHENEVER SQLERROR EXIT
    @&1
    @&2
    @&3And you need to generate file as this "test.sql":
    define f1 = 1.sql
    define f2 = 2.sql
    define f3 = 3.sql
    @exec_sql &f1 &f2 &f3Regards,
    Malakshinov Sayan

  • Remote Control and error 1456

    We are having a Remote control issue with more and more PC's. If they are
    logged in, we can remote control them. If they have bee restarted and are
    waiting to log in, then we can not remote control them. We Can use
    diagnostics on them though....
    Zen 4.01 ir7 is where we are.
    We are also having an issue where many times after imaging, the ISD is not
    populated into windows, and gets associated with our Image PC's workstation
    object. If we clear the ISD, delete both workstation objects, and reboot the
    target PC, it does re-import correctly. The remote control issue does not
    get fixed when this happens though....
    I have seen that rmerrorlog.txt has been asked for in the past to help solve
    this issue, so We are including that. Any help in resolving what we have set
    wrong is appreciated.
    Thanks,
    Mark Waters, CNA
    John Evans, MCNE
    Systems Group
    Housing and Food Services
    Michigan State University
    watersmd at mail dot hfs dot msu dot edu
    1st attempt to remote control target PC was not Logged in. It Failed - Error
    1456.
    2nd attempt was when target PC was logged in. It Worked.
    PC with ConsoleOne - A004686
    #(89212)# 11:45:46 AM 02/13/07 Normal : CONSOLE > Starting console
    #(89212)# 11:45:46 AM 02/13/07 Normal : ZenGetLangValueFromNWLanguage:
    Trying to load the resource DLL from Nls\ENGLISH directory
    #(89212)# 11:45:46 AM 02/13/07 Normal : CONSOLE > Resource is loaded
    successfully
    #(89212)# 11:45:46 AM 02/13/07 Normal : CONSOLE > Inside
    LoadandParseCommand
    #(89212)# 11:45:46 AM 02/13/07 NORMAL : CONSOLE > AppData.bSessionRestart ==
    FALSE Hiding window
    #(89212)# 11:45:46 AM 02/13/07 NORMAL : CONSOLE > Command line parameters
    parsed successfully
    #(89212)# 11:45:46 AM 02/13/07 NORMAL : CONSOLE > Init Client
    Successfull!!!
    #(89212)# 11:45:46 AM 02/13/07 NORMAL : Before Authentication
    #(89212)# 11:45:47 AM 02/13/07 NORMAL : After Authentication
    #(89212)# 11:45:47 AM 02/13/07 CRITICAL : Authentication Failed:
    #(89212)# 11:45:51 AM 02/13/07 CRITICAL : CONSOLE > LoadAndAuthenticate
    returned FALSE
    #(89212)# 11:45:51 AM 02/13/07 CRITICAL : CONSOLE > Authentication Failed:
    returning -201
    #(89212)# 11:45:51 AM 02/13/07 NORMAL : Out of process
    #(89212)# 11:47:03 AM 02/13/07 Normal : CONSOLE > Starting console
    #(89212)# 11:47:03 AM 02/13/07 Normal : ZenGetLangValueFromNWLanguage:
    Trying to load the resource DLL from Nls\ENGLISH directory
    #(89212)# 11:47:03 AM 02/13/07 Normal : CONSOLE > Resource is loaded
    successfully
    #(89212)# 11:47:03 AM 02/13/07 Normal : CONSOLE > Inside
    LoadandParseCommand
    #(89212)# 11:47:03 AM 02/13/07 NORMAL : CONSOLE > AppData.bSessionRestart ==
    FALSE Hiding window
    #(89212)# 11:47:03 AM 02/13/07 NORMAL : CONSOLE > Command line parameters
    parsed successfully
    #(89212)# 11:47:03 AM 02/13/07 NORMAL : CONSOLE > Init Client
    Successfull!!!
    #(89212)# 11:47:03 AM 02/13/07 NORMAL : Before Authentication
    #(89212)# 11:47:04 AM 02/13/07 NORMAL : After Authentication
    #(89212)# 11:47:04 AM 02/13/07 NORMAL : CONSOLE > Authentication
    Successful!!!
    #(89212)# 11:47:04 AM 02/13/07 Normal : CONSOLE > Initialize returned TRUE
    #(89212)# 11:47:04 AM 02/13/07 NORMAL : RTT > Avg Delay is 0
    #(89212)# 11:47:04 AM 02/13/07 NORMAL : CONSOLE > Sent out WallPaperRequest
    #(89212)# 11:47:04 AM 02/13/07 Normal : CONSOLE > Send Thread : Received
    Startreceiving event
    #(89212)# 11:47:04 AM 02/13/07 NORMAL : CONSOLE > Receive Thread : Received
    Startreceiving Event
    #(89212)# 11:47:05 AM 02/13/07 NORMAL : CONSOLE > Received CMD_AGENT_READY
    Command
    #(89212)# 11:47:05 AM 02/13/07 NORMAL : CONSOLE > Compression sending is 6
    #(89212)# 11:47:05 AM 02/13/07 NORMAL : CONSOLE > Value of did->DrishtiType
    sent to Agent is 1
    #(89212)# 11:47:05 AM 02/13/07 NORMAL : CONSOLE > Sent out the DisplayInfo
    Packet succesfully
    #(89212)# 11:47:06 AM 02/13/07 Critical : HandlePacket >>Memory
    reallocation
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > LookForTerminate got an
    event
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > out of SendThread
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > Value returned from the
    ReceiveData(For Header) is -1
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > out of StartReceiveThread
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : Out of process
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > Receive thread terminated
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > Send thread terminated
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : out of Startsession
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : Out of startsession :
    HandleRCSession
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : Out of DeInit
    #(89212)# 11:47:13 AM 02/13/07 NORMAL : out of HandleRCSession
    Target PC - A003514
    #(768)# 11:45:46 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\ZenLite.dll
    #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\ZenPol32.dll
    #(768)# 11:45:47 AM 02/13/07 Normal : ZENNDSUtil: Successfully loaded
    dependent modules...
    #(768)# 11:45:47 AM 02/13/07 Normal : LoadZenAutilLibraryAndGetProc:
    Successfully loaded ZenAutil.dll and its dependent DLLs
    #(768)# 11:45:47 AM 02/13/07 Normal : Console version is SP1
    #(768)# 11:45:47 AM 02/13/07 Normal : ZENUtil: ZENIsWorkstationRegistered:
    wsDN = 'A003514.Workstations.UHsg.HFS'
    #(768)# 11:45:47 AM 02/13/07 Normal : Workstation is registered
    #(768)# 11:45:47 AM 02/13/07 Normal : ZENNDSUtil: Attempting to read
    policies...
    #(768)# 11:45:47 AM 02/13/07 Normal : ZENUtil: ZENIsWorkstationRegistered:
    wsDN = 'A003514.Workstations.UHsg.HFS'
    #(768)# 11:45:47 AM 02/13/07 Normal : Workstation is registered
    #(768)# 11:45:47 AM 02/13/07 Normal : Reading workstation DN and tree
    name...
    #(768)# 11:45:47 AM 02/13/07 Normal : workstation DN -
    A003514.Workstations.UHsg.HFS, treename - HFS
    #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(768)# 11:45:47 AM 02/13/07 Critical : Workstation NOT yet
    authenticated...
    #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: initializeContext()
    failed...
    #(768)# 11:45:47 AM 02/13/07 Normal : Reading workstation DN and tree
    name...
    #(768)# 11:45:47 AM 02/13/07 Normal : workstation DN -
    A003514.Workstations.UHsg.HFS, treename - HFS
    #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(768)# 11:45:47 AM 02/13/07 Critical : Workstation NOT yet
    authenticated...
    #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: initializeContext()
    failed...
    #(768)# 11:45:47 AM 02/13/07 Normal : Neither policy settings active. All
    operations disabled.
    #(768)# 11:45:47 AM 02/13/07 Normal : ZENNDSUtil: Finished reading policies
    #(768)# 11:45:47 AM 02/13/07 Normal : Reading workstation DN and tree
    name...
    #(768)# 11:45:47 AM 02/13/07 Normal : workstation DN -
    A003514.Workstations.UHsg.HFS, treename - HFS
    #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(768)# 11:45:47 AM 02/13/07 Critical : Workstation NOT yet
    authenticated...
    #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: initializeContext()
    failed...
    #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: readVerifyInformation:
    initializeContext() failed for master 0, tree:HFS
    #(768)# 11:45:47 AM 02/13/07 Normal : AgentDSAuthenticationHandler:
    authentication for nearest replica returned : -201
    #(768)# 11:45:47 AM 02/13/07 Normal : Reading workstation DN and tree
    name...
    #(768)# 11:45:47 AM 02/13/07 Normal : workstation DN -
    A003514.Workstations.UHsg.HFS, treename - HFS
    #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(768)# 11:45:47 AM 02/13/07 Critical : Workstation NOT yet
    authenticated...
    #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: initializeContext()
    failed...
    #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: readVerifyInformation:
    initializeContext() failed for master 1, tree:HFS
    #(768)# 11:45:47 AM 02/13/07 Normal : AgentDSAuthenticationHandler:
    authentication for master replica returned : -201
    #(768)# 11:45:47 AM 02/13/07 Critical : Unable to reach the eDirectory
    server
    #(768)# 11:45:47 AM 02/13/07 Critical :
    RMAudit::Auditing.cpp:recordAuditLog() The audit record is corrupted.
    #(768)# 11:45:47 AM 02/13/07 Normal : RMSessionFinished - Begin
    #(768)# 11:45:47 AM 02/13/07 Normal : ZENNDSUtil: Unloaded modules...
    #(768)# 11:45:47 AM 02/13/07 Normal : UnLoadZenAutilLibrary :Successfully
    unloaded ZenAutil.dll
    #(768)# 11:47:02 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\ZenLite.dll
    #(768)# 11:47:03 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\ZenPol32.dll
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Successfully loaded
    dependent modules...
    #(768)# 11:47:03 AM 02/13/07 Normal : LoadZenAutilLibraryAndGetProc:
    Successfully loaded ZenAutil.dll and its dependent DLLs
    #(768)# 11:47:03 AM 02/13/07 Normal : Console version is SP1
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENUtil: ZENIsWorkstationRegistered:
    wsDN = 'CN=A003514.OU=Workstations.OU=UHsg.O=HFS'
    #(768)# 11:47:03 AM 02/13/07 Normal : Workstation is registered
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Attempting to read
    policies...
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENUtil: ZENIsWorkstationRegistered:
    wsDN = 'CN=A003514.OU=Workstations.OU=UHsg.O=HFS'
    #(768)# 11:47:03 AM 02/13/07 Normal : Workstation is registered
    #(768)# 11:47:03 AM 02/13/07 Normal : Reading workstation DN and tree
    name...
    #(768)# 11:47:03 AM 02/13/07 Normal : workstation DN -
    CN=A003514.OU=Workstations.OU=UHsg.O=HFS, treename - HFS
    #(768)# 11:47:03 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(768)# 11:47:03 AM 02/13/07 Normal : Workstation IS authenticated...
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Loaded [ZENNW32.DLL]
    successfully
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Successfully initialized
    context
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Failure in reading boolean
    attribute DM:Ignore Policy in CN=A003514.OU=Workstations.OU=UHsg.O=HFS
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Attempt to read using
    user:, tree:HFS
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Workstation Policy -
    'z_Global Workstation Package:General:Remote Control
    Policy.WorkstationPackages.Workstations.UHsg.HFS'
    #(768)# 11:47:03 AM 02/13/07 Normal : Reading workstation DN and tree
    name...
    #(768)# 11:47:03 AM 02/13/07 Normal : workstation DN -
    CN=A003514.OU=Workstations.OU=UHsg.O=HFS, treename - HFS
    #(768)# 11:47:03 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(768)# 11:47:03 AM 02/13/07 Normal : Workstation IS authenticated...
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Loaded [ZENNW32.DLL]
    successfully
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Successfully initialized
    context
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: User Policy - ''
    #(768)# 11:47:03 AM 02/13/07 Normal : Only workstation policy settings
    active...
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Finished reading policies
    #(768)# 11:47:03 AM 02/13/07 Normal : Reading workstation DN and tree
    name...
    #(768)# 11:47:03 AM 02/13/07 Normal : workstation DN -
    CN=A003514.OU=Workstations.OU=UHsg.O=HFS, treename - HFS
    #(768)# 11:47:03 AM 02/13/07 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(768)# 11:47:03 AM 02/13/07 Normal : Workstation IS authenticated...
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Loaded [ZENNW32.DLL]
    successfully
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Successfully initialized
    context
    #(768)# 11:47:03 AM 02/13/07 Normal : AgentDSAuthenticationHandler:
    authentication for nearest replica returned : 0
    #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Unloaded modules...
    #(768)# 11:47:03 AM 02/13/07 Normal : UnLoadZenAutilLibrary :Successfully
    unloaded ZenAutil.dll
    #(768)# 11:47:03 AM 02/13/07 Normal : LaunchRcRvAgent: CalculateRTT is
    over...
    #(768)# 11:47:04 AM 02/13/07 Normal : Darapan is loaded successfully
    #(768)# 11:47:04 AM 02/13/07 Normal : Init Proc of RCAgent has been called
    successfully
    #(768)# 11:47:04 AM 02/13/07 Critical : Successfully executed RcAgent.DLL's
    Init Proc Address
    #(768)# 11:47:04 AM 02/13/07 Normal : Call to update desktop is made
    #(768)# 11:47:04 AM 02/13/07 normal : CMD_AGENT_READY is sent
    #(768)# 11:47:04 AM 02/13/07 normal : CMD_SUPRESS_WALLPAPER is received
    #(768)# 11:47:04 AM 02/13/07 Normal : WallPaperThread is closed
    #(768)# 11:47:04 AM 02/13/07 Normal : CMD_KEY_MASK is received
    #(768)# 11:47:04 AM 02/13/07 normal : CMD_DISPLAY_INFO is received
    #(768)# 11:47:04 AM 02/13/07 Normal : Display Info. received. Remote Control
    session for P1.
    #(768)# 11:47:04 AM 02/13/07 Normal : Console version is SP1
    #(768)# 11:47:04 AM 02/13/07 Normal : Calling startlookforchangesthread.
    #(768)# 11:47:04 AM 02/13/07 Normal : InitialDisplayInfo sent
    #(768)# 11:47:04 AM 02/13/07 Normal : DRIVER to use is DARPAN
    #(768)# 11:47:04 AM 02/13/07 Normal : CallInitDrishti :
    ESC_START_VIEWING_DARPAN Successful
    #(768)# 11:47:04 AM 02/13/07 Normal : Came out after loading the driver
    #(768)# 11:47:04 AM 02/13/07 normal : Setting hook to cursor shapes is ok
    #(768)# 11:47:04 AM 02/13/07 Normal : Got WM_SWITCH_DESKTOP
    #(768)# 11:47:05 AM 02/13/07 Normal : Call to update desktop is made
    #(768)# 11:47:12 AM 02/13/07 Normal : RecvThread is returning
    #(768)# 11:47:12 AM 02/13/07 Normal : WaitThread : WaitForMultipleObjects
    returned. Closed thread is = 1
    #(768)# 11:47:12 AM 02/13/07 Normal : Periodic Check thread is returning
    #(768)# 11:47:12 AM 02/13/07 Normal : In desktop change thread terminate
    session is set
    #(768)# 11:47:12 AM 02/13/07 normal : Terminate session event is set in send
    thread
    #(768)# 11:47:12 AM 02/13/07 Normal : Close msg for visible window. Calling
    CloseConnection().
    #(768)# 11:47:12 AM 02/13/07 Normal : Clean up is going to start
    #(768)# 11:47:12 AM 02/13/07 Normal : LookforchangesThread returning
    #(768)# 11:47:12 AM 02/13/07 Normal : WallPaperThread is closed
    #(768)# 11:47:12 AM 02/13/07 normal : All the threads are closed normally
    #(768)# 11:47:12 AM 02/13/07 Normal : Call to update desktop is made
    #(768)# 11:47:12 AM 02/13/07 normal : RC session is completed successfully
    #(768)# 11:47:12 AM 02/13/07 Normal : CZenRmServer::RCRvThread:
    hAcceptThread Signals
    #(768)# 11:47:12 AM 02/13/07 Critical :
    RMAudit::Auditing.cpp:recordAuditLog() The audit record is corrupted.
    #(768)# 11:47:12 AM 02/13/07 Normal : RcRvThread: RcAgent.dll is
    successfully unloaded from memory
    #(768)# 11:47:12 AM 02/13/07 Normal : RcRvThread: Ict_Uc.dll is not unloaded
    from memory ...
    #(768)# 11:47:12 AM 02/13/07 Normal : RcRvThread: Ict_Uc.dll is not unloaded
    from memory and it is forcefully unloaded...
    #(768)# 11:47:12 AM 02/13/07 Normal : Darapan is Unloaded successfully
    #(768)# 11:47:12 AM 02/13/07 Normal : RMSessionFinished - Begin

    Delete a few test workstation objects. Delete the object that was created by
    the Image PC. Run DSREPAIR. Disable windows firewall. Reboot the PCs. Check
    if the Workstation objects are created and if you can remotely control
    them.
    "Mark Waters" <[email protected]> wrote in message
    news:[email protected]...
    > We are having a Remote control issue with more and more PC's. If they are
    > logged in, we can remote control them. If they have bee restarted and are
    > waiting to log in, then we can not remote control them. We Can use
    > diagnostics on them though....
    > Zen 4.01 ir7 is where we are.
    > We are also having an issue where many times after imaging, the ISD is not
    > populated into windows, and gets associated with our Image PC's
    > workstation
    > object. If we clear the ISD, delete both workstation objects, and reboot
    > the
    > target PC, it does re-import correctly. The remote control issue does not
    > get fixed when this happens though....
    > I have seen that rmerrorlog.txt has been asked for in the past to help
    > solve
    > this issue, so We are including that. Any help in resolving what we have
    > set
    > wrong is appreciated.
    >
    > Thanks,
    > Mark Waters, CNA
    > John Evans, MCNE
    > Systems Group
    > Housing and Food Services
    > Michigan State University
    > watersmd at mail dot hfs dot msu dot edu
    >
    >
    > 1st attempt to remote control target PC was not Logged in. It Failed -
    > Error
    > 1456.
    > 2nd attempt was when target PC was logged in. It Worked.
    >
    >
    > PC with ConsoleOne - A004686
    >
    > #(89212)# 11:45:46 AM 02/13/07 Normal : CONSOLE > Starting console
    > #(89212)# 11:45:46 AM 02/13/07 Normal : ZenGetLangValueFromNWLanguage:
    > Trying to load the resource DLL from Nls\ENGLISH directory
    > #(89212)# 11:45:46 AM 02/13/07 Normal : CONSOLE > Resource is loaded
    > successfully
    > #(89212)# 11:45:46 AM 02/13/07 Normal : CONSOLE > Inside
    > LoadandParseCommand
    > #(89212)# 11:45:46 AM 02/13/07 NORMAL : CONSOLE > AppData.bSessionRestart
    > ==
    > FALSE Hiding window
    > #(89212)# 11:45:46 AM 02/13/07 NORMAL : CONSOLE > Command line parameters
    > parsed successfully
    > #(89212)# 11:45:46 AM 02/13/07 NORMAL : CONSOLE > Init Client
    > Successfull!!!
    > #(89212)# 11:45:46 AM 02/13/07 NORMAL : Before Authentication
    > #(89212)# 11:45:47 AM 02/13/07 NORMAL : After Authentication
    > #(89212)# 11:45:47 AM 02/13/07 CRITICAL : Authentication Failed:
    > #(89212)# 11:45:51 AM 02/13/07 CRITICAL : CONSOLE > LoadAndAuthenticate
    > returned FALSE
    > #(89212)# 11:45:51 AM 02/13/07 CRITICAL : CONSOLE > Authentication Failed:
    > returning -201
    > #(89212)# 11:45:51 AM 02/13/07 NORMAL : Out of process
    >
    >
    >
    > #(89212)# 11:47:03 AM 02/13/07 Normal : CONSOLE > Starting console
    > #(89212)# 11:47:03 AM 02/13/07 Normal : ZenGetLangValueFromNWLanguage:
    > Trying to load the resource DLL from Nls\ENGLISH directory
    > #(89212)# 11:47:03 AM 02/13/07 Normal : CONSOLE > Resource is loaded
    > successfully
    > #(89212)# 11:47:03 AM 02/13/07 Normal : CONSOLE > Inside
    > LoadandParseCommand
    > #(89212)# 11:47:03 AM 02/13/07 NORMAL : CONSOLE > AppData.bSessionRestart
    > ==
    > FALSE Hiding window
    > #(89212)# 11:47:03 AM 02/13/07 NORMAL : CONSOLE > Command line parameters
    > parsed successfully
    > #(89212)# 11:47:03 AM 02/13/07 NORMAL : CONSOLE > Init Client
    > Successfull!!!
    > #(89212)# 11:47:03 AM 02/13/07 NORMAL : Before Authentication
    > #(89212)# 11:47:04 AM 02/13/07 NORMAL : After Authentication
    > #(89212)# 11:47:04 AM 02/13/07 NORMAL : CONSOLE > Authentication
    > Successful!!!
    > #(89212)# 11:47:04 AM 02/13/07 Normal : CONSOLE > Initialize returned TRUE
    > #(89212)# 11:47:04 AM 02/13/07 NORMAL : RTT > Avg Delay is 0
    > #(89212)# 11:47:04 AM 02/13/07 NORMAL : CONSOLE > Sent out
    > WallPaperRequest
    > #(89212)# 11:47:04 AM 02/13/07 Normal : CONSOLE > Send Thread : Received
    > Startreceiving event
    > #(89212)# 11:47:04 AM 02/13/07 NORMAL : CONSOLE > Receive Thread :
    > Received
    > Startreceiving Event
    > #(89212)# 11:47:05 AM 02/13/07 NORMAL : CONSOLE > Received CMD_AGENT_READY
    > Command
    > #(89212)# 11:47:05 AM 02/13/07 NORMAL : CONSOLE > Compression sending is 6
    > #(89212)# 11:47:05 AM 02/13/07 NORMAL : CONSOLE > Value of
    > did->DrishtiType
    > sent to Agent is 1
    > #(89212)# 11:47:05 AM 02/13/07 NORMAL : CONSOLE > Sent out the DisplayInfo
    > Packet succesfully
    > #(89212)# 11:47:06 AM 02/13/07 Critical : HandlePacket >>Memory
    > reallocation
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > LookForTerminate got an
    > event
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > out of SendThread
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > Value returned from the
    > ReceiveData(For Header) is -1
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > out of
    > StartReceiveThread
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : Out of process
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > Receive thread
    > terminated
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : CONSOLE > Send thread terminated
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : out of Startsession
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : Out of startsession :
    > HandleRCSession
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : Out of DeInit
    > #(89212)# 11:47:13 AM 02/13/07 NORMAL : out of HandleRCSession
    >
    >
    > Target PC - A003514
    >
    > #(768)# 11:45:46 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\ZenLite.dll
    > #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\ZenPol32.dll
    > #(768)# 11:45:47 AM 02/13/07 Normal : ZENNDSUtil: Successfully loaded
    > dependent modules...
    > #(768)# 11:45:47 AM 02/13/07 Normal : LoadZenAutilLibraryAndGetProc:
    > Successfully loaded ZenAutil.dll and its dependent DLLs
    > #(768)# 11:45:47 AM 02/13/07 Normal : Console version is SP1
    > #(768)# 11:45:47 AM 02/13/07 Normal : ZENUtil: ZENIsWorkstationRegistered:
    > wsDN = 'A003514.Workstations.UHsg.HFS'
    > #(768)# 11:45:47 AM 02/13/07 Normal : Workstation is registered
    > #(768)# 11:45:47 AM 02/13/07 Normal : ZENNDSUtil: Attempting to read
    > policies...
    > #(768)# 11:45:47 AM 02/13/07 Normal : ZENUtil: ZENIsWorkstationRegistered:
    > wsDN = 'A003514.Workstations.UHsg.HFS'
    > #(768)# 11:45:47 AM 02/13/07 Normal : Workstation is registered
    > #(768)# 11:45:47 AM 02/13/07 Normal : Reading workstation DN and tree
    > name...
    > #(768)# 11:45:47 AM 02/13/07 Normal : workstation DN -
    > A003514.Workstations.UHsg.HFS, treename - HFS
    > #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(768)# 11:45:47 AM 02/13/07 Critical : Workstation NOT yet
    > authenticated...
    > #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: initializeContext()
    > failed...
    > #(768)# 11:45:47 AM 02/13/07 Normal : Reading workstation DN and tree
    > name...
    > #(768)# 11:45:47 AM 02/13/07 Normal : workstation DN -
    > A003514.Workstations.UHsg.HFS, treename - HFS
    > #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(768)# 11:45:47 AM 02/13/07 Critical : Workstation NOT yet
    > authenticated...
    > #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: initializeContext()
    > failed...
    > #(768)# 11:45:47 AM 02/13/07 Normal : Neither policy settings active. All
    > operations disabled.
    > #(768)# 11:45:47 AM 02/13/07 Normal : ZENNDSUtil: Finished reading
    > policies
    > #(768)# 11:45:47 AM 02/13/07 Normal : Reading workstation DN and tree
    > name...
    > #(768)# 11:45:47 AM 02/13/07 Normal : workstation DN -
    > A003514.Workstations.UHsg.HFS, treename - HFS
    > #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(768)# 11:45:47 AM 02/13/07 Critical : Workstation NOT yet
    > authenticated...
    > #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: initializeContext()
    > failed...
    > #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: readVerifyInformation:
    > initializeContext() failed for master 0, tree:HFS
    > #(768)# 11:45:47 AM 02/13/07 Normal : AgentDSAuthenticationHandler:
    > authentication for nearest replica returned : -201
    > #(768)# 11:45:47 AM 02/13/07 Normal : Reading workstation DN and tree
    > name...
    > #(768)# 11:45:47 AM 02/13/07 Normal : workstation DN -
    > A003514.Workstations.UHsg.HFS, treename - HFS
    > #(768)# 11:45:47 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(768)# 11:45:47 AM 02/13/07 Critical : Workstation NOT yet
    > authenticated...
    > #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: initializeContext()
    > failed...
    > #(768)# 11:45:47 AM 02/13/07 Critical : ZENNDSUtil: readVerifyInformation:
    > initializeContext() failed for master 1, tree:HFS
    > #(768)# 11:45:47 AM 02/13/07 Normal : AgentDSAuthenticationHandler:
    > authentication for master replica returned : -201
    > #(768)# 11:45:47 AM 02/13/07 Critical : Unable to reach the eDirectory
    > server
    > #(768)# 11:45:47 AM 02/13/07 Critical :
    > RMAudit::Auditing.cpp:recordAuditLog() The audit record is corrupted.
    > #(768)# 11:45:47 AM 02/13/07 Normal : RMSessionFinished - Begin
    > #(768)# 11:45:47 AM 02/13/07 Normal : ZENNDSUtil: Unloaded modules...
    > #(768)# 11:45:47 AM 02/13/07 Normal : UnLoadZenAutilLibrary :Successfully
    > unloaded ZenAutil.dll
    >
    >
    > #(768)# 11:47:02 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\ZenLite.dll
    > #(768)# 11:47:03 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\ZenPol32.dll
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Successfully loaded
    > dependent modules...
    > #(768)# 11:47:03 AM 02/13/07 Normal : LoadZenAutilLibraryAndGetProc:
    > Successfully loaded ZenAutil.dll and its dependent DLLs
    > #(768)# 11:47:03 AM 02/13/07 Normal : Console version is SP1
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENUtil: ZENIsWorkstationRegistered:
    > wsDN = 'CN=A003514.OU=Workstations.OU=UHsg.O=HFS'
    > #(768)# 11:47:03 AM 02/13/07 Normal : Workstation is registered
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Attempting to read
    > policies...
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENUtil: ZENIsWorkstationRegistered:
    > wsDN = 'CN=A003514.OU=Workstations.OU=UHsg.O=HFS'
    > #(768)# 11:47:03 AM 02/13/07 Normal : Workstation is registered
    > #(768)# 11:47:03 AM 02/13/07 Normal : Reading workstation DN and tree
    > name...
    > #(768)# 11:47:03 AM 02/13/07 Normal : workstation DN -
    > CN=A003514.OU=Workstations.OU=UHsg.O=HFS, treename - HFS
    > #(768)# 11:47:03 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(768)# 11:47:03 AM 02/13/07 Normal : Workstation IS authenticated...
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Loaded [ZENNW32.DLL]
    > successfully
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Successfully initialized
    > context
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Failure in reading
    > boolean
    > attribute DM:Ignore Policy in CN=A003514.OU=Workstations.OU=UHsg.O=HFS
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Attempt to read using
    > user:, tree:HFS
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Workstation Policy -
    > 'z_Global Workstation Package:General:Remote Control
    > Policy.WorkstationPackages.Workstations.UHsg.HFS'
    > #(768)# 11:47:03 AM 02/13/07 Normal : Reading workstation DN and tree
    > name...
    > #(768)# 11:47:03 AM 02/13/07 Normal : workstation DN -
    > CN=A003514.OU=Workstations.OU=UHsg.O=HFS, treename - HFS
    > #(768)# 11:47:03 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(768)# 11:47:03 AM 02/13/07 Normal : Workstation IS authenticated...
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Loaded [ZENNW32.DLL]
    > successfully
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Successfully initialized
    > context
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: User Policy - ''
    > #(768)# 11:47:03 AM 02/13/07 Normal : Only workstation policy settings
    > active...
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Finished reading
    > policies
    > #(768)# 11:47:03 AM 02/13/07 Normal : Reading workstation DN and tree
    > name...
    > #(768)# 11:47:03 AM 02/13/07 Normal : workstation DN -
    > CN=A003514.OU=Workstations.OU=UHsg.O=HFS, treename - HFS
    > #(768)# 11:47:03 AM 02/13/07 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(768)# 11:47:03 AM 02/13/07 Normal : Workstation IS authenticated...
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Loaded [ZENNW32.DLL]
    > successfully
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Successfully initialized
    > context
    > #(768)# 11:47:03 AM 02/13/07 Normal : AgentDSAuthenticationHandler:
    > authentication for nearest replica returned : 0
    > #(768)# 11:47:03 AM 02/13/07 Normal : ZENNDSUtil: Unloaded modules...
    > #(768)# 11:47:03 AM 02/13/07 Normal : UnLoadZenAutilLibrary :Successfully
    > unloaded ZenAutil.dll
    > #(768)# 11:47:03 AM 02/13/07 Normal : LaunchRcRvAgent: CalculateRTT is
    > over...
    > #(768)# 11:47:04 AM 02/13/07 Normal : Darapan is loaded successfully
    > #(768)# 11:47:04 AM 02/13/07 Normal : Init Proc of RCAgent has been called
    > successfully
    > #(768)# 11:47:04 AM 02/13/07 Critical : Successfully executed
    > RcAgent.DLL's
    > Init Proc Address
    > #(768)# 11:47:04 AM 02/13/07 Normal : Call to update desktop is made
    > #(768)# 11:47:04 AM 02/13/07 normal : CMD_AGENT_READY is sent
    > #(768)# 11:47:04 AM 02/13/07 normal : CMD_SUPRESS_WALLPAPER is received
    > #(768)# 11:47:04 AM 02/13/07 Normal : WallPaperThread is closed
    > #(768)# 11:47:04 AM 02/13/07 Normal : CMD_KEY_MASK is received
    > #(768)# 11:47:04 AM 02/13/07 normal : CMD_DISPLAY_INFO is received
    > #(768)# 11:47:04 AM 02/13/07 Normal : Display Info. received. Remote
    > Control
    > session for P1.
    > #(768)# 11:47:04 AM 02/13/07 Normal : Console version is SP1
    > #(768)# 11:47:04 AM 02/13/07 Normal : Calling startlookforchangesthread.
    > #(768)# 11:47:04 AM 02/13/07 Normal : InitialDisplayInfo sent
    > #(768)# 11:47:04 AM 02/13/07 Normal : DRIVER to use is DARPAN
    > #(768)# 11:47:04 AM 02/13/07 Normal : CallInitDrishti :
    > ESC_START_VIEWING_DARPAN Successful
    > #(768)# 11:47:04 AM 02/13/07 Normal : Came out after loading the driver
    > #(768)# 11:47:04 AM 02/13/07 normal : Setting hook to cursor shapes is ok
    > #(768)# 11:47:04 AM 02/13/07 Normal : Got WM_SWITCH_DESKTOP
    > #(768)# 11:47:05 AM 02/13/07 Normal : Call to update desktop is made
    > #(768)# 11:47:12 AM 02/13/07 Normal : RecvThread is returning
    > #(768)# 11:47:12 AM 02/13/07 Normal : WaitThread : WaitForMultipleObjects
    > returned. Closed thread is = 1
    > #(768)# 11:47:12 AM 02/13/07 Normal : Periodic Check thread is returning
    > #(768)# 11:47:12 AM 02/13/07 Normal : In desktop change thread terminate
    > session is set
    > #(768)# 11:47:12 AM 02/13/07 normal : Terminate session event is set in
    > send
    > thread
    > #(768)# 11:47:12 AM 02/13/07 Normal : Close msg for visible window.
    > Calling
    > CloseConnection().
    > #(768)# 11:47:12 AM 02/13/07 Normal : Clean up is going to start
    > #(768)# 11:47:12 AM 02/13/07 Normal : LookforchangesThread returning
    > #(768)# 11:47:12 AM 02/13/07 Normal : WallPaperThread is closed
    > #(768)# 11:47:12 AM 02/13/07 normal : All the threads are closed normally
    > #(768)# 11:47:12 AM 02/13/07 Normal : Call to update desktop is made
    > #(768)# 11:47:12 AM 02/13/07 normal : RC session is completed successfully
    > #(768)# 11:47:12 AM 02/13/07 Normal : CZenRmServer::RCRvThread:
    > hAcceptThread Signals
    > #(768)# 11:47:12 AM 02/13/07 Critical :
    > RMAudit::Auditing.cpp:recordAuditLog() The audit record is corrupted.
    > #(768)# 11:47:12 AM 02/13/07 Normal : RcRvThread: RcAgent.dll is
    > successfully unloaded from memory
    > #(768)# 11:47:12 AM 02/13/07 Normal : RcRvThread: Ict_Uc.dll is not
    > unloaded
    > from memory ...
    > #(768)# 11:47:12 AM 02/13/07 Normal : RcRvThread: Ict_Uc.dll is not
    > unloaded
    > from memory and it is forcefully unloaded...
    > #(768)# 11:47:12 AM 02/13/07 Normal : Darapan is Unloaded successfully
    > #(768)# 11:47:12 AM 02/13/07 Normal : RMSessionFinished - Begin
    >

  • Slow creating ReportDocument object and loading report

    Hi all,
    I realise this question has come up several times before, I've been searching the internet and have found similar problems but non that match my own. Sorry this is a little long winded but I would like to give as much detail as possible.
    I use CR 2008 and VS2010 on my development machine. And I have installed CR 2008 Redist SP3 on the production server.
    My application is a simple console application accepting parameters such as report name, print or export, and of course the report parameters.
    CrystalDecisions.CrystalReports.Engine.ReportDocument rptDoc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    rptDoc.Load(sParamDOC); //sParamDOC being the report name passed in via command line
    It has to be like this because it integrates into an old system in the background. Of course it being like this means I can not pre-load dll's on application startup (as I've seen suggested several times).
    All of this is in house, I'm an OU administrator and an administrator on the server. The server is only accessed via remote desktop and the OS is windows server 2003. I installed all of the neccesary software to make this work.
    What is really puzzling me though is that when I use this program via command prompt, logged in as me, it creates the object and loads the report in a matter of seconds. Yet if anybody else runs it (even other administrators of the server) the program can take 30-60 seconds to create the ReportDocument object and the same again to load the report.
    I initially only noticed this for the standard users, which was why I created another admin to test. I don't think it's a problem with the report design because it works quick for me. I read an article about this happening with reports created in Crystal version 9. So I tested with a report made from scratch in 2008 and still get the same result. I also read another article about default printers, 'dissociate printer' option is selected and locally the default printers are set to the same printer also.
    Does anybody have any suggestions as to where I could look next?
    I saw in another article some registry keys you can use to turn on logging for crystal reports, I want to do this but where does it put the log files?
    Oh, one more thing the server orginally had redist 2.3 on when I noticed this issue, updating to SP3 (redist 3.3) if anything made it slower, and a little more inconsistant of load times.
    Thanks
    Gavin

    I figured out what this was. I thought I would come back and post incase anyone else has the same issue... the reason it was slow for the other users is because they could not access the internet. My program doesn't use the internet but the operating system is automatically trying to verify the dll's publishers. you can disable this see the following blog:
    [http://blogs.msdn.com/b/amolravande/archive/2008/07/20/startup-performance-disable-the-generatepublisherevidence-property.aspx|http://blogs.msdn.com/b/amolravande/archive/2008/07/20/startup-performance-disable-the-generatepublisherevidence-property.aspx]
    Regards
    Gav

  • How are objects and values passed in rmi?

    how are objects and values passed in rmi?

    In java there are two mwthods of passing aruguments and returning results.
    1) by value
    2) by reference.
    While invoking local methods, java passes primitive types by value and objects by reference.
    However while invoking remote methods both these data types are passed by value. Except for the objects being exported. Reason being two different JVM's are involved and thus memory addresses references of one are meaningles for the other. However "pass by value" for values of type object are implemented as deep copy.

  • Log on to remote server and start database -error while installing CI in HA

    Hello All,
    We are installing ECC 6.0 with High Availability using HP-UX. We have completed installation in ASCS and Database Instance. Now when were trying to install in Central Instance, we encountered an error at Start Instance which informed us to Log on to remote server and start database. However the database is already running in DB node.  Please find the log below.
    TRACE      2011-06-10 16:31:45.825 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 25742
    INFO       2011-06-10 16:31:45.835
               CJSlibModule::writeInfo_impl()
    Output of /usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001 is written to the logfile start_PE2_DVEBMGS01.log.
    WARNING    2011-06-10 16:31:46.345
               CJSlibModule::writeWarning_impl()
    Execution of the command "/usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001" finished with return code 6. Output:
    Database PE2 must be started on remote server
    Log on to remote server and start database
    WARNING[E] 2011-06-10 16:31:46.355
               CJSlibModule::writeError_impl()
    CJS-20022  Could not start instance 'DVEBMGS01' of SAP system PE2.
    TRACE      2011-06-10 16:31:46.355 [iaxxejsbas.hpp:408]
               handleException<ESAPinstJSError>()
    Converting exception into JS Exception EJSException.
    TRACE      2011-06-10 16:31:46.355
    Function setMessageIdOfExceptionMessage: ind-rel.ind-os.ind-db.webas.startInstanceFailed
    WARNING[E] 2011-06-10 16:31:46.355
               CJSlibModule::writeError_impl()
    CJS-20022  Could not start instance 'DVEBMGS01' of SAP system PE2.
    TRACE      2011-06-10 16:31:46.355 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    TRACE      2011-06-10 16:31:46.405 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 25793
    ERROR      2011-06-10 16:31:46.525 [sixxcstepexecute.cpp:950]
    FCO-00011  The step start with step key |NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|NW_CI_Instance_Start|ind|ind|ind|ind|2|0|start was executed with status ERROR .
    TRACE      2011-06-10 16:31:46.555 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > SAP Application Server ABAP > Oracle > High-Availability System > Central Instance . You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/HA/CI. </p> </body></html>
    TRACE      2011-06-10 16:31:46.555 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    Kindly let us know how to rectify the error and prroceed further with the instalaltion.
    Thanks
    Rishi

    Dear Guys,
    we didnt change the date and time but i m very sure it is same trans.log file.
    for your kind information please note SID and Nodes details
    Sid (PE2)
    DB Node : DBMDB001
    CI Node :   DBMCI001
    also i am attaching starting part of the file.
    4 ETW000 R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 07.11.2010 - 03:44:06
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Sun Nov  7 03:44:06 2010                             295  0.000295
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    22  0.000317
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                            116  0.000433
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' ...
    4 ETW000                                                                              64  0.000497
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/PC1/SYS/exe/run/dboraslib.so), hdl 0
    4 ETW000                                                                           32161  0.032658
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' loaded
    4 ETW000                                                                              39  0.032697
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library
    /usr/sap/PC1/SYS/exe/run/dboraslib.so
    4 ETW000                                                                             111  0.032808
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/PC1/SYS/exe/run/dboraslib.so' is "700.08",
    patchlevel (0.25)
    4 ETW000                                                                             265  0.033073
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library
    /usr/sap/PC1/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              41  0.033114
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library
    /usr/sap/PC1/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              82  0.033196
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              52  0.033248
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES,
    reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              41  0.033289
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         84  0.033373
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              31  0.033404
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES,
    reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              37  0.033441
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.4.0'                  601  0.034042
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         25  0.034067
    4 ETW000  [dev trc     ,00000]  Client character set UTF16 -> UTF8                 35674  0.069741
    4 ETW000  [dev trc     ,00000]  Client NLS setting (OCINlsGetInfo): 'AMERICAN_AMERICA.UTF8'
    4 ETW000                                                                              57  0.069798
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           55  0.069853
    4 ETW000  [dev trc     ,00000]  Connecting as /@PC1 on connection 0 (nls_hdl 0) ... (dbsl 700
    151208)
    4 ETW000                                                                              34  0.069887
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C     
    EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              52  0.069939
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      0
    0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
    4 ETW000                                                                              58  0.069997
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       40  0.070037
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      27  0.070064
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server PC1
    (con_hdl=0,svchp=0x600000000106aa68,srvhp=0x600000000106de78)
    4 ETW000                                                                              63  0.070127
    4 ETW000  [dev trc     ,00000]  Assigning server context 0x600000000106de78 to service context
    0x600000000106aa68
    4 ETW000                                                                           60612  0.130739
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                        97  0.130836
    4 ETW000  [dev trc     ,00000]  Starting user session: OCISessionBegin(con_hdl=0,
    usr='/',svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
    4 ETW000                                                                              64  0.130900
    4 ETW000  [dev trc     ,00000]  Assigning user session 0x60000000010fc940 to service context
    0x600000000106aa68
    4 ETW000                                                                            9302  0.140202
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=53, stmth_p=0x6000000001077608)
    4 ETW000                                                                             198  0.140400
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1); END;        
    4 ETW000                                                                              38  0.140438
    4 ETW000  [dev trc     ,00000]  CbApplInfoGet() failed! Ignore, but uninstall callback to avoid more
    erroneous calls
    4 ETW000                                                                             291  0.140729
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001078660)
    4 ETW000                                                                              33  0.140762
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;       
    4 ETW000                                                                              35  0.140797
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
    4 ETW000                                                                             937  0.141734
    4 ETW000  [dev trc     ,00000]         SELECT SID FROM V$MYSTAT WHERE ROWNUM<2                                                                               
    4 ETW000                                                                              36  0.141770
    4 ETW000  [dev trc     ,00000]  Connected to session 297.                            639  0.142409
    4 ETW000  [dev trc     ,00000]  Now '/@PC1' is connected: con_hdl=0, nls_hdl=0, session_id=297.
    4 ETW000                                                                              38  0.142447
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
    4 ETW000                                                                              37  0.142484
    4 ETW000  [dev trc     ,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                                               
    4 ETW000                                                                              36  0.142520
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
    4 ETW000                                                                             327  0.142847
    4 ETW000  [dev trc     ,00000]         SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
    4 ETW000                                                                              36  0.142883
    4 ETW000  [dev trc     ,00000]  Got SAPSR3's password from OPS$-user                 728  0.143611
    4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   38  0.143649
    4 ETW000  [dev trc     ,00000]  Rolling back transaction ...                          31  0.143680
    4 ETW000  [dev trc     ,00000]  Closing user session
    (con_hdl=0,svchp=0x600000000106aa68,usrhp=0x60000000010fc940)
    4 ETW000                                                                             210  0.143890
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     721  0.144611
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@PC1 on connection 0 (nls_hdl 0) ... (dbsl
    700 151208)
    4 ETW000                                                                              40  0.144651
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C     
    EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              37  0.144688
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      0
    0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
    4 ETW000                                                                              37  0.144725
    4 ETW000  [dev trc     ,00000]  Assigning username to user session: con_hdl=0,
    usrhp=0x60000000010fc940
    4 ETW000                                                                              35  0.144760
    4 ETW000  [dev trc     ,00000]  Assigning password to user session: con_hdl=0,
    usrhp=0x60000000010fc940
    4 ETW000                                                                              40  0.144800
    4 ETW000  [dev trc     ,00000]  Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>,
    svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
    4 ETW000                                                                             337  0.145137
    4 ETW000  [dev trc     ,00000]  Assigning user session 0x60000000010fc940 to service context
    0x600000000106aa68
    4 ETW000                                                                            4085  0.149222
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001077608)
    4 ETW000                                                                              63  0.149285
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;       
    4 ETW000                                                                              37  0.149322
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
    4 ETW000                                                                             585  0.149907
    4 ETW000  [dev trc     ,00000]         SELECT SID FROM V$MYSTAT WHERE ROWNUM<2                                                                               
    4 ETW000                                                                              36  0.149943
    4 ETW000  [dev trc     ,00000]  Connected to session 297.                            350  0.150293
    4 ETW000  [dev trc     ,00000]  Now 'SAPSR3/<pwd>@PC1' is connected: con_hdl=0, nls_hdl=0,
    session_id=297.
    4 ETW000                                                                              38  0.150331
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
    4 ETW000                                                                              38  0.150369
    4 ETW000  [dev trc     ,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                                               
    4 ETW000                                                                              34  0.150403
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
    4 ETW000                                                                             294  0.150697
    4 ETW000  [dev trc     ,00000]         SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER IN
    ('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET') ORDER BY PARAM
    4 ETW000                                                                              66  0.150763
    4 ETW000  [dev trc     ,00000]         ETER                                                                               
    4 ETW000                                                                              34  0.150797
    4 ETW000  [dev trc     ,00000]  Database NLS settings: AMERICAN_AMERICA.UTF8         329  0.151126
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
    4 ETW000                                                                             856  0.151982
    4 ETW000  [dev trc     ,00000]         SELECT UPPER(INSTANCE_NAME),HOST_NAME,VERSION,TO_CHAR
    (STARTUP_TIME,'MON DD, YYYY, HH24:MI:SS') FROM V$INSTANCE           
    4 ETW000                                                                              36  0.152018
    4 ETW000  [dev trc     ,00000]  DB instance PC1 is running on scmdb001 with ORACLE version
    10.2.0.4.0 since NOV 07, 2010, 03:23:10
    4 ETW000                                                                             349  0.152367
    4 ETW000  [dev trc     ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
    4 ETW000                                                                              38  0.152405
    4 ETW000  [dev trc     ,00000]         SELECT SUBSTR(NAME,1,3), TO_CHAR(CREATED,'YYYYMMDDHHMMSS')
    FROM V$DATABASE

  • How to store Connection object and call it from other programs.

    Hi,
    I am trying to connect to the database, store the connection object and use this connection object from other standalone java programs.
    Can any one tell me how to do this? I've tried in the following way:
    In the following program I am connecting to the database and saving the connection object in a variable.
    public class GetKT2Connection {
       public static void main(String[] args) {
          String url = "jdbc:odbc:SQLDsn;
          String dbUser = "sa";
          String dbPwd = "sa";
          Connection kt2conn = Connection connection = java.sql.DriverManager.getConnection(url, dbUser, dbPwd);
          if(kt2conn == null) {
             System.out.println("Database Connection Failure!");
          else {
             System.out.println("Connected to Database...");
         GetKTConnectionObj.storeKT2ConnectionObj(kt2conn);
    } Here is the program to save connection object in a variable.
    public class GetKTConnectionObj {
       static Connection kt2Connection = null;
       public static void storeKT2ConnectionObj(Connection conn) {
       kt2Connection = conn;
       public static Connection getKT2ConnectionObj() {
       try {
          return kt2Connection;
       catch(Exception e){
          System.out.println(e);
      return null;
    }Now from the following code I am trying to get the connection object that is stored. But this is throwing NullPointerException.
    public class Metrics_Migration {
      public static void main(String args[]) {
         try {
        java.sql.Connection connection_1 =   GetKTConnectionObj.getKT6ConnectionObj();
         catch(Exception e){
    }

    kt2Connection is null. You need to store it first, to make it not null. Otherwise it will stay null forever. And why on earth are you trying to do this THIS way?
    If you are running the two applications separately, it wont work either.

  • Remote App and iTunes not syncing

    I'm trying to get the Remote.app and the iTunes DJ to sync so that I can control my computer library from iPod Touch. However, the icon for remote does not appear in the iTunes tray under my iPod in "Devices." How can I fix this?
    For starters it is a 2.2 version iPod (volume rocker version) and I have the 3.0 firmware on it. My iTunes is the current 8.2 version. I also already have "Look for iPhone and iPod Touch Remotes" checked in my preferences in iTunes. I do have a wireless connection and both my laptop and iPod are connected to it properly. My iPod was connected before, but accidentally. I removed another computer from the library list and now it won't connect.

    Have had the exact same problem since the last iTunes update came through. remote worked just fine before that.

Maybe you are looking for

  • How can I use LabView to control Altera Scripting

    Hi I have kind of run into a stone wall. I am building a production test executive based on LabView. Part of this process includes loading an FPGA image on to a CFI flash that is in the JTAG chain. I am trying to make so that the production operators

  • Insufficient bandwidth downstream required???

    I've seen this topic and and having the same trouble. both computers have been set at the 1.5mps and Ichat pref has none for bandwidth limits.. Still get the message and error that says: 2006-11-13 13:45:23 -0600: There is insufficient bandwidth to m

  • Query in SAPKKA12 - taking long time

    Hi, The following query is from program SAPKKA12 and taking a long time to run . Any inputs how can I  optimize it? Will index creation on VBAP help?   SELECT vbeln                                                               posnr                  

  • Instance health check.

    Hi All, DB - 8.1.7.4.0 OS - HPUX I am trying to do a quick health check of my instance. Since, I am running on oracle 8i, I believe, the time_waited column captured in ms, I might be wrong here. Also, after seeing this stats, I though to concentrate

  • Can't download adobe product

    After I login to my adobe creative cloud and click on download button from desktop apps page. I got "This page can't be displayed", it happened for two hours already. I tried on IE, chorme and firefox, all the cache and cookie are enable and clear up