Problem adding tomcat6 server instance back in eclipse [message #771616] |
Tue, 27 December 2011 13:59  |
Eclipse User |
|
|
|
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 14:54   |
Eclipse User |
|
|
|
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 #772813 is a reply to message #772106] |
Fri, 30 December 2011 11:56   |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04228 seconds