Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » The requested resource (/MyWebApp/login.html) is not available
The requested resource (/MyWebApp/login.html) is not available [message #170922] Fri, 09 June 2006 12:13 Go to next message
Eclipse UserFriend
Originally posted by: bunchb.hotmail.com

I'm having problems running a known-good webapp in the latest Eclipse/WTP
version (102). Everything else in the environment is the same as when it
last worked, except Eclipse/WTP. Last version that worked was 3.11/1.0.
Putting the same CATALINA_HOME (copied the whole directory) in place,
using the same JAVA_HOME (copied that too), and when I try to run, I get
this:

HTTP Status 404 - /PWT-H3-WTP10/login.html
------------------------------------------------------------ ----
type Status report
message /PWT-H3-WTP10/login.html
description The requested resource (/PWT-H3-WTP10/login.html) is not
available.
------------------------------------------------------------ ----
Apache Tomcat/5.0.28

....obviously, the server is starting fine (I can get to /jsp-examples) --
it's (seemingly) not deploying properly. However, I see it _is_ being
deployed.

Any help is appreciated!

Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0

06/09/2006 07:47 AM <DIR> .
06/09/2006 07:47 AM <DIR> ..
06/09/2006 07:42 AM <DIR> conf
06/09/2006 07:42 AM <DIR> logs
06/09/2006 07:47 AM 170 publish.txt
06/09/2006 07:42 AM <DIR> temp
06/09/2006 07:42 AM <DIR> webapps
06/09/2006 07:42 AM <DIR> work
1 File(s) 170 bytes
7 Dir(s) 30,690,496,512 bytes free

C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 >dir webapps

Volume in drive C has no label.
Volume Serial Number is C0F8-2E5E

Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tm
p0\webapps

06/09/2006 07:42 AM <DIR> .
06/09/2006 07:42 AM <DIR> ..
06/09/2006 07:42 AM <DIR> PWT-H3-WTP10
06/09/2006 07:42 AM <DIR> ROOT
0 File(s) 0 bytes
4 Dir(s) 30,669,844,480 bytes free



Versions:
=========
Eclipse 3.1.2
WTP 1.0.2
Java 1.4.2_06
Tomcat 5.0.28

Environment:
============
CATALINA_HOME=C:\jakarta-tomcat-5.0.28
JAVA_HOME=C:\j2sdk1.4.2_06
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ; "C:\Program
Files\Symantec\Norton Ghost
2003\";C:\j2sdk1.4.2_06\bin;C:\oracle\ora10\bin

Eclipse server properties --> VM arguments:
===========================================
-Dcatalina.base=" C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 "
-Dcatalina.home="C:\jakarta-tomcat-5.0.28"
-Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\common\endorsed "
Re: The requested resource (/MyWebApp/login.html) is not available [message #170929 is a reply to message #170922] Fri, 09 June 2006 13:48 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
Based on the directories and configuration you provide, you should be
able to access the PWT-H3-WTP10 webapp and *not* be able to access the
jsp-examples webapp. Since you are seeing the reverse, are you certain
the server that is running is the one with the configuration under
".metadata\.plugins\org.eclipse.wst.server.core\tmp0"? I don't know if
there would be additional details to explain why you can get to the
jsp-examples webapp.

Cheers,
Larry

Bob Bunch (OCP) wrote:
> I'm having problems running a known-good webapp in the latest Eclipse/WTP
> version (102). Everything else in the environment is the same as when it
> last worked, except Eclipse/WTP. Last version that worked was 3.11/1.0.
> Putting the same CATALINA_HOME (copied the whole directory) in place,
> using the same JAVA_HOME (copied that too), and when I try to run, I get
> this:
>
> HTTP Status 404 - /PWT-H3-WTP10/login.html
> ------------------------------------------------------------ ----
> type Status report
> message /PWT-H3-WTP10/login.html
> description The requested resource (/PWT-H3-WTP10/login.html) is not
> available.
> ------------------------------------------------------------ ----
> Apache Tomcat/5.0.28
>
> ...obviously, the server is starting fine (I can get to /jsp-examples) --
> it's (seemingly) not deploying properly. However, I see it _is_ being
> deployed.
>
> Any help is appreciated!
>
> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0
>
> 06/09/2006 07:47 AM <DIR> .
> 06/09/2006 07:47 AM <DIR> ..
> 06/09/2006 07:42 AM <DIR> conf
> 06/09/2006 07:42 AM <DIR> logs
> 06/09/2006 07:47 AM 170 publish.txt
> 06/09/2006 07:42 AM <DIR> temp
> 06/09/2006 07:42 AM <DIR> webapps
> 06/09/2006 07:42 AM <DIR> work
> 1 File(s) 170 bytes
> 7 Dir(s) 30,690,496,512 bytes free
>
> C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 >dir webapps
>
> Volume in drive C has no label.
> Volume Serial Number is C0F8-2E5E
>
> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tm
> p0\webapps
>
> 06/09/2006 07:42 AM <DIR> .
> 06/09/2006 07:42 AM <DIR> ..
> 06/09/2006 07:42 AM <DIR> PWT-H3-WTP10
> 06/09/2006 07:42 AM <DIR> ROOT
> 0 File(s) 0 bytes
> 4 Dir(s) 30,669,844,480 bytes free
>
>
>
> Versions:
> =========
> Eclipse 3.1.2
> WTP 1.0.2
> Java 1.4.2_06
> Tomcat 5.0.28
>
> Environment:
> ============
> CATALINA_HOME=C:\jakarta-tomcat-5.0.28
> JAVA_HOME=C:\j2sdk1.4.2_06
> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ; "C:\Program
> Files\Symantec\Norton Ghost
> 2003\";C:\j2sdk1.4.2_06\bin;C:\oracle\ora10\bin
>
> Eclipse server properties --> VM arguments:
> ===========================================
> -Dcatalina.base=" C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 "
> -Dcatalina.home="C:\jakarta-tomcat-5.0.28"
> -Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\common\endorsed "
>
Re: The requested resource (/MyWebApp/login.html) is not available [message #170945 is a reply to message #170929] Fri, 09 June 2006 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bunchb.hotmail.com

D'oh! I was mistaken. I am NOT able to get to the other webapps (like
jsp-examples). That's not even in the tmp0 directory! ;) I was looking
at the 3.1.1/1.0 config that time.

Everything else below is accurate, though! ;)

On Fri, 09 Jun 2006 09:48:49 -0400, Larry Isaacs wrote:

> Based on the directories and configuration you provide, you should be
> able to access the PWT-H3-WTP10 webapp and *not* be able to access the
> jsp-examples webapp. Since you are seeing the reverse, are you certain
> the server that is running is the one with the configuration under
> ".metadata\.plugins\org.eclipse.wst.server.core\tmp0"? I don't know if
> there would be additional details to explain why you can get to the
> jsp-examples webapp.
>
> Cheers,
> Larry
>
> Bob Bunch (OCP) wrote:
>> I'm having problems running a known-good webapp in the latest Eclipse/WTP
>> version (102). Everything else in the environment is the same as when it
>> last worked, except Eclipse/WTP. Last version that worked was 3.11/1.0.
>> Putting the same CATALINA_HOME (copied the whole directory) in place,
>> using the same JAVA_HOME (copied that too), and when I try to run, I get
>> this:
>>
>> HTTP Status 404 - /PWT-H3-WTP10/login.html
>> ------------------------------------------------------------ ----
>> type Status report
>> message /PWT-H3-WTP10/login.html
>> description The requested resource (/PWT-H3-WTP10/login.html) is not
>> available.
>> ------------------------------------------------------------ ----
>> Apache Tomcat/5.0.28
>>
>> ...obviously, the server is starting fine (I can get to /jsp-examples) --
>> it's (seemingly) not deploying properly. However, I see it _is_ being
>> deployed.
>>
>> Any help is appreciated!
>>
>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0
>>
>> 06/09/2006 07:47 AM <DIR> .
>> 06/09/2006 07:47 AM <DIR> ..
>> 06/09/2006 07:42 AM <DIR> conf
>> 06/09/2006 07:42 AM <DIR> logs
>> 06/09/2006 07:47 AM 170 publish.txt
>> 06/09/2006 07:42 AM <DIR> temp
>> 06/09/2006 07:42 AM <DIR> webapps
>> 06/09/2006 07:42 AM <DIR> work
>> 1 File(s) 170 bytes
>> 7 Dir(s) 30,690,496,512 bytes free
>>
>> C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 >dir webapps
>>
>> Volume in drive C has no label.
>> Volume Serial Number is C0F8-2E5E
>>
>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tm
>> p0\webapps
>>
>> 06/09/2006 07:42 AM <DIR> .
>> 06/09/2006 07:42 AM <DIR> ..
>> 06/09/2006 07:42 AM <DIR> PWT-H3-WTP10
>> 06/09/2006 07:42 AM <DIR> ROOT
>> 0 File(s) 0 bytes
>> 4 Dir(s) 30,669,844,480 bytes free
>>
>>
>>
>> Versions:
>> =========
>> Eclipse 3.1.2
>> WTP 1.0.2
>> Java 1.4.2_06
>> Tomcat 5.0.28
>>
>> Environment:
>> ============
>> CATALINA_HOME=C:\jakarta-tomcat-5.0.28
>> JAVA_HOME=C:\j2sdk1.4.2_06
>> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ; "C:\Program
>> Files\Symantec\Norton Ghost
>> 2003\";C:\j2sdk1.4.2_06\bin;C:\oracle\ora10\bin
>>
>> Eclipse server properties --> VM arguments:
>> ===========================================
>> -Dcatalina.base=" C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 "
>> -Dcatalina.home="C:\jakarta-tomcat-5.0.28"
>> -Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\common\endorsed "
>>
Re: The requested resource (/MyWebApp/login.html) is not available [message #170969 is a reply to message #170945] Fri, 09 June 2006 16:53 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
You might verify that "tmp0\webapps\PWT-H3-WTP10\login.html" exists in
case there is some publishing problem. If it exists, check the output
in the Eclipse Console view to see if there is anything that suggest the
context isn't starting successfully.

Also, was this workspace used previously with the 311/10 installation?

Cheers,
Larry

Bob Bunch (OCP) wrote:
> D'oh! I was mistaken. I am NOT able to get to the other webapps (like
> jsp-examples). That's not even in the tmp0 directory! ;) I was looking
> at the 3.1.1/1.0 config that time.
>
> Everything else below is accurate, though! ;)
>
> On Fri, 09 Jun 2006 09:48:49 -0400, Larry Isaacs wrote:
>
>> Based on the directories and configuration you provide, you should be
>> able to access the PWT-H3-WTP10 webapp and *not* be able to access the
>> jsp-examples webapp. Since you are seeing the reverse, are you certain
>> the server that is running is the one with the configuration under
>> ".metadata\.plugins\org.eclipse.wst.server.core\tmp0"? I don't know if
>> there would be additional details to explain why you can get to the
>> jsp-examples webapp.
>>
>> Cheers,
>> Larry
>>
>> Bob Bunch (OCP) wrote:
>>> I'm having problems running a known-good webapp in the latest Eclipse/WTP
>>> version (102). Everything else in the environment is the same as when it
>>> last worked, except Eclipse/WTP. Last version that worked was 3.11/1.0.
>>> Putting the same CATALINA_HOME (copied the whole directory) in place,
>>> using the same JAVA_HOME (copied that too), and when I try to run, I get
>>> this:
>>>
>>> HTTP Status 404 - /PWT-H3-WTP10/login.html
>>> ------------------------------------------------------------ ----
>>> type Status report
>>> message /PWT-H3-WTP10/login.html
>>> description The requested resource (/PWT-H3-WTP10/login.html) is not
>>> available.
>>> ------------------------------------------------------------ ----
>>> Apache Tomcat/5.0.28
>>>
>>> ...obviously, the server is starting fine (I can get to /jsp-examples) --
>>> it's (seemingly) not deploying properly. However, I see it _is_ being
>>> deployed.
>>>
>>> Any help is appreciated!
>>>
>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0
>>>
>>> 06/09/2006 07:47 AM <DIR> .
>>> 06/09/2006 07:47 AM <DIR> ..
>>> 06/09/2006 07:42 AM <DIR> conf
>>> 06/09/2006 07:42 AM <DIR> logs
>>> 06/09/2006 07:47 AM 170 publish.txt
>>> 06/09/2006 07:42 AM <DIR> temp
>>> 06/09/2006 07:42 AM <DIR> webapps
>>> 06/09/2006 07:42 AM <DIR> work
>>> 1 File(s) 170 bytes
>>> 7 Dir(s) 30,690,496,512 bytes free
>>>
>>> C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 >dir webapps
>>>
>>> Volume in drive C has no label.
>>> Volume Serial Number is C0F8-2E5E
>>>
>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tm
>>> p0\webapps
>>>
>>> 06/09/2006 07:42 AM <DIR> .
>>> 06/09/2006 07:42 AM <DIR> ..
>>> 06/09/2006 07:42 AM <DIR> PWT-H3-WTP10
>>> 06/09/2006 07:42 AM <DIR> ROOT
>>> 0 File(s) 0 bytes
>>> 4 Dir(s) 30,669,844,480 bytes free
>>>
>>>
>>>
>>> Versions:
>>> =========
>>> Eclipse 3.1.2
>>> WTP 1.0.2
>>> Java 1.4.2_06
>>> Tomcat 5.0.28
>>>
>>> Environment:
>>> ============
>>> CATALINA_HOME=C:\jakarta-tomcat-5.0.28
>>> JAVA_HOME=C:\j2sdk1.4.2_06
>>> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ; "C:\Program
>>> Files\Symantec\Norton Ghost
>>> 2003\";C:\j2sdk1.4.2_06\bin;C:\oracle\ora10\bin
>>>
>>> Eclipse server properties --> VM arguments:
>>> ===========================================
>>> -Dcatalina.base=" C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 "
>>> -Dcatalina.home="C:\jakarta-tomcat-5.0.28"
>>> -Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\common\endorsed "
>>>
>
Re: The requested resource (/MyWebApp/login.html) is not available [message #170989 is a reply to message #170969] Fri, 09 June 2006 21:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bunchb.hotmail.com

Hmm -- yes, since I got a new system, and transferred all the projects
(source controlled and other). The .metadata came over with it - if I
recall correctly. I tried moving everything in the tmp0 directory,
recreated the server def, and the behavior continues. However, looking
closer at the logs shows (I suspect) a bigger problem. I hadn't looked at
it too closely before, because I'd stop the server in Eclipse, and try to
run the app again, and I'd see no messages beyond "server startup in...",
so I didn't think to look there. ;)

The tmp0 directory had the entire application in it, so that's probably
not the problem.

Perhaps I should nuke my whole .metadata directory and start from scratch?
The only things I'd have to redo are my Jalopy and ClearCase (CCRC)
plugins, which aren't that big a deal to reinstall.

Starting the server:
====================

Jun 9, 2006 5:10:41 PM
org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote
HTTP/1.1 on http-8081 Jun 9, 2006 5:10:41 PM
org.apache.catalina.startup.Catalina load INFO: Initialization processed
in 625 ms Jun 9, 2006 5:10:41 PM org.apache.catalina.core.StandardService
start INFO: Starting service Catalina Jun 9, 2006 5:10:41 PM
org.apache.catalina.core.StandardEngine start INFO: Starting Servlet
Engine: Apache Tomcat/5.0.28 Jun 9, 2006 5:10:41 PM
org.apache.catalina.core.StandardHost start INFO: XML validation disabled
Jun 9, 2006 5:10:41 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx ) Jun 9, 2006
5:10:41 PM org.apache.catalina.core.StandardHostDeployer install INFO:
Installing web application at context path from URL
file:C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.ser ver.core\tmp0\webapps\ROOT
Jun 9, 2006 5:10:41 PM org.apache.coyote.http11.Http11Protocol start INFO:
Starting Coyote HTTP/1.1 on http-8081 Jun 9, 2006 5:10:41 PM
org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on
/0.0.0.0:8011 Jun 9, 2006 5:10:41 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15 config=null Jun 9, 2006 5:10:41 PM
org.apache.catalina.startup.Catalina start INFO: Server startup in 578 ms

