[JBoss JIRA] Created: (GTNPORTAL-745) UsersRolesLoginModule exception sometimes
by Thomas Heute (JIRA)
UsersRolesLoginModule exception sometimes
-----------------------------------------
Key: GTNPORTAL-745
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-745
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Heute
Fix For: 3.0.0-GA
UsersRolesLoginModule isn't even used but sometimes on logout we have:
12:20:21,289 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found
at org.jboss.security.auth.spi.Util.loadProperties(Util.java:198)
at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.logout(LoginContext.java:629)
at org.exoplatform.services.security.web.JAASConversationStateListener.sessionDestroyed(JAASConversationStateListener.java:66)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:592)
at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:682)
at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:667)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1327)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1612)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1601)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-944) Improve Error Management in Skin Service
by Tugdual Grall (JIRA)
Improve Error Management in Skin Service
----------------------------------------
Key: GTNPORTAL-944
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-944
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: User Interface, WebUI
Affects Versions: 3.0.0-GA
Reporter: Tugdual Grall
When creating new Skin the developer/web designer has multiple place files to modify to set the correct name/uri of the skin
- web.xml should contains the name
- Stylesheet.css should do a reference to the correct webapp root
- ...
When one of this name is not corect, the system is not working and some error are raised.
For example a NPE is raised when the main CSS is not corrected configure, this occurs when the
skin-web-app/skin/StyleSheet.css does not contais the correct URI
@import url(<INVALIDURI>/UIPortalApplicationSkin.css);
Trace:
SEVERE: Could not render css /gatein-training-skin/skin/Stylesheet-lt.css
java.lang.NullPointerException
at org.exoplatform.portal.resource.SkinService.processCSSRecursively(SkinService.java:437)
at org.exoplatform.portal.resource.SkinService.processCSS(SkinService.java:429)
at org.exoplatform.portal.resource.SkinService.renderCSS(SkinService.java:341)
at org.exoplatform.portal.application.ResourceRequestFilter.doFilter(ResourceRequestFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:637)
We should put proper message in the log file with the place where the configuration is not correct.
for example:
- Invalid <CSS FILE> configuration, Skin service cannot load the skin "TrainingSkin/UIPortalApplicationSkin.css"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-784) Exception at startup in the log file
by Chris Laprun (JIRA)
Exception at startup in the log file
------------------------------------
Key: GTNPORTAL-784
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-784
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Identity integration
Affects Versions: 3.0.0-CR01
Reporter: Chris Laprun
Assignee: Chris Laprun
Fix For: 3.0.0-GA
2010-03-02 13:59:25,268 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Attempt to load file war:/conf/portal/group/template/group/pages.xml
2010-03-02 13:59:25,269 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Could not get file war:/conf/portal/group/template/group/pages.xml will return null instead
java.io.IOException: Resource (war:/conf/portal/group/template/group/pages.xml) could not be found or the invoker doesn't have adequate privileges to get the resource
at org.exoplatform.container.configuration.ConfigurationManagerImpl.getInputStream(ConfigurationManagerImpl.java:274)
at org.exoplatform.portal.config.NewPortalConfigListener.getDefaultConfig(NewPortalConfigListener.java:482)
at org.exoplatform.portal.config.NewPortalConfigListener.getConfig(NewPortalConfigListener.java:440)
at org.exoplatform.portal.config.NewPortalConfigListener.createPage(NewPortalConfigListener.java:364)
at org.exoplatform.portal.config.UserPortalConfigService.createUserPortalConfig(UserPortalConfigService.java:310)
at org.exoplatform.portal.config.UserPortalConfigService.createGroupSite(UserPortalConfigService.java:276)
at org.exoplatform.portal.config.GroupPortalConfigListener.preSave(GroupPortalConfigListener.java:145)
at org.exoplatform.services.organization.idm.GroupDAOImpl.preSave(GroupDAOImpl.java:482)
at org.exoplatform.services.organization.idm.GroupDAOImpl.addChild(GroupDAOImpl.java:110)
at org.exoplatform.services.organization.OrganizationDatabaseInitializer.createGroups(OrganizationDatabaseInitializer.java:114)
at org.exoplatform.services.organization.OrganizationDatabaseInitializer.init(OrganizationDatabaseInitializer.java:73)
at org.exoplatform.services.organization.BaseOrganizationService.start(BaseOrganizationService.java:76)
at org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl.start(PicketLinkIDMOrganizationServiceImpl.java:100)
Similar exceptions also happen for other resources:
2010-03-02 13:59:25,267 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Could not get file war:/conf/portal/group//organization/communication/pages.xml will return null instead
java.io.IOException: Resource (war:/conf/portal/group//organization/communication/pages.xml) could not be found or the invoker doesn't have adequate privileges to get the resource
010-03-02 13:59:25,270 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Could not get file war:/conf/portal/group//organization/communication/navigation.xml will return null instead
java.io.IOException: Resource (war:/conf/portal/group//organization/communication/navigation.xml) could not be found or the invoker doesn't have adequate privileges to get the resource
2010-03-02 13:59:25,271 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Could not get file war:/conf/portal/group/template/group/navigation.xml will return null instead
java.io.IOException: Resource (war:/conf/portal/group/template/group/navigation.xml) could not be found or the invoker doesn't have adequate privileges to get the resource
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month