[
https://issues.jboss.org/browse/GTNPORTAL-3283?page=com.atlassian.jira.pl...
]
Marek Posolda commented on GTNPORTAL-3283:
------------------------------------------
Actually this is just a minor JBoss AS issue. I think there are these possibilities how to
workaround it and remove warning:
1) Comment <distributable /> in gatein.ear/portal.war/WEB-INF/web.xml . As Marko
mentioned, this will work, but it would require manual step for people who would like to
add clustering. So not good solution.
2) Add/uncomment configuration of web cache container in infinispan subsystem in
standalone.xml . This will fix the WARN message, but it's performance killer. See
https://issues.jboss.org/browse/GTNPORTAL-3137 . IMO this is not an option as well because
of performance.
(It's this snippet in standalone.xml . Note that it's commented just in JPP
6.1/JBoss AS 7.2.X or later, because in JBoss AS 7.1.X the configuration for the container
is not in standalone.xml. It was added in JBoss AS 7.2) :
{code}
<!--Uncommented this if you want persistent HTTP sessions among server restarts (WARN:
Performance penalty)-->
<!--
<cache-container name="web" aliases="standard-session-cache"
default-cache="local-web"
module="org.jboss.as.clustering.web.infinispan">
<local-cache name="local-web" batching="true">
<file-store passivation="false" purge="false"/>
</local-cache>
</cache-container>
-->
{code}
3) Have a better fix in JBoss AS itself. Actually the missing configuration of web
container is causing that DistributableSessionManager throws NullPointerException and
it's catched and logged as WARN in method JBossContextConfig.processWebMetaData() .
Then it will fallback to default Tomcat StandardManager for handling HTTP sessions.
IMO the overall result is fine and WARN in server.log could be safely ignored. Only thing
is that flow is little-bit strange (throwing NullPointerException and then catching is
probably not the best way for handling things...
Eliminate the Warning "JBAS018204: Clustering not supported,
falling back to non-clustered session manager"
-----------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-3283
URL:
https://issues.jboss.org/browse/GTNPORTAL-3283
Project: GateIn Portal
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Packaging
Reporter: Peter Palaga
Assignee: Marko Strukelj
Fix For: 3.7.0.Final
There are two occurences of this warning in GateIn startup log on JBoss
{code}
09:24:30,563 WARN [org.jboss.web] (MSC service thread 1-2) JBAS018204: Clustering not
supported, falling back to non-clustered session manager
09:24:30,566 WARN [org.jboss.web] (MSC service thread 1-3) JBAS018204: Clustering not
supported, falling back to non-clustered session manager
0
{code}
These warnings should be eliminated, if possible, as there should be no warnings during
startup of an out of the box GateIn instance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira