First, here is a Borland article on setting up JBuilder 3.5 to use Tomcat 3.1 for Servlet/JSP debugging. I just managed to try it and it works great. The advantage of this over "standard" JBuilder is that JBuilder as-is supports only Servlets 2.1/JSP 1.0 (AFAIR) while Tomcat 3.1 supports Servlets 2.2/JSP 1.1:
http://community.borland.com/article/0,1410,22057,00.html
Also once you follow this article you might want to learn how to configure web applications in Tomcat, the short answer is to add a <Context> tag in the server.xml file, the long answer can be found in the Tomcat FAQ:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/faq
("Q: What is a web-application? How can I install a new web-application?")
Hope this saves others the digging I had to do.
Cheers,
--Amos Shapira
WebCollage
Discussions
Web tier: servlets, JSP, Web frameworks: Article about setting up JBuilder with Apache Tomcat
-
Article about setting up JBuilder with Apache Tomcat (7 messages)
- Posted by: Amos Shapira
- Posted on: June 13 2000 15:20 EDT
Threaded Messages (7)
- Thanks for the information... by Anthony Smith on June 20 2000 00:10 EDT
- Thanks for the information... by Sheldon Wosnick on June 22 2000 22:08 EDT
- Article about setting up JBuilder with Apache Tomcat by Eric Ma on June 24 2000 17:27 EDT
- Article about setting up JBuilder with Apache Tomcat by Keanu Johnson on November 08 2000 11:10 EST
- Article about setting up JBuilder with Apache Tomcat by MARK ROBSON on February 03 2004 10:20 EST
- Article about setting up JBuilder with Apache Tomcat by Thierry Rouget on May 05 2004 04:27 EDT
- Context Problems with JBuilder4 and TOMCAT Version 3.2.4 by Chandra Vedantham on October 08 2004 07:10 EDT
-
Thanks for the information...[ Go to top ]
- Posted by: Anthony Smith
- Posted on: June 20 2000 00:10 EDT
- in response to Amos Shapira
Thanks for the research and information.
In the future, please prefix web links with "www." as well as "http://". -
Thanks for the information...[ Go to top ]
- Posted by: Sheldon Wosnick
- Posted on: June 22 2000 22:08 EDT
- in response to Anthony Smith
You guys might want to see the (original) article (mine) that I have reason to believe this one was strongly "based" on. In fact by some strange "coincidence" the the titles are even virtually identical as well as the list of benefits of using Tomcat as a development and debug environment.
You may not necessarily be interested in VisualAge for Java, but in case you are, or you'd like to see an alternative approach, please see the "original" Tomcat article, "Apache Tomcat 3.1 Final Release Servlet and JSP Development with VisualAge for Java"
can be viewed at:
http://www7.software.ibm.com/vad.nsf/Data/Document2390?OpenDocument
which was based on my Tomcat 3.0 paper,
"Apache Tomcat Servlet and JSP Development with VisualAge for Java" viewable at:
http://www7.software.ibm.com/vad.nsf/Data/Document2389?OpenDocument&p=1
and published there in January 2000.
- Sheldon Bradley Wosnick -
Article about setting up JBuilder with Apache Tomcat[ Go to top ]
- Posted by: Eric Ma
- Posted on: June 24 2000 17:27 EDT
- in response to Amos Shapira
The only info that is missing now is how to use Visual Cafe EE 3.1 to remotely debug JSP's using Tomcat 3.1. The WebGain site has an article on using WebLogic as the servlet container for this purpose. Take a look at:
http://www.webgain.com/Developers/tips_tech/tt_article/JSPdebug.htm
I have not been able to get it to work because for some reason the IDE cannot attached to the debug VM that is running.
Eric Ma -
Article about setting up JBuilder with Apache Tomcat[ Go to top ]
- Posted by: Keanu Johnson
- Posted on: November 08 2000 11:10 EST
- in response to Amos Shapira
I follow the instruction for setting up JBuilder with Apache but when I try to run it, I got a message saying that it was unable to run because missing information in cofiguration. the computer opened automatically the property run tab, any ideas?
thank you,
Keanu. -
Article about setting up JBuilder with Apache Tomcat[ Go to top ]
- Posted by: MARK ROBSON
- Posted on: February 03 2004 10:20 EST
- in response to Amos Shapira
Hi, I'm using Borland JBuilderX, when I make any changes to the server.xml (i.e. creating a new context) and restart the server, my code has been deleted and reverts to the original. Can anyone help at all? Thanks,
Mark -
Article about setting up JBuilder with Apache Tomcat[ Go to top ]
- Posted by: Thierry Rouget
- Posted on: May 05 2004 04:27 EDT
- in response to MARK ROBSON
Hi, you will actually find the answer in Borland's docs at http://info.borland.com/techpubs/jbuilder/jbuilderx/j2eeapps/tomcat.html in section "Creating a custom server.xml file with Tomcat".
Regards,
Thierry. -
Context Problems with JBuilder4 and TOMCAT Version 3.2.4[ Go to top ]
- Posted by: Chandra Vedantham
- Posted on: October 08 2004 07:10 EDT
- in response to Amos Shapira
Hi,
I have developed an application Using Java Servlets.
Now the problem with this one is when I run the application normally (Using Tomcat) everything works fine, but when I try to run this configuring the same in Jbuilder for Debug mode it fails to load the resources from my web application.
Say the hierarchy is as below:
<TOMCAT-HOME>
--WebApps
--MyWebApp
--resources
When I run the application MyWebApp using the tomcat alone every thing is fine.
But if I try to debug the same MyWebApp fails to load the resources form the relative path "/resources/look.gif".
Can anyone let me know where am I wrong or can anyone provide me a complete guidance as to how to set the Jbuilder for Debugging.
If I am not clear do let me know so that i can elaborate.
Also, I have just joined the forum.
Is there any chance for having a Online Chat regarding the same???
Regards,
Chandra.