Cannot configure Tomcat 6 to serve webpages in Eclipse. [message #643429] |
Mon, 06 December 2010 19:56 |
Nick Maslon Messages: 3 Registered: December 2010 |
Junior Member |
|
|
Hello,
I'm trying to get a webpage in Eclipse to run on Tomcat 6. I am running Linux Mint 10 x64 (Which is derived from Ubuntu Maverick Meercat) and I have installed Tomcat 6 from the repository. I added it to the server runtimes (Window > Preferences > Server > Server Runtimes) in Eclipse and also my project's java runtime library path, but when I right click on the webpage, go to run as, and then run on server, I get this screenshot:
http://nickmaslon.com/images/tomcat6.png
and I can't add a name for the server (It doesn't let me type in the box) or click finish. I can see tomcat running at http://localhost:8080. What am I doing wrong, and how can I fix this? I urgently need this for a school project, and I don't want to have to go through the whole hassle of installing and configuring everything again on Windows.
Thanks,
Nick
[Updated on: Tue, 07 December 2010 03:48] Report message to a moderator
|
|
|
Re: Cannot configure Tomcat 6 to serve webpages in Eclipse. [message #643658 is a reply to message #643429] |
Tue, 07 December 2010 18:34 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
On 12/6/2010 2:57 PM, Nick Maslon wrote:
> Hello,
> I'm trying to get a webpage in Eclipse to run on Tomcat 6. I am running
> Linux Mint 10 x64 (Which is derived from Ubuntu Maverick Meercat) and I
> have installed Tomcat 6 from the repository. I added it to the server
> runtimes (Window > Preferences > Server > Server Runtimes) in Eclipse
> and also my project's java runtime library path, but when I right click
> on the webpage, go to run as, and then run on server, I get this
> screenshot:
>
> http://nickmaslon.com/images/tomcat6.png
>
> and I can't add a name for the server (It doesn't let me type in the
> box) or click finish. I can see tomcat running at http://localhost:8080
> What am I doing wrong, and how can I fix this? I urgently need this for
> a school project, and I don't want to have to go through the whole
> hassle of installing and configuring everything again on Windows.
>
> Thanks,
> Nick
If you haven't already, try creating the Tomcat server separately from
the Run on Server action. In the Server view, right-click and select
New -> Server. I would also recommend reviewing the Tomcat FAQ[1] for
details about how the WTP Tomcat support is implemented.
Cheers,
Larry
[1] http://wiki.eclipse.org/WTP_Tomcat_FAQ
|
|
|
Powered by
FUDForum. Page generated in 0.02635 seconds