Re: jswat not breaking when running on tomcat 4.1.12
Nathan Fiedler <[email protected]>
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <1034556186.9420.6.camel@chip> |
So I downloaded IBM JDK 1.3 and Tomcat 4.1.12 to reproduce the problem you were having. It seems like the IBM JDK has problems with JPDA. Starting Tomcat with JPDA enabled seems alright, and connecting JSwat 1.6 to it works alright. But anything after that (e.g. "class *.RequestInfoExample") causes a hang in both JSwat and Tomcat. I then used JavaSoft JDK 1.4.1 and that worked much better. Start Tomcat and JSwat, connected the two, and set a breakpoint. Sure enough, the breakpoint was hit when the example was invoked. I suspect that (once again) the IBM JDK is not doing something exactly the way the JavaSoft JDK does. Either JSwat is using a feature that the IBM implementation cannot handle, or the IBM implementation has problems. It wouldn't be the first time I've noticed a problem in the IBM JDK. My recommendation: If you really must use the IBM JDK, see if their 1.4 version works any better. Otherwise, use the JavaSoft JDK. It's what JSwat is developed against and seems to work the best. nathan