Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to launch Tomcat7 manager URL from eclipse indigo server(tomcat7 )
Unable to launch Tomcat7 manager URL from eclipse indigo server [message #776930] Mon, 09 January 2012 15:03 Go to next message
Dorairaj M is currently offline Dorairaj MFriend
Messages: 5
Registered: January 2012
Junior Member
Hi All,

Recently i started developing project in eclipse indigo(webapplication), i configured tomcat7, and able to start the server and localhost:8080/ by copying the ROOT folder to eclipse plugin directory. But unable to launch the localhost:8080/manager url when i started server from eclipse indigo. But able to lanch localhost:8080/manager url from the console started from tomcat7\bin folder.

Please help me!!..

I am using windows XP operationg system.

Thanks a lot
Dorairaj
Re: Unable to launch Tomcat7 manager URL from eclipse indigo server [message #776953 is a reply to message #776930] Mon, 09 January 2012 15:28 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09-Jan-12 08:03, Dorairaj M wrote:
> Hi All,
>
> Recently i started developing project in eclipse indigo(webapplication),
> i configured tomcat7, and able to start the server and localhost:8080/
> by copying the ROOT folder to eclipse plugin directory. But unable to
> launch the localhost:8080/manager url when i started server from eclipse
> indigo. But able to lanch localhost:8080/manager url from the console
> started from tomcat7\bin folder.
>
> Please help me!!..
>
> I am using windows XP operationg system.
>
> Thanks a lot
> Dorairaj

Welcome to Eclipse WTP. Based solely on the information you've posted,
I'd say you've not configured Eclipse properly to work with Tomcat since
what you say you did is not how it is done.

What's more, the better forum for this question would be the Eclipse web
tools project forum.

In the meantime, I can offer two links that may answer your question if
you'd like to peruse them. (These don't use Indigo, but nothing has
changed in Indigo with respect to what you wish to know over what was
already in Helios, Galileo, etc.)

http://www.javahotchocolate.com/tutorials/eclipse-summary.html

http://www.javahotchocolate.com/wtp-tutorials/wtp-tutorial.html
Re: Unable to launch Tomcat7 manager URL from eclipse indigo server [message #776974 is a reply to message #776953] Mon, 09 January 2012 15:53 Go to previous messageGo to next message
Dorairaj M is currently offline Dorairaj MFriend
Messages: 5
Registered: January 2012
Junior Member
Thanks alot!..

I will go throw the links you provided and get back with the result!!


Thanks
Dorairaj
Re: Unable to launch Tomcat7 manager URL from eclipse indigo server [message #776994 is a reply to message #776953] Mon, 09 January 2012 16:21 Go to previous messageGo to next message
Dorairaj M is currently offline Dorairaj MFriend
Messages: 5
Registered: January 2012
Junior Member
Hi Russell Bateman,

I followed eclipse and tomcat7 configurations like links you provided. But not succeded to to launch tomact manager.

Configuration as follow:-
(window->preferences->server-> Runtime Environment-> then add to locate the tomcat then finish)
then go to servers view r-click then new the select tomcat7 then finish.

started server then go workspace wtpwebapps replace the ROOT directory(ex:-D:\ecl-ws-j2ee\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps) by copying the ROOT Folder from the webapps directory.

(Same way i configured tomcat6.X, i observed same 404 on laucnching tomcat manager.)

localhost:8080/ in this page there is statement "If you're seeing this, you've successfully installed Tomcat. Congratulations! ", but when i try to click on any of link in the page would result 404.

I hope i proved full information!!..

Thanks
Dorairaj

[Updated on: Mon, 09 January 2012 16:36]

Report message to a moderator

Re: Unable to launch Tomcat7 manager URL from eclipse indigo server [message #777011 is a reply to message #776994] Mon, 09 January 2012 16:36 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09-Jan-12 09:21, Dorairaj M wrote:
> Hi Russell Bateman,
>
> I followed eclipse and tomcat7 configurations like links you provided.
> But not succeded to to launch tomact manager.
>
> Configuration as follow:-
> (window->preferences->server-> Runtime Environment-> then add to locate
> the tomcat then finish)
> then go to servers view r-click then new the select tomcat7 then finish.
>
> started server then go workspace wtpwebapps replace the ROOT
> directory(ex:-D:\ecl-ws-j2ee\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps)
> by copying the ROOT Folder from the webapps directory.
>
> localhost:8080/ in this page there is statement "If you're seeing this,
> you've successfully installed Tomcat. Congratulations! ", but when i try
> to click on any of link in the page would result 404.
>
> I hope i proved full information!!..
>
> Thanks
> Dorairaj

Yes, that's how to add a Tomcat server runtime.

It's never the case that you, personally, need to copy anything to
D:\ecl-ws-j2ee\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps.
Eclipse does this for you from a properly constructed Dynamic Web
Project with correctly set up Tomcat. In the second article, you do not
see me copying anything.

Of course, if you wish to run your application outside of Eclipse, you
would export the project as a WAR and drop it into your Tomcat webapps
subdirectory.

What do you mean by Tomcat manager? If you mean the Tomcat GUI piece to
control a Tomcat server on your computer, that has nothing to do with
Eclipse. It may be helpful as you ask your questions (which you should
do in the Eclipse web tools forum), to discern between just plain
vanilla Tomcat and Tomcat from Eclipse. These forums are to help with
the latter operation.

Russ
Re: Unable to launch Tomcat7 manager URL from eclipse indigo server [message #777020 is a reply to message #777011] Mon, 09 January 2012 17:01 Go to previous messageGo to next message
Dorairaj M is currently offline Dorairaj MFriend
Messages: 5
Registered: January 2012
Junior Member
>>What do you mean by Tomcat manager? If you mean the Tomcat GUI piece to
>>control a Tomcat server on your computer,

yes,

Tomcat manager is webpage(localhost:8080/manager) where we can see the availble projects deployed in the container.

Still i did't get how to deploy application through eclipse and tomcat7 server

Example:- I am developing HospitalManagement project, during the creation of server i selected HospitalManagement and deployed in server,

then using the URL localhost:8080/HospitalManagement, then 404 is displayed.


is there any thing wrong thing in my java version jdk1.6.0_20


Dorairaj
Re: Unable to launch Tomcat7 manager URL from eclipse indigo server [message #777044 is a reply to message #777020] Mon, 09 January 2012 17:56 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09-Jan-12 10:01, Dorairaj M wrote:
>>> What do you mean by Tomcat manager? If you mean the Tomcat GUI piece
>>> to control a Tomcat server on your computer,
>
> yes,
>
> Tomcat manager is webpage(localhost:8080/manager) where we can see the
> availble projects deployed in the container.
>
> Still i did't get how to deploy application through eclipse and tomcat7
> server
>
> Example:- I am developing HospitalManagement project, during the
> creation of server i selected HospitalManagement and deployed in server,
>
> then using the URL localhost:8080/HospitalManagement, then 404 is
> displayed.
>
>
> is there any thing wrong thing in my java version jdk1.6.0_20
>
>
> Dorairaj

We're probably getting to the point where we might take this off-line,
but...

Your JDK is a little old; you could stand updating to the latest (32 or
something like that). However, this is nothing to do with your problem.

Second, there are occasional gotchas with Tomcat 7. You'll find things
being said about Tomcat 6 when you Google. Nevertheless, I've not had
too much trouble getting Tomcat 7 to work and, depending on what you're
doing, you should use Tomcat 7.

But, I think your problem is that you're mixing plain Tomcat with Tomcat
via Eclipse.

Do you wish just to run your application over Tomcat and you don't care
about Eclipse?

Do you wish to develop an application in Eclipse which involves running,
testing, debugging, fixing code, (lather, rinse, repeat), etc?

If the latter, then you should look back at the second article and
follow how to launch the servlet more carefully. At the same time, do
not run Tomcat by hand on your computer (as a service or otherwise) and
ignore the whole localhost:8080/manager thing--it's not relevant.

(Sorry it's taking so much for me to get a feeling where you're at.)
Re: Unable to launch Tomcat7 manager URL from eclipse indigo server [message #777242 is a reply to message #777044] Tue, 10 January 2012 05:38 Go to previous messageGo to next message
Dorairaj M is currently offline Dorairaj MFriend
Messages: 5
Registered: January 2012
Junior Member
>>Your JDK is a little old; you could stand updating to the latest (32 or
>>something like that). However, this is nothing to do with your problem.

I will update

>>But, I think your problem is that you're mixing plain Tomcat with Tomcat
>>via Eclipse.

Yes, i just downloaded the Tomcat7 and started integrated in Eclipse( there is no issue in eclipse while configuring)

>>Do you wish just to run your application over Tomcat and you don't care
about Eclipse?

No

>>Do you wish to develop an application in Eclipse which involves running,
testing, debugging, fixing code, (lather, rinse, repeat), etc?

Yes, i need to test,debug during the developing the project.

>>(Sorry it's taking so much for me to get a feeling where you're at.)

Thank you very much for understanding!!..
Re: Unable to launch Tomcat7 manager URL from eclipse indigo server [message #777421 is a reply to message #777242] Tue, 10 January 2012 13:24 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.01.09 22:38, Dorairaj M wrote:
> >>Your JDK is a little old; you could stand updating to the latest (32 or
>>> something like that). However, this is nothing to do with your problem.
>
> I will update
>
>>> But, I think your problem is that you're mixing plain Tomcat with
>>> Tomcat via Eclipse.
>
> Yes, i just downloaded the Tomcat7 and started integrated in Eclipse(
> there is no issue in eclipse while configuring)
>
>>> Do you wish just to run your application over Tomcat and you don't care
> about Eclipse?
>
> No
>
>>> Do you wish to develop an application in Eclipse which involves running,
> testing, debugging, fixing code, (lather, rinse, repeat), etc?
>
> Yes, i need to test,debug during the developing the project.
>
>>> (Sorry it's taking so much for me to get a feeling where you're at.)
>
> Thank you very much for understanding!!..

So, I think if you follow how Tomcat is launched from Eclipse in the JSP
and servlet example (the second of the two links), you'll get the hang
of how Eclipse and Tomcat integrate.

Later, when you've got something you wish to deploy to a "real" Tomcat,
you'll export a WAR file (right-click the project, choose Export -> Web
-> WAR file) that you can drop into Tomcat's webapps subdirectory where
Tomcat will open and deploy it.

At some point, you may wish to write an ant script, build.xml, at the
root of your project with a build target that will create the WAR file
automatically (as it were). If you decide to do that, recontact me
personally and I'll help you do that.
Previous Topic:Referenced part does not exist yet: org.eclipse.ui.editorss.
Next Topic:SWT or RCP?
Goto Forum:
  


Current Time: Fri Mar 29 11:19:09 GMT 2024

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

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

Back to the top