[
https://issues.apache.org/jira/browse/TAPESTRY-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566891#action_12566891
]
Howard M. Lewis Ship commented on TAPESTRY-2135:
------------------------------------------------
This looks odd, more like you have the UploadModule added *twice*.
You should just be adding the tapestry-upload JAR to the classpath, you should
not have to do any further configuration (such as adding a @SubModule
annotation to your AppModule).
> Adding tapestry-upload to app causes TapestryFilter to fail initialization
> --------------------------------------------------------------------------
>
> Key: TAPESTRY-2135
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2135
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-upload
> Affects Versions: 5.0.9, 5.0.10
> Environment: Glassfish 2
> Reporter: Will
>
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]