[
https://jira.jboss.org/jira/browse/GTNPORTAL-784?page=com.atlassian.jira....
]
Julien Viet commented on GTNPORTAL-784:
---------------------------------------
The exception for resource not found is the contract of the kernel
ConfigurationManager#getInputStream(String) method and it was logged. The only change is
the removal of the exception in the log to look less scary. Note that this was in DEBUG
level and not ERROR.
"Resources could not be found or the invoker doesn't have
adequate privileges to get the resource" errors at startup
--------------------------------------------------------------------------------------------------------------------
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
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