Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Problem adding tomcat6 server instance back in eclipse
Problem adding tomcat6 server instance back in eclipse [message #771616] Tue, 27 December 2011 18:59 Go to next message
Nova Guy is currently offline Nova GuyFriend
Messages: 7
Registered: December 2011
Junior Member
Hello All,

I have a problem defining new tomcat 6 instance in eclipse 3.7.

It had worked the first time, I was able to add tomcat 6 server instance. When I removed the server instance it asked me if I wanted to delete unused server instances & I clicked on Yes.

Now I am unable to define a new tomcat 6 server instance, when I right click on servers tab & select tomcat 6, it displays a message "Cannot create a server using the selected type"

I reinstalled eclipse & wtp but it still shows the same thing, looks like there is still some residual settings from before.

I can add tomcat 7 , 5.5 & other server instances.
So how do I re enable this option for me. hanks..
Please advise.

Thanks
Re: Problem adding tomcat6 server instance back in eclipse [message #771633 is a reply to message #771616] Tue, 27 December 2011 19:54 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 12/27/2011 1:59 PM, Nova Guy wrote:
> Hello All,
>
> I have a problem defining new tomcat 6 instance in eclipse 3.7.
>
> It had worked the first time, I was able to add tomcat 6 server
> instance. When I removed the server instance it asked me if I wanted to
> delete unused server instances & I clicked on Yes.
>
> Now I am unable to define a new tomcat 6 server instance, when I right
> click on servers tab & select tomcat 6, it displays a message "Cannot
> create a server using the selected type"
>
> I reinstalled eclipse & wtp but it still shows the same thing, looks
> like there is still some residual settings from before.
> I can add tomcat 7 , 5.5 & other server instances.
> So how do I re enable this option for me. hanks..
> Please advise.
>
> Thanks

I believe this can happen if you have one or more Tomcat Runtimes that
aren't valid. Check your Server Runtime(s) and remove or recreate any
that aren't valid. If you still have a problem, see if recreating any
that remain helps.

Cheers,
Larry
Re: Problem adding tomcat6 server instance back in eclipse [message #771677 is a reply to message #771633] Tue, 27 December 2011 22:35 Go to previous messageGo to next message
Nova Guy is currently offline Nova GuyFriend
Messages: 7
Registered: December 2011
Junior Member
I removed all server runtime instances from Windows->preferences->Server->Runtime Environments

Still when I click on Server tab & try to add a tomcat 6 server, it does not let me
"Cannot create a server using the selected type"
Re: Problem adding tomcat6 server instance back in eclipse [message #771743 is a reply to message #771677] Wed, 28 December 2011 02:54 Go to previous messageGo to next message
Nova Guy is currently offline Nova GuyFriend
Messages: 7
Registered: December 2011
Junior Member
Here is the screenshot
I can select all other tomcat versions fine.

http://img845.imageshack.us/img845/9352/tomcat6error.png

index.php/fa/6583/0/

[Updated on: Wed, 28 December 2011 06:54]

Report message to a moderator

Re: Problem adding tomcat6 server instance back in eclipse [message #772073 is a reply to message #771743] Wed, 28 December 2011 23:37 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 12/27/2011 9:54 PM, Nova Guy wrote:
> Here is the screenshot
> I can select all other tomcat versions fine.
>
>

Can you create a Tomcat 6 server runtime successfully? If so, does that
help with creating a Tomcat 6 server?

Cheers,
Larry
icon13.gif  Re: Problem adding tomcat6 server instance back in eclipse [message #772106 is a reply to message #772073] Thu, 29 December 2011 02:17 Go to previous messageGo to next message
Nova Guy is currently offline Nova GuyFriend
Messages: 7
Registered: December 2011
Junior Member
No, it does not help.
I created tomcat 6 runtime in server preferences & tried to add the server.

index.php/fa/6593/0/

index.php/fa/6594/0/

index.php/fa/6595/0/


Re: Problem adding tomcat6 server instance back in eclipse [message #772813 is a reply to message #772106] Fri, 30 December 2011 16:56 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 12/28/2011 9:17 PM, Nova Guy wrote:
> No, it does not help.
> I created tomcat 6 runtime in server preferences& tried to add the server.
>
>

Unfortunately, the real problem is getting swallowed and replaced with
the generic error. To see the real problem, add a "-debug" (without the
quotes) above the "-vmargs" line in your eclipse.ini file. Then create
a ".options" file in your home directory or the directory where the
eclipse executable is found. In this file add the line:

org.eclipse.wst.server.core/severe=false

Finally start eclipse from a terminal window. You will see a log
message about whether the ".options" file was read successfully or not
found. Once the ".options" file is being found, try to create the
server. You should see some log output in the terminal window tagged
with "/severe" that states what went wrong and will likely show a stack
trace. If the problem isn't clear, post what you see and I'll see what
I can figure out.

Since you are using a *nix OS, if the Tomcat is a packaged install, it's
possible one of the configuration files is locked down and you don't
have permission to read that file. Normally this problem manifests in a
slightly different way (see the Tomcat FAQ[1]), but something could be
different here.

Cheers,
Larry

[1]
http://wiki.eclipse.org/WTP_Tomcat_FAQ#When_I_try_to_create_a_server.2C_it_says_that_it_.22Could_not_load_the_Tomcat_server_configuration..22_What_is_the_problem.3F
Re: Problem adding tomcat6 server instance back in eclipse [message #1060654 is a reply to message #771616] Mon, 27 May 2013 13:54 Go to previous message
Chris Towler is currently offline Chris TowlerFriend
Messages: 1
Registered: May 2013
Junior Member
The solution here (comment 11) worked for me.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=329638#c11
Previous Topic:Instantiating variables from a custom Javascript user library
Next Topic:.classpath question: org.eclipse.jst.j2ee.internal.web.container
Goto Forum:
  


Current Time: Sat Apr 20 04:01:31 GMT 2024

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

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

Back to the top