users@glassfish.java.net

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

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Fri, 10 Apr 2009 21:32:37 -0400

you need the 2 string requirements for webApplicationLinks:

webApplicationLinks.PageTitle=Web Application Links

webApplicationLinks.PageHelp=If the server or listener is not running, the link may not work. In this event, check the status of the server instance. After launching the web application, use the browser Back button to return to this screen.

both of these entries should be located in
.\com\sun\enterprise\tools\admingui\resources\Strings.properties

please confirm
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.






Date: Fri, 10 Apr 2009 17:41:38 -0700
From: Jan.Luehe_at_Sun.COM
To: users_at_glassfish.dev.java.net
Subject: Re: Can anybody help with my web app problem when deployed on glassfish?






  


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



    
  
    



_________________________________________________________________
Quick access to your favorite MSN content and Windows Live with Internet Explorer 8.
http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A