tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Closed: (TAP5-431) When using an externally configuration Spring ApplicationContext, beans of the context should be registered as services (as was the case in Tapestry 5.0)
Date Mon, 05 Jan 2009 21:45:44 GMT

     [ https://issues.apache.org/jira/browse/TAP5-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship closed TAP5-431.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.1.0.0

> When using an externally configuration Spring ApplicationContext, beans of the context
should be registered as services (as was the case in Tapestry 5.0)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-431
>                 URL: https://issues.apache.org/jira/browse/TAP5-431
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.1.0.0
>            Reporter: Fernando
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.1.0.0
>
>
> Next bug.  With the latest code from trunk, using external spring context, now I can't
access any beans within Tapestry.  So it looks like it forgets to register all of the beans
from the context with Tapestry IoC..
> So I get nasty exceptions saying that it can't find the required services :(
> Caused by: java.lang.RuntimeException: Service id 'common-conf-properties' is not defined
by any module.  Defined services: ActionRenderResponseGenerator, AjaxComponentEventRequestHandler,
AjaxComponentEventResultProcessor, AjaxPartialResponseRenderer, Alias, AliasOverrides, AppSubscriptionHandler,
ApplicationContext, ApplicationDefaults, ApplicationGlobals, ApplicationInitializer, ApplicationStateManager,
ApplicationStatePersistenceStrategySource, AspectDecorator, AssetBindingFactory, AssetObjectProvider,
AssetSource, BaseURLSource, BeanBlockOverrideSource, BeanBlockSource, BeanModelSource, BindingSource,
ChainBuilder, ClassNameLocator, ClasspathAssetAliasManager, ClasspathAssetFactory, ClasspathURLConverter,
ClientPersistentFieldStorage, ClientPersistentFieldStrategy, ComponentClassCache, ComponentClassFactory,
ComponentClassResolver, ComponentClassTransformWorker, ComponentClassTransformer, ComponentClassesInvalidationEventHub,
ComponentDefaultProvider, ComponentEventRequestHandler, ComponentEventResultProcessor, ComponentInstanceResultProcessor,
ComponentInstantiatorSource, ComponentInvocationMap, ComponentMessagesInvalidationEventHub,
ComponentMessagesSource, ComponentPageElementResourcesSource, ComponentSource, ComponentTemplateSource,
ComponentTemplatesInvalidationEventHub, Context, ContextAssetFactory, ContextPathEncoder,
ContextValueEncoder, CookieSink, CookieSource, Cookies, CtClassSource, DataTypeAnalyzer, DefaultDataTypeAnalyzer,
DefaultFileItemFactory, DefaultImplementationBuilder, EndOfRequestListenerHub, Environment,
EnvironmentalShadowBuilder, ExceptionAnalyzer, ExceptionTracker, FacebookAuthFilterImpl, FactoryDefaults,
FbForceModeFilter, FieldTranslatorSource, FieldValidationSupport, FieldValidatorDefaultSource,
FieldValidatorSource, FormSupport, HiddenFieldLocationRules, HttpServletRequest, HttpServletRequestHandler,
IgnoredPathsFilter, InjectionProvider, InternalRequestGlobals, LinkCreationHub, LinkFactory,
LocalizationSetter, LocationRenderer, LoggingDecorator, MarkupRenderer, MarkupWriterFactory,
MasterDispatcher, MasterObjectProvider, MessageBindingFactory, MetaDataLocator, MultipartDecoder,
NullFieldStrategyBindingFactory, NullFieldStrategySource, ObjectRenderer, OsForceTypeFilter,
PageActivationContextCollector, PageContentTypeAnalyzer, PageDocumentGenerator, PageElementFactory,
PageLoader, PageMarkupRenderer, PagePool, PageRenderQueue, PageRenderRequestHandler, PageResponseRenderer,
PageTemplateLocator, PartialMarkupRenderer, PersistentFieldManager, PersistentLocale, PipelineBuilder,
PropBindingFactory, PropertyAccess, PropertyConduitSource, PropertyShadowBuilder, RegistryStartup,
RenderSupport, Request, RequestExceptionHandler, RequestGlobals, RequestHandler, RequestLogFilter,
RequestPageCache, RequestPathOptimizer, RequestSecurityManager, ResourceCache, ResourceDigestGenerator,
ResourceStreamer, Response, ResponseRenderer, ServiceLifecycleSource, ServletApplicationInitializer,
SessionApplicationStatePersistenceStrategy, StrategyBuilder, SymbolSource, TemplateParser,
ThreadLocale, TranslateBindingFactory, TranslatorSource, TypeCoercer, URLEncoder, UpdateListenerHub,
ValidateBindingFactory, ValidationConstraintGenerator, ValidationMessagesSource, ValueEncoderSource.
> 	at org.apache.tapestry5.ioc.internal.RegistryImpl.locateModuleForService(RegistryImpl.java:321)
> 	at org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.java:288)
> 	at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocatorImpl.java:39)
> 	at org.apache.tapestry5.internal.services.ServiceAnnotationObjectProvider.provide(ServiceAnnotationObjectProvider.java:35)
> 	at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invoke(MasterObjectProviderImpl.java:50)
> 	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message