[JBoss JIRA] (GTNPORTAL-2895) Support for CDI in portlets and filters
by Ken Finnigan (JIRA)
Ken Finnigan created GTNPORTAL-2895:
---------------------------------------
Summary: Support for CDI in portlets and filters
Key: GTNPORTAL-2895
URL: https://issues.jboss.org/browse/GTNPORTAL-2895
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: PC integration
Reporter: Ken Finnigan
Assignee: Ken Finnigan
Fix For: 3.6.0.Final
Provide ability for GenericPortlet or Portlet instances, and Portlet Filters, to have CDI beans injected into them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] (GTNWCI-45) Store BeanManager onto ServletContext for use by portal
by Ken Finnigan (JIRA)
Ken Finnigan created GTNWCI-45:
----------------------------------
Summary: Store BeanManager onto ServletContext for use by portal
Key: GTNWCI-45
URL: https://issues.jboss.org/browse/GTNWCI-45
Project: GateIn Web Container Integration
Issue Type: Feature Request
Reporter: Ken Finnigan
Fix For: 2.3.1.CR02
Need to be able to access the BeanManager to perform injection into portlets and filters, but the container startup is executed outside of a Web Container thread, making the BeanManager inaccessible through JNDI at that point.
Need to set it onto the ServletContext when we can access it, and then the portal can remove it from the ServletContext if it isn't needed.
For portlets that are not CDI enabled, nothing will be added to the ServletContext
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] (GTNPC-19) No portlet info section in portlet.xml leads to display a portlet error
by Julien Viet (JIRA)
[ https://issues.jboss.org/browse/GTNPC-19?page=com.atlassian.jira.plugin.s... ]
Julien Viet commented on GTNPC-19:
----------------------------------
I will bring this to the EG for the Portlet 3.0.
> No portlet info section in portlet.xml leads to display a portlet error
> -----------------------------------------------------------------------
>
> Key: GTNPC-19
> URL: https://issues.jboss.org/browse/GTNPC-19
> Project: GateIn Portlet Container
> Issue Type: Bug
> Reporter: Julien Viet
> Assignee: Matt Wringe
> Attachments: pc-empty-portlet-info.patch
>
>
> java.util.MissingResourceException: Can't find resource for bundle org.gatein.common.i18n.ParentChildResourceBundle, key javax.portlet.title
> at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
> at java.util.ResourceBundle.getString(ResourceBundle.java:285)
> at javax.portlet.GenericPortlet.getTitle(GenericPortlet.java:261)
> at javax.portlet.GenericPortlet.render(GenericPortlet.java:232)
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:569)
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)
> at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
> followed by
> java.lang.NullPointerException
> at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:293)
> at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:61)
> at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
> at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
> at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] (GTNPC-85) Cannot build from scratch without privileged access to JBoss legacy repository
by Julien Viet (JIRA)
[ https://issues.jboss.org/browse/GTNPC-85?page=com.atlassian.jira.plugin.s... ]
Julien Viet resolved GTNPC-85.
------------------------------
Resolution: Done
Should be ok now as it is in Maven Central.
> Cannot build from scratch without privileged access to JBoss legacy repository
> ------------------------------------------------------------------------------
>
> Key: GTNPC-85
> URL: https://issues.jboss.org/browse/GTNPC-85
> Project: GateIn Portlet Container
> Issue Type: Bug
> Affects Versions: 2.3.2-GA
> Reporter: Chris Laprun
> Fix For: 2.4.1.CR03
>
>
> If you try to build PC with a clean environment without priviledged access to JBoss' legacy repo, you will get the following (or similar) error:
> [ERROR] Failed to execute goal on project pc-test-core: Could not resolve dependencies for project org.gatein.pc:pc-test-core:jar:2.3.3-GA-SNAPSHOT: Failed to collect dependencies for [org.gatein.common:common-logging:jar:2.0.4-GA (compile), org.gatein.wci:wci-wci:jar:2.2.0-Beta01 (compile), org.gatein.pc:pc-controller:jar:2.3.3-GA-SNAPSHOT (compile), org.gatein.pc:pc-portlet:jar:2.3.3-GA-SNAPSHOT (compile), org.gatein.pc:pc-api:jar:2.3.3-GA-SNAPSHOT (compile), log4j:log4j:jar:1.2.16 (compile), org.jboss.unit:jboss-unit:jar:1.2.4 (compile), org.jboss.unit:jboss-unit-remote:jar:1.2.4 (compile), org.jboss.unit:jboss-unit-tooling-ant:jar:1.2.4 (compile), org.jboss.unit:portal-test:jar:1.2.4 (compile), org.jboss.unit:portal-test-generic:jar:1.2.4 (compile), org.jboss.remoting:jboss-remoting:jar:2.5.0.GA (compile), concurrent:concurrent:jar:1.3.4 (test), jboss:jboss-serialization:jar:1.0.3.GA (test), org.jboss.logging:jboss-logging-jdk:jar:2.0.5.GA (compile), org.jboss.logging:jboss-logging-log4j:jar:2.0.5.GA (compile), commons-logging:commons-logging:jar:1.1.1 (compile), commons-httpclient:commons-httpclient:jar:3.1 (compile), javax.ccpp:ccpp:jar:1.0 (compile), javax.portlet:portlet-api:jar:2.0 (compile), org.apache.maven:maven-ant-tasks:jar:2.1.1 (compile), org.slf4j:slf4j-simple:jar:1.5.8 (test)]: Failed to read artifact descriptor for apache-log4j:log4j:jar:1.2.14: Could not transfer artifact apache-log4j:log4j:pom:1.2.14 from/to repository.jboss.org (http://repository.jboss.org/maven2/): Access denied to: http://repository.jboss.org/maven2/apache-log4j/log4j/1.2.14/log4j-1.2.14... -> [Help 1]
> Repository needs to be explicitly set in the POM file (so that folks trying to build don't have to set it) and exclusions should be added to dependencies to avoid pulling useless dependencies.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years