Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19546

Re: Eclipse - cannot create tomcat server

From Arved Sandstrom <asandstrom2@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Eclipse - cannot create tomcat server
References <k6gv95$2sc$1@news.m-online.net> <u5Yis.1267$sz4.486@newsfe11.iad> <k6hmp3$grb$1@news.m-online.net>
Message-ID <apajs.14747$MP7.2056@newsfe05.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2012-10-28 10:27 -0300

Show all headers | View raw


On 10/27/2012 07:20 PM, Laura Schmidt wrote:
> On 10/27/2012 11:10 PM, Arved Sandstrom wrote:
>> On 10/27/2012 12:39 PM, Laura Schmidt wrote:
>
>> Yet, with the exception of completely unsupported servers/versions, if
>> it's on the list of server adapters you can make it work - ultimately.
>> And any combinations thereof.
>
> Well, it worked out of the box when I created it. There was nothing
> special about it.

No, there wouldn't have been. But with an application as complicated as 
Eclipse there have got to be a whole bunch of buggy execution paths. And 
sooner or later the complicated state machine that backs up the GUI will 
get out of whack...which is why you had buttons that showed up disabled 
when they ought to have been enabled.

If IDE restarts or trying different means to the same end don't work, 
then cleaning ferociously is sometimes the only option.

I tend to avoid using Eclipse (or NB) for certain things, like 
complicated version control tasks, some SOAP web services tasks, WAR/EAR 
deployment etc. Too many problems over the years. YMMV.

>> My feeling is that you may have to take things back to a clean slate.
>> Download and unzip a new Eclipse Juno if you have to, it's not painful
>> these days.
>
> After of your posting, I reinstalled eclipse, but without effects. When
> I then first started eclipse, I found an old Tomcat 6 runtime
> definition. So I assume that all this stuff must be stored within the
> workspace.
>
> So creating a new workspace would be another idea. But I don't want to
> make all the editor settings again (and I don't know how to
> export/import them).

I tend to use the vanilla settings myself (with the exception of a 
handful of settings like "show line numbers" that are trivial). I'm 
aware though of the generalities if Eclipse settings export/import.

If you look at IDE options under Preferences, e.g. Java->Code Style 
options, you'll see that a number of option groups have import/export 
capability.

Also, while this is dated 
(http://eclipse.dzone.com/news/create-new-eclipse-workspace-w) I suspect 
that experimentation along the lines of the article will work for Indigo 
or Juno also. This is probably more what you want.

> Another point is: I am able to successfully create a new tomcat server
> when I install eclipse as root. #-)
>
>> A note regarding deployment options: don't forget that you always have
>> IDE options to export work as WAR's, JAR's or EAR's.
>
> Yes, this is what I do when I deploy things onto the productive server.
> But for a quick test I always used "Run -> Run on server".
>
> Laura

I agree that for Tomcat in particular this is nice to be able to do.

AHS

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Eclipse - cannot create tomcat server Laura Schmidt <ls@mailinator.com> - 2012-10-27 17:39 +0200
  Re: Eclipse - cannot create tomcat server Arne Vajhøj <arne@vajhoej.dk> - 2012-10-27 11:49 -0400
    Re: Eclipse - cannot create tomcat server Laura Schmidt <ls@mailinator.com> - 2012-10-27 19:20 +0200
      Re: Eclipse - cannot create tomcat server Arne Vajhøj <arne@vajhoej.dk> - 2012-10-27 14:07 -0400
  Re: Eclipse - cannot create tomcat server Arved Sandstrom <asandstrom2@eastlink.ca> - 2012-10-27 18:10 -0300
    Re: Eclipse - cannot create tomcat server Laura Schmidt <ls@mailinator.com> - 2012-10-28 00:20 +0200
      Re: Eclipse - cannot create tomcat server Arved Sandstrom <asandstrom2@eastlink.ca> - 2012-10-28 10:27 -0300
  SOLVED: Eclipse - cannot create tomcat server Laura Schmidt <ls@mailinator.com> - 2012-10-31 19:00 +0100
    Re: SOLVED: Eclipse - cannot create tomcat server markspace <-@.> - 2012-10-31 11:18 -0700
      Re: SOLVED: Eclipse - cannot create tomcat server Laura Schmidt <ls@mailinator.com> - 2012-11-05 07:04 +0100
    Re: SOLVED: Eclipse - cannot create tomcat server jebblue <n@n.nnn> - 2012-11-03 11:20 -0500
      Re: SOLVED: Eclipse - cannot create tomcat server Laura Schmidt <ls@mailinator.com> - 2012-11-05 07:12 +0100
        Re: SOLVED: Eclipse - cannot create tomcat server jebblue <n@n.nnn> - 2012-11-07 00:21 -0600

csiph-web