myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (EXTCDI-132) CoDI crashes on Resin 4
Date Fri, 11 Feb 2011 11:14:58 GMT

    [ https://issues.apache.org/jira/browse/EXTCDI-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993447#comment-12993447
] 

Matthias Weßendorf commented on EXTCDI-132:
-------------------------------------------

/home/matzew/work/source/JAX2011/Resin/resin-4.0.15/conf/resin.xml:110: org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.InstanceProducer.destroyAllConversations
is an invalid disposes method because it doesn't match a @Produces method

108:            - Sets max-age for cacheable pages, e.g. static pages.
109:           -->
110:         <resin:if test="${resin.professional}">
111:           <cache-mapping url-pattern="/" max-age="5s"/>
112:           <cache-mapping url-pattern="*.gif" max-age="60s"/>

	at com.caucho.config.xml.XmlConfigContext.error(XmlConfigContext.java:1202)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:461)
	at com.caucho.config.xml.XmlConfigContext.configureNodeAttributes(XmlConfigContext.java:408)
	at com.caucho.config.xml.XmlConfigContext.configureNode(XmlConfigContext.java:363)
	at com.caucho.config.xml.XmlConfigContext.configureChildBean(XmlConfigContext.java:668)
	at com.caucho.config.xml.XmlConfigContext.configureBeanProperties(XmlConfigContext.java:656)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:454)
	at com.caucho.config.xml.XmlConfigContext.configureAttribute(XmlConfigContext.java:323)
	at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:82)
	at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:86)
	at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:107)
	at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:452)
	at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:57)
	at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:626)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:129)
	at com.caucho.env.deploy.DeployController.request(DeployController.java:545)
	at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:145)
	at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:45)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
	at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:493)
	at com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:171)
	at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:713)
	at com.caucho.server.host.Host.start(Host.java:675)
	at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:630)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
	at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:493)
	at com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:171)
	at com.caucho.server.host.HostContainer.start(HostContainer.java:542)
	at com.caucho.server.cluster.Server.start(Server.java:1211)
	at com.caucho.server.cluster.ServletService.start(ServletService.java:72)
	at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:508)
	at com.caucho.env.service.ResinSystem.start(ResinSystem.java:476)
	at com.caucho.server.resin.Resin.start(Resin.java:892)
	at com.caucho.server.resin.Resin.initMain(Resin.java:1020)
	at com.caucho.server.resin.Resin.main(Resin.java:1287)
Caused by: com.caucho.config.ConfigException: org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.InstanceProducer.destroyAllConversations
is an invalid disposes method because it doesn't match a @Produces method
	at com.caucho.config.inject.ProducesBuilder.introspectProduces(ProducesBuilder.java:117)
	at com.caucho.config.inject.ManagedBeanImpl.introspectProduces(ManagedBeanImpl.java:358)
	at com.caucho.config.inject.InjectManager.addDiscoveredBean(InjectManager.java:3283)
	at com.caucho.config.inject.InjectManager.discoverBeanImpl(InjectManager.java:3228)
	at com.caucho.config.inject.InjectManager.processPendingAnnotatedTypes(InjectManager.java:2968)
	at com.caucho.config.inject.InjectManager.update(InjectManager.java:2949)
	at com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:1345)
	at com.caucho.config.el.CandiElResolver.getValue(CandiElResolver.java:125)
	at com.caucho.el.StackELResolver.getValue(StackELResolver.java:143)
	at com.caucho.el.IdExpr.getValue(IdExpr.java:110)
	at com.caucho.el.ArrayResolverExpr.getValue(ArrayResolverExpr.java:140)
	at com.caucho.el.PathExpr.getValue(PathExpr.java:142)
	at com.caucho.el.Expr.evalBoolean(Expr.java:232)
	at com.caucho.config.type.BooleanPrimitiveType.valueOf(BooleanPrimitiveType.java:96)
	at com.caucho.config.xml.XmlConfigContext.eval(XmlConfigContext.java:1072)
	at com.caucho.config.xml.XmlConfigContext.configureInlineText(XmlConfigContext.java:544)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:449)
	... 33 more
