Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dbb91a6049d50eba8b5f2df61df29357e4b34218c748cab721bd84bc90ede87a
Ticket: 33b31074db3689cc4bf70735f558faf3ecf1b07f
Having problems with a OraTcl set up
User & Date: sebres on 2018-01-23 20:49:18
Changes

  1. icomment:
    1. So you've no segfault/core-dumps anymore?
    
    2. Corresponding the source code I can imagine only few situations where it returns nothing, in any error case it calls internally `Oratcl_Checkerr`, that will set error-message retrieved from OCI to the calling interpreter.
    Only in case of error codes OCI_INVALID_HANDLE, OCI_CONTINUE (and OCI_SUCCESS) it does nothing.
    
    The case of OCI_INVALID_HANDLE may occur here if you'll not be able to create ora-enironment at all (OCI_EnvCreate failed).
    
    So please do `puts "$::errorCode : $::errorInfo"` after failed oralogon, 
    to be sure you've really an error case.
    Resp. just constrol which integer will return
    `catch {oralogon autotn/pant04sl@mynah01d}`.
    
    3. But you could also try to call it with `-failovercallback` parameter:
    ```
    proc test_fcb {args} {::puts "test_fcb: $args"}
    
    oralogon autotn/pant04sl@mynah01d -failovercallback test_fcb
    ```
    
  2. login: "sebres"
  3. mimetype: "text/plain"