Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » [WTP 1.0RC5] Deploy on Tomcat 5.5
[WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152821] Mon, 19 December 2005 15:53 Go to next message
Frantisek Augusztin is currently offline Frantisek AugusztinFriend
Messages: 19
Registered: July 2009
Junior Member
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 #152879 is a reply to message #152821] Mon, 19 December 2005 19:59 Go to previous messageGo to next message
Vincent Jenks is currently offline Vincent JenksFriend
Messages: 27
Registered: July 2009
Junior Member
I've had this problem a few times, mostly w/ RC4. I've found that just
deleting the tomcat server and re-creating it + adding the project to it
solved the problem. I'm sure there's an easier way or even a good
explanation but this seemed to solve it for me.

Since upgrading to RC5 I haven't had this problem (yet).

HTH

-v
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152888 is a reply to message #152879] Mon, 19 December 2005 20:04 Go to previous messageGo to next message
Frantisek Augusztin is currently offline Frantisek AugusztinFriend
Messages: 19
Registered: July 2009
Junior Member
Vincent Jenks wrote:
> I've had this problem a few times, mostly w/ RC4. I've found that just
> deleting the tomcat server and re-creating it + adding the project to it
> solved the problem. I'm sure there's an easier way or even a good
> explanation but this seemed to solve it for me.
>
> 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 recreated
the new server via Servers view. Still no way to add Dynamic Web Project to
this server.

--
František Augusztin
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152896 is a reply to message #152888] Mon, 19 December 2005 20:09 Go to previous messageGo to next message
Vincent Jenks is currently offline Vincent JenksFriend
Messages: 27
Registered: July 2009
Junior Member
What version of Tomcat are you using? I'm using 5.5.12 and it is working
flawlessly for me (since deleting, re-creating, and updating to RC5.)
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152919 is a reply to message #152896] Mon, 19 December 2005 20:56 Go to previous messageGo to next message
Frantisek Augusztin is currently offline Frantisek AugusztinFriend
Messages: 19
Registered: July 2009
Junior Member
Vincent Jenks wrote:

> What version of Tomcat are you using? I'm using 5.5.12 and it is working
> flawlessly for me (since deleting, re-creating, and updating to RC5.)

Eclipse 3.1.1
Sun JDK 1.5.0_06
Apache Tomcat 5.5.12
Gentoo Linux

--
František Augusztin
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152927 is a reply to message #152919] Mon, 19 December 2005 21:12 Go to previous messageGo to next message
Vincent Jenks is currently offline Vincent JenksFriend
Messages: 27
Registered: July 2009
Junior Member
I too am a Gentoo user and had the exact same problem. However, removing
Tomcat and re-configuring it and re-adding the project to it completely
got rid of this problem for me.

If it were me, I'd probably try creating a new web project and adding the
files from your existing project to it. However, this may not be the best
way to go. All I can tell you is that I'm no longer having this problem
on Linux or Windows.
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152934 is a reply to message #152927] Mon, 19 December 2005 21:48 Go to previous messageGo to next message
Frantisek Augusztin is currently offline Frantisek AugusztinFriend
Messages: 19
Registered: July 2009
Junior Member
Vincent Jenks wrote:

> I too am a Gentoo user and had the exact same problem. However, removing
> Tomcat and re-configuring it and re-adding the project to it completely
> got rid of this problem for me.
>
> If it were me, I'd probably try creating a new web project and adding the
> files from your existing project to it. However, this may not be the best
> way to go. All I can tell you is that I'm no longer having this problem
> on Linux or Windows.

If you reread my first post this was first thing i tried. Now i tried it
again after deleting server and result is still same - no possibility to
deploy it via WTP.

--
František Augusztin
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152950 is a reply to message #152934] Mon, 19 December 2005 23:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

František Augusztin wrote:
> Vincent Jenks wrote:
>
>> I too am a Gentoo user and had the exact same problem. However, removing
>> Tomcat and re-configuring it and re-adding the project to it completely
>> got rid of this problem for me.
>>
>> If it were me, I'd probably try creating a new web project and adding the
>> files from your existing project to it. However, this may not be the best
>> way to go. All I can tell you is that I'm no longer having this problem
>> on Linux or Windows.
>
> If you reread my first post this was first thing i tried. Now i tried it
> again after deleting server and result is still same - no possibility to
> deploy it via WTP.
>
> --
> František Augusztin

