[jira] [Commented] (SYNCOPE-376) Console webapp does not start on Glassfish
[ https://issues.apache.org/jira/browse/SYNCOPE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13670296#comment-13670296 ] Francesco Chicchiriccò commented on SYNCOPE-376: The exception occurs because Spring's RestTemplate is not Serializable and Glassifsh 3.1.2 implements the Servlet specification 3.0, that strictly forbids non-serializable session attributes: this means that such problems might happen on future versions of other JEE containers as well, including Tomcat. At the moment there is no better solution that replacing bean id=restTemplate class=org.springframework.web.client.RestTemplate scope=session with bean id=restTemplate class=org.springframework.web.client.RestTemplate scope=prototype in [1] (as it used to be in 1_0_X [2] BTW). [1] https://svn.apache.org/repos/asf/syncope/branches/1_1_X/console/src/main/resources/applicationContext.xml [2] https://svn.apache.org/repos/asf/syncope/branches/1_0_X/console/src/main/resources/applicationContext.xml Console webapp does not start on Glassfish -- Key: SYNCOPE-376 URL: https://issues.apache.org/jira/browse/SYNCOPE-376 Project: Syncope Issue Type: Bug Components: console Affects Versions: 1.1.1 Environment: Glassfish 3.1.2 Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 1.1.2, 1.2.0 As reported in [1], the admin console webapp does not start on Glassfish, with exception: java.lang.IllegalArgumentException: PWC2788: setAttribute: Non-serializable attribute with name restTemplate [1] http://syncope-user.1051894.n5.nabble.com/help-needed-please-to-build-1-1-2-SNAPSHOT-or-1-2-0-SNAPSHOT-project-tp5707061p5707079.html -- 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
[jira] [Commented] (SYNCOPE-376) Console webapp does not start on Glassfish
[ https://issues.apache.org/jira/browse/SYNCOPE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13670347#comment-13670347 ] Hudson commented on SYNCOPE-376: Integrated in Syncope-trunk #227 (See [https://builds.apache.org/job/Syncope-trunk/227/]) [SYNCOPE-376] Merge from 1_1_X (Revision 1487838) Result = SUCCESS ilgrosso : Files : * /syncope/trunk * /syncope/trunk/console/src/main/resources/applicationContext.xml Console webapp does not start on Glassfish -- Key: SYNCOPE-376 URL: https://issues.apache.org/jira/browse/SYNCOPE-376 Project: Syncope Issue Type: Bug Components: console Affects Versions: 1.1.1 Environment: Glassfish 3.1.2 Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 1.1.2, 1.2.0 As reported in [1], the admin console webapp does not start on Glassfish, with exception: java.lang.IllegalArgumentException: PWC2788: setAttribute: Non-serializable attribute with name restTemplate [1] http://syncope-user.1051894.n5.nabble.com/help-needed-please-to-build-1-1-2-SNAPSHOT-or-1-2-0-SNAPSHOT-project-tp5707061p5707079.html -- 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
[jira] [Commented] (SYNCOPE-376) Console webapp does not start on Glassfish
[ https://issues.apache.org/jira/browse/SYNCOPE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13670367#comment-13670367 ] Hudson commented on SYNCOPE-376: Integrated in Syncope-1_1_X #53 (See [https://builds.apache.org/job/Syncope-1_1_X/53/]) [SYNCOPE-376] Changing RestTemplate's spring scope to 'prototype' (Revision 1487837) Result = SUCCESS ilgrosso : Files : * /syncope/branches/1_1_X/console/src/main/resources * /syncope/branches/1_1_X/console/src/main/resources/applicationContext.xml Console webapp does not start on Glassfish -- Key: SYNCOPE-376 URL: https://issues.apache.org/jira/browse/SYNCOPE-376 Project: Syncope Issue Type: Bug Components: console Affects Versions: 1.1.1 Environment: Glassfish 3.1.2 Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 1.1.2, 1.2.0 As reported in [1], the admin console webapp does not start on Glassfish, with exception: java.lang.IllegalArgumentException: PWC2788: setAttribute: Non-serializable attribute with name restTemplate [1] http://syncope-user.1051894.n5.nabble.com/help-needed-please-to-build-1-1-2-SNAPSHOT-or-1-2-0-SNAPSHOT-project-tp5707061p5707079.html -- 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