Deploying PWT-H3-WTP10:
=======================

Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /PWT-H3-WTP10 from URL
file:C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.ser ver.core\tmp0\webapps\PWT-H3-WTP10
Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in dependencyCheck
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:383) at
java.util.jar.Manifest.read(Manifest.java:167) at
java.util.jar.Manifest.<init>(Manifest.java:52) at
org.apache.catalina.util.ExtensionValidator.validateApplicat ion(ExtensionValidator.java:152)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:823)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
at
org.apache.catalina.core.StandardHostDeployer.install(Standa rdHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.j ava:832)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:432)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java :1083) at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:327)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at
org.apache.catalina.core.StandardHost.backgroundProcess(Stan dardHost.java:800)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1619)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1628)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.run(ContainerBase.java:1608)
at java.lang.Thread.run(Thread.java:534)
Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors Jun 9, 2006 5:13:51
PM org.apache.catalina.core.StandardContext start SEVERE: Exception during
cleanup after start failed LifecycleException: Container
StandardContext[/PWT-H3-WTP10] has not been started
at
org.apache.catalina.core.StandardContext.stop(StandardContex t.java:4466)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4371)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:823)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
at
org.apache.catalina.core.StandardHostDeployer.install(Standa rdHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.j ava:832)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:432)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java :1083) at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:327)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at
org.apache.catalina.core.StandardHost.backgroundProcess(Stan dardHost.java:800)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1619)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1628)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.run(ContainerBase.java:1608)
at java.lang.Thread.run(Thread.java:534)

