Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2135

Adding tapestry-upload to app causes TapestryFilter to fail initialization

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 5.0.9, 5.0.10
    • Fix Version/s: None
    • Component/s: tapestry-upload
    • Labels:
      None
    • Environment:
      Glassfish 2

      Description

      After adding tapestry-upload to my app, TapestryFilter fails to initialize with the following exception:

      java.lang.RuntimeException: Service id 'MultipartDecoder' has already been defined by org.apache.tapestry.upload.services.UploadModule.buildMultipartDecoder(ThreadCleanupHub, RegistryShutdownHub, ObjectLocator) (at UploadModule.java:49) and may not be redefined by org.apache.tapestry.upload.services.UploadModule.buildMultipartDecoder(ThreadCleanupHub, RegistryShutdownHub, ObjectLocator) (at UploadModule.java:49). You should rename one of the service builder methods.
      at org.apache.tapestry.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:174)
      at org.apache.tapestry.ioc.RegistryBuilder.build(RegistryBuilder.java:131)
      at org.apache.tapestry.internal.TapestryAppInitializer.getRegistry(TapestryAppInitializer.java:143)
      at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard Lewis Ship
              Reporter:
              will Will McQueen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: