<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Seam can go into that sort or endless loop when the security side of things fails to initialise.</div><div><br></div><div>In this case it is because Seam 2 uses Drools for security, Drools uses the MVEL dialect, and MVEL uses sun/misc/Unsafe. </div><div><br></div><div><br></div><div>For now try adding a </div><div><br></div><div>Dependencies: system</div><div><br></div><div>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.</div><div><br></div><div>Stuart</div><div><br></div><div><br></div><br><div><div>On 08/06/2011, at 6:28 AM, Sande Gilda wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
<font size="+1">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.<br>
<br>
I am getting this error in Firefox:<br>
</font>
<blockquote><i><font size="+1">The page isn't redirecting properly</font><br>
<font size="+1">Firefox has detected that the server is
redirecting the request for this address in a way that will
never complete.</font><br>
<br>
<font size="+1"> * This problem can sometimes be caused by
disabling or refusing to accept</font><br>
<font size="+1"> cookies.</font></i><br>
</blockquote>
<font size="+1">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.<br>
<br>
I googled JBoss Seam and this error and I see a few issues
reported in previous releases. Many are related to page security
issues. <br>
<br>
In my JBoss startup log, I do see this, but am not sure if it's
related:<br>
</font>
<blockquote><font size="+1">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.</font><br>
</blockquote>
<font size="+1"><br>
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. <br>
<br>
I'm not familiar enough with Seam to debug this. Does anyone have
any suggestions for my next step? <br>
<br>
Thanks,<br>
Sande<br>
<br>
<br>
<br>
</font>
</div>
<span><jboss-log.txt></span>_______________________________________________<br>jboss-as7-dev mailing list<br><a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></blockquote></div><br></body></html>