Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Can't start Tomcat
Can't start Tomcat [message #77687] Sun, 27 February 2005 14:16 Go to next message
Eclipse UserFriend
Originally posted by: fassev.gmx.de

Hello,

I downloaded and installed the new M3 build of the WTP and created a new
Web Project as showed in the Tutorial "WTP Tutorials - Building a School
Schedule Web Application". Everything goes ok, except that I am not able
to start the Tomcat 5.0. I am getting Class not found Exceltion :

java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

Looking at the Tomcat v5.0 runtim configuration within my project, I do
not see the bootstrap.jar, commons-launcher.jar, commons-daemmon.jar - all
of them laying in the Tomcat5.0/bin directory.

What I am doing wrong?

Best Regards
Peter
Re: Can't start Tomcat [message #77807 is a reply to message #77687] Sun, 27 February 2005 22:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: muhammad.dwyer.gmail.com

I have exactly the same problem and exactly the same error. It just doesn't
seem to be neatly integrated the way WSDK 5.1 was in Eclipse 2. I'm hoping
the next release should address this issue, otherwise I'm lost.

> Hello,
>
> I downloaded and installed the new M3 build of the WTP and created a
> new Web Project as showed in the Tutorial "WTP Tutorials - Building a
> School Schedule Web Application". Everything goes ok, except that I am
> not able to start the Tomcat 5.0. I am getting Class not found
> Exceltion :
>
> java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
>
> Looking at the Tomcat v5.0 runtim configuration within my project, I
> do not see the bootstrap.jar, commons-launcher.jar,
> commons-daemmon.jar - all of them laying in the Tomcat5.0/bin
> directory.
>
> What I am doing wrong?
>
> Best Regards
> Peter
Re: Can't start Tomcat [message #78505 is a reply to message #77687] Tue, 01 March 2005 10:01 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Hi Peter,

Are you specifying the root directory of you Tomcat install as the install
location? If so, what is the directory name? There was a post above that
suggested the directory name must be as creates it when you unzip.


Lawrence


>Hello,
>
>I downloaded and installed the new M3 build of the WTP and created a new
>Web Project as showed in the Tutorial "WTP Tutorials - Building a School
>Schedule Web Application". Everything goes ok, except that I am not able
>to start the Tomcat 5.0. I am getting Class not found Exceltion :
>
>java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
>
>Looking at the Tomcat v5.0 runtim configuration within my project, I do
>not see the bootstrap.jar, commons-launcher.jar, commons-daemmon.jar -
all
>of them laying in the Tomcat5.0/bin directory.
>
>What I am doing wrong?
>
>Best Regards
>Peter
Re: Can't start Tomcat [message #78736 is a reply to message #78505] Tue, 01 March 2005 19:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: muhammad.dwyer.gmail.com

Hello Lawrence,

My tomcat installation directory is E:\jakarta-tomcat-5.0.28\ - this is also
how I entered it in the "Edit Server Runtime" dialog - otherwise eclipse
won't let you get any further.

> Hi Peter,
>
> Are you specifying the root directory of you Tomcat install as the
> install location? If so, what is the directory name? There was a post
> above that suggested the directory name must be as creates it when you
> unzip.
>
> Lawrence
>
>> Hello,
>>
>> I downloaded and installed the new M3 build of the WTP and created a
>> new Web Project as showed in the Tutorial "WTP Tutorials - Building a
>> School Schedule Web Application". Everything goes ok, except that I
>> am not able to start the Tomcat 5.0. I am getting Class not found
>> Exceltion :
>>
>> java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
>>
>> Looking at the Tomcat v5.0 runtim configuration within my project, I
>> do not see the bootstrap.jar, commons-launcher.jar,
>> commons-daemmon.jar -
>>
> all
>
>> of them laying in the Tomcat5.0/bin directory.
>>
>> What I am doing wrong?
>>
>> Best Regards
>> Peter
Re: Can't start Tomcat [message #78794 is a reply to message #78736] Tue, 01 March 2005 21:09 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
I was able to duplicate this. Drop the trailing '\' and just use
"E:\jakarta-tomcat-5.0.28" and it should work. The extra '\' causes the
launch configuration to contain "...\bin\" rather than
"...\bin\bootstrap.jar" in the classpath.

You can either delete and re-create the server, or execute Window ->
Preferences and select Server -> Installed Runtimes -> "your runtime"
and click Edit. Remove the trailing '\' from the installation directory
and save.

