Description
The .ear produced by using Maven at the command line is slightly different than the one produced by the Tools. The one produced by the Tools will deploy but fails to run. It produces are very odd browser-based error message.
Firefox:
"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
Chrome:
"The webpage at http://localhost:8080/photoalbum/error.seam?cid=4 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer."
It is a Maven-based project, imported into JBDS 4 Beta 1, when deployed (Add-Remove dialog) as an exploded or compressed .ear, it produces the error above when hitting http://localhost:8080/photoalbum
Command line created EAR: http://dl.dropbox.com/u/8625587/photoalbum-ear-3.3.3.Final.ear
JBoss tools created EAR: http://dl.dropbox.com/u/8625587/photoalbum-ear.ear
The project source - used by both the Tools and command-line:
http://dl.dropbox.com/u/8625587/photoalbum_source.zip
Attachments
Issue Links
- is related to
-
JBIDE-5646 Publishing to JBOSS AS 5.1 threw ClassCastException
-
- Resolved
-