|
Re: This project cannot be deployed on a server [message #58813 is a reply to message #58739] |
Wed, 29 December 2004 10:46 |
Eclipse User |
|
|
|
Originally posted by: zoopy.hates.spam.biz
On 28-12-2004 23:50, Patrick Dockhorn wrote:
> Hi,
>
> I've followed the tutorial at
>
> http://www.eclipse.org/webtools/testtutorials/M2/tutorial1/w tp-tutorial-I.html
>
> for a WebApplication, however when I try to associate the project with a
> server on the Project's Property page - Server category - the only message I
> see is
>
> This project cannot be deployed on a server
>
> So I cannot choose Tomcat as a server for the sample project - any ideas why
> or what I need to change to make it work?
>
>
>
> Thanks,
>
> Patrick
>
>
>
>
Did you *unselect* the checkbox "Add module to an EAR project" in the
project wizard? Tomcat doesn't support deploying EAR files; you'll need
a full-fledged J2EE container for this.
[I made this "mistake" creating a project with WTP-M2 for the first time
(had not read tutorial, didn't know it existed), and found that I
couldn't deploy to my Tomcat installation.]
--
Regards,
Z.
|
|
|
Re: This project cannot be deployed on a server [message #59582 is a reply to message #58813] |
Sun, 02 January 2005 10:24 |
Eclipse User |
|
|
|
Originally posted by: patrick.skex.com.au
Unfortunately no, I had the box unchecked but still cannot select Tomcat as
the container. Any more ideas?
Thanks,
Patrick
"Zoopy" <zoopy@hates.spam.biz> wrote in message
news:cqu1t2$9p0$1@www.eclipse.org...
> On 28-12-2004 23:50, Patrick Dockhorn wrote:
>> Hi,
>>
>> I've followed the tutorial at
>>
>> http://www.eclipse.org/webtools/testtutorials/M2/tutorial1/w tp-tutorial-I.html
>>
>> for a WebApplication, however when I try to associate the project with a
>> server on the Project's Property page - Server category - the only
>> message I see is
>>
>> This project cannot be deployed on a server
>>
>> So I cannot choose Tomcat as a server for the sample project - any ideas
>> why or what I need to change to make it work?
>>
>>
>>
>> Thanks,
>>
>> Patrick
>>
>>
>>
>>
>
> Did you *unselect* the checkbox "Add module to an EAR project" in the
> project wizard? Tomcat doesn't support deploying EAR files; you'll need a
> full-fledged J2EE container for this.
> [I made this "mistake" creating a project with WTP-M2 for the first time
> (had not read tutorial, didn't know it existed), and found that I couldn't
> deploy to my Tomcat installation.]
>
> --
> Regards,
> Z.
|
|
|
Re: This project cannot be deployed on a server [message #59605 is a reply to message #58813] |
Sun, 02 January 2005 10:27 |
Eclipse User |
|
|
|
Originally posted by: patrick.skex.com.au
My environment is
- Eclipse 3.1M4
- JDK 1.4.2_06
- Windows XP Home
- WPT 1.0M2
Regards,
Patrick
"Zoopy" <zoopy@hates.spam.biz> wrote in message
news:cqu1t2$9p0$1@www.eclipse.org...
> On 28-12-2004 23:50, Patrick Dockhorn wrote:
>> Hi,
>>
>> I've followed the tutorial at
>>
>> http://www.eclipse.org/webtools/testtutorials/M2/tutorial1/w tp-tutorial-I.html
>>
>> for a WebApplication, however when I try to associate the project with a
>> server on the Project's Property page - Server category - the only
>> message I see is
>>
>> This project cannot be deployed on a server
>>
>> So I cannot choose Tomcat as a server for the sample project - any ideas
>> why or what I need to change to make it work?
>>
>>
>>
>> Thanks,
>>
>> Patrick
>>
>>
>>
>>
>
> Did you *unselect* the checkbox "Add module to an EAR project" in the
> project wizard? Tomcat doesn't support deploying EAR files; you'll need a
> full-fledged J2EE container for this.
> [I made this "mistake" creating a project with WTP-M2 for the first time
> (had not read tutorial, didn't know it existed), and found that I couldn't
> deploy to my Tomcat installation.]
>
> --
> Regards,
> Z.
|
|
|
Re: This project cannot be deployed on a server [message #60036 is a reply to message #59605] |
Tue, 04 January 2005 16:24 |
Eclipse User |
|
|
|
Originally posted by: zoopy.hates.spam.biz
On 2-1-2005 11:27, Patrick Dockhorn wrote:
> My environment is
>
> - Eclipse 3.1M4
> - JDK 1.4.2_06
> - Windows XP Home
> - WPT 1.0M2
>
> Regards,
> Patrick
>
> "Zoopy" <zoopy@hates.spam.biz> wrote in message
> news:cqu1t2$9p0$1@www.eclipse.org...
>
>>On 28-12-2004 23:50, Patrick Dockhorn wrote:
>>
>>>Hi,
>>>
>>>I've followed the tutorial at
>>>
>>> http://www.eclipse.org/webtools/testtutorials/M2/tutorial1/w tp-tutorial-I.html
>>>
>>>for a WebApplication, however when I try to associate the project with a
>>>server on the Project's Property page - Server category - the only
>>>message I see is
>>>
>>>This project cannot be deployed on a server
>>>
>>>So I cannot choose Tomcat as a server for the sample project - any ideas
>>>why or what I need to change to make it work?
>>>
>>>
>>>
>>>Thanks,
>>>
>>>Patrick
>>>
>>>
>>>
>>>
>>
>>Did you *unselect* the checkbox "Add module to an EAR project" in the
>>project wizard? Tomcat doesn't support deploying EAR files; you'll need a
>>full-fledged J2EE container for this.
>>[I made this "mistake" creating a project with WTP-M2 for the first time
>>(had not read tutorial, didn't know it existed), and found that I couldn't
>>deploy to my Tomcat installation.]
>>
>>--
>>Regards,
>>Z.
>
>
>
And which version of Tomcat do you have?
Can you start your Tomcat from the "Servers" view? (if this view isn't
showing, open it with Window -> Show view -> Other -> Server ->
Servers). After starting it, can you open the Tomcat start page
(typically http://localhost:8080/ ) in your browser?
--
Regards,
Z.
|
|
|
Powered by
FUDForum. Page generated in 0.03067 seconds