Hi,
I'm new to the JSF world so I don't know the answer what is/was causing the crash.
I was wondering why StreamedContent failed with following error: Error in streaming dynamic resource.
After stripping down my code I found out that an injected bean, annotated with @Transactional (org.jboss.seam.transaction.Transactional from seam-persersistence package) caused StreamedContent to fail. Replacing this with some other persistence implementation solved everything.
Just wanted everybody to know, since this driving me crazy and was asked a couple of times (in this forum) without answer.
Cheers
Jonny
@Transactional causes StreamedContent to fail
-
- Posts: 48
- Joined: 28 Feb 2012, 11:22
Primefaces 3.3 | Mojarra 2.1.8 | Weld 1.1.8.Final | Tomcat 6.0.29
-
- Posts: 48
- Joined: 28 Feb 2012, 11:22
Hi,
oops.
http://docs.jboss.org/seam/3/persistenc ... tml#d0e211
Removed @ConversationScoped from the EntityManagerFactory and everything works fine with seam-persistence.
Sorry for disturbing.
Jonny
oops.
http://docs.jboss.org/seam/3/persistenc ... tml#d0e211
Removed @ConversationScoped from the EntityManagerFactory and everything works fine with seam-persistence.
Sorry for disturbing.
Jonny
Primefaces 3.3 | Mojarra 2.1.8 | Weld 1.1.8.Final | Tomcat 6.0.29
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests