If you use the JPDA debugger, you can use any version of tomcat *on any machine* with the NB debugger. Mount all the jars in the $CATALINA_HOME/common/lib directory. Mount all the jars in then <your-context>/WEB-INF/lib directory. Mount the <your-context>/WEB-INF/classes directory. Next, set an environment variable CATALINA_OPTS to this: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
Then start tomcat. Now, you can connect from netbeans: Debug > Attach... Debugger Type: Default debugger (JPDA) Connector: SocketAttach Transport: dt_socket Host: localhost Port: 8000 If you have source versions of the jars, you can mount the directories (or jars) with the source and debug them too. For example, for jdk1.4, mount $JAVA_HOME/src.zip and you can debug all they way down to java.lang.Object if you are into that sort of thing. I usually unzip/unjar all source (java, tomcat, struts, jakarta-commons, etc...) into one directory tree, that way I can mount that one directory and debug everything. Another nice benefit of this approach is that you can run javadoc on that tree and have one place for all your javadocs... Larry >>> [EMAIL PROTECTED] 05/15/02 03:27AM >>> Hi World! I have got Struts 1.0.2 (particularly struts-example) running under NetBeans 3.3.1 (built-in Tomcat 3.2.1).

