Seam can go into that sort or endless loop when the security side of things fails to
initialise.
In this case it is because Seam 2 uses Drools for security, Drools uses the MVEL dialect,
and MVEL uses sun/misc/Unsafe.
For now try adding a
Dependencies: system
entry to the MANIFEST.MF of your war. This may cause other problems however, and is not
generally a good idea. If this does not work it is possible to use
jboss-deployment-structure.xml to just add a dep on sun/misc classes.
Stuart
On 08/06/2011, at 6:28 AM, Sande Gilda wrote:
I have made a lot of progress migrating this application from EAP5.1
to AS7 with a whole lot of help from the developers. The application is now deploying
successfully, but I have run into a problem when I access the application in the browser.
I am getting this error in Firefox:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way
that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies.
Cookies are enabled, and in fact, this application runs fine in EAP 5.1. It looks like
Firefox displays this error when a web page redirects you in an endless loop.
I googled JBoss Seam and this error and I see a few issues reported in previous releases.
Many are related to page security issues.
In my JBoss startup log, I do see this, but am not sure if it's related:
15:46:23,747 WARNING [org.jboss.seam.security.permission.PersistentPermissionResolver]
(MSC service thread 1-4) no permission store available - please install a PermissionStore
with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent
permissions are required.
I've attached the entire JBoss log. The java.lang.NoClassDefFoundError:
sun/misc/Unsafe error occurs when I hit the page, I'm assuming it's because of the
endless loop.
I'm not familiar enough with Seam to debug this. Does anyone have any suggestions for
my next step?
Thanks,
Sande
<jboss-log.txt>_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev