Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7470

EAR produced by command line is different from that produced by Tools

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • None
    • None
    • maven, upstream
    • None

    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

          Activity

            People

              fbricon@redhat.com Fred Bricon
              bsutter@redhat.com Burr Suter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: