So, there's no chance that you have a copy of the common module lib on the general classpath and in WEB-INF/lib?
On Dec 5, 2007 7:26 AM, Steve Eynon <[EMAIL PROTECTED]> wrote: > Hello, > > I have a number of T5 web apps that all use a common component module. > In the component's module class (as defined by the > Tapestry-Module-Classes property in its jar's MANIFEST.MF) there is a > simlpe build method: > > public static AssetFinder buildAssetFinder(@InjectService AssetSource > assetSource) { > return new AssetFinder(assetSource); > } > > All is well whilst developing in Eclipse using the Jetty Launcher but > when I try to deploy in a standalone Jetty instance by copying the war > into its webapps folder I get the following exception: > > java.lang.RuntimeException: > Service id 'AssetFinder' has already been defined by > com.alienfactory.websitetags.WebsiteTagsModule.buildAssetFinder(AssetSource) > (at WebsiteTagsModule.java:28) > and may not be redefined by > com.alienfactory.websitetags.WebsiteTagsModule.buildAssetFinder(AssetSource) > (at WebsiteTagsModule.java:28). > You should rename one of the service builder methods. > > It's as if the MANIFEST.MF and hence my module class is being parsed > more than once. I've checked the .war and that module class does only > exist the once. > > I've also tried autobuilding with the "public static void > bind(ServiceBinder binder)" method and receive a similar message. > > I've done the usual searches (tapestry website, google, mailing lists) > and not found any mention of anyone having deployment problems outside > of Tomcat. Are there any known gotchas with respect to deploying > component modules? > > Regards, > > Steve. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship TWD Consulting, Inc. Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]