BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tomcat doesn't start

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Enterprise
View previous topic :: View next topic  
Author Message
Amunike
Guest





PostPosted: Wed Jan 04, 2006 6:40 pm    Post subject: Tomcat doesn't start Reply with quote




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
Back to top
Amunike
Guest





PostPosted: Wed Jan 04, 2006 7:48 pm    Post subject: Re: Tomcat doesn't start Reply with quote




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?




"Lori M Olson [TeamB]" <javadragon (AT) techie (DOT) com> wrote:
Quote:
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


Back to top
Lori M Olson [TeamB]
Guest





PostPosted: Wed Jan 04, 2006 8:36 pm    Post subject: Re: Tomcat doesn't start Reply with quote



Amunike wrote:
Quote:
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.

Quote:
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

Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Sun Jan 08, 2006 9:09 pm    Post subject: Re: Tomcat doesn't start Reply with quote

Amunike wrote:

Quote:
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.

Quote:
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.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Enterprise All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.