You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tom Zurkan <tz...@citizensportsinc.com> on 2009/05/29 22:56:35 UTC

5.0.1.8 to 5.1.0.5... still getting Resource service not available....

deleted my repository and rebuilt it to make sure that only 5.1.0.5 was 
available.  still got the same problem.  i have the following in my 
classpath for tapestry:

develop/m2repo/repository/org/apache/tapestry/tapestry-core/5.1.0.5/tapestry-core-5.1.0.5.jar
:/develop/m2repo/repository/org/apache/tapestry/tapestry-ioc/5.1.0.5/tapestry-ioc-5.1.0.5.jar
:/develop/m2repo/repository/org/apache/tapestry/tapestry-spring/5.1.0.5/tapestry-spring-5.1.0.5.jar
:/develop/m2repo/repository/org/apache/tapestry/tapestry-upload/5.1.0.5/tapestry-upload-5.1.0.5.jar
:/develop/m2repo/repository/org/apache/tapestry/tapestry5-annotations/5.1.0.5/tapestry5-annotations-5.1.0.5.jar

do i need to include tapestry-test?  weird.  i created a dummy builder 
for resource that returns a context resource which works but can't be right.

here is the error from the logs:

2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - No service implements the interface 
org.apache.tapestry5.ioc.Resource.
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - Operations trace:
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 1] Realizing service PagePool
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 2] Invoking 
org.apache.tapestry5.internal.services.InternalModule.buildPagePool(PagePoolImpl, 
InvalidationEventHub, InvalidationEventHub) (at InternalModule.java:188)
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 3] Realizing service 
ComponentMessagesInvalidationEventHub
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 4] Invoking 
org.apache.tapestry5.services.TapestryModule.buildComponentMessagesInvalidationEventHub(ComponentMessagesSource) 
(at TapestryModule.java:2246)
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 5] Realizing service 
ComponentMessagesSource
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 6] Invoking 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129)
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 7] Determining injection value for 
parameter #1 
(org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl)
2009-05-29 13:52:45,248 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 8] Resolving object of type 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl using 
MasterObjectProvider
2009-05-29 13:52:45,248 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 9] Autobuilding instance of class 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl
2009-05-29 13:52:45,248 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [10] Determining injection value for 
parameter #1 (org.apache.tapestry5.ioc.Resource)
2009-05-29 13:52:45,248 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [11] Resolving object of type 
org.apache.tapestry5.ioc.Resource using MasterObjectProvider
2009-05-29 13:52:45,249 [btpool0-1] ERROR 
org.apache.tapestry5.internal.services.InternalModule.ComponentMessagesSource 
- Construction of service ComponentMessagesSource failed: Error invoking 
service builder method 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129) (for service 'ComponentMessagesSource'): 
Error invoking constructor 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl(Resource, 
ClasspathURLConverter) (at ComponentMessagesSourceImpl.java:73) (for 
service 'ComponentMessagesSource'): No service implements the interface 
org.apache.tapestry5.ioc.Resource.
java.lang.RuntimeException: Error invoking service builder method 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129) (for service 'ComponentMessagesSource'): 
Error invoking constructor 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl(Resource, 
ClasspathURLConverter) (at ComponentMessagesSourceImpl.java:73) (for 
service 'ComponentMessagesSource'): No service implements the interface 
org.apache.tapestry5.ioc.Resource.
    at 
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:76)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: 5.0.1.8 to 5.1.0.5... still getting Resource service not available....

Posted by Tom Zurkan <tz...@citizensportsinc.com>.
nevermind... my bad... we are decorating the asset source and i didn't 
implement the new getResource method... works now... that had me stumped 
for a while... :)

thanks for the great learning experience!

tom

Tom Zurkan wrote:
> deleted my repository and rebuilt it to make sure that only 5.1.0.5 
> was available.  still got the same problem.  i have the following in 
> my classpath for tapestry:
>
> develop/m2repo/repository/org/apache/tapestry/tapestry-core/5.1.0.5/tapestry-core-5.1.0.5.jar 
>
> :/develop/m2repo/repository/org/apache/tapestry/tapestry-ioc/5.1.0.5/tapestry-ioc-5.1.0.5.jar 
>
> :/develop/m2repo/repository/org/apache/tapestry/tapestry-spring/5.1.0.5/tapestry-spring-5.1.0.5.jar 
>
> :/develop/m2repo/repository/org/apache/tapestry/tapestry-upload/5.1.0.5/tapestry-upload-5.1.0.5.jar 
>
> :/develop/m2repo/repository/org/apache/tapestry/tapestry5-annotations/5.1.0.5/tapestry5-annotations-5.1.0.5.jar 
>
>
> do i need to include tapestry-test?  weird.  i created a dummy builder 
> for resource that returns a context resource which works but can't be 
> right.
>
> here is the error from the logs:
>
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - No service implements the 
> interface org.apache.tapestry5.ioc.Resource.
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Realizing service PagePool
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Invoking 
> org.apache.tapestry5.internal.services.InternalModule.buildPagePool(PagePoolImpl, 
> InvalidationEventHub, InvalidationEventHub) (at InternalModule.java:188)
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Realizing service 
> ComponentMessagesInvalidationEventHub
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 4] Invoking 
> org.apache.tapestry5.services.TapestryModule.buildComponentMessagesInvalidationEventHub(ComponentMessagesSource) 
> (at TapestryModule.java:2246)
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 5] Realizing service 
> ComponentMessagesSource
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 6] Invoking 
> org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
> (at InternalModule.java:129)
> 2009-05-29 13:52:45,247 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 7] Determining injection value 
> for parameter #1 
> (org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl)
> 2009-05-29 13:52:45,248 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 8] Resolving object of type 
> org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl 
> using MasterObjectProvider
> 2009-05-29 13:52:45,248 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 9] Autobuilding instance of 
> class org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl
> 2009-05-29 13:52:45,248 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [10] Determining injection value 
> for parameter #1 (org.apache.tapestry5.ioc.Resource)
> 2009-05-29 13:52:45,248 [btpool0-1] ERROR 
> org.apache.tapestry5.ioc.Registry - [11] Resolving object of type 
> org.apache.tapestry5.ioc.Resource using MasterObjectProvider
> 2009-05-29 13:52:45,249 [btpool0-1] ERROR 
> org.apache.tapestry5.internal.services.InternalModule.ComponentMessagesSource 
> - Construction of service ComponentMessagesSource failed: Error 
> invoking service builder method 
> org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
> (at InternalModule.java:129) (for service 'ComponentMessagesSource'): 
> Error invoking constructor 
> org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl(Resource, 
> ClasspathURLConverter) (at ComponentMessagesSourceImpl.java:73) (for 
> service 'ComponentMessagesSource'): No service implements the 
> interface org.apache.tapestry5.ioc.Resource.
> java.lang.RuntimeException: Error invoking service builder method 
> org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
> (at InternalModule.java:129) (for service 'ComponentMessagesSource'): 
> Error invoking constructor 
> org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl(Resource, 
> ClasspathURLConverter) (at ComponentMessagesSourceImpl.java:73) (for 
> service 'ComponentMessagesSource'): No service implements the 
> interface org.apache.tapestry5.ioc.Resource.
>    at 
> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:76) 
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org