Java Upoc in tclIndex

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Java Upoc in tclIndex

  • Creator
    Topic
  • #51205
    Tom Rioux
    Participant

    In a post from last year, I someone had written the following:

    You need to be careful about running mktclindex in the $HCIROOT/tclprocs directory.  Doing so will break any Java UPoC’s you’re using, or won’t allow you to start using them in the future.  The procs that control Cloverleaf’s Java UPoC’s are stored in another directory ($HCIROOT/tcl/lib/tfc).  When you run mktclindex, it only looks in the current directory for files to include.  Therefore, the references to the procs in the $HCIROOT/tcl/lib/tfc directory will be lost.

    We had this very same issue bite us over the weekend.  We found that someone ran the mktclindex in the $HCIROOT/tclprocs directory back a couple of weeks ago.  The process where the Java UPoC’s were located hadn’t been bounced, so everything worked fine.   However, over the weekend we had a downtime and the process was bounced.

    Is this normal behavior for the mktclIndex for the root directory?  Is this a bug or is it supposed to work this way?  

    Thanks….Tom Rioux

Viewing 0 reply threads
  • Author
    Replies
    • #69182
      Tom Rioux
      Participant

      Follow up question:

      Why does the cloverleafjava.tcl file have to be in the $HCIROOT/tcl/lib/tfc directory?  When we ran into this issue then I copied it to the $HCIROOT/tclprocs directory.   This way, running the mktclindex won’t cause the entries to disappear, but as the earlier post says, it will cause the engine to look in the current directory for the file.

      Any reason why I should have it in one place over the other?

      Thanks…Tom Rioux

Viewing 0 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,297
Replies
34,440
Topic Tags
287
Empty Topic Tags
10