users@glassfish.java.net

Re: Can anybody help with my web app problem when deployed on glassfish?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Mon, 13 Apr 2009 10:44:32 +0200

Error starting resources in context /myapp

it seems the war is not well packed or something else..

does it depends on JDBC resource or other resource ?? if zes, perhaps
you need to configure it through the admin console.....

On Mon, Apr 13, 2009 at 10:38 AM, xiongxiong <belyxiong_at_gmail.com> wrote:
>
> No, I thought the deploy is success because I can see it in the admin page,
> but after I check the logs I realized that the deploy failed because of the
> error information I posted in my previous reply.
>
>
> Felipe Gaucho wrote:
>>
>> you can see "successfully deployed" message in the glassfish logs ???
>>
>> On Mon, Apr 13, 2009 at 9:26 AM, xiongxiong <belyxiong_at_gmail.com> wrote:
>>>
>>> Sorry, I can not attach the app here because of license problem, any
>>> other
>>> suggestions I can try?
>>>
>>> Thanks!
>>>
>>> Bely
>>>
>>> Jan Luehe wrote:
>>>>
>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Can-anybody-help-with-my-web-app-problem-when-deployed-on-glassfish--tp22967665p23018893.html
>>> Sent from the java.net - glassfish users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>
>>
>>
>> --
>>
>> Please help to test this application:
>> http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Can-anybody-help-with-my-web-app-problem-when-deployed-on-glassfish--tp22967665p23019397.html
> Sent from the java.net - glassfish users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces