For remote debugging, the Tomcat 4.x startup script (Catalina.sh or
catalina.bat) will take a command line option 'debug'. This will start the
JVM with the correct switches for running the JPDA debugger (see jdk tool
doc for more info). If you look at the start script for catalina, you can
see the port the debugger will be listening on. Thus in the debug menu of
Forte, find the option which says connect to JVM. Just fill out the type
(socket in this case) and the port as specified in your catalina.bat

You should now be able to remotely debug...

regards

Rob

----- Original Message -----
From: "Lee Torrence" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 01, 2001 7:49 AM
Subject: Forte


> I just started using Forte 3.0 (migrating from Kawa) and I like it a lot.
> One thing puzzles me. When I execute a struts project, the internal Tomcat
> server launches, but gives an error message saying "The Tomcat server is
not
> running correctly".
>
> In the tc_log I get the following messages:
>
> 2001-10-31 03:43:14 - ContextManager: Adding context Ctx(  ) 2001-10-31
> 03:43:15 - ContextManager: Adding context Ctx( /dummyapp ) 2001-10-31
> 03:43:15 - Ctx(  ): Removing duplicate servlet jsp
> jsp(org.netbeans.modules.web.tomcat.JspServlet/null) 2001-10-31 03:43:15 -
> Ctx(  ): Removing duplicate *.jsp ->
> jsp(org.apache.jasper.servlet.JspServlet/null) 2001-10-31 03:43:57 - Ctx(
> /dummyapp ): Removing duplicate servlet jsp
> jsp(org.netbeans.modules.web.tomcat.JspServlet/null) 2001-10-31 03:43:57 -
> Ctx( /dummyapp ): Removing duplicate *.jsp ->
> jsp(org.apache.jasper.servlet.JspServlet/null) 2001-10-31 03:43:57 -
> PoolTcpConnector: Starting HttpConnectionHandler on 8080 2001-10-31
03:43:57
> - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8006 2001-10-31
> 03:43:58 - Ctx(  ): 400 R( /) null
>
> I don't get this message if I run a non-struts webapp.
>
> Also, a side issue -- is there any way to debug struts apps running in
> Tomcat 4.x with Forte?
>
> Thanks for any help...
>
> Lee Torrence
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to