Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Publishing a webapp is not complete
Publishing a webapp is not complete [message #159924] Thu, 09 February 2006 18:00 Go to next message
Eclipse UserFriend
Originally posted by: emerxill.msn.com

WTP isn't completely publishing my webapps. I only publishes the directory structure, my classes and a few other files but not all of them. E.g. my jar's aren't being copied nor my jsp-pages.

This way it's impossible for me to debug...

Can somebody explain me what to do?

Thnx
Re: Publishing a webapp is not complete [message #160042 is a reply to message #159924] Fri, 10 February 2006 03:02 Go to previous messageGo to next message
Max Giesbert is currently offline Max GiesbertFriend
Messages: 38
Registered: July 2009
Member
The webtools seem to be pretty buggy or at least i am missing same major
config setting.

check your ../workspace/yourproject/WebContent/WEB-INF directory against
.../workspace/.metadata/.plugins/org.eclipse.wst.server.core /tmp0/webapps/yourproject/WEB-INF

i experience that most of the times the web.xml and lib directory are
missing and i have to copy them by hand.
also files in the /WEB-INF/classses/ root directory make trouble from
time to time.
as they get deleted from time to time try fiddling around with your
write permission. this approach seems not to be working under windows.

the same problems appear in the webttools 1.5M4 and all the latest
integration builds. so don't waste your time trying around.

tell me if i am wrong. i would love to get these problems solved as they
cost me a lot of time.

cheers

max


Tim wrote:
> WTP isn't completely publishing my webapps. I only publishes the directory structure, my classes and a few other files but not all of them. E.g. my jar's aren't being copied nor my jsp-pages.
>
> This way it's impossible for me to debug...
>
> Can somebody explain me what to do?
>
> Thnx
Re: Publishing a webapp is not complete [message #160058 is a reply to message #160042] Fri, 10 February 2006 06:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: emerxill.msn.com

Yep, web.xml and lib are missing... I am working now the way you are suggesting and it's a solution for one project, the other is bit of a problem.

Thanks
Re: Publishing a webapp is not complete [message #160114 is a reply to message #160042] Fri, 10 February 2006 14:33 Go to previous messageGo to next message
Ben Sisson is currently offline Ben SissonFriend
Messages: 202
Registered: July 2009
Senior Member
I am experiencing similar problems and checked with what you suggested.
First of all, I did see the web.xml and lib directories along the first
path as you had suggested. Regarding the second path, I have tmp0 and
tmp1 directories under my path. I believe that I am using my tmp1
directory structure, don't know where this got set but that is the only
directory that appears to have anything in it.

Under the tmp1 directory I have a webapps directory but beneath that there
is no list of my project. The only directory under there is a ROOT
directory with a WEB-INF directory beneath it. That WEB-INF directory has
nothing in it.

There was a \work\Catalina\localhost\myproject\ directory structure under
them tmp1 directory though. However, that one did not have a web.xml or
lib directory either.

I expect that my service is not being deployed. If you have any
suggestions I would appreciat it. Especially since I don't see my project
listed under the webapps directory.

Thanks,
Ben
Re: Publishing a webapp is not complete [message #160216 is a reply to message #160114] Fri, 10 February 2006 18:37 Go to previous messageGo to next message
Max Giesbert is currently offline Max GiesbertFriend
Messages: 38
Registered: July 2009
Member
try to get all my postings on this list. you should find all possible
solutions there.

a short summary.
1.delete your server(s) and create new.
2. try a clean rebuild of your project
3. copy the web.xml and lib dir by hand to your tmpX folder (should only
be one if you have one project). classes folder should be copied by
eclipse, but if not copy it as well.
4. do a fresh eclipse install. get teh zips and don't forget the -clean
option the first time.

these options are not in order.

TOO ANYONE: help us please. there are many people having trouble with
the deployment on tomcat. as it just file handling it cna't be that hard
compared what your plugin does on the other hand. any help is really
really appreciated!

cheers

max


Ben Sisson wrote:
> I am experiencing similar problems and checked with what you suggested.
> First of all, I did see the web.xml and lib directories along the first
> path as you had suggested. Regarding the second path, I have tmp0 and
> tmp1 directories under my path. I believe that I am using my tmp1
> directory structure, don't know where this got set but that is the only
> directory that appears to have anything in it.
>
> Under the tmp1 directory I have a webapps directory but beneath that
> there is no list of my project. The only directory under there is a
> ROOT directory with a WEB-INF directory beneath it. That WEB-INF
> directory has nothing in it.
>
> There was a \work\Catalina\localhost\myproject\ directory structure
> under them tmp1 directory though. However, that one did not have a
> web.xml or lib directory either.
>
> I expect that my service is not being deployed. If you have any
> suggestions I would appreciat it. Especially since I don't see my
> project listed under the webapps directory.
>
> Thanks,
> Ben
>
Re: Publishing a webapp is not complete [message #160279 is a reply to message #160216] Fri, 10 February 2006 20:36 Go to previous messageGo to next message
Max Giesbert is currently offline Max GiesbertFriend
Messages: 38
Registered: July 2009
Member
forgot one thing. go to project properties and at the end you find the
XDoclet settings.

add the library. helped a bit for me. but still sometimes all gets
messed up with the following errors:

11.02.2006 07:32:19 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
11.02.2006 07:32:19 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/BedFiller] startup failed due to previous errors

any ideas on that?

cheers

max

Max Giesbert wrote:
> try to get all my postings on this list. you should find all possible
> solutions there.
>
> a short summary.
> 1.delete your server(s) and create new.
> 2. try a clean rebuild of your project
> 3. copy the web.xml and lib dir by hand to your tmpX folder (should only
> be one if you have one project). classes folder should be copied by
> eclipse, but if not copy it as well.
> 4. do a fresh eclipse install. get teh zips and don't forget the -clean
> option the first time.
>
> these options are not in order.
>
> TOO ANYONE: help us please. there are many people having trouble with
> the deployment on tomcat. as it just file handling it cna't be that hard
> compared what your plugin does on the other hand. any help is really
> really appreciated!
>
> cheers
>
> max
>
>
> Ben Sisson wrote:
>
>> I am experiencing similar problems and checked with what you
>> suggested. First of all, I did see the web.xml and lib directories
>> along the first path as you had suggested. Regarding the second path,
>> I have tmp0 and tmp1 directories under my path. I believe that I am
>> using my tmp1 directory structure, don't know where this got set but
>> that is the only directory that appears to have anything in it.
>>
>> Under the tmp1 directory I have a webapps directory but beneath that
>> there is no list of my project. The only directory under there is a
>> ROOT directory with a WEB-INF directory beneath it. That WEB-INF
>> directory has nothing in it.
>>
>> There was a \work\Catalina\localhost\myproject\ directory structure
>> under them tmp1 directory though. However, that one did not have a
>> web.xml or lib directory either.
>>
>> I expect that my service is not being deployed. If you have any
>> suggestions I would appreciat it. Especially since I don't see my
>> project listed under the webapps directory.
>>
>> Thanks,
>> Ben
>>
Re: Publishing a webapp is not complete [message #160312 is a reply to message #160279] Fri, 10 February 2006 22:03 Go to previous message
Max Giesbert is currently offline Max GiesbertFriend
Messages: 38
Registered: July 2009
Member
the error message was my fault. but the xdoclet stuff might help anyway.

cheers

max

Max Giesbert wrote:
> forgot one thing. go to project properties and at the end you find the
> XDoclet settings.
>
> add the library. helped a bit for me. but still sometimes all gets
> messed up with the following errors:
>
> 11.02.2006 07:32:19 org.apache.catalina.core.StandardContext start
> SCHWERWIEGEND: Error listenerStart
> 11.02.2006 07:32:19 org.apache.catalina.core.StandardContext start
> SCHWERWIEGEND: Context [/BedFiller] startup failed due to previous errors
>
> any ideas on that?
>
> cheers
>
> max
>
> Max Giesbert wrote:
>
>> try to get all my postings on this list. you should find all possible
>> solutions there.
>>
>> a short summary.
>> 1.delete your server(s) and create new.
>> 2. try a clean rebuild of your project
>> 3. copy the web.xml and lib dir by hand to your tmpX folder (should
>> only be one if you have one project). classes folder should be copied
>> by eclipse, but if not copy it as well.
>> 4. do a fresh eclipse install. get teh zips and don't forget the
>> -clean option the first time.
>>
>> these options are not in order.
>>
>> TOO ANYONE: help us please. there are many people having trouble with
>> the deployment on tomcat. as it just file handling it cna't be that
>> hard compared what your plugin does on the other hand. any help is
>> really really appreciated!
>>
>> cheers
>>
>> max
>>
>>
>> Ben Sisson wrote:
>>
>>> I am experiencing similar problems and checked with what you
>>> suggested. First of all, I did see the web.xml and lib directories
>>> along the first path as you had suggested. Regarding the second
>>> path, I have tmp0 and tmp1 directories under my path. I believe that
>>> I am using my tmp1 directory structure, don't know where this got set
>>> but that is the only directory that appears to have anything in it.
>>>
>>> Under the tmp1 directory I have a webapps directory but beneath that
>>> there is no list of my project. The only directory under there is a
>>> ROOT directory with a WEB-INF directory beneath it. That WEB-INF
>>> directory has nothing in it.
>>>
>>> There was a \work\Catalina\localhost\myproject\ directory structure
>>> under them tmp1 directory though. However, that one did not have a
>>> web.xml or lib directory either.
>>>
>>> I expect that my service is not being deployed. If you have any
>>> suggestions I would appreciat it. Especially since I don't see my
>>> project listed under the webapps directory.
>>>
>>> Thanks,
>>> Ben
>>>
Previous Topic:How to programatically get the content from a JavaScript editor
Next Topic:Programatically finding out if the editor document is valid?
Goto Forum:
  


Current Time: Fri Apr 19 19:24:09 GMT 2024

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

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

Back to the top