• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBuilder 6 and Tomcat4.0.4 configuration...

Dane Frazier
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had problems getting tags to work in JB6 so with the help of
some good advise from several folks here at the ranch, I got it
saddled up.
Mind the fact that JBuilder worked "out-of-the-box" for standard
JSP/EJB and Servlets no problem (using TC3.2.x and JDK1.3.x) it choked
on tags and all that they had to offer.
Errors that I received were generally "cannot load class null or class

Configuring Jbuilder 6
Here's the steps that I went through to configure JBuilder 6 for use with
Tomcat 4.0.4 and JDK1.4.x
Install the JDK1.4
Install the lastest release of Tomcat4.0.x (4.0.4 at this writing). Make sure to
install it into a path that contains no spaces (i.e. "C:/apache/jakarta-tomcat-4.0.4" also known as CATALINA_HOME), as JBuilder
docs say that "JB" won't work installed in a path with names...
Configure TC for a "context" that you can work out of:
on my drive that's c:\work\test so the context tag to add to server.xml
is as follows:

Step 4:
Additionally, I added servlet.jar found in <CATALINA_HOME>/common/lib/ to my
Step 5:
RE-BOOT - while this is not necessary, it gave me a chance to head to the privy.
Step 6:
Fire up JBuilder and click on the "project/default project properties" menu.
Navigate to the "Web Server" tab and choose Tomcat 4.0 from the drop down, click "Setup"
Click the "elipses" and choose your TC installation directory root (i.e. "C:/apache/jakarta-tomcat-4.0.4"),
make sure that "%CATALINA_HOME%/bin/bootstrap.jar" is listed in the "classes" pain (that's pane - if not choose it).
Step 8:
Under tools / IDE Options menu, choose "Web". Make sure that "Copy web run/debug..." is checked and that
"Use web view on running..." is selected.
Step 9:
Create a new project that has a class, jsp, tld in it. Test it from the web run - mine worked.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic