users@glassfish.java.net

Re: FW: Error during deployment of war file

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 May 2008 08:17:32 PDT

I've fixed the sun-web.xml and titles-defs.xml.

In the sun-web.xml, I had some <resource-ref> used to define the JDBC (most probably upgraded from Netbeans 5.5). Defining the Datasource in the web.xml looks sufficient, so I removed and now the sun-web.xml is validated and working correctly.

The titles-defs.xml, I've changed this:

<definition name=".mainLayout" path="/common/layouts/mainLayout.jsp">
   <put name="title" value=":: NIV ::" />
   <putList name="cssList">
      <add value="/style/layout.css" />
   </putList>
   <put name="contentPanel" value="/common/pages/content.jsp" />
</definition>

to this:

<definition name=".mainLayout" path="/common/layouts/mainLayout.jsp">
   <put name="title" value=":: NIV ::" />
   <put name="contentPanel" value="/common/pages/content.jsp" />
   <putList name="cssList">
     <add value="/style/layout.css" />
   </putList>
</definition>

fixing and the file is now validated.

No more warning or errors in the Glassfish logs. Perfect!

Thanks.
[Message sent by forum member 'andremat' (andremat)]

http://forums.java.net/jive/thread.jspa?messageID=273357