Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Tomcat configuration
Tomcat configuration [message #80857] Mon, 07 March 2005 06:47 Go to next message
Eclipse UserFriend
Originally posted by: kthunoe.io.dk

Trying to make a web service client. I add the Tomcat server as an
installed runtime. I make the project. Add a new webservice client module.
But when trying to finish the wizard I get this:

-----------

IWAB0213E Error in starting server.
org.eclipse.core.runtime.CoreException[0]:
org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
configuration at \Servers\Tomcat v4.1 Server @ localhost-config. The
configuration may be corrupt or incomplete.
at
org.eclipse.jst.server.tomcat.core.internal.Tomcat41Configur ation.load(Tomcat41Configuration.java:278)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:81)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.sav eConfiguration(TomcatServer.java:115)
at
org.eclipse.wst.server.core.internal.ServerWorkingCopy.save( ServerWorkingCopy.java:243)
at
org.eclipse.wst.server.core.internal.ServerWorkingCopy.saveA ll(ServerWorkingCopy.java:255)
at
org.eclipse.jst.ws.internal.common.ServerUtils.modifyModules (ServerUtils.java:151)
at
org.eclipse.jst.ws.internal.consumption.command.common.Creat eWebProjectCommand.execute(CreateWebProjectCommand.java:161)
at
org.eclipse.jst.ws.internal.consumption.command.common.Creat eClientProjectCommand.execute(CreateClientProjectCommand.jav a:133)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)

...

-------

Can anyone help with this?

Thanks in advance!
Re: Tomcat configuration [message #80861 is a reply to message #80857] Mon, 07 March 2005 08:47 Go to previous messageGo to next message
Eclipse UserFriend
Assuming you are using M3, Tomcat41Configuration throws an exception at
line 278 if the "catalina.policy" file doesn't exist in the server
configuration, i.e. in the "\Servers\Tomcat v4.1 Server @
localhost-config" directory in your case. I can't say why it isn't there.

Larry

Kasper wrote:
> Trying to make a web service client. I add the Tomcat server as an
> installed runtime. I make the project. Add a new webservice client
> module. But when trying to finish the wizard I get this:
>
> -----------
>
> IWAB0213E Error in starting server.
> org.eclipse.core.runtime.CoreException[0]:
> org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
> configuration at \Servers\Tomcat v4.1 Server @ localhost-config. The
> configuration may be corrupt or incomplete.
> at
> org.eclipse.jst.server.tomcat.core.internal.Tomcat41Configur ation.load(Tomcat41Configuration.java:278)
>
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:81)
>
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.sav eConfiguration(TomcatServer.java:115)
>
> at
> org.eclipse.wst.server.core.internal.ServerWorkingCopy.save( ServerWorkingCopy.java:243)
>
> at
> org.eclipse.wst.server.core.internal.ServerWorkingCopy.saveA ll(ServerWorkingCopy.java:255)
>
> at
> org.eclipse.jst.ws.internal.common.ServerUtils.modifyModules (ServerUtils.java:151)
>
> at
> org.eclipse.jst.ws.internal.consumption.command.common.Creat eWebProjectCommand.execute(CreateWebProjectCommand.java:161)
>
> at
> org.eclipse.jst.ws.internal.consumption.command.common.Creat eClientProjectCommand.execute(CreateClientProjectCommand.jav a:133)
>
> at
> org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
>
> at
> org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)
>
>
> ..
>
> -------
>
> Can anyone help with this?
>
> Thanks in advance!
>
Re: Tomcat configuration [message #80879 is a reply to message #80861] Mon, 07 March 2005 09:58 Go to previous message
Eclipse UserFriend
Originally posted by: kthunoe.io.dk

I got it worked out just a minute ago. I was missing the Servers\...
section in the workspace and therefore also missing the files
(catalina.policy, server.xml etc.) I solved it by explicitly adding a new
"Server" into workspace.

Thanks for replying though :)

>Larry Isaacs wrote:

> Assuming you are using M3, Tomcat41Configuration throws an exception at
> line 278 if the "catalina.policy" file doesn't exist in the server
> configuration, i.e. in the "ServersTomcat v4.1 Server @
> localhost-config" directory in your case. I can't say why it isn't there.

> Larry

> Kasper wrote:
>> Trying to make a web service client. I add the Tomcat server as an
>> installed runtime. I make the project. Add a new webservice client
>> module. But when trying to finish the wizard I get this:
>>
>> -----------
>>
>> IWAB0213E Error in starting server.
>> org.eclipse.core.runtime.CoreException[0]:
>> org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
>> configuration at ServersTomcat v4.1 Server @ localhost-config. The
>> configuration may be corrupt or incomplete.
>> at
>>
org.eclipse.jst.server.tomcat.core.internal.Tomcat41Configur ation.load(Tomcat41Configuration.java:278)
>>
>> at
>>
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:81)
>>
>> at
>>
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.sav eConfiguration(TomcatServer.java:115)
>>
>> at
>>
org.eclipse.wst.server.core.internal.ServerWorkingCopy.save( ServerWorkingCopy.java:243)
>>
>> at
>>
org.eclipse.wst.server.core.internal.ServerWorkingCopy.saveA ll(ServerWorkingCopy.java:255)
>>
>> at
>>
org.eclipse.jst.ws.internal.common.ServerUtils.modifyModules (ServerUtils.java:151)
>>
>> at
>>
org.eclipse.jst.ws.internal.consumption.command.common.Creat eWebProjectCommand.execute(CreateWebProjectCommand.java:161)
>>
>> at
>>
org.eclipse.jst.ws.internal.consumption.command.common.Creat eClientProjectCommand.execute(CreateClientProjectCommand.jav a:133)
>>
>> at
>>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
>>
>> at
>>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)
>>
>>
>> ..
>>
>> -------
>>
>> Can anyone help with this?
>>
>> Thanks in advance!
>>
Previous Topic:Click to open file doesn't work in J2EE perspective
Next Topic:WTP M3: what is the deal with the install process? (long)
Goto Forum:
  


Current Time: Mon May 05 06:21:58 EDT 2025

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

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

Back to the top