You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jaime Almeida <22...@alunos.isel.ipl.pt> on 2007/10/08 17:13:36 UTC

How can I specify the Tomcat directory?

Hello.
I've reinstalled the Tomcat server v6.0 on my computer, but when I try to 
run my application on the Eclipse, I get the error:
'The specified Tomcat installation directory does not exist'.
How can I specify the Tomcat installation directory?
What am I missing in the configurations of the Eclipse?
Waiting for a reply,
with the best regards,
Jaime Almeida.
 --------------------------------------------
IPLNet WebMail http://www.net.ipl.pt/mail
 --------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: How can I specify the Tomcat directory?

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jaime Almeida [mailto:22348@alunos.isel.ipl.pt] 
> Subject: Re: How can I specify the Tomcat directory?
> 
> Now I don't have the 'run on server' selection on the 'Run 
> As' menu in my video.jsp that I have to run for the sake of
> my Final Project... I have to open the 'Open Run Dialog' to
> run my application, but always get the error:
> 'The specified Tomcat installation directory does not exist'.

This really seems to be an Eclipse configuration issue, not a Tomcat
one.  Have you tried the Eclipse mailing lists?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How can I specify the Tomcat directory?

Posted by Jaime Almeida <22...@alunos.isel.ipl.pt>.
I still have the problem with the Tomcat Server when I try to run my 
application.
Now I don't have the 'run on server' selection on the 'Run As' menu in my 
video.jsp that I have to run for the sake of my Final Project...
I have to open the 'Open Run Dialog' to run my application, but always get 
the error:
'The specified Tomcat installation directory does not exist'.
How can I solve this problem?
Best regards,
Jaime Almeida. 


Larry Isaacs writes: 

> "I've reinstalled the Tomcat server" isn't much detail to go on.
> See if the following link helps by explaining the Tomcat support in
> Eclipse: 
> 
> http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php 
> 
> It covers WTP 1.5.x, but the majority of the info applies to WTP 2.0.x
> as well. 
> 
> Cheers,
> Larry 
> 
>> -----Original Message-----
>> From: Jaime Almeida [mailto:22348@alunos.isel.ipl.pt]
>> Sent: Monday, October 08, 2007 11:14 AM
>> To: users@tomcat.apache.org
>> Subject: How can I specify the Tomcat directory? 
>> 
>> Hello.
>> I've reinstalled the Tomcat server v6.0 on my computer, but when I try
>> to
>> run my application on the Eclipse, I get the error:
>> 'The specified Tomcat installation directory does not exist'.
>> How can I specify the Tomcat installation directory?
>> What am I missing in the configurations of the Eclipse?
>> Waiting for a reply,
>> with the best regards,
>> Jaime Almeida.
>>  --------------------------------------------
>> IPLNet WebMail http://www.net.ipl.pt/mail
>>  -------------------------------------------- 
>> 
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
> 
 --------------------------------------------
IPLNet WebMail http://www.net.ipl.pt/mail
 --------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: How can I specify the Tomcat directory?

Posted by Larry Isaacs <La...@sas.com>.
"I've reinstalled the Tomcat server" isn't much detail to go on.
See if the following link helps by explaining the Tomcat support in
Eclipse:

http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php

It covers WTP 1.5.x, but the majority of the info applies to WTP 2.0.x
as well.

Cheers,
Larry

> -----Original Message-----
> From: Jaime Almeida [mailto:22348@alunos.isel.ipl.pt]
> Sent: Monday, October 08, 2007 11:14 AM
> To: users@tomcat.apache.org
> Subject: How can I specify the Tomcat directory?
> 
> Hello.
> I've reinstalled the Tomcat server v6.0 on my computer, but when I try
> to
> run my application on the Eclipse, I get the error:
> 'The specified Tomcat installation directory does not exist'.
> How can I specify the Tomcat installation directory?
> What am I missing in the configurations of the Eclipse?
> Waiting for a reply,
> with the best regards,
> Jaime Almeida.
>  --------------------------------------------
> IPLNet WebMail http://www.net.ipl.pt/mail
>  --------------------------------------------
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


Re: How can I specify the Tomcat directory?

Posted by Konstantin Kolinko <kn...@gmail.com>.
> How can I specify the Tomcat installation directory?
> What am I missing in the configurations of the Eclipse?

The answer is that you specify the Tomcat installation directory when you
are configuring Server Runtime Environment. It is like Java Runtime Environment,
but for Java EE.

In the main Preferences dialog, expand the "Server" item in the tree,
there is "Installed Runtimes" item below it. It lists your configured
server runtimes. Click Edit... (or Add..),
and correct the path.

- - - -
There are also several places to look after you have done that:

1. Look for the preferences of your project (e.g. through
Project\Preferences menu). In the project preferences dialog, look at
the "Java Build Path" item. There, select the "Libraries" page.

Among the libraries will be "Apache Tomcat". Click Edit..., and
reselect the version.

2. In the main window, in the list of servers ("Servers" view), you
should either open the properties page for your server and check
"Launch configuration" item there,
or, easier, just delete and recreate your server.

These two steps are to make sure that the server runtime configuration change is
reflected in those components.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org