You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sergey Livanov <se...@gmail.com> on 2009/03/21 15:58:17 UTC

not valid Tomcat installation

I install Tomcat 6.0.18 in c:\tomcat.
When add the new server Eclipse writes that tomcat install directory is not
correct.
It does not point to valid Tomcat installation.
What should I do ?

Re: not valid Tomcat installation

Posted by Alan Chaney <al...@compulsivecreative.com>.
Actually I missed the final step!!

Right click in the Servers panel and New->Server will let you add the 
server.

Then you can add web projects as required.

Regards

Alan


Alan Chaney wrote:
> Sergey (and FYI Andre)
> 
> For each server Eclipse uses, you must create a new entry in the 
> 'Servers' folder.
> 
> I'm assuming that you are using eclipse 3.3+ with WTP (Web Tools 
> Project) plugins.
> 
> One way to do it is as follows:
> 
>  From main menu Window->Preferences
> Select  'Server'
> click on triangle to get the drop down list and then select
>     'Runtime Environment'
> 
> The select 'Add'
> 
> You will get a list, the first of which is 'Apache'
> select Apache Tomcat v6.0
> and then 'Next'
> now you will be at a menu called 'Tomcat Server Specify the installation 
> directory'
> 
> Use Browse to select the folder in which you installed Tomcat. It will
> check to see that it has the right files in it.
> 
> You can specify the JRE that tomcat is run with below. You may want to 
> use a different JRE than the one that you are running Eclipse with. For 
> example, I start and run eclipse with a JDK1.5 but compile and run my 
> applications with JRE from the 1.6 JDK.
> 
> You can have more than one tomcat server defined in eclipse. Its up to 
> you to configure them using the Server properties page to ensure that 
> they use different ports.
> 
> HTH - also see Eclipse Help
> 
> Regards
> 
> Alan Chaney
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Sergey Livanov wrote:
>> no, I have only tc 6.0.18
>> CATALINA_HOME points to c:\tomcat
>>
>> 2009/3/21 André Warnier <aw...@ice-sa.com>
>>
>>>> 2009/3/21 André Warnier <aw...@ice-sa.com>
>>>>
>>>>  Sergey Livanov wrote:
>>>>>  I install Tomcat 6.0.18 in c:\tomcat.
>>>>>> When add the new server Eclipse writes that tomcat install 
>>>>>> directory is
>>>>>> not
>>>>>> correct.
>>>>>> It does not point to valid Tomcat installation.
>>>>>> What should I do ?
>>>>>>
>>>>>>  I don't now Eclipse at all, but how does it normally find out the 
>>>>>> path
>>>>>> of
>>>>>>
>>>>> a Tomcat installation ?
>>>>>
>>>>>  > When I add a new server I specify a path where Tomcat installed
>>> before.
>>>> Tc5.r  I installed without problems.
>>> If you still have both Tomcats, Eclipse may get confused.
>>> Is there by any chance a CATALINA_HOME variable defined, that points to
>>> something else ?
>>> (open a command window, type "set" and look)
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> !DSPAM:49c515bf249199080218370!
> 

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


Re: not valid Tomcat installation

Posted by Alan Chaney <al...@compulsivecreative.com>.
Sergey (and FYI Andre)

For each server Eclipse uses, you must create a new entry in the 
'Servers' folder.

I'm assuming that you are using eclipse 3.3+ with WTP (Web Tools 
Project) plugins.

One way to do it is as follows:

 From main menu Window->Preferences
Select  'Server'
click on triangle to get the drop down list and then select
	'Runtime Environment'

The select 'Add'

You will get a list, the first of which is 'Apache'
select Apache Tomcat v6.0
and then 'Next'
now you will be at a menu called 'Tomcat Server Specify the installation 
directory'

Use Browse to select the folder in which you installed Tomcat. It will
check to see that it has the right files in it.

You can specify the JRE that tomcat is run with below. You may want to 
use a different JRE than the one that you are running Eclipse with. For 
example, I start and run eclipse with a JDK1.5 but compile and run my 
applications with JRE from the 1.6 JDK.

You can have more than one tomcat server defined in eclipse. Its up to 
you to configure them using the Server properties page to ensure that 
they use different ports.

HTH - also see Eclipse Help

Regards

Alan Chaney









Sergey Livanov wrote:
> no, I have only tc 6.0.18
> CATALINA_HOME points to c:\tomcat
> 
> 2009/3/21 André Warnier <aw...@ice-sa.com>
> 
>>> 2009/3/21 André Warnier <aw...@ice-sa.com>
>>>
>>>  Sergey Livanov wrote:
>>>>  I install Tomcat 6.0.18 in c:\tomcat.
>>>>> When add the new server Eclipse writes that tomcat install directory is
>>>>> not
>>>>> correct.
>>>>> It does not point to valid Tomcat installation.
>>>>> What should I do ?
>>>>>
>>>>>  I don't now Eclipse at all, but how does it normally find out the path
>>>>> of
>>>>>
>>>> a Tomcat installation ?
>>>>
>>>>  > When I add a new server I specify a path where Tomcat installed
>> before.
>>> Tc5.r  I installed without problems.
>> If you still have both Tomcats, Eclipse may get confused.
>> Is there by any chance a CATALINA_HOME variable defined, that points to
>> something else ?
>> (open a command window, type "set" and look)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> 
> !DSPAM:49c50f9b246552009820482!
> 

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