On Fri, 09 Jun 2006 12:53:41 -0400, Larry Isaacs wrote:

> You might verify that "tmp0\webapps\PWT-H3-WTP10\login.html" exists in
> case there is some publishing problem. If it exists, check the output
> in the Eclipse Console view to see if there is anything that suggest the
> context isn't starting successfully.
>
> Also, was this workspace used previously with the 311/10 installation?
>
> Cheers,
> Larry
>
> Bob Bunch (OCP) wrote:
>> D'oh! I was mistaken. I am NOT able to get to the other webapps (like
>> jsp-examples). That's not even in the tmp0 directory! ;) I was looking
>> at the 3.1.1/1.0 config that time.
>>
>> Everything else below is accurate, though! ;)
>>
>> On Fri, 09 Jun 2006 09:48:49 -0400, Larry Isaacs wrote:
>>
>>> Based on the directories and configuration you provide, you should be
>>> able to access the PWT-H3-WTP10 webapp and *not* be able to access the
>>> jsp-examples webapp. Since you are seeing the reverse, are you certain
>>> the server that is running is the one with the configuration under
>>> ".metadata\.plugins\org.eclipse.wst.server.core\tmp0"? I don't know if
>>> there would be additional details to explain why you can get to the
>>> jsp-examples webapp.
>>>
>>> Cheers,
>>> Larry
>>>
>>> Bob Bunch (OCP) wrote:
>>>> I'm having problems running a known-good webapp in the latest Eclipse/WTP
>>>> version (102). Everything else in the environment is the same as when it
>>>> last worked, except Eclipse/WTP. Last version that worked was 3.11/1.0.
>>>> Putting the same CATALINA_HOME (copied the whole directory) in place,
>>>> using the same JAVA_HOME (copied that too), and when I try to run, I get
>>>> this:
>>>>
>>>> HTTP Status 404 - /PWT-H3-WTP10/login.html
>>>> ------------------------------------------------------------ ----
>>>> type Status report
>>>> message /PWT-H3-WTP10/login.html
>>>> description The requested resource (/PWT-H3-WTP10/login.html) is not
>>>> available.
>>>> ------------------------------------------------------------ ----
>>>> Apache Tomcat/5.0.28
>>>>
>>>> ...obviously, the server is starting fine (I can get to /jsp-examples) --
>>>> it's (seemingly) not deploying properly. However, I see it _is_ being
>>>> deployed.
>>>>
>>>> Any help is appreciated!
>>>>
>>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0
>>>>
>>>> 06/09/2006 07:47 AM <DIR> .
>>>> 06/09/2006 07:47 AM <DIR> ..
>>>> 06/09/2006 07:42 AM <DIR> conf
>>>> 06/09/2006 07:42 AM <DIR> logs
>>>> 06/09/2006 07:47 AM 170 publish.txt
>>>> 06/09/2006 07:42 AM <DIR> temp
>>>> 06/09/2006 07:42 AM <DIR> webapps
>>>> 06/09/2006 07:42 AM <DIR> work
>>>> 1 File(s) 170 bytes
>>>> 7 Dir(s) 30,690,496,512 bytes free
>>>>
>>>> C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 >dir webapps
>>>>
>>>> Volume in drive C has no label.
>>>> Volume Serial Number is C0F8-2E5E
>>>>
>>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tm
>>>> p0\webapps
>>>>
>>>> 06/09/2006 07:42 AM <DIR> .
>>>> 06/09/2006 07:42 AM <DIR> ..
>>>> 06/09/2006 07:42 AM <DIR> PWT-H3-WTP10
>>>> 06/09/2006 07:42 AM <DIR> ROOT
>>>> 0 File(s) 0 bytes
>>>> 4 Dir(s) 30,669,844,480 bytes free
>>>>
>>>>
>>>>
>>>> Versions:
>>>> =========
>>>> Eclipse 3.1.2
>>>> WTP 1.0.2
>>>> Java 1.4.2_06
>>>> Tomcat 5.0.28
>>>>
>>>> Environment:
>>>> ============
>>>> CATALINA_HOME=C:\jakarta-tomcat-5.0.28
>>>> JAVA_HOME=C:\j2sdk1.4.2_06
>>>> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ; "C:\Program
>>>> Files\Symantec\Norton Ghost
>>>> 2003\";C:\j2sdk1.4.2_06\bin;C:\oracle\ora10\bin
>>>>
>>>> Eclipse server properties --> VM arguments:
>>>> ===========================================
>>>> -Dcatalina.base=" C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 "
>>>> -Dcatalina.home="C:\jakarta-tomcat-5.0.28"
>>>> -Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\common\endorsed "
>>>>
>>
Re: The requested resource (/MyWebApp/login.html) is not available [message #170998 is a reply to message #170989] Fri, 09 June 2006 21:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bunchb.hotmail.com

I tried removing the .metadata directory completely, and the Servers
directory. Didn't help. :\

On Fri, 09 Jun 2006 17:24:35 -0400, Bob Bunch (OCP) wrote:

> Hmm -- yes, since I got a new system, and transferred all the projects
> (source controlled and other). The .metadata came over with it - if I
> recall correctly. I tried moving everything in the tmp0 directory,
> recreated the server def, and the behavior continues. However, looking
> closer at the logs shows (I suspect) a bigger problem. I hadn't looked at
> it too closely before, because I'd stop the server in Eclipse, and try to
> run the app again, and I'd see no messages beyond "server startup in...",
> so I didn't think to look there. ;)
>
> The tmp0 directory had the entire application in it, so that's probably
> not the problem.
>
> Perhaps I should nuke my whole .metadata directory and start from scratch?
> The only things I'd have to redo are my Jalopy and ClearCase (CCRC)
> plugins, which aren't that big a deal to reinstall.
>
> Starting the server:
> ====================
>
> Jun 9, 2006 5:10:41 PM
> org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote
> HTTP/1.1 on http-8081 Jun 9, 2006 5:10:41 PM
> org.apache.catalina.startup.Catalina load INFO: Initialization processed
> in 625 ms Jun 9, 2006 5:10:41 PM org.apache.catalina.core.StandardService
> start INFO: Starting service Catalina Jun 9, 2006 5:10:41 PM
> org.apache.catalina.core.StandardEngine start INFO: Starting Servlet
> Engine: Apache Tomcat/5.0.28 Jun 9, 2006 5:10:41 PM
> org.apache.catalina.core.StandardHost start INFO: XML validation disabled
> Jun 9, 2006 5:10:41 PM org.apache.catalina.core.StandardHost getDeployer
> INFO: Create Host deployer for direct deployment ( non-jmx ) Jun 9, 2006
> 5:10:41 PM org.apache.catalina.core.StandardHostDeployer install INFO:
> Installing web application at context path from URL
> file:C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.ser ver.core\tmp0\webapps\ROOT
> Jun 9, 2006 5:10:41 PM org.apache.coyote.http11.Http11Protocol start INFO:
> Starting Coyote HTTP/1.1 on http-8081 Jun 9, 2006 5:10:41 PM
> org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on
> /0.0.0.0:8011 Jun 9, 2006 5:10:41 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/15 config=null Jun 9, 2006 5:10:41 PM
> org.apache.catalina.startup.Catalina start INFO: Server startup in 578 ms
>
> Deploying PWT-H3-WTP10:
> =======================
>
> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardHostDeployer install
> INFO: Installing web application at context path /PWT-H3-WTP10 from URL
> file:C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.ser ver.core\tmp0\webapps\PWT-H3-WTP10
> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error in dependencyCheck
> java.io.IOException: invalid header field
> at java.util.jar.Attributes.read(Attributes.java:383) at
> java.util.jar.Manifest.read(Manifest.java:167) at
> java.util.jar.Manifest.<init>(Manifest.java:52) at
> org.apache.catalina.util.ExtensionValidator.validateApplicat ion(ExtensionValidator.java:152)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:823)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
> at
> org.apache.catalina.core.StandardHostDeployer.install(Standa rdHostDeployer.java:277)
> at org.apache.catalina.core.StandardHost.install(StandardHost.j ava:832)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:701)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:432)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java :1083) at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:327)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
> at
> org.apache.catalina.core.StandardHost.backgroundProcess(Stan dardHost.java:800)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1619)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1628)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.run(ContainerBase.java:1608)
> at java.lang.Thread.run(Thread.java:534)
> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error getConfigured
> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context startup failed due to previous errors Jun 9, 2006 5:13:51
> PM org.apache.catalina.core.StandardContext start SEVERE: Exception during
> cleanup after start failed LifecycleException: Container
> StandardContext[/PWT-H3-WTP10] has not been started
> at
> org.apache.catalina.core.StandardContext.stop(StandardContex t.java:4466)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4371)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:823)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
> at
> org.apache.catalina.core.StandardHostDeployer.install(Standa rdHostDeployer.java:277)
> at org.apache.catalina.core.StandardHost.install(StandardHost.j ava:832)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:701)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:432)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java :1083) at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:327)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
> at
> org.apache.catalina.core.StandardHost.backgroundProcess(Stan dardHost.java:800)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1619)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1628)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.run(ContainerBase.java:1608)
> at java.lang.Thread.run(Thread.java:534)
>
> On Fri, 09 Jun 2006 12:53:41 -0400, Larry Isaacs wrote:
>
>> You might verify that "tmp0\webapps\PWT-H3-WTP10\login.html" exists in
>> case there is some publishing problem. If it exists, check the output
>> in the Eclipse Console view to see if there is anything that suggest the
>> context isn't starting successfully.
>>
>> Also, was this workspace used previously with the 311/10 installation?
>>
>> Cheers,
>> Larry
>>
>> Bob Bunch (OCP) wrote:
>>> D'oh! I was mistaken. I am NOT able to get to the other webapps (like
>>> jsp-examples). That's not even in the tmp0 directory! ;) I was looking
>>> at the 3.1.1/1.0 config that time.
>>>
>>> Everything else below is accurate, though! ;)
>>>
>>> On Fri, 09 Jun 2006 09:48:49 -0400, Larry Isaacs wrote:
>>>
>>>> Based on the directories and configuration you provide, you should be
>>>> able to access the PWT-H3-WTP10 webapp and *not* be able to access the
>>>> jsp-examples webapp. Since you are seeing the reverse, are you certain
>>>> the server that is running is the one with the configuration under
>>>> ".metadata\.plugins\org.eclipse.wst.server.core\tmp0"? I don't know if
>>>> there would be additional details to explain why you can get to the
>>>> jsp-examples webapp.
>>>>
>>>> Cheers,
>>>> Larry
>>>>
>>>> Bob Bunch (OCP) wrote:
>>>>> I'm having problems running a known-good webapp in the latest Eclipse/WTP
>>>>> version (102). Everything else in the environment is the same as when it
>>>>> last worked, except Eclipse/WTP. Last version that worked was 3.11/1.0.
>>>>> Putting the same CATALINA_HOME (copied the whole directory) in place,
>>>>> using the same JAVA_HOME (copied that too), and when I try to run, I get
>>>>> this:
>>>>>
>>>>> HTTP Status 404 - /PWT-H3-WTP10/login.html
>>>>> ------------------------------------------------------------ ----
>>>>> type Status report
>>>>> message /PWT-H3-WTP10/login.html
>>>>> description The requested resource (/PWT-H3-WTP10/login.html) is not
>>>>> available.
>>>>> ------------------------------------------------------------ ----
>>>>> Apache Tomcat/5.0.28
>>>>>
>>>>> ...obviously, the server is starting fine (I can get to /jsp-examples) --
>>>>> it's (seemingly) not deploying properly. However, I see it _is_ being
>>>>> deployed.
>>>>>
>>>>> Any help is appreciated!
>>>>>
>>>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0
>>>>>
>>>>> 06/09/2006 07:47 AM <DIR> .
>>>>> 06/09/2006 07:47 AM <DIR> ..
>>>>> 06/09/2006 07:42 AM <DIR> conf
>>>>> 06/09/2006 07:42 AM <DIR> logs
>>>>> 06/09/2006 07:47 AM 170 publish.txt
>>>>> 06/09/2006 07:42 AM <DIR> temp
>>>>> 06/09/2006 07:42 AM <DIR> webapps
>>>>> 06/09/2006 07:42 AM <DIR> work
>>>>> 1 File(s) 170 bytes
>>>>> 7 Dir(s) 30,690,496,512 bytes free
>>>>>
>>>>> C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 >dir webapps
>>>>>
>>>>> Volume in drive C has no label.
>>>>> Volume Serial Number is C0F8-2E5E
>>>>>
>>>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tm
>>>>> p0\webapps
>>>>>
>>>>> 06/09/2006 07:42 AM <DIR> .
>>>>> 06/09/2006 07:42 AM <DIR> ..
>>>>> 06/09/2006 07:42 AM <DIR> PWT-H3-WTP10
>>>>> 06/09/2006 07:42 AM <DIR> ROOT
>>>>> 0 File(s) 0 bytes
>>>>> 4 Dir(s) 30,669,844,480 bytes free
>>>>>
>>>>>
>>>>>
>>>>> Versions:
>>>>> =========
>>>>> Eclipse 3.1.2
>>>>> WTP 1.0.2
>>>>> Java 1.4.2_06
>>>>> Tomcat 5.0.28
>>>>>
>>>>> Environment:
>>>>> ============
>>>>> CATALINA_HOME=C:\jakarta-tomcat-5.0.28
>>>>> JAVA_HOME=C:\j2sdk1.4.2_06
>>>>> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ; "C:\Program
>>>>> Files\Symantec\Norton Ghost
>>>>> 2003\";C:\j2sdk1.4.2_06\bin;C:\oracle\ora10\bin
>>>>>
>>>>> Eclipse server properties --> VM arguments:
>>>>> ===========================================
>>>>> -Dcatalina.base=" C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 "
>>>>> -Dcatalina.home="C:\jakarta-tomcat-5.0.28"
>>>>> -Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\common\endorsed "
>>>>>
>>>
Re: The requested resource (/MyWebApp/login.html) is not available [message #171005 is a reply to message #170998] Fri, 09 June 2006 21:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bunchb.hotmail.com

Also, if I try Export --> WAR, I get nowhere just as fast (An error has
occurred when Export finished):

org.eclipse.core.runtime.CoreException[0]: org.eclipse.core.commands.ExecutionException: Error exportingWar File
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifac tExportOperation.execute(J2EEArtifactExportOperation.java:73 )
at org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.doExecute(ExtendableOperationImpl.java:163)
at org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl$1.run(ExtendableOperationImpl.java:131)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1721)
at org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.execute(ExtendableOperationImpl.java:139)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard$3.run(DataModelWizard.java:196)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 830)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.runOperations(DataModelWizard.java:204)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.performFinish(DataModelWizard.java:173)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:676)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResou rcesAction.java:180)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEv ent(BaseSelectionListenerAction.java:167)
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.Sa veFailureException: Error opening archive for export..
at org.eclipse.jst.j2ee.internal.web.archive.operations.WebComp onentExportOperation.export(WebComponentExportOperation.java :44)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifac tExportOperation.execute(J2EEArtifactExportOperation.java:71 )
... 45 more
Caused by:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.Ma nifestException:
IWAE0015E An IOException occurred reading the manifest in archive:
C:\JFP\ClearCase_Storage\bunchb_d820_JFP_view\JFP\prototypes \PWT-H3-WTP10\wars\PWT.war
at
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.getManifest(ArchiveImpl.java:846)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Sav eStrategyImpl.saveManifest(SaveStrategyImpl.java:155)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Sav eStrategyImpl.save(SaveStrategyImpl.java:98)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.save(ArchiveImpl.java:1221)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleF ileImpl.save(ModuleFileImpl.java:355)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.saveAsNoReopen(ArchiveImpl.java:1316)
at
org.eclipse.jst.j2ee.internal.web.archive.operations.WebComp onentExportOperation.export(WebComponentExportOperation.java :40)
... 46 more


