Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Cannot configure Tomcat 6 to serve webpages in Eclipse.
Cannot configure Tomcat 6 to serve webpages in Eclipse. [message #643429] Mon, 06 December 2010 19:56 Go to next message
Nick Maslon is currently offline Nick MaslonFriend
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 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
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
Previous Topic:myfile.html associated with DTD
Next Topic:Basic HTML site with web server interface
Goto Forum:
  


Current Time: Mon Nov 24 02:54:45 GMT 2014

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

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