What do u mean normal way doesn't work.
Put some debugging statements in yr code and if that doesnt hlep use eclipse debugger, like breakpoints and and then analyse the calls and stack.
I know how use the Eclipse debugger and that is what is not working for me. I want to analyse my calls and stacks but when I use the debugger in Eclipse my application doesn't work. I think it is because I am debugging my code that has not been deployed to JBoss. When I use Ant to run my code that has been ddeployed to JBoss it works fine. What I am looking for is a way to use the Eclipse debugger to debug my deployed code.
I've fixed this problem. I hadn't got all the correct jar files from the client folder in JBoss in my classpath. After I did that I was able to use the Eclipse debugger.