I'll see about logging a defect and providing a patch.

Cheers,
Larry

Muhammad Dwyer wrote:
> Hello Lawrence,
>
> My tomcat installation directory is E:\jakarta-tomcat-5.0.28\ - this is
> also how I entered it in the "Edit Server Runtime" dialog - otherwise
> eclipse won't let you get any further.
>
>> Hi Peter,
>>
>> Are you specifying the root directory of you Tomcat install as the
>> install location? If so, what is the directory name? There was a post
>> above that suggested the directory name must be as creates it when you
>> unzip.
>>
>> Lawrence
>>
>>> Hello,
>>>
>>> I downloaded and installed the new M3 build of the WTP and created a
>>> new Web Project as showed in the Tutorial "WTP Tutorials - Building a
>>> School Schedule Web Application". Everything goes ok, except that I
>>> am not able to start the Tomcat 5.0. I am getting Class not found
>>> Exceltion :
>>>
>>> java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
>>>
>>> Looking at the Tomcat v5.0 runtim configuration within my project, I
>>> do not see the bootstrap.jar, commons-launcher.jar,
>>> commons-daemmon.jar -
>>>
>> all
>>
>>> of them laying in the Tomcat5.0/bin directory.
>>>
>>> What I am doing wrong?
>>>
>>> Best Regards
>>> Peter
>
>
>
>
Re: Can't start Tomcat [message #78824 is a reply to message #78794] Tue, 01 March 2005 21:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: muhammad.dwyer.gmail.com

Dear Larry,

Thank you very much! I've now got my first JSP running on Tomcat under Eclipse!
I can now move onto some more serious stuff. Excellent, thanks again.

Kind regards,
Muhammad

> I was able to duplicate this. Drop the trailing '\' and just use
> "E:\jakarta-tomcat-5.0.28" and it should work. The extra '\' causes
> the launch configuration to contain "...\bin\" rather than
> "...\bin\bootstrap.jar" in the classpath.
>
> You can either delete and re-create the server, or execute Window ->
> Preferences and select Server -> Installed Runtimes -> "your runtime"
> and click Edit. Remove the trailing '\' from the installation
> directory and save.
>
> I'll see about logging a defect and providing a patch.
>
> Cheers,
> Larry
> Muhammad Dwyer wrote:
>
>> Hello Lawrence,
>>
>> My tomcat installation directory is E:\jakarta-tomcat-5.0.28\ - this
>> is also how I entered it in the "Edit Server Runtime" dialog -
>> otherwise eclipse won't let you get any further.
>>
>>> Hi Peter,
>>>
>>> Are you specifying the root directory of you Tomcat install as the
>>> install location? If so, what is the directory name? There was a
>>> post above that suggested the directory name must be as creates it
>>> when you unzip.
>>>
>>> Lawrence
>>>
>>>> Hello,
>>>>
>>>> I downloaded and installed the new M3 build of the WTP and created
>>>> a new Web Project as showed in the Tutorial "WTP Tutorials -
>>>> Building a School Schedule Web Application". Everything goes ok,
>>>> except that I am not able to start the Tomcat 5.0. I am getting
>>>> Class not found Exceltion :
>>>>
>>>> java.lang.NoClassDefFoundError:
>>>> org/apache/catalina/startup/Bootstrap
>>>>
>>>> Looking at the Tomcat v5.0 runtim configuration within my project,
>>>> I do not see the bootstrap.jar, commons-launcher.jar,
>>>> commons-daemmon.jar -
>>>>
>>> all
>>>
>>>> of them laying in the Tomcat5.0/bin directory.
>>>>
>>>> What I am doing wrong?
>>>>
>>>> Best Regards
>>>> Peter
Re: Can't start Tomcat [message #79069 is a reply to message #78794] Wed, 02 March 2005 13:58 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
I've entered <https://bugs.eclipse.org/bugs/show_bug.cgi?id=86988> for
this bug.

Larry

