|Re: Error Configuring Tomcat in Eclipse [message #940388 is a reply to message #940307]
||Thu, 11 October 2012 15:36
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 10/11/2012 8:13 AM, Sreedhar Karadibhave wrote:|
> I am trying to add Tomcat server (7.0.30) to eclipse 3.7.2. I want to
> run a SpringSource project in Tomcat. When rightclick on the Servers
> tab, add Tomcat 7 and Finish, I get the error - Could not load the
> Tomcat Server configuration at conf. The configuration may be corrupt or
> incomplete conf/catalina.policy The System cannot find the patch specified.
> I checked catalina.policy at
> C:\apache-tomcat-7.0.30\conf\catalina.policy. It looks ok. I am not sure
> which enviroment variable eclipse looks at. I defined CATALINA_HOME,
> TOMCAT_ROOT, CATALINA_BASE all pointing to C:\apache-tomcat-7.0.30. Does
> it matter if they are user variables or system variables?
This question is more suitably asked in the Eclipse web tools platform
forum. I don't follow that forum any more so I'll answer here. I'm going
to need some help from you.
If you've wired Eclipse up to Tomcat, there shouldn't be any need to
deal with these environment variables. I think you're seeing this
through the eyes of Tomcat looking at Eclipse; instead, it's easier to
see Tomcat through Eclipse's eyes.
I'm not sure what you mean by "rightclick on the Servers tab". In
Eclipse, there's a Servers view. Is that what you mean? Adding Tomcat 7
isn't an option from that interface.
It may take some more information before I can grok what you've done and
where the disconnect is.
1. Download Tomcat (you've done this).
2. Window -> Preferences -> Server -> Runtime Environments -> Add ...
browse to C:\apache-tomcat-7.0.30 and select.
3. File -> New -> Other... -> Server -> Server -> Apache -> Tomcat v7.0
Then you can develop your application (File -> New -> Dynamic Web
To run your application, open the Servers view (yes, it's a tab in a
pane), you'll see Tomcat v7.0 Server at localhost, right-click it and
choose Add and Remove..., add your project, then right-click again and
choose Debug or Start.
Where in this are you? Where are things not working and what do they do?
Powered by FUDForum
. Page generated in 0.02630 seconds