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!
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]