[opencms-dev] System filure: "org.opencms.main.CmsIllegalArgument"

Robert Kiendl robert.kiendl at magnet.at
Mon Jul 25 21:40:50 CEST 2005


Hi,

i have, better said had, a opencms6.0.0 installation on suse linux 9.1 with
jdk 5 update 4 ad tomcat 5.5. I configured opencms-system.xml with multiple
site szenario.

For each site /adl612 and /landesverband i chose mirosite as folder and rebooting
of tomcat where no problem at all.

after doing some webediting and a restart of apache demon for applying opencms-search.xml
settings the system dies at startup with following messages:

25 Jul 2005 21:23:25,204  INFO [.workplace.CmsWorkplaceManager: 293] . Adding
type setting  : emailform
25 Jul 2005 21:23:25,613  INFO [.workplace.CmsWorkplaceManager:1183] . Workplace
view       : /system/workplace/views/admin/admin-fs.html
25 Jul 2005 21:23:25,634  INFO [.workplace.CmsWorkplaceManager:1183] . Workplace
view       : /system/workplace/action/administration.html
25 Jul 2005 21:23:25,651  INFO [.workplace.CmsWorkplaceManager:1183] . Workplace
view       : /system/workplace/views/explorer/explorer_fs.jsp
25 Jul 2005 21:23:25,670  INFO [.workplace.CmsWorkplaceManager:1183] . Workplace
view       : /system/workplace/action/tasks.html
25 Jul 2005 21:23:25,938  INFO [.workplace.CmsWorkplaceManager: 749] . Workplace
config     : vfs access initialized
25 Jul 2005 21:23:25,993  INFO [workplace.tools.CmsToolManager: 113] . Tool
Manager config  : Tool Manager is being initialized
25 Jul 2005 21:23:28,125  INFO [.opencms.i18n.CmsLocaleManager: 670] . i18n
configuration   : vfs access initialized
25 Jul 2005 21:23:28,130  INFO [rg.opencms.site.CmsSiteManager: 380] . Site
roots configured: 4
25 Jul 2005 21:23:28,136  WARN [rg.opencms.site.CmsSiteManager: 394] Root folder
for site server: http://adl612.oexx.at uri: /sites/adl612 title: /sites/adl612/
does not exist (ignoring this site entry)
25 Jul 2005 21:23:28,144  WARN [rg.opencms.site.CmsSiteManager: 394] Root folder
for site server: http://www.oe6.oexx.at uri: /sites/landesverband title: /sites/landesverband/
does not exist (ignoring this site entry)
25 Jul 2005 21:23:28,150  INFO [rg.opencms.site.CmsSiteManager: 418] . Site
root default    : server: * uri: /sites/default title: /sites/default/
25 Jul 2005 21:23:28,151  INFO [rg.opencms.site.CmsSiteManager: 426] . Site
of workplace    : http://cmsadmin.oe6.oevsv.at
25 Jul 2005 21:23:28,247 ERROR [g.opencms.main.OpenCmsListener:  95] A Java
system error occured.
org.opencms.main.CmsIllegalArgumentException: Error reading resource from path
"/sites/adl612/pictures/".
        at org.opencms.main.CmsIllegalArgumentException.createException(CmsIllegalArgumentException.java:77)

        at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:215)

        at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3743)

        at org.opencms.file.CmsObject.readResource(CmsObject.java:2587)
        at org.opencms.file.CmsObject.readPropertyObject(CmsObject.java:2455)

        at org.opencms.staticexport.CmsStaticExportManager.setExportnames(CmsStaticExportManager.java:2173)

        at org.opencms.staticexport.CmsStaticExportManager.initialize(CmsStaticExportManager.java:1397)

        at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:973)

        at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1083)
        at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1459)

        at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677)

        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)

        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)

        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)

        at org.apache.catalina.core.StandardService.start(StandardService.java:450)

        at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        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:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: org.opencms.main.CmsIllegalArgumentException: Unable to resolve the
resource type "19".
        at org.opencms.file.CmsFolder.isFolderType(CmsFolder.java:143)
        at org.opencms.db.generic.CmsVfsDriver.createFolder(CmsVfsDriver.java:302)

        at org.opencms.db.generic.CmsVfsDriver.readFolder(CmsVfsDriver.java:1194)

        at org.opencms.db.CmsDriverManager.getAccessControlList(CmsDriverManager.java:7739)

        at org.opencms.db.CmsDriverManager.getAccessControlList(CmsDriverManager.java:2890)

        at org.opencms.db.CmsDriverManager.getPermissions(CmsDriverManager.java:3215)

        at org.opencms.db.CmsSecurityManager.hasPermissions(CmsSecurityManager.java:5308)

        at org.opencms.db.CmsSecurityManager.checkPermissions(CmsSecurityManager.java:5140)

        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5389)

        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3741)

        ... 32 more
Caused by: org.opencms.loader.CmsLoaderException: Unknown resource type id 19
requested.
        at org.opencms.loader.CmsResourceManager.getResourceType(CmsResourceManager.java:588)

        at org.opencms.file.CmsFolder.isFolderType(CmsFolder.java:141)
        ... 41 more
25 Jul 2005 21:23:28,263 ERROR [  org.opencms.main.OpenCmsCore: 296] Critical
error during OpenCms initialization: Error reading resource from path "/sites/adl612/pictures/"..

 ...


My question regarding it: is the installation and already done work scrubbed,
or is there a way to get other this issue.
The failure can be reproduces and no significant error could be identified.


Does someone know somthing about this or have had the same probs already?

pse let me know, best regards Robert Kiendl



More information about the opencms-dev mailing list