On Fri, 09 Jun 2006 17:35:44 -0400, Bob Bunch (OCP) wrote:

> I tried removing the .metadata directory completely, and the Servers
> directory. Didn't help. :\
>
> On Fri, 09 Jun 2006 17:24:35 -0400, Bob Bunch (OCP) wrote:
>
>> Hmm -- yes, since I got a new system, and transferred all the projects
>> (source controlled and other). The .metadata came over with it - if I
>> recall correctly. I tried moving everything in the tmp0 directory,
>> recreated the server def, and the behavior continues. However, looking
>> closer at the logs shows (I suspect) a bigger problem. I hadn't looked at
>> it too closely before, because I'd stop the server in Eclipse, and try to
>> run the app again, and I'd see no messages beyond "server startup in...",
>> so I didn't think to look there. ;)
>>
>> The tmp0 directory had the entire application in it, so that's probably
>> not the problem.
>>
>> Perhaps I should nuke my whole .metadata directory and start from scratch?
>> The only things I'd have to redo are my Jalopy and ClearCase (CCRC)
>> plugins, which aren't that big a deal to reinstall.
>>
>> Starting the server:
>> ====================
>>
>> Jun 9, 2006 5:10:41 PM
>> org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote
>> HTTP/1.1 on http-8081 Jun 9, 2006 5:10:41 PM
>> org.apache.catalina.startup.Catalina load INFO: Initialization processed
>> in 625 ms Jun 9, 2006 5:10:41 PM org.apache.catalina.core.StandardService
>> start INFO: Starting service Catalina Jun 9, 2006 5:10:41 PM
>> org.apache.catalina.core.StandardEngine start INFO: Starting Servlet
>> Engine: Apache Tomcat/5.0.28 Jun 9, 2006 5:10:41 PM
>> org.apache.catalina.core.StandardHost start INFO: XML validation disabled
>> Jun 9, 2006 5:10:41 PM org.apache.catalina.core.StandardHost getDeployer
>> INFO: Create Host deployer for direct deployment ( non-jmx ) Jun 9, 2006
>> 5:10:41 PM org.apache.catalina.core.StandardHostDeployer install INFO:
>> Installing web application at context path from URL
>> file:C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.ser ver.core\tmp0\webapps\ROOT
>> Jun 9, 2006 5:10:41 PM org.apache.coyote.http11.Http11Protocol start INFO:
>> Starting Coyote HTTP/1.1 on http-8081 Jun 9, 2006 5:10:41 PM
>> org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on
>> /0.0.0.0:8011 Jun 9, 2006 5:10:41 PM org.apache.jk.server.JkMain start
>> INFO: Jk running ID=0 time=0/15 config=null Jun 9, 2006 5:10:41 PM
>> org.apache.catalina.startup.Catalina start INFO: Server startup in 578 ms
>>
>> Deploying PWT-H3-WTP10:
>> =======================
>>
>> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardHostDeployer install
>> INFO: Installing web application at context path /PWT-H3-WTP10 from URL
>> file:C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.ser ver.core\tmp0\webapps\PWT-H3-WTP10
>> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
>> SEVERE: Error in dependencyCheck
>> java.io.IOException: invalid header field
>> at java.util.jar.Attributes.read(Attributes.java:383) at
>> java.util.jar.Manifest.read(Manifest.java:167) at
>> java.util.jar.Manifest.<init>(Manifest.java:52) at
>> org.apache.catalina.util.ExtensionValidator.validateApplicat ion(ExtensionValidator.java:152)
>> at
>> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:823)
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
>> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
>> at
>> org.apache.catalina.core.StandardHostDeployer.install(Standa rdHostDeployer.java:277)
>> at org.apache.catalina.core.StandardHost.install(StandardHost.j ava:832)
>> at
>> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:701)
>> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:432)
>> at org.apache.catalina.startup.HostConfig.check(HostConfig.java :1083) at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:327)
>> at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
>> at
>> org.apache.catalina.core.StandardHost.backgroundProcess(Stan dardHost.java:800)
>> at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1619)
>> at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1628)
>> at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.run(ContainerBase.java:1608)
>> at java.lang.Thread.run(Thread.java:534)
>> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
>> SEVERE: Error getConfigured
>> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
>> SEVERE: Context startup failed due to previous errors Jun 9, 2006 5:13:51
>> PM org.apache.catalina.core.StandardContext start SEVERE: Exception during
>> cleanup after start failed LifecycleException: Container
>> StandardContext[/PWT-H3-WTP10] has not been started
>> at
>> org.apache.catalina.core.StandardContext.stop(StandardContex t.java:4466)
>> at
>> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4371)
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:823)
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
>> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
>> at
>> org.apache.catalina.core.StandardHostDeployer.install(Standa rdHostDeployer.java:277)
>> at org.apache.catalina.core.StandardHost.install(StandardHost.j ava:832)
>> at
>> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:701)
>> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:432)
>> at org.apache.catalina.startup.HostConfig.check(HostConfig.java :1083) at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:327)
>> at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
>> at
>> org.apache.catalina.core.StandardHost.backgroundProcess(Stan dardHost.java:800)
>> at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1619)
>> at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1628)
>> at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.run(ContainerBase.java:1608)
>> at java.lang.Thread.run(Thread.java:534)
>>
>> On Fri, 09 Jun 2006 12:53:41 -0400, Larry Isaacs wrote:
>>
>>> You might verify that "tmp0\webapps\PWT-H3-WTP10\login.html" exists in
>>> case there is some publishing problem. If it exists, check the output
>>> in the Eclipse Console view to see if there is anything that suggest the
>>> context isn't starting successfully.
>>>
>>> Also, was this workspace used previously with the 311/10 installation?
>>>
>>> Cheers,
>>> Larry
>>>
>>> Bob Bunch (OCP) wrote:
>>>> D'oh! I was mistaken. I am NOT able to get to the other webapps (like
>>>> jsp-examples). That's not even in the tmp0 directory! ;) I was looking
>>>> at the 3.1.1/1.0 config that time.
>>>>
>>>> Everything else below is accurate, though! ;)
>>>>
>>>> On Fri, 09 Jun 2006 09:48:49 -0400, Larry Isaacs wrote:
>>>>
>>>>> Based on the directories and configuration you provide, you should be
>>>>> able to access the PWT-H3-WTP10 webapp and *not* be able to access the
>>>>> jsp-examples webapp. Since you are seeing the reverse, are you certain
>>>>> the server that is running is the one with the configuration under
>>>>> ".metadata\.plugins\org.eclipse.wst.server.core\tmp0"? I don't know if
>>>>> there would be additional details to explain why you can get to the
>>>>> jsp-examples webapp.
>>>>>
>>>>> Cheers,
>>>>> Larry
>>>>>
>>>>> Bob Bunch (OCP) wrote:
>>>>>> I'm having problems running a known-good webapp in the latest Eclipse/WTP
>>>>>> version (102). Everything else in the environment is the same as when it
>>>>>> last worked, except Eclipse/WTP. Last version that worked was 3.11/1.0.
>>>>>> Putting the same CATALINA_HOME (copied the whole directory) in place,
>>>>>> using the same JAVA_HOME (copied that too), and when I try to run, I get
>>>>>> this:
>>>>>>
>>>>>> HTTP Status 404 - /PWT-H3-WTP10/login.html
>>>>>> ------------------------------------------------------------ ----
>>>>>> type Status report
>>>>>> message /PWT-H3-WTP10/login.html
>>>>>> description The requested resource (/PWT-H3-WTP10/login.html) is not
>>>>>> available.
>>>>>> ------------------------------------------------------------ ----
>>>>>> Apache Tomcat/5.0.28
>>>>>>
>>>>>> ...obviously, the server is starting fine (I can get to /jsp-examples) --
>>>>>> it's (seemingly) not deploying properly. However, I see it _is_ being
>>>>>> deployed.
>>>>>>
>>>>>> Any help is appreciated!
>>>>>>
>>>>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0
>>>>>>
>>>>>> 06/09/2006 07:47 AM <DIR> .
>>>>>> 06/09/2006 07:47 AM <DIR> ..
>>>>>> 06/09/2006 07:42 AM <DIR> conf
>>>>>> 06/09/2006 07:42 AM <DIR> logs
>>>>>> 06/09/2006 07:47 AM 170 publish.txt
>>>>>> 06/09/2006 07:42 AM <DIR> temp
>>>>>> 06/09/2006 07:42 AM <DIR> webapps
>>>>>> 06/09/2006 07:42 AM <DIR> work
>>>>>> 1 File(s) 170 bytes
>>>>>> 7 Dir(s) 30,690,496,512 bytes free
>>>>>>
>>>>>> C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 >dir webapps
>>>>>>
>>>>>> Volume in drive C has no label.
>>>>>> Volume Serial Number is C0F8-2E5E
>>>>>>
>>>>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tm
>>>>>> p0\webapps
>>>>>>
>>>>>> 06/09/2006 07:42 AM <DIR> .
>>>>>> 06/09/2006 07:42 AM <DIR> ..
>>>>>> 06/09/2006 07:42 AM <DIR> PWT-H3-WTP10
>>>>>> 06/09/2006 07:42 AM <DIR> ROOT
>>>>>> 0 File(s) 0 bytes
>>>>>> 4 Dir(s) 30,669,844,480 bytes free
>>>>>>
>>>>>>
>>>>>>
>>>>>> Versions:
>>>>>> =========
>>>>>> Eclipse 3.1.2
>>>>>> WTP 1.0.2
>>>>>> Java 1.4.2_06
>>>>>> Tomcat 5.0.28
>>>>>>
>>>>>> Environment:
>>>>>> ============
>>>>>> CATALINA_HOME=C:\jakarta-tomcat-5.0.28
>>>>>> JAVA_HOME=C:\j2sdk1.4.2_06
>>>>>> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ; "C:\Program
>>>>>> Files\Symantec\Norton Ghost
>>>>>> 2003\";C:\j2sdk1.4.2_06\bin;C:\oracle\ora10\bin
>>>>>>
>>>>>> Eclipse server properties --> VM arguments:
>>>>>> ===========================================
>>>>>> -Dcatalina.base=" C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 "
>>>>>> -Dcatalina.home="C:\jakarta-tomcat-5.0.28"
>>>>>> -Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\common\endorsed "
>>>>>>
>>>>
Re: The requested resource (/MyWebApp/login.html) is not available [message #171014 is a reply to message #171005] Fri, 09 June 2006 23:06 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
You may have better luck deleting the ".metadata" and Server directories
like before. Rename the project to something different. Start Eclipse
and set up the target runtime and server again. Create a new project
with the same name that was used before. Copy the web content, Java
files, etc. from the old project to the new. Don't overwrite the
".settings" and other project "." files, but reapply any changes needed.
Then refresh the project to pickup the new files. Once you have
recreated the project(s) in this fashion, you can get rid of the old
copy. Not knowing the exact history of the project, it's hard to say
why these problems are occurring and whether it's a migration bug or
something about how you moved things forward. It may not be worth the
time to figure out.

Cheers,
Larry

Bob Bunch (OCP) wrote:
> Also, if I try Export --> WAR, I get nowhere just as fast (An error has
> occurred when Export finished):
>
> org.eclipse.core.runtime.CoreException[0]: org.eclipse.core.commands.ExecutionException: Error exportingWar File
> at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifac tExportOperation.execute(J2EEArtifactExportOperation.java:73 )
> at org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.doExecute(ExtendableOperationImpl.java:163)
> at org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl$1.run(ExtendableOperationImpl.java:131)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1721)
> at org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.execute(ExtendableOperationImpl.java:139)
> at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard$3.run(DataModelWizard.java:196)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 830)
> at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.runOperations(DataModelWizard.java:204)
> at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.performFinish(DataModelWizard.java:173)
> at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:676)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3125)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
> at org.eclipse.jface.window.Window.open(Window.java:787)
> at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResou rcesAction.java:180)
> at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEv ent(BaseSelectionListenerAction.java:167)
> at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3125)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
> Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.Sa veFailureException: Error opening archive for export..
> at org.eclipse.jst.j2ee.internal.web.archive.operations.WebComp onentExportOperation.export(WebComponentExportOperation.java :44)
> at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifac tExportOperation.execute(J2EEArtifactExportOperation.java:71 )
> ... 45 more
> Caused by:
> org.eclipse.jst.j2ee.commonarchivecore.internal.exception.Ma nifestException:
> IWAE0015E An IOException occurred reading the manifest in archive:
> C:\JFP\ClearCase_Storage\bunchb_d820_JFP_view\JFP\prototypes \PWT-H3-WTP10\wars\PWT.war
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.getManifest(ArchiveImpl.java:846)
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Sav eStrategyImpl.saveManifest(SaveStrategyImpl.java:155)
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Sav eStrategyImpl.save(SaveStrategyImpl.java:98)
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.save(ArchiveImpl.java:1221)
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleF ileImpl.save(ModuleFileImpl.java:355)
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.saveAsNoReopen(ArchiveImpl.java:1316)
> at
> org.eclipse.jst.j2ee.internal.web.archive.operations.WebComp onentExportOperation.export(WebComponentExportOperation.java :40)
> ... 46 more
>
>
> On Fri, 09 Jun 2006 17:35:44 -0400, Bob Bunch (OCP) wrote:
>
>> I tried removing the .metadata directory completely, and the Servers
>> directory. Didn't help. :\
>>
>> On Fri, 09 Jun 2006 17:24:35 -0400, Bob Bunch (OCP) wrote:
>>
>>> Hmm -- yes, since I got a new system, and transferred all the projects
>>> (source controlled and other). The .metadata came over with it - if I
>>> recall correctly. I tried moving everything in the tmp0 directory,
>>> recreated the server def, and the behavior continues. However, looking
>>> closer at the logs shows (I suspect) a bigger problem. I hadn't looked at
>>> it too closely before, because I'd stop the server in Eclipse, and try to
>>> run the app again, and I'd see no messages beyond "server startup in...",
>>> so I didn't think to look there. ;)
>>>
>>> The tmp0 directory had the entire application in it, so that's probably
>>> not the problem.
>>>
>>> Perhaps I should nuke my whole .metadata directory and start from scratch?
>>> The only things I'd have to redo are my Jalopy and ClearCase (CCRC)
>>> plugins, which aren't that big a deal to reinstall.
>>>
>>> Starting the server:
>>> ====================
>>>
>>> Jun 9, 2006 5:10:41 PM
>>> org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote
>>> HTTP/1.1 on http-8081 Jun 9, 2006 5:10:41 PM
>>> org.apache.catalina.startup.Catalina load INFO: Initialization processed
>>> in 625 ms Jun 9, 2006 5:10:41 PM org.apache.catalina.core.StandardService
>>> start INFO: Starting service Catalina Jun 9, 2006 5:10:41 PM
>>> org.apache.catalina.core.StandardEngine start INFO: Starting Servlet
>>> Engine: Apache Tomcat/5.0.28 Jun 9, 2006 5:10:41 PM
>>> org.apache.catalina.core.StandardHost start INFO: XML validation disabled
>>> Jun 9, 2006 5:10:41 PM org.apache.catalina.core.StandardHost getDeployer
>>> INFO: Create Host deployer for direct deployment ( non-jmx ) Jun 9, 2006
>>> 5:10:41 PM org.apache.catalina.core.StandardHostDeployer install INFO:
>>> Installing web application at context path from URL
>>> file:C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.ser ver.core\tmp0\webapps\ROOT
>>> Jun 9, 2006 5:10:41 PM org.apache.coyote.http11.Http11Protocol start INFO:
>>> Starting Coyote HTTP/1.1 on http-8081 Jun 9, 2006 5:10:41 PM
>>> org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on
>>> /0.0.0.0:8011 Jun 9, 2006 5:10:41 PM org.apache.jk.server.JkMain start
>>> INFO: Jk running ID=0 time=0/15 config=null Jun 9, 2006 5:10:41 PM
>>> org.apache.catalina.startup.Catalina start INFO: Server startup in 578 ms
>>>
>>> Deploying PWT-H3-WTP10:
>>> =======================
>>>
>>> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardHostDeployer install
>>> INFO: Installing web application at context path /PWT-H3-WTP10 from URL
>>> file:C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.ser ver.core\tmp0\webapps\PWT-H3-WTP10
>>> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
>>> SEVERE: Error in dependencyCheck
>>> java.io.IOException: invalid header field
>>> at java.util.jar.Attributes.read(Attributes.java:383) at
>>> java.util.jar.Manifest.read(Manifest.java:167) at
>>> java.util.jar.Manifest.<init>(Manifest.java:52) at
>>> org.apache.catalina.util.ExtensionValidator.validateApplicat ion(ExtensionValidator.java:152)
>>> at
>>> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:823)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
>>> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
>>> at
>>> org.apache.catalina.core.StandardHostDeployer.install(Standa rdHostDeployer.java:277)
>>> at org.apache.catalina.core.StandardHost.install(StandardHost.j ava:832)
>>> at
>>> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:701)
>>> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:432)
>>> at org.apache.catalina.startup.HostConfig.check(HostConfig.java :1083) at
>>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:327)
>>> at
>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
>>> at
>>> org.apache.catalina.core.StandardHost.backgroundProcess(Stan dardHost.java:800)
>>> at
>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1619)
>>> at
>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1628)
>>> at
>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.run(ContainerBase.java:1608)
>>> at java.lang.Thread.run(Thread.java:534)
>>> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
>>> SEVERE: Error getConfigured
>>> Jun 9, 2006 5:13:51 PM org.apache.catalina.core.StandardContext start
>>> SEVERE: Context startup failed due to previous errors Jun 9, 2006 5:13:51
>>> PM org.apache.catalina.core.StandardContext start SEVERE: Exception during
>>> cleanup after start failed LifecycleException: Container
>>> StandardContext[/PWT-H3-WTP10] has not been started
>>> at
>>> org.apache.catalina.core.StandardContext.stop(StandardContex t.java:4466)
>>> at
>>> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4371)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:823)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
>>> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
>>> at
>>> org.apache.catalina.core.StandardHostDeployer.install(Standa rdHostDeployer.java:277)
>>> at org.apache.catalina.core.StandardHost.install(StandardHost.j ava:832)
>>> at
>>> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:701)
>>> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:432)
>>> at org.apache.catalina.startup.HostConfig.check(HostConfig.java :1083) at
>>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:327)
>>> at
>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
>>> at
>>> org.apache.catalina.core.StandardHost.backgroundProcess(Stan dardHost.java:800)
>>> at
>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1619)
>>> at
>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.processChildren(ContainerBase.java:1628)
>>> at
>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundPr ocessor.run(ContainerBase.java:1608)
>>> at java.lang.Thread.run(Thread.java:534)
>>>
>>> On Fri, 09 Jun 2006 12:53:41 -0400, Larry Isaacs wrote:
>>>
>>>> You might verify that "tmp0\webapps\PWT-H3-WTP10\login.html" exists in
>>>> case there is some publishing problem. If it exists, check the output
>>>> in the Eclipse Console view to see if there is anything that suggest the
>>>> context isn't starting successfully.
>>>>
>>>> Also, was this workspace used previously with the 311/10 installation?
>>>>
>>>> Cheers,
>>>> Larry
>>>>
>>>> Bob Bunch (OCP) wrote:
>>>>> D'oh! I was mistaken. I am NOT able to get to the other webapps (like
>>>>> jsp-examples). That's not even in the tmp0 directory! ;) I was looking
>>>>> at the 3.1.1/1.0 config that time.
>>>>>
>>>>> Everything else below is accurate, though! ;)
>>>>>
>>>>> On Fri, 09 Jun 2006 09:48:49 -0400, Larry Isaacs wrote:
>>>>>
>>>>>> Based on the directories and configuration you provide, you should be
>>>>>> able to access the PWT-H3-WTP10 webapp and *not* be able to access the
>>>>>> jsp-examples webapp. Since you are seeing the reverse, are you certain
>>>>>> the server that is running is the one with the configuration under
>>>>>> ".metadata\.plugins\org.eclipse.wst.server.core\tmp0"? I don't know if
>>>>>> there would be additional details to explain why you can get to the
>>>>>> jsp-examples webapp.
>>>>>>
>>>>>> Cheers,
>>>>>> Larry
>>>>>>
>>>>>> Bob Bunch (OCP) wrote:
>>>>>>> I'm having problems running a known-good webapp in the latest Eclipse/WTP
>>>>>>> version (102). Everything else in the environment is the same as when it
>>>>>>> last worked, except Eclipse/WTP. Last version that worked was 3.11/1.0.
>>>>>>> Putting the same CATALINA_HOME (copied the whole directory) in place,
>>>>>>> using the same JAVA_HOME (copied that too), and when I try to run, I get
>>>>>>> this:
>>>>>>>
>>>>>>> HTTP Status 404 - /PWT-H3-WTP10/login.html
>>>>>>> ------------------------------------------------------------ ----
>>>>>>> type Status report
>>>>>>> message /PWT-H3-WTP10/login.html
>>>>>>> description The requested resource (/PWT-H3-WTP10/login.html) is not
>>>>>>> available.
>>>>>>> ------------------------------------------------------------ ----
>>>>>>> Apache Tomcat/5.0.28
>>>>>>>
>>>>>>> ...obviously, the server is starting fine (I can get to /jsp-examples) --
>>>>>>> it's (seemingly) not deploying properly. However, I see it _is_ being
>>>>>>> deployed.
>>>>>>>
>>>>>>> Any help is appreciated!
>>>>>>>
>>>>>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0
>>>>>>>
>>>>>>> 06/09/2006 07:47 AM <DIR> .
>>>>>>> 06/09/2006 07:47 AM <DIR> ..
>>>>>>> 06/09/2006 07:42 AM <DIR> conf
>>>>>>> 06/09/2006 07:42 AM <DIR> logs
>>>>>>> 06/09/2006 07:47 AM 170 publish.txt
>>>>>>> 06/09/2006 07:42 AM <DIR> temp
>>>>>>> 06/09/2006 07:42 AM <DIR> webapps
>>>>>>> 06/09/2006 07:42 AM <DIR> work
>>>>>>> 1 File(s) 170 bytes
>>>>>>> 7 Dir(s) 30,690,496,512 bytes free
>>>>>>>
>>>>>>> C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 >dir webapps
>>>>>>>
>>>>>>> Volume in drive C has no label.
>>>>>>> Volume Serial Number is C0F8-2E5E
>>>>>>>
>>>>>>> Directory of C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tm
>>>>>>> p0\webapps
>>>>>>>
>>>>>>> 06/09/2006 07:42 AM <DIR> .
>>>>>>> 06/09/2006 07:42 AM <DIR> ..
>>>>>>> 06/09/2006 07:42 AM <DIR> PWT-H3-WTP10
>>>>>>> 06/09/2006 07:42 AM <DIR> ROOT
>>>>>>> 0 File(s) 0 bytes
>>>>>>> 4 Dir(s) 30,669,844,480 bytes free
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Versions:
>>>>>>> =========
>>>>>>> Eclipse 3.1.2
>>>>>>> WTP 1.0.2
>>>>>>> Java 1.4.2_06
>>>>>>> Tomcat 5.0.28
>>>>>>>
>>>>>>> Environment:
>>>>>>> ============
>>>>>>> CATALINA_HOME=C:\jakarta-tomcat-5.0.28
>>>>>>> JAVA_HOME=C:\j2sdk1.4.2_06
>>>>>>> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ; "C:\Program
>>>>>>> Files\Symantec\Norton Ghost
>>>>>>> 2003\";C:\j2sdk1.4.2_06\bin;C:\oracle\ora10\bin
>>>>>>>
>>>>>>> Eclipse server properties --> VM arguments:
>>>>>>> ===========================================
>>>>>>> -Dcatalina.base=" C:\JFP\workspace\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp0 "
>>>>>>> -Dcatalina.home="C:\jakarta-tomcat-5.0.28"
>>>>>>> -Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\common\endorsed "
>>>>>>>
>
Previous Topic:Auto-Re-Deploy?
Next Topic:Deploying to the root context...
Goto Forum:
  


Current Time: Sat Dec 20 20:12:49 GMT 2014

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

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