Can you please attach your app, so we can try to reproduce the failure?
Jan
On 04/10/09 02:08 AM, xiongxiong wrote:
> Hi, the server.log says:
>
> [#|2009-04-10T17:03:54.776+0800|WARNING|sun-appserver2.1|org.apache.coyote.tomcat5.CoyoteRequest|_ThreadID=20;_ThreadName=httpWorkerThread-4848-2;_RequestID=0b94d30b-33a9-4d7f-9555-43d4f14a9d2a;|PWC4011:
> Unable to set request character encoding to UTF-8 from context , because
> request parameters have already been read, or ServletRequest.getReader() has
> already been called|#]
>
>
>
> [#|2009-04-10T17:03:55.308+0800|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=51;_ThreadName=Thread-65112;|deployed
> with moduleid = myapp|#]
>
>
>
> [#|2009-04-10T17:03:55.417+0800|SEVERE|sun-appserver2.1|org.apache.catalina.core.StandardContext|_ThreadID=52;_ThreadName=Thread-65111;_RequestID=af919a65-985f-4c17-82f2-7ed2be77b508;|PWC1300:
> Error starting resources in context /myapp|#]
>
>
>
> [#|2009-04-10T17:03:55.417+0800|SEVERE|sun-appserver2.1|org.apache.catalina.core.StandardContext|_ThreadID=52;_ThreadName=Thread-65111;_RequestID=af919a65-985f-4c17-82f2-7ed2be77b508;|PWC4430:
> Document base C:\Sun\AppServer\domains\domain1\docroot\myapp does not exist
> or is not a readable directory|#]
>
>
>
> [#|2009-04-10T17:03:55.417+0800|SEVERE|sun-appserver2.1|org.apache.catalina.core.StandardContext|_ThreadID=52;_ThreadName=Thread-65111;_RequestID=af919a65-985f-4c17-82f2-7ed2be77b508;|PWC1306:
> Startup of context /myapp failed due to previous errors|#]
>
>
>
> [#|2009-04-10T17:03:55.417+0800|INFO|sun-appserver2.1|org.apache.catalina.core.StandardContext|_ThreadID=52;_ThreadName=Thread-65111;|PWC1240:
> Container WebModule[/myapp] has not been started|#]
>
>
>
> [#|2009-04-10T17:04:00.354+0800|INFO|sun-appserver2.1|com.sun.jsftemplating|_ThreadID=24;_ThreadName=httpWorkerThread-4848-4;|JSFT0003:
> VariableResolver was unable to find key (webApplicationLinks) in
> ResourceBundle (help).|#]
>
>
> what should I do next ?
>
>
> Thanks!
>
>
>
> Hong Zhang wrote:
>
>> Is there anything in the server.log (GF_INSTALL/domains/domain1/logs)?
>>
>>
>>> I have a war which runs well on tomcat, but when I deploy it on glassfish,
>>>
> it
>
>>> can not be accessed, when I access it with :
>>>
>>> http://localhost:8080/myapp
>>>
>>> it says:
>>> ------------------------------------------------------
>>> HTTP Status 404 -
>>>
>>> type Status report
>>>
>>> message
>>>
>>> descriptionThe requested resource () is not available.
>>> Sun GlassFish Enterprise Server v2.1
>>> -----------------------------------------------------------
>>>
>>> why the requested source is empty? can anybody give me some suggestions?
>>>
>>> btw, the deploy is successful.
>>>
>>> Thanks in advance!
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>>
>
>