[JBoss JIRA] (RF-7248) a4j creates infinite HashMap.get loop
by Dennis Hermsdorf (JIRA)
[ https://issues.jboss.org/browse/RF-7248?page=com.atlassian.jira.plugin.sy... ]
Dennis Hermsdorf commented on RF-7248:
--------------------------------------
Hello Nick,
I applied these changes and rebuild a new richfaces-impl-jsf2-3.3.3.Final.jar, but the problem is not gone. I haven't done any rebuilds of Richfaces before and maybe I did something wrong. Can you possibly provide me a rebuild of this version including this fix? I hope you can help, we are facing this issue at a large customer in production. Unfortunately an update of Richfaces to a higher version is not doable at this moment.
Together with this fix, I also use the mentioned value in the web.xml:
<context-param>
<param-name>org.ajax4jsf.SERIALIZE_SERVER_STATE</param-name>
<param-value>true</param-value>
</context-param>
Maybe this conflicts with the patched code? I can try to remove that anyway
Sincerely,
Dennis
> a4j creates infinite HashMap.get loop
> -------------------------------------
>
> Key: RF-7248
> URL: https://issues.jboss.org/browse/RF-7248
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 3.3.0, 3.3.3.Final
> Reporter: Nida Cibulskyte
> Assignee: Nick Belaevski
> Labels: ENT
> Fix For: 3.3.1.SP2, 3.3.4.BETA1
>
> Attachments: infinite_loop.JPG, screenshot-1.jpg
>
>
> Concurrent requests on a4j components causes infinite loop. While one request is being proccessed by restoreChildState method, another request is senT for proccessing. It causes the code to get stuck in hashmap.get() as the hashmap is not synchronized and causes infinite loop.
> 2009 05 25 09:41:43 ERROR demo.NameBean - java.util.HashMap.get(HashMap.java:303)
> 2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:965)
> 2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:982)
> 2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:982)
> .......................
--
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
12 years, 3 months
[JBoss JIRA] (RF-13483) Photoalbum: Hibernate error during deployment
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13483?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13483:
-----------------------------
Fix Version/s: 4.3.5
> Photoalbum: Hibernate error during deployment
> ---------------------------------------------
>
> Key: RF-13483
> URL: https://issues.jboss.org/browse/RF-13483
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.3.5
> Reporter: Jiří Štefek
> Assignee: Michal Petrov
> Labels: photoalbum
> Fix For: 4.3.5
>
>
> # build photoalbum and deploy to EAP 6.1.1
> result:
> * there is error during deployment
> * the application and basic functionality works
> {code}
> 09:42:16,051 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000227: Running hbm2ddl schema export
> 09:42:16,058 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Album drop constraint FK3C68E4F938C4E8E
> 09:42:16,058 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK3C68E4F938C4E8E [42102-168]
> 09:42:16,058 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Album drop constraint FK3C68E4F1C054E63
> 09:42:16,059 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK3C68E4F1C054E63 [42102-168]
> 09:42:16,059 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Comment drop constraint FK9BDE863F390C8611
> 09:42:16,059 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK9BDE863F390C8611 [42102-168]
> 09:42:16,059 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Comment drop constraint FK9BDE863FE13B4C3
> 09:42:16,059 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK9BDE863FE13B4C3 [42102-168]
> 09:42:16,059 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Event drop constraint FK403827A3EBF919D
> 09:42:16,059 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "EVENT" not found; SQL statement:
> alter table Event drop constraint FK403827A3EBF919D [42102-168]
> 09:42:16,060 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Event drop constraint FK403827A756B16E3
> 09:42:16,060 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "EVENT" not found; SQL statement:
> alter table Event drop constraint FK403827A756B16E3 [42102-168]
> 09:42:16,060 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Event drop constraint FK403827A1C054E63
> 09:42:16,060 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "EVENT" not found; SQL statement:
> alter table Event drop constraint FK403827A1C054E63 [42102-168]
> 09:42:16,060 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Event_remoteAlbumIds drop constraint FK13ED749451AFB863
> 09:42:16,060 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "EVENT_REMOTEALBUMIDS" not found; SQL statement:
> alter table Event_remoteAlbumIds drop constraint FK13ED749451AFB863 [42102-168]
> 09:42:16,061 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Image drop constraint FK437B93B9C30AC43
> 09:42:16,061 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "IMAGE" not found; SQL statement:
> alter table Image drop constraint FK437B93B9C30AC43 [42102-168]
> 09:42:16,061 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FKA5ED44315922EB44
> 09:42:16,061 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FKA5ED44315922EB44 [42102-168]
> 09:42:16,061 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FKA5ED4431D066A86
> 09:42:16,061 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FKA5ED4431D066A86 [42102-168]
> 09:42:16,061 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Shelf drop constraint FK4C26E0A51AFB863
> 09:42:16,062 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "SHELF" not found; SQL statement:
> alter table Shelf drop constraint FK4C26E0A51AFB863 [42102-168]
> 09:42:16,062 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) HHH000389: Unsuccessful: alter table Shelf drop constraint FK4C26E0A443A43E9
> 09:42:16,062 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 4) Table "SHELF" not found; SQL statement:
> {code}
--
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
12 years, 3 months