Larry Isaacs wrote:
> I was able to duplicate this. Drop the trailing '\' and just use
> "E:\jakarta-tomcat-5.0.28" and it should work. The extra '\' causes the
> launch configuration to contain "...\bin\" rather than
> "...\bin\bootstrap.jar" in the classpath.
>
> You can either delete and re-create the server, or execute Window ->
> Preferences and select Server -> Installed Runtimes -> "your runtime"
> and click Edit. Remove the trailing '\' from the installation directory
> and save.
>
> I'll see about logging a defect and providing a patch.
>
> Cheers,
> Larry
>
> Muhammad Dwyer wrote:
>
>> Hello Lawrence,
>>
>> My tomcat installation directory is E:\jakarta-tomcat-5.0.28\ - this
>> is also how I entered it in the "Edit Server Runtime" dialog -
>> otherwise eclipse won't let you get any further.
>>
>>> Hi Peter,
>>>
>>> Are you specifying the root directory of you Tomcat install as the
>>> install location? If so, what is the directory name? There was a post
>>> above that suggested the directory name must be as creates it when you
>>> unzip.
>>>
>>> Lawrence
>>>
>>>> Hello,
>>>>
>>>> I downloaded and installed the new M3 build of the WTP and created a
>>>> new Web Project as showed in the Tutorial "WTP Tutorials - Building a
>>>> School Schedule Web Application". Everything goes ok, except that I
>>>> am not able to start the Tomcat 5.0. I am getting Class not found
>>>> Exceltion :
>>>>
>>>> java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
>>>>
>>>> Looking at the Tomcat v5.0 runtim configuration within my project, I
>>>> do not see the bootstrap.jar, commons-launcher.jar,
>>>> commons-daemmon.jar -
>>>>
>>> all
>>>
>>>> of them laying in the Tomcat5.0/bin directory.
>>>>
>>>> What I am doing wrong?
>>>>
>>>> Best Regards
>>>> Peter
>>
>>
>>
>>
>>
Re: Can't start Tomcat [message #79983 is a reply to message #79069] Thu, 03 March 2005 22:20 Go to previous message
Eclipse UserFriend
Originally posted by: muhammad.dwyer.gmail.com

Hello Larry,

I've noticed that eclipse 3.1 (I was first working with 3.0.1) doesn't add
a backslah to the end of the server path by default, which makes life a little
easier :)

Regards,
Muhammad


> I've entered <https://bugs.eclipse.org/bugs/show_bug.cgi?id=86988> for
> this bug.
>
> Larry
>
> Larry Isaacs wrote:
>
>> I was able to duplicate this. Drop the trailing '\' and just use
>> "E:\jakarta-tomcat-5.0.28" and it should work. The extra '\' causes
>> the launch configuration to contain "...\bin\" rather than
>> "...\bin\bootstrap.jar" in the classpath.
>>
>> You can either delete and re-create the server, or execute Window ->
>> Preferences and select Server -> Installed Runtimes -> "your runtime"
>> and click Edit. Remove the trailing '\' from the installation
>> directory and save.
>>
>> I'll see about logging a defect and providing a patch.
>>
>> Cheers,
>> Larry
>> Muhammad Dwyer wrote:
>>
>>> Hello Lawrence,
>>>
>>> My tomcat installation directory is E:\jakarta-tomcat-5.0.28\ - this
>>> is also how I entered it in the "Edit Server Runtime" dialog -
>>> otherwise eclipse won't let you get any further.
>>>
>>>> Hi Peter,
>>>>
>>>> Are you specifying the root directory of you Tomcat install as the
>>>> install location? If so, what is the directory name? There was a
>>>> post above that suggested the directory name must be as creates it
>>>> when you unzip.
>>>>
>>>> Lawrence
>>>>
>>>>> Hello,
>>>>>
>>>>> I downloaded and installed the new M3 build of the WTP and created
>>>>> a new Web Project as showed in the Tutorial "WTP Tutorials -
>>>>> Building a School Schedule Web Application". Everything goes ok,
>>>>> except that I am not able to start the Tomcat 5.0. I am getting
>>>>> Class not found Exceltion :
>>>>>
>>>>> java.lang.NoClassDefFoundError:
>>>>> org/apache/catalina/startup/Bootstrap
>>>>>
>>>>> Looking at the Tomcat v5.0 runtim configuration within my project,
>>>>> I do not see the bootstrap.jar, commons-launcher.jar,
>>>>> commons-daemmon.jar -
>>>>>
>>>> all
>>>>
>>>>> of them laying in the Tomcat5.0/bin directory.
>>>>>
>>>>> What I am doing wrong?
>>>>>
>>>>> Best Regards
>>>>> Peter
Previous Topic:WTP M3: Error opening xml document with XML Editor
Next Topic:Error when producing WS server from a Bean
Goto Forum:
  


Current Time: Thu Dec 26 20:10:08 GMT 2024

Powered by FUDForum. Page generated in 0.04467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top