/home/matzew/work/source/JAX2011/Resin/resin-4.0.15/conf/resin.xml:110: org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.InstanceProducer.destroyAllConversations
is an invalid disposes method because it doesn't match a @Produces method

108:            - Sets max-age for cacheable pages, e.g. static pages.
109:           -->
110:         <resin:if test="${resin.professional}">
111:           <cache-mapping url-pattern="/" max-age="5s"/>
112:           <cache-mapping url-pattern="*.gif" max-age="60s"/>

	at com.caucho.config.xml.XmlConfigContext.error(XmlConfigContext.java:1202)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:461)
	at com.caucho.config.xml.XmlConfigContext.configureNodeAttributes(XmlConfigContext.java:408)
	at com.caucho.config.xml.XmlConfigContext.configureNode(XmlConfigContext.java:363)
	at com.caucho.config.xml.XmlConfigContext.configureChildBean(XmlConfigContext.java:668)
	at com.caucho.config.xml.XmlConfigContext.configureBeanProperties(XmlConfigContext.java:656)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:454)
	at com.caucho.config.xml.XmlConfigContext.configureAttribute(XmlConfigContext.java:323)
	at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:82)
	at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:86)
	at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:107)
	at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:452)
	at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:57)
	at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:626)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:129)
	at com.caucho.env.deploy.DeployController.request(DeployController.java:545)
	at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:145)
	at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:45)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
	at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:493)
	at com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:171)
	at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:713)
	at com.caucho.server.host.Host.start(Host.java:675)
	at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:630)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
	at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:493)
	at com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:171)
	at com.caucho.server.host.HostContainer.start(HostContainer.java:542)
	at com.caucho.server.cluster.Server.start(Server.java:1211)
	at com.caucho.server.cluster.ServletService.start(ServletService.java:72)
	at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:508)
	at com.caucho.env.service.ResinSystem.start(ResinSystem.java:476)
	at com.caucho.server.resin.Resin.start(Resin.java:892)
	at com.caucho.server.resin.Resin.initMain(Resin.java:1020)
	at com.caucho.server.resin.Resin.main(Resin.java:1287)
Caused by: com.caucho.config.ConfigException: org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.InstanceProducer.destroyAllConversations
is an invalid disposes method because it doesn't match a @Produces method
	at com.caucho.config.inject.ProducesBuilder.introspectProduces(ProducesBuilder.java:117)
	at com.caucho.config.inject.ManagedBeanImpl.introspectProduces(ManagedBeanImpl.java:358)
	at com.caucho.config.inject.InjectManager.addDiscoveredBean(InjectManager.java:3283)
	at com.caucho.config.inject.InjectManager.discoverBeanImpl(InjectManager.java:3228)
	at com.caucho.config.inject.InjectManager.processPendingAnnotatedTypes(InjectManager.java:2968)
	at com.caucho.config.inject.InjectManager.update(InjectManager.java:2949)
	at com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:1345)
	at com.caucho.config.el.CandiElResolver.getValue(CandiElResolver.java:125)
	at com.caucho.el.StackELResolver.getValue(StackELResolver.java:143)
	at com.caucho.el.IdExpr.getValue(IdExpr.java:110)
	at com.caucho.el.ArrayResolverExpr.getValue(ArrayResolverExpr.java:140)
	at com.caucho.el.PathExpr.getValue(PathExpr.java:142)
	at com.caucho.el.Expr.evalBoolean(Expr.java:232)
	at com.caucho.config.type.BooleanPrimitiveType.valueOf(BooleanPrimitiveType.java:96)
	at com.caucho.config.xml.XmlConfigContext.eval(XmlConfigContext.java:1072)
	at com.caucho.config.xml.XmlConfigContext.configureInlineText(XmlConfigContext.java:544)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:449)
	... 33 more
