2

I've created a script to do stuff in the Online mode, for weblogic server 12.1.1.

I obviously messed something up, and i'd like to have the stack trace so that i can analyze what went wrong.

I'm currently doing something like this:

try:
    connect("user","pass","t3://localhost:7001")
    messThingsUp()
except:
    dumpStack()
    rollback()

Instead of a stack trace i get: "No stack trace available".

Please help

Thx, you guys rule!

vlad-ardelean
  • 7,480
  • 15
  • 80
  • 124

1 Answers1

5

I had the same problem, and I ended up using this code:

except Exception, inst:
    print('some diagnostic message here')
    print inst
    print sys.exc_info()[0]
Pierluigi Vernetto
  • 1,954
  • 1
  • 25
  • 27
  • 1
    lol, thx :) eventually i got along without it, and in the mean time i changed jobs :P But thx for the input, and have fun oveflowing stacks :) – vlad-ardelean Aug 16 '12 at 19:23