users@glassfish.java.net

Re: Glassfish V2 - code too large for try statement

From: <glassfish_at_javadesktop.org>
Date: Fri, 03 Aug 2007 02:50:45 PDT

No the above is not my case.... however I followed it through and here are my findings.....


As per the article I have updated the sun-web.xml in the WAR file, it has had no effect, but there is a discrepency....
 
The file correctly deployed to:
 
/ecomm/appsrv/glassfish/domains/domain1/applications/j2ee-modules/eapps-client/WEB-INF/sun-web.xml
 
And appears as follows.....
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd">
<sun-web-app xmlns="http://java.sun.com/xml/ns/j2ee">
<context-root>/eapps-client</context-root>
<class-loader delegate="false"/>
<jsp-descriptor>
     <jsp-param>
          <param-name>noTryBlocks</param-name>
          <param-value>true</param-value>
     </jsp-param>
  </jsp-descriptor>
</sun-web-app>
 
Which also seems to have gone accross to the node agents path at:
 
/ecomm/appsrv/glassfish/nodeagents/ge_server01_node_agent/ge_server01_client/applications/j2ee-modules/eapps-client/WEB-INF/sun-web.xml
 
But then there is a different copy with the seame time stamp at:
 
/ecomm/appsrv/glassfish/nodeagents/ge_server01_node_agent/ge_server01_client/generated/xml/j2ee-modules/eapps-client/WEB-INF/sun-web.xml
 
wiithout the additions.....
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd>
<sun-web-app>
<context-root>eapps-client</context-root>
<class-loader delegate="false"/>
</sun-web-app>

Appologies, Im from an App Server 7 background.... at what point do each of these files get created and where are they used..... Is it the generated/xml file that is used at runtime hence the jsp-descriptor seemingly having no effect? If so how do I get glassfish to push the copy from the WAR's WEB-INF down the chain?

Thanks all for your help,


Mat
[Message sent by forum member 'mglambet' (mglambet)]

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