/home/matzew/work/source/JAX2011/Resin/resin-4.0.15/conf/resin.xml:110: org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.InstanceProducer.destroyAllConversations
is an invalid disposes method because it doesn't match a @Produces method

108:            - Sets max-age for cacheable pages, e.g. static pages.
109:           -->
110:         <resin:if test="${resin.professional}">
111:           <cache-mapping url-pattern="/" max-age="5s"/>
112:           <cache-mapping url-pattern="*.gif" max-age="60s"/>

	at com.caucho.config.xml.XmlConfigContext.error(XmlConfigContext.java:1202)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:461)
	at com.caucho.config.xml.XmlConfigContext.configureNodeAttributes(XmlConfigContext.java:408)
	at com.caucho.config.xml.XmlConfigContext.configureNode(XmlConfigContext.java:363)
	at com.caucho.config.xml.XmlConfigContext.configureChildBean(XmlConfigContext.java:668)
	at com.caucho.config.xml.XmlConfigContext.configureBeanProperties(XmlConfigContext.java:656)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:454)
	at com.caucho.config.xml.XmlConfigContext.configureAttribute(XmlConfigContext.java:323)
	at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:82)
	at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:86)
	at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:107)
	at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:452)
	at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:57)
	at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:626)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:129)
	at com.caucho.env.deploy.DeployController.request(DeployController.java:545)
	at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:145)
	at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:45)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
	at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:493)
	at com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:171)
	at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:713)
	at com.caucho.server.host.Host.start(Host.java:675)
	at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:630)
	at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
	at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:493)
	at com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:171)
	at com.caucho.server.host.HostContainer.start(HostContainer.java:542)
	at com.caucho.server.cluster.Server.start(Server.java:1211)
	at com.caucho.server.cluster.ServletService.start(ServletService.java:72)
	at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:508)
	at com.caucho.env.service.ResinSystem.start(ResinSystem.java:476)
	at com.caucho.server.resin.Resin.start(Resin.java:892)
	at com.caucho.server.resin.Resin.initMain(Resin.java:1020)
	at com.caucho.server.resin.Resin.main(Resin.java:1287)
Caused by: com.caucho.config.ConfigException: org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.InstanceProducer.destroyAllConversations
is an invalid disposes method because it doesn't match a @Produces method
	at com.caucho.config.inject.ProducesBuilder.introspectProduces(ProducesBuilder.java:117)
	at com.caucho.config.inject.ManagedBeanImpl.introspectProduces(ManagedBeanImpl.java:358)
	at com.caucho.config.inject.InjectManager.addDiscoveredBean(InjectManager.java:3283)
	at com.caucho.config.inject.InjectManager.discoverBeanImpl(InjectManager.java:3228)
	at com.caucho.config.inject.InjectManager.processPendingAnnotatedTypes(InjectManager.java:2968)
	at com.caucho.config.inject.InjectManager.update(InjectManager.java:2949)
	at com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:1345)
	at com.caucho.config.el.CandiElResolver.getValue(CandiElResolver.java:125)
	at com.caucho.el.StackELResolver.getValue(StackELResolver.java:143)
	at com.caucho.el.IdExpr.getValue(IdExpr.java:110)
	at com.caucho.el.ArrayResolverExpr.getValue(ArrayResolverExpr.java:140)
	at com.caucho.el.PathExpr.getValue(PathExpr.java:142)
	at com.caucho.el.Expr.evalBoolean(Expr.java:232)
	at com.caucho.config.type.BooleanPrimitiveType.valueOf(BooleanPrimitiveType.java:96)
	at com.caucho.config.xml.XmlConfigContext.eval(XmlConfigContext.java:1072)
	at com.caucho.config.xml.XmlConfigContext.configureInlineText(XmlConfigContext.java:544)
	at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:449)
	... 33 more

> CoDI crashes on Resin 4
> -----------------------
>
>                 Key: EXTCDI-132
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-132
>             Project: MyFaces CODI
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>
> Deploying a demo app, containing codi to Resin, I am getting a Config excecption there

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message