If you're having issues with the Tomcat within Gentoo, I'd recommend
just grabbing a binary copy from apache's site and just unzipping it to
a directory instead of using emerge. We're currently trying to rework a
lot of the J2EE stuff in Gentoo.

Sorry for the hassle. This maybe a Gentoo issue :/

Cheers,

~ Chris
zx@gentoo.org
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152958 is a reply to message #152950] Tue, 20 December 2005 03:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spam.scientifik.com

Ah ha! Maybe that's the difference! I always download a binary from
apache...I never emerge tomcat (or any of my java stuff for that matter.)
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152966 is a reply to message #152888] Tue, 20 December 2005 03:36 Go to previous messageGo to next message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
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 #152980 is a reply to message #152950] Tue, 20 December 2005 07:45 Go to previous messageGo to next message
Frantisek Augusztin is currently offline Frantisek AugusztinFriend
Messages: 19
Registered: July 2009
Junior Member
> If you're having issues with the Tomcat within Gentoo, I'd recommend
> just grabbing a binary copy from apache's site and just unzipping it to
> a directory instead of using emerge. We're currently trying to rework a
> lot of the J2EE stuff in Gentoo.
>
> Sorry for the hassle. This maybe a Gentoo issue :/

I was never unable to use WTP with Tomcat installed via Gentoo (by the way,
there is no Tomcat 5.5.12 in portage ;-). I always used the binary copy
from apache.

I will try the delete, restart eclipse, recreate procedure ASAP.

--
František Augusztin
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #152988 is a reply to message #152966] Tue, 20 December 2005 09:09 Go to previous messageGo to next message
Frantisek Augusztin is currently offline Frantisek AugusztinFriend
Messages: 19
Registered: July 2009
Junior Member
> 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 #152996 is a reply to message #152988] Tue, 20 December 2005 09:48 Go to previous messageGo to next message
Frantisek Augusztin is currently offline Frantisek AugusztinFriend
Messages: 19
Registered: July 2009
Junior Member
> I will try later with a clean Eclipse instance, maybe conflict with some
> plugin.

Ok, it looks like complete cleanup of features/plugins (now only EMF, GEF,
XSD and WTP are present) it can finally deploy apps to Tomcat 5.5. Thanks
to all for helping me, this is soo weird issue.

--
František Augusztin
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #153082 is a reply to message #152958] Wed, 21 December 2005 09:57 Go to previous messageGo to next message
Darryl Miles is currently offline Darryl MilesFriend
Messages: 123
Registered: July 2009
Senior Member
Vincent Jenks wrote:
> Ah ha! Maybe that's the difference! I always download a binary from
> apache...I never emerge tomcat (or any of my java stuff for that matter.)
>

Re Gentoo: https://bugs.eclipse.org/bugs/show_bug.cgi?id=113484

Maybe until this feature is implemented you will always have to use a
standard apache binary distribution of tomcat.


Darryl
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #153214 is a reply to message #152996] Wed, 21 December 2005 15:55 Go to previous messageGo to next message
Alexandre Poitras is currently offline Alexandre PoitrasFriend
Messages: 5
Registered: July 2009
Junior Member
I had once this problem and after some tests, I found out it was because I was trying to use a JDK 1.4 with Tomcat 5.5. I had no error messages or anything, my project was just no there. But it appeared as soon as I changed to JDK 1.5. Maybe you are having the same issue.
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #153324 is a reply to message #153214] Thu, 22 December 2005 15:46 Go to previous messageGo to next message
Frantisek Augusztin is currently offline Frantisek AugusztinFriend
Messages: 19
Registered: July 2009
Junior Member
Alexandre Poitras wrote:

> I had once this problem and after some tests, I found out it was because I
> was trying to use a JDK 1.4 with Tomcat 5.5. I had no error messages or
> anything, my project was just no there. But it appeared as soon as I
> changed to JDK 1.5. Maybe you are having the same issue.

Nope. I allways use JDK 1.5 (as stated in my another post, i use Sun JDK
1.5.0_06).

--
František Augusztin
Re: [WTP 1.0RC5] Deploy on Tomcat 5.5 [message #154847 is a reply to message #152980] Thu, 05 January 2006 06:51 Go to previous message
Eclipse UserFriend
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.
Previous Topic:WTP RC5 "parsing wsdl" slow/hangs
Next Topic:installing WTP 1.0 from Eclipse update manager
Goto Forum:
  


Current Time: Wed Apr 24 22:03:01 GMT 2024

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

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

Back to the top