Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tomcat doesn't start

3 views
Skip to first unread message

Amunike

unread,
Jan 4, 2006, 1:39:36 PM1/4/06
to

hello guys

I'm trying to run a servlet on Tomcat 5.5 but the server doesn't start. The application raises this exception
"java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
"

I added the bootstrap.jar to the project's "required librairies"
I also added the path to that file to my windows PATH environment variable but I'm still getting that error.

What am I missing?

Thanks for any information

Amunike

unread,
Jan 4, 2006, 1:40:24 PM1/4/06
to

Lori M Olson [TeamB]

unread,
Jan 4, 2006, 3:36:01 PM1/4/06
to
Amunike wrote:
> hello guys
>
> I'm trying to run a servlet on Tomcat 5.5 but the server doesn't start. The application raises this exception
> "java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
> "
>
> I added the bootstrap.jar to the project's "required librairies"

No, no, no.

> I also added the path to that file to my windows PATH environment variable but I'm still getting that error.
>

Really no, no, no.

JBuilder manages all that stuff for you. All you have to do is select
Tomcat 5.5 as the application server for your project. Then JBuilder
will magically add jars specific to the selected server to your required
libraries automatically.

You just need to go to your Project Properties, select "Server" and then
choose... well, Tomcat 5.5 isn't supported in JB2005. You can go with
Tomcat 5.0, or you can search the borland.public.jbuilder.servlets-jsp
group for the many postings about trying to get Tomcat 5.5 working
within JBuilder 2005. Or you can upgrade to JB2006, which does have
Tomcat 5.5 support.

--

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Amunike

unread,
Jan 4, 2006, 2:48:04 PM1/4/06
to

Thanks for your reply Lori

I Installed tomcat 5.5 and the servlet wizard asked me if i wanted to make a copy of that server configuration...I responded "Yes", so now it's trying to run something called Copy_tomcat 5.5.

The paths that I setup don't hurt anything do they?

Paul Furbacher [TeamB]

unread,
Jan 8, 2006, 4:09:05 PM1/8/06
to
Amunike wrote:

> I Installed tomcat 5.5 and the servlet wizard asked me if i wanted
> to make a copy of that server configuration...I responded "Yes", so
> now it's trying to run something called Copy_tomcat 5.5.

I'm not sure how or where you "installed Tomcat 5.5" into JBuilder

One thing you didn't mention earlier is which version of JBuilder
you are trying this against. It's very possible that you cannot
install Tomcat 5.5 in the "thirdparty" directory, and expect
to be able to configure it if you are using JBuilder 2005 or
older. I think that if you look back in the archives, you'll
probably see threads on this, and I think the answer is that
no one has shown how to do this. (I could be wrong; and it
could be that no one has tried hard enough.)

[Here's my take, partly educated from having migrated
a few apps to TC 5.5.x from either TC 4.1.x or TC 5.0.x:
As usual, the wise folks at Tomcat, LLC (or is it .org?)
decided that they'd rather radically alter things in the
"dot" release that TC 5.5 is wrt to TC 5.0. In doing so,
they quite radically altered Web app configuration, e.g.,
context.xml now contains much of what was formerly put
into server.xml, such that it renders the expectations/
specifications on which JBuilder's Tomcat support rest
sort of null and void. Nice work Tomcat, LLC. The truth
is, THEY DO THIS FOR EVERY "DOT" RELEASE. Kind of infuriating,
if you ask me. The flip side to the story is that without
adequate documentation of the Open Tool's Server API, we in
the community have our hands tied, unlike those in the Eclipse
community who can rather easily crank out a solution when
Tomcat, LLC changes their minds with a change in the weather.
The lack of such documentation may be motivated by the fact
that these Web development/Server support Open Tools are part
of the reason JBuilder Developer and Enterprise have a
price tag.]

Your best bets are:

1. as Lori noted, upgrade to JBuilder 2006 Developer;
(okay, that may be more than you want to spend, but
banging your head against the wall for how many hours
may make it seem cheap, something which 99.9994% open
source IDE users don't seem to get);

2. run Tomcat 5.5.9 as a stand-alone and debug remotely
using JBuilder 2005. The remote debugging facility is
pretty darned good, and many of us used it to develop
with Weblogic for a very long time until WL was supported
in JBuilder.

> The paths that I setup don't hurt anything do they?

The paths you set up may hurt. It's hard to tell, though.
You'd be wise to remove all the stuff you added to your
project's "Required Libraries" tab that are related to
this attempt to get Tomcat 5.5 going.


--


Paul Furbacher (TeamB)

Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.

0 new messages