I'm not sure whether there are any ways to catch an exception and write the stack trace to a string.
However, if you are debugging the application, you can see the stack trace from JBoss log. If you need more details in the log, change JBoss log level to DEBUG.
- To see JBoss log: go to \LiveCycle8\jboss\server\all\log\server.log
- To change log level:
Go to \LiveCycle8\jboss\server\all\conf\log4j.xml
Look for this line <param name="Threshold" value="INFO"/>
Then change INFO to DEBUG
Please don't be aggressive here. The fact that your question did not get answered does not mean the whole forum is useless.
Khoa Tran
http://avoka.com