[WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152821] |
Mon, 19 December 2005 10:53  |
Eclipse User |
|
|
|
Hello,
i'm trying to deploy a dynamic web application on Tomcat 5.5 and i'm unable
to deploy application to server.
For clean testing i created a new empty web application and results are same
as with my own webapp :
1) Right click on project > Run As > Run on Server = No launchable artifact
could be found in the selection.
2) Servers view > right click on server > Add and Remove projects = There
are no projects that can be added or removed from the server.
Now i want to know, how to deploy webapp to Tomcat 5.5 ?
Thanks
--
František Augusztin
|
|
|
|
|
|
|
|
|
|
|
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152966 is a reply to message #152888] |
Mon, 19 December 2005 22:36   |
Eclipse User |
|
|
|
On Mon, 19 Dec 2005 15:04:37 -0500, Franti=C5=A1ek Augusztin <frantisek@=
augusztin.com> wrote:
>>
>> Since upgrading to RC5 I haven't had this problem (yet).
>
> Problem is still there. Deleted server from Servers view, from Server =
>
> Installed runtimes and completly deleted all files/directories
> from .metadata/.plugins/org.eclipse.wst.server.core. After that i recr=
eated
> the new server via Servers view. Still no way to add Dynamic Web Proje=
ct to
> this server.
>
Hopefully you've got this solved, but, if not, there is one part of this=
"delete and re-define"
procedure you didn't mention explicitly ... the times I've had to do thi=
s, I found it helpful,
after deleting from preferences (server runtimes), the Servers Project, =
and the servers view ...
I shutdown and restarted eclipse. That shutdown and restart seemed requi=
red to really get rid of it.
Then, once that done,
I could redefine and use just fine. I'll admit, though, I haven't had th=
is problem for a while,
so if you ever find what it is, or have a reproducable scenerio, please =
open a bug.
|
|
|
|
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152988 is a reply to message #152966] |
Tue, 20 December 2005 04:09   |
Eclipse User |
|
|
|
> Hopefully you've got this solved, but, if not, there is one part of this
> "delete and re-define" procedure you didn't mention explicitly ... the
> times I've had to do this, I found it helpful, after deleting from
> preferences (server runtimes), the Servers Project, and the servers view
> ... I shutdown and restarted eclipse. That shutdown and restart seemed
> required to really get rid of it. Then, once that done, I could redefine
> and use just fine. I'll admit, though, I haven't had this problem for a
> while, so if you ever find what it is, or have a reproducable scenerio,
> please open a bug.
Still doesn't work. What i see :
1) when i open the project, it jumps to "Dynamic Web Projects" in Project Explorer.
2) in Project properties:
a) Server :
This project cannot be deployed to a server.
b) Project Facets :
Dynamic Web Module 2.4
Java 5.0 (tried 1.4 too, no change)
c) Java build path :
I. my own libraries
II. JRE System Library [sun-jdk-1.5.0.06] - lists JDK JAR-s
III. Tomcat v5.5 runtime - lists basic JAR-s from Tomcat
IV. Web App Libraries [cedep] - this contains only the "Access rules" entry
3) in Servers view there is a Tomcat v5.5 Server@localhost, but no Dynamic Web Project can be added.
I will try later with a clean Eclipse instance, maybe conflict with some plugin.
--
František Augusztin
|
|
|
|
|
|
|
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #154847 is a reply to message #152980] |
Thu, 05 January 2006 01:51  |
Eclipse User |
|
|
|
Originally posted by: pfgrobler.gmail.com
In my case using tomcat 5.0
\.metadata\.plugins\org.eclipse.wst.server.core\modules.xml still had a
refereance to my web project.
<?xml version="1.0" encoding="UTF-8"?>
<modules>
<module moduleId="org.eclipse.jst.j2ee.server:TestWebProject"
serverId="1_5_06_8_47_AM1"/>
</modules>
Deleteing the referance resolved the problem for me.
|
|
|
Powered by
FUDForum. Page generated in 0.06040 seconds