Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Could not load the Tomcat server configuration
Could not load the Tomcat server configuration [message #133129] Tue, 16 August 2005 22:24 Go to next message
Eclipse UserFriend
Originally posted by: azcoder.cox.net

I am trying to get Webtools plug-in to work in Eclipse running ona x86-64
Gentoo box. Eclipse runs fine. Tomcat runs fine. After defining the
server I get:
Could not load the Tomcat server configuration at /Servers/Tomcat v5.5
Server @ localhost-config. The configuration may be corrupt or incomplete.

The stack trace is:
org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
configuration at /Servers/Tomcat v5.5 Server @ localhost-config. The
configuration may be corrupt or incomplete.
at
org.eclipse.jst.server.tomcat.core.internal.Tomcat55Configur ation.load(Tomcat55Configuration.java:276)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:80)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTomcatConfiguration(TomcatServerBehaviour.java:72)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.publishServer(TomcatServerBehaviour.java:186)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:571)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server .java:706)
at org.eclipse.wst.server.core.internal.Server.publish(Server.j ava:693)
at
org.eclipse.wst.server.core.internal.PublishServerJob.run(Pu blishServerJob.java:149)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


Thanks in advance for any help/advice....
Re: Could not load the Tomcat server configuration [message #133251 is a reply to message #133129] Wed, 17 August 2005 14:55 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
The exception thrown at Tomcat55Configuration.java:276 is indicating
that the catalina.policy file isn't being found.

Cheers,
Larry

R Cober wrote:
> I am trying to get Webtools plug-in to work in Eclipse running ona x86-64
> Gentoo box. Eclipse runs fine. Tomcat runs fine. After defining the
> server I get:
> Could not load the Tomcat server configuration at /Servers/Tomcat v5.5
> Server @ localhost-config. The configuration may be corrupt or incomplete.
>
> The stack trace is:
> org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
> configuration at /Servers/Tomcat v5.5 Server @ localhost-config. The
> configuration may be corrupt or incomplete.
> at
> org.eclipse.jst.server.tomcat.core.internal.Tomcat55Configur ation.load(Tomcat55Configuration.java:276)
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:80)
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTomcatConfiguration(TomcatServerBehaviour.java:72)
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.publishServer(TomcatServerBehaviour.java:186)
> at
> org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:571)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server .java:706)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.j ava:693)
> at
> org.eclipse.wst.server.core.internal.PublishServerJob.run(Pu blishServerJob.java:149)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
>
>
> Thanks in advance for any help/advice....
>
>
Re: Could not load the Tomcat server configuration [message #133436 is a reply to message #133129] Wed, 17 August 2005 20:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: azcoder.cox.net

Well I figured it out. The user I was running eclipse as did not have
rights to Tomcat.....

(Posting with the hope it might help someone in the future)

R Cober wrote:

> I am trying to get Webtools plug-in to work in Eclipse running ona x86-64
> Gentoo box. Eclipse runs fine. Tomcat runs fine. After defining the
> server I get:
> Could not load the Tomcat server configuration at /Servers/Tomcat v5.5
> Server @ localhost-config. The configuration may be corrupt or incomplete.
>
> The stack trace is:
> org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
> configuration at /Servers/Tomcat v5.5 Server @ localhost-config. The
> configuration may be corrupt or incomplete.
> at
>
org.eclipse.jst.server.tomcat.core.internal.Tomcat55Configur ation.load(Tomcat55Configuration.java:276)
> at
>
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:80)
> at
>
org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTomcatConfiguration(TomcatServerBehaviour.java:72)
> at
>
org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.publishServer(TomcatServerBehaviour.java:186)
> at
>
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:571)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server .java:706)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.j ava:693)
> at
>
org.eclipse.wst.server.core.internal.PublishServerJob.run(Pu blishServerJob.java:149)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
>
>
> Thanks in advance for any help/advice....
Re: Could not load the Tomcat server configuration [message #157811 is a reply to message #133436] Tue, 24 January 2006 03:37 Go to previous messageGo to next message
Max Giesbert is currently offline Max GiesbertFriend
Messages: 38
Registered: July 2009
Member
this seems not to be the problem/solution for me as i am running tomcat
and eclipse as the same user and both in my home directory with full
access/ownership and still can't get it going. actually there isn't any
config in Servers/Tomcat v5.5 Server @ localhost. is there any
configuration needed? is there a manual/tutorial for it?

actually i also added this info to bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=117611 and found similar
problems mentioned under bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=119151 .

thx for your help

max

R Cober wrote:
> Well I figured it out. The user I was running eclipse as did not have
> rights to Tomcat.....
>
> (Posting with the hope it might help someone in the future)
>
> R Cober wrote:
>
>
>>I am trying to get Webtools plug-in to work in Eclipse running ona x86-64
>>Gentoo box. Eclipse runs fine. Tomcat runs fine. After defining the
>>server I get:
>>Could not load the Tomcat server configuration at /Servers/Tomcat v5.5
>>Server @ localhost-config. The configuration may be corrupt or incomplete.
>>
>>The stack trace is:
>>org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
>>configuration at /Servers/Tomcat v5.5 Server @ localhost-config. The
>>configuration may be corrupt or incomplete.
>>at
>>
>
> org.eclipse.jst.server.tomcat.core.internal.Tomcat55Configur ation.load(Tomcat55Configuration.java:276)
>
>>at
>>
>
> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:80)
>
>>at
>>
>
> org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTomcatConfiguration(TomcatServerBehaviour.java:72)
>
>>at
>>
>
> org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.publishServer(TomcatServerBehaviour.java:186)
>
>>at
>>
>
> org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:571)
>
>>at org.eclipse.wst.server.core.internal.Server.doPublish(Server .java:706)
>>at org.eclipse.wst.server.core.internal.Server.publish(Server.j ava:693)
>>at
>>
>
> org.eclipse.wst.server.core.internal.PublishServerJob.run(Pu blishServerJob.java:149)
>
>>at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
>>
>>
>>Thanks in advance for any help/advice....
>
>
Re: Could not load the Tomcat server configuration [message #157834 is a reply to message #157811] Tue, 24 January 2006 08:15 Go to previous message
Max Giesbert is currently offline Max GiesbertFriend
Messages: 38
Registered: July 2009
Member
I finally got it working by doing the following three steps:

1. I used WTP1.5M4 + prereqs under eclipse 3.2M4. it was then still not
working.
2. i then removed the server in the servers view and readded it and then
it worked. so something must have been stucked.
3. afterwards the old eclipse 3.1.1 configuration was working as well.

just wanted to let you know.

thx

max

Max Giesbert wrote:
> this seems not to be the problem/solution for me as i am running tomcat
> and eclipse as the same user and both in my home directory with full
> access/ownership and still can't get it going. actually there isn't any
> config in Servers/Tomcat v5.5 Server @ localhost. is there any
> configuration needed? is there a manual/tutorial for it?
>
> actually i also added this info to bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=117611 and found similar
> problems mentioned under bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=119151 .
>
> thx for your help
>
> max
>
> R Cober wrote:
>
>> Well I figured it out. The user I was running eclipse as did not have
>> rights to Tomcat.....
>>
>> (Posting with the hope it might help someone in the future)
>>
>> R Cober wrote:
>>
>>
>>> I am trying to get Webtools plug-in to work in Eclipse running ona
>>> x86-64
>>> Gentoo box. Eclipse runs fine. Tomcat runs fine. After defining the
>>> server I get:
>>> Could not load the Tomcat server configuration at /Servers/Tomcat v5.5
>>> Server @ localhost-config. The configuration may be corrupt or
>>> incomplete.
>>>
>>> The stack trace is:
>>> org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
>>> configuration at /Servers/Tomcat v5.5 Server @ localhost-config. The
>>> configuration may be corrupt or incomplete.
>>> at
>>>
>>
>> org.eclipse.jst.server.tomcat.core.internal.Tomcat55Configur ation.load(Tomcat55Configuration.java:276)
>>
>>
>>> at
>>>
>>
>> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:80)
>>
>>
>>> at
>>>
>>
>> org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTomcatConfiguration(TomcatServerBehaviour.java:72)
>>
>>
>>> at
>>>
>>
>> org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.publishServer(TomcatServerBehaviour.java:186)
>>
>>
>>> at
>>>
>>
>> org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:571)
>>
>>
>>> at
>>> org.eclipse.wst.server.core.internal.Server.doPublish(Server .java:706)
>>> at org.eclipse.wst.server.core.internal.Server.publish(Server.j ava:693)
>>> at
>>>
>>
>> org.eclipse.wst.server.core.internal.PublishServerJob.run(Pu blishServerJob.java:149)
>>
>>
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
>>>
>>>
>>> Thanks in advance for any help/advice....
>>
>>
>>
Previous Topic:I think i found a bug
Next Topic:WST 1.0 and CompoundContentAssistProcessor
Goto Forum:
  


Current Time: Fri Apr 26 23:10:49 GMT 2024

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

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

Back to the top