[JBoss JIRA] Created: (GTNPORTAL-1936) WSRP Producer: Custom policy in wsrp-producer-config.xml leads to IllegalArgumentException at restart
by Christoph Hennes (JIRA)
WSRP Producer: Custom policy in wsrp-producer-config.xml leads to IllegalArgumentException at restart
-----------------------------------------------------------------------------------------------------
Key: GTNPORTAL-1936
URL: https://issues.jboss.org/browse/GTNPORTAL-1936
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Environment: EPP 5.1, WSRP
Reporter: Christoph Hennes
If a custom policy class is used in wsrp-producer-config.xml and the producer is initially created with these settings an exception is thrown after restart:
IllegalArgumentException: Couldn't instantiate policy class
at org.gatein.wsrp.producer.config.impl.ProducerRegistrationRequirementsImpl.reloadPolicyFrom(ProducerRegistrationRequirementsImpl.java:393)
The reason for this seems to be the RegistrationPolicyWrapper which is used as wrapper for the custom policy. The next startup time JBoss tries to create an instance of the wrapper:
ProducerRegistrationRequirementsImpl:
RegistrationPolicy policy = (RegistrationPolicy)policyClass.newInstance();
But the RegistrationPolicyWrapper does not have a default constructor. I think that the wrapper should not be persisted at all and just be added transiently.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (GTNPORTAL-1987) PortletPreferences.store() has no effect in a serveResource
by donino doninos (JIRA)
PortletPreferences.store() has no effect in a serveResource
-----------------------------------------------------------
Key: GTNPORTAL-1987
URL: https://issues.jboss.org/browse/GTNPORTAL-1987
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Java API
Affects Versions: 3.2.0-M01, 3.1.0-GA
Environment: tomcat6 & tomcat7
windows 7
Reporter: donino doninos
Portlet method "serveResource" method is fired when ajax requests a resource.
A code as below works in "processAction" method, but in serveResource PortletPreferences.store() statement doesnt seem has any effect: preferences are not stored in database.
String mypreference= request.getParameter("mypreference");
PortletPreferences portletPreference = request.getPreferences();
portletPreference.setValue("mypreference", mypreference);
portletPreference.store();
Specifications 286 authorize update preferences in serveResource method (PLT.13.1):
"For serveResource calls only state changes to non-shared state, like the portlet session scope or portlet preferences, should be performed"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (GTNPORTAL-1976) Invalid groupsites created in JCR with clean DB.
by Nick Scavelli (JIRA)
Invalid groupsites created in JCR with clean DB.
------------------------------------------------
Key: GTNPORTAL-1976
URL: https://issues.jboss.org/browse/GTNPORTAL-1976
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JCR integration
Affects Versions: 3.2.0-M02
Reporter: Nick Scavelli
On fresh startup of gatein, I noticed that JCR has some invalid groupsite entries: platform/users and platform/administrators, instead to /platform/users and /platform/administrators. (no leading '/')
crash ls output:
% ls
/production/mop:workspace/mop:groupsites
+-properties
| +-jcr:primaryType: mop:groupsites
| +-jcr:uuid: '722b7f497f0000014d0dcfaddc73a818'
+-children
| +-/production/mop:workspace/mop:groupsites/mop:%03platform%03guests
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03management%03executive-board
| +-/production/mop:workspace/mop:groupsites/mop:%03platform%03administrators
| +-/production/mop:workspace/mop:groupsites/mop:%03platform%03users
| +-/production/mop:workspace/mop:groupsites/mop:platform%03users
| +-/production/mop:workspace/mop:groupsites/mop:platform%03administrators
| +-/production/mop:workspace/mop:groupsites/mop:%03platform
| +-/production/mop:workspace/mop:groupsites/mop:%03organization
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03management
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03management%03human-resources
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03communication
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03communication%03marketing
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03communication%03press-and-media
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03operations
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03operations%03sales
| +-/production/mop:workspace/mop:groupsites/mop:%03organization%03operations%03finances
| +-/production/mop:workspace/mop:groupsites/mop:%03customers
| +-/production/mop:workspace/mop:groupsites/mop:%03partners
I'm not sure how the two w/out the '/' are being created, but it's causing issues when listing group sites.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (GTNPORTAL-1908) NPE when request to portal which configured to use SSO integration
by Khoi Nguyen (JIRA)
NPE when request to portal which configured to use SSO integration
------------------------------------------------------------------
Key: GTNPORTAL-1908
URL: https://issues.jboss.org/browse/GTNPORTAL-1908
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Security
Reporter: Khoi Nguyen
Normally, if GateIn is integrated with any SSO server (CAS, JOSSO, OpenSSO), we will get the login screen delivered from SSO Server when asking for http://localhost:8080/portal/private/classic.
Unfortunately, if there is the first request to portal in private mode, I'd get an exception such:
{code}
Caused by: javax.servlet.ServletException: java.lang.NullPointerException
at org.gatein.sso.agent.GenericSSOAgent.doGet(GenericSSOAgent.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at org.exoplatform.container.web.AbstractHttpServlet.onService(AbstractHttpServlet.java:183)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:179)
... 18 more
Caused by: java.lang.NullPointerException
at org.gatein.sso.agent.opensso.OpenSSOAgent.validateTicket(OpenSSOAgent.java:73)
at org.gatein.sso.agent.GenericSSOAgent.processSSOToken(GenericSSOAgent.java:120)
at org.gatein.sso.agent.GenericSSOAgent.doGet(GenericSSOAgent.java:73)
... 25 more
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years