Home » Language IDEs » ServerTools (WTP) » Can't start Tomcat
Can't start Tomcat [message #77687] |
Sun, 27 February 2005 09:16  |
Eclipse User |
|
|
|
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 #78794 is a reply to message #78736] |
Tue, 01 March 2005 16:09   |
Eclipse User |
|
|
|
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 16:31   |
Eclipse User |
|
|
|
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 08:58   |
Eclipse User |
|
|
|
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 17:20  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Sun May 11 04:02:33 EDT 2025
Powered by FUDForum. Page generated in 0.04066 seconds
|