users@glassfish.java.net

Re: keepstate resolved to true... what does this mean?

From: <forums_at_java.net>
Date: Tue, 9 Aug 2011 14:26:49 -0500 (CDT)

 

i used your page to configure keepstate. from the server log i can see that
there is

no commandline switch setting keepstate to true, and i use the sunweb.xml and
glassfish-web.xml

with the following content:

glassfish-web.xml

<glassfish-web-app>
    <keep-state>false</keep-state>
</glassfish-web-app>

sun-web.xml:

<sun-web-app error-url="">
  <context-root>/erp-web</context-root>
  <class-loader delegate="true"/>
  <jsp-config>
    <property name="keepgenerated" value="true">
      <description>Keep a copy of the generated servlet class java
code.</description>
    </property>
  </jsp-config>
</sun-web-app>

anyway, the server writes to the logfile:

WARNUNG: DPL8027: Ignore WEB-INF/sun-web.xml in archive
/data/Projects/JavaLibs/glassfish/glassfish3/glassfish/domains/domain1/eclipseApps/erp.web/,
as GlassFish counterpart runtime xml WEB-INF/glassfish-web.xml is present in
the same archive.

everytime a web app is re-deployed the logfile gets:

[#|2011-08-09T21:24:33.751+0200|INFO|glassfish3.1|javax.enterprise.system.container.ejb.org.glassfish.ejb.startup|_ThreadID=101;_ThreadName=Thread-1;|keepstate
options resolved to true, saving appId 86038270100373504 for application
erp.web.|#]

 

and i think this fills up memory on the glassfish VM.

 


--
[Message sent by forum member 'chris.joelly']
View Post: http://forums.java.net/node/830842