You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Liang Li <Ll...@Cleanwise.com> on 2001/07/03 18:37:14 UTC

Can Netbeans debug whole application using JBoss_Tomcat - RE: Net beans Support of Struts

I got the struts-example with standalone Tomcat debugged under Netbean, I'm
trying to use Jboss embedded Tomcat, can I debug ejbs along with jsps?  

-----Original Message-----
From: suhas [mailto:suhas_k@techmas.hcltech.com]
Sent: Tuesday, July 03, 2001 2:44 PM
To: struts-user@jakarta.apache.org
Subject: Re: Netbeans Support of Struts


servlet.jar should be in ur application root's Web-inf/lib directory

Suhas
----- Original Message -----
From: Ryan Cornia <rc...@dced.state.ut.us>
To: <st...@jakarta.apache.org>
Sent: Tuesday, July 03, 2001 2:24 PM
Subject: RE: Netbeans Support of Struts


I tried to get this working this morning without success.

When I try and run the project, I get a pop-up error "!instance of
JarDataObject". Any ideas?

Under my project, I added "servlet.jar", "clasess111.jar" (for db),
"jasper.jar", "jaxp.jar", "Webserver.jar", "ant.jar", and "parser.jar" (all
under c:\tomcat\lib)

Then I set the main class as you show below.

Finally, I added the -Dtomcat.home=c:\tomcat to the External Process
Property.

Is there a specific directory structure the source needs to be in for this
to work? I have my source files in WEB-INF\src. To run this in netbeans, do
I need to move the source files to WEB-INF\classes? I am trying to keep the
.java files separate from the .class files.

Thanks,
Ryan


>>> richard.allwood@metering.co.nz 07/02/01 05:35PM >>>
Yes you can run/debug a struts application using Netbeans 3.2.

To get it going (using tomcat):
- Add all the tomcat libraries into your Projects Filesystems.
- Add a link in the Project window to "webserver.jar"
- Make "org.apache.tomcat.startup.Tomcat" your main class
- Edit the project settings "Execution Types" properties. Add
-Dtomcat.home=C:\tomcat to all the "External Process" properties (So that
the tomcat startup class knows where to file the tomcat web applications)

Just use "Execute Project", or "Debug Project" from the main menu to run, or
debug your struts application.


Richard.


-----Original Message-----
From: Dan.C.Wieschhaus@mail.sprint.com
[mailto:Dan.C.Wieschhaus@mail.sprint.com]
Sent: 03 July 2001 05:07
To: struts-user@jakarta.apache.org
Subject: Netbeans Support of Struts


Does the Netbeans IDE support the creation of Struts applications and
running/debugging them inside Netbeans?

Dan