Cannot start up web server(s) from eclipse [message #1221960] |
Wed, 18 December 2013 16:14  |
Eclipse User |
|
|
|
I just installed the new Eclipse Keplar version and I'm trying to set up a couple servers. One server is a Tomcat server and the other is a Pluto server.
I followed the directions by pointing to the source directories for each but when I start either of them up the console indicates they are started, yet when I try to go to localhost:8080 I get a 404 error. I know that after I configure one of the servers I see them under the "Servers" drop-down from the Project Explorer and each have a drop-down with catalina, context, server, and web.xml files. I'm wondering if somehow the context of the servers are breaking and that's why I'm getting a 404 because if it wasn't attempting to start the browser would indicate that going to localhost:8080 is not reachable.
If I start them up manually from the source directories they start up fine. I am able to run the Mongrel plugin without any issues from Eclipse and see that the tomcat instance starts but I'd like to set up more servers using the Server type.
Any suggestions?
Thanks
|
|
|
Re: Cannot start up web server(s) from eclipse [message #1222034 is a reply to message #1221960] |
Wed, 18 December 2013 17:16   |
Eclipse User |
|
|
|
On 12/18/2013 4:14 PM, Laura McCord wrote:
> I just installed the new Eclipse Keplar version and I'm trying to set up
> a couple servers. One server is a Tomcat server and the other is a Pluto
> server.
>
> I followed the directions by pointing to the source directories for each
> but when I start either of them up the console indicates they are
> started, yet when I try to go to localhost:8080 I get a 404 error. I
> know that after I configure one of the servers I see them under the
> "Servers" drop-down from the Project Explorer and each have a drop-down
> with catalina, context, server, and web.xml files. I'm wondering if
> somehow the context of the servers are breaking and that's why I'm
> getting a 404 because if it wasn't attempting to start the browser would
> indicate that going to localhost:8080 is not reachable.
>
> If I start them up manually from the source directories they start up
> fine. I am able to run the Mongrel plugin without any issues from
> Eclipse and see that the tomcat instance starts but I'd like to set up
> more servers using the Server type.
>
> Any suggestions?
>
> Thanks
For Tomcat in Web Tools, the server instance that is created by default
has no built in content. Unless you have added a project to the server
and tried to access content in that project, 404 is normal. For details,
see the Tomcat FAQ[1]
Cheers,
Larry
[1] http://wiki.eclipse.org/WTP_Tomcat_FAQ
|
|
|
|
Powered by
FUDForum. Page generated in 0.03954 seconds