L
Laura Schmidt
Hello,
I had a working configuration with eclipse (Juno) and tomcat 6. Then, I
wanted to switch to tomcat 7 and modified my configuration. Now, I have
no working tomcat server within eclipse.
There are two tomcat installations under /opt:
drwxr-xr-x 9 root root 4096 Oct 2 05:45 apache-tomcat-6.0.29
drwxr-xr-x 9 root root 4096 Oct 2 05:43 apache-tomcat-7.0.30
I always used the tomcat 6 installation without problems.
Within eclipse, I am able to define a runtime configuration for both
tomcat installations:
Window -> Preferences -> Server -> Runtime Configurations
For example, I can define a new runtime configuration like this:
Name: "Apache Tomcat v6.0"
Directory: /opt/apache-tomcat-6.0.29
(Same vor tomcat 7).
So far, so good. But when I try to define a server, I run into problems:
File -> New -> Other -> Server -> Server
I can choose the server type, e. g.:
Tomcat v6.0 Server or
Tomcat v7.0 Server
The server's host name is preset to "localhost".
The server's name is empty and I cannot edit it (disabled).
The "Next" and "Finish" buttons are disabled.
So I cannot define a new tomcat server.
Remember: I had a working configuration, where I could run my dynamic
web projects with "Run -> Run on Server", and the only thing I did was
to remove the tomcat 6 server.
What is the problem here?
I would be glad if some experts could help me.
Thank you a lot!
Laura
I had a working configuration with eclipse (Juno) and tomcat 6. Then, I
wanted to switch to tomcat 7 and modified my configuration. Now, I have
no working tomcat server within eclipse.
There are two tomcat installations under /opt:
drwxr-xr-x 9 root root 4096 Oct 2 05:45 apache-tomcat-6.0.29
drwxr-xr-x 9 root root 4096 Oct 2 05:43 apache-tomcat-7.0.30
I always used the tomcat 6 installation without problems.
Within eclipse, I am able to define a runtime configuration for both
tomcat installations:
Window -> Preferences -> Server -> Runtime Configurations
For example, I can define a new runtime configuration like this:
Name: "Apache Tomcat v6.0"
Directory: /opt/apache-tomcat-6.0.29
(Same vor tomcat 7).
So far, so good. But when I try to define a server, I run into problems:
File -> New -> Other -> Server -> Server
I can choose the server type, e. g.:
Tomcat v6.0 Server or
Tomcat v7.0 Server
The server's host name is preset to "localhost".
The server's name is empty and I cannot edit it (disabled).
The "Next" and "Finish" buttons are disabled.
So I cannot define a new tomcat server.
Remember: I had a working configuration, where I could run my dynamic
web projects with "Run -> Run on Server", and the only thing I did was
to remove the tomcat 6 server.
What is the problem here?
I would be glad if some experts could help me.
Thank you a lot!
Laura