Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Is this a bug or a feature?
Is this a bug or a feature? [message #73207] Fri, 11 February 2005 13:07 Go to next message
Eclipse UserFriend
I have installed and successfully used WTP.

I first tried the tutorial by Lawrence Mandel "Building a School Schedule
Web Application"
Then I tried the tutorial by Naci Dai "Building and Running a Web
Application"

Since they both use the same server I only had to choose a Server Runtime
Environment for the second tutorial.

However, the Tomcat configuration file server.xml was not being updated when
the second tutorial was being deployed.

To get it to work I had to select the 'Servers' tab (the one between
Properties and Console), select "Tomcat v5.0 Server @ localhost", right
click on it and select "Add and Remove Projects". From there I selected my
project for the second tutorial and added to the Configured Projects list
which appeared empty (since the project for my first tutorial was closed).

Interestingly, the extra setting added to server.xml is not surrounded by
newlines, therefore it appears appended to the end of the same setting that
already existed.

To confirm that it was all there I double-clicked on server.xml which can be
found on Project Explorer under Other Projects / Servers / Tomcat v5.0
Server @ localhost-config

Is the above behaviour as you would expect? If so, I suggest the authors of
the tutorials should add a small note about the extra step needed if the
tutorial in question is not the first one to be tried.
Re: Is this a bug or a feature? [message #73717 is a reply to message #73207] Mon, 14 February 2005 12:06 Go to previous messageGo to next message
Eclipse UserFriend
Hi Juan,

Did you follow the instructions in Naci's tutorial and just select the
existing server in your project properties instead of creating a new one?
(See the last step in Naci's tutorial under Create a Server.) If so this
sounds like a bug. If not, you will need to add your project to your
server which can either be done as you did it (selecting to add it to the
server) or by selecting the properties for your project.


Lawrence
Re: Is this a bug or a feature? [message #74003 is a reply to message #73717] Tue, 15 February 2005 04:39 Go to previous messageGo to next message
Eclipse UserFriend
Lawrence,

Yes I did just select an existing server:

"Since they both use the same server I only had to choose a Server Runtime
Environment for the second tutorial."

I found my way out of the problem but I thought I might help someone by
posting the problem here. Also, if the consensus is that this is a bug,
then what is the right way to raise a defect?

Regards

Juan

"Lawrence Mandel" <lmandel@ca.ibm.com> wrote in message
news:cuqlr7$u3p$2@www.eclipse.org...
> Hi Juan,
>
> Did you follow the instructions in Naci's tutorial and just select the
> existing server in your project properties instead of creating a new one?
> (See the last step in Naci's tutorial under Create a Server.) If so this
> sounds like a bug. If not, you will need to add your project to your
> server which can either be done as you did it (selecting to add it to the
> server) or by selecting the properties for your project.
>
>
> Lawrence
Re: Is this a bug or a feature? [message #74089 is a reply to message #74003] Tue, 15 February 2005 12:14 Go to previous message
Eclipse UserFriend
Hi Juan,

>Also, if the consensus is that this is a bug, then what is the right way
to raise a defect?

You can open a defect by going to http://bugs.eclipse.org/bugs. You will
need to register for an account (it's free). You should then open a defect
against the Web Tools project and the wst.server component. Please provide
a detailed description of the problem as you have in your newsgroup posts.

Lawrence
Previous Topic:Code assist for J2EE libraries
Next Topic:What plugins are needed to make servlets, jsp and webapps on a server
Goto Forum:
  


Current Time: Wed Jul 16 22:17:20 EDT 2025

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

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

Back to the top