Re: not valid Tomcat installation

Posted by "Rainer Frey (Inxmail GmbH)" <ra...@inxmail.de>.
On Monday 23 March 2009 03:22:05 Martin Gainty wrote:
> you'll need to install the sysdeo tomcat plugin available from
> http://www.eclipsetotale.com/tomcatPlugin.html
>
> (step by step instructions available at the site)

sigh. development of the sysdeo plugin has stopped, the last release is for 
Eclipse 3.2, as is clearly visible from your link. To the OP: ignore this 
advice, unless yopu really use an old Eclipse release w/o the Web Tools 
feature.

Rainer

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


RE: not valid Tomcat installation

Posted by Martin Gainty <mg...@hotmail.com>.
you'll need to install the sysdeo tomcat plugin available from
http://www.eclipsetotale.com/tomcatPlugin.html

(step by step instructions available at the site)

Bon Chance/Viel Gluck
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to  please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided.






> Date: Sat, 21 Mar 2009 18:18:33 +0100
> From: aw@ice-sa.com
> To: users@tomcat.apache.org
> Subject: Re: not valid Tomcat installation
> 
> Sergey Livanov wrote:
> > no, I have only tc 6.0.18
> > CATALINA_HOME points to c:\tomcat
> > 
> As I mentioned, I do not know Eclipse, but maybe it checks for certain 
> files.  If you did not install the zip version of Tomcat, some files are 
> missing, and that might be why Eclipse is lost.
> If that is the case, download the zip version, and I think you can just 
> unzip it on top of your installation directory.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

Re: not valid Tomcat installation

Posted by André Warnier <aw...@ice-sa.com>.
Sergey Livanov wrote:
> no, I have only tc 6.0.18
> CATALINA_HOME points to c:\tomcat
> 
As I mentioned, I do not know Eclipse, but maybe it checks for certain 
files.  If you did not install the zip version of Tomcat, some files are 
missing, and that might be why Eclipse is lost.
If that is the case, download the zip version, and I think you can just 
unzip it on top of your installation directory.


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


Re: not valid Tomcat installation

Posted by Sergey Livanov <se...@gmail.com>.
no, I have only tc 6.0.18
CATALINA_HOME points to c:\tomcat

2009/3/21 André Warnier <aw...@ice-sa.com>

>
>> 2009/3/21 André Warnier <aw...@ice-sa.com>
>>
>>  Sergey Livanov wrote:
>>>
>>>  I install Tomcat 6.0.18 in c:\tomcat.
>>>> When add the new server Eclipse writes that tomcat install directory is
>>>> not
>>>> correct.
>>>> It does not point to valid Tomcat installation.
>>>> What should I do ?
>>>>
>>>>  I don't now Eclipse at all, but how does it normally find out the path
>>>> of
>>>>
>>> a Tomcat installation ?
>>>
>>>  > When I add a new server I specify a path where Tomcat installed
> before.
> > Tc5.r  I installed without problems.
>
> If you still have both Tomcats, Eclipse may get confused.
> Is there by any chance a CATALINA_HOME variable defined, that points to
> something else ?
> (open a command window, type "set" and look)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: not valid Tomcat installation

Posted by André Warnier <aw...@ice-sa.com>.
> 
> 2009/3/21 André Warnier <aw...@ice-sa.com>
> 
>> Sergey Livanov wrote:
>>
>>> I install Tomcat 6.0.18 in c:\tomcat.
>>> When add the new server Eclipse writes that tomcat install directory is
>>> not
>>> correct.
>>> It does not point to valid Tomcat installation.
>>> What should I do ?
>>>
>>>  I don't now Eclipse at all, but how does it normally find out the path of
>> a Tomcat installation ?
>>
 > When I add a new server I specify a path where Tomcat installed before.
 > Tc5.r  I installed without problems.

If you still have both Tomcats, Eclipse may get confused.
Is there by any chance a CATALINA_HOME variable defined, that points to 
something else ?
(open a command window, type "set" and look)

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


Re: not valid Tomcat installation

Posted by Sergey Livanov <se...@gmail.com>.
Thank you Andre.
When I add a new server I specify a path where Tomcat installed before.
Tc5.r  I installed without problems.

2009/3/21 André Warnier <aw...@ice-sa.com>

> Sergey Livanov wrote:
>
>> I install Tomcat 6.0.18 in c:\tomcat.
>> When add the new server Eclipse writes that tomcat install directory is
>> not
>> correct.
>> It does not point to valid Tomcat installation.
>> What should I do ?
>>
>>  I don't now Eclipse at all, but how does it normally find out the path of
> a Tomcat installation ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: not valid Tomcat installation

Posted by André Warnier <aw...@ice-sa.com>.
Sergey Livanov wrote:
> I install Tomcat 6.0.18 in c:\tomcat.
> When add the new server Eclipse writes that tomcat install directory is not
> correct.
> It does not point to valid Tomcat installation.
> What should I do ?
> 
I don't now Eclipse at all, but how does it normally find out the path 
of a Tomcat installation ?


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