[opencms-dev] Access denied exceptions on creating folder or project / Module install problems

Andreas Hochsteger e9625392 at student.tuwien.ac.at
Tue Oct 23 23:00:17 CEST 2001


Hi!

I can't create folders and projects, neither as Admin nor as any other user. 
I always get access denied error messages.
The following messages are taken from opencms.log during the creation of a 
new project in the directory '/projects/test/' which did not yet exist, since 
I get similar errors during the creation of a directory:

[19.10.2001 22:28:07] <opencms_critical> [CmsElementXml 
(CmsPreferences/preferences_layout)] Non-CmsException in method setPanel
[19.10.2001 22:28:07] <opencms_critical> [CmsElementXml 
(CmsPreferences/preferences_layout)]java.lang.NullPointerException
[19.10.2001 22:28:07] <opencms_critical> [CmsElementXml 
(CmsPreferences/preferences_layout)] Non-CmsException in method setPanel
[19.10.2001 22:28:07] <opencms_critical> [CmsElementXml 
(CmsPreferences/preferences_layout)]java.lang.NullPointerException
[19.10.2001 22:28:07] <opencms_critical> [CmsElementXml 
(CmsPreferences/preferences_layout)] Non-CmsException in method setPanel
[19.10.2001 22:28:07] <opencms_critical> [CmsElementXml 
(CmsPreferences/preferences_layout)]java.lang.NullPointerException
[19.10.2001 22:28:52] <opencms_critical> [CmsXmlWpTemplateFile] Requested 
datablock  "time" not found!
[19.10.2001 22:28:53] <opencms_critical> [com.opencms.file.mySql.CmsDbAccess] 
/projects/test/
[19.10.2001 22:39:08] <opencms_info> [CmsClassManager] clearing class 
instance cache.
[19.10.2001 22:39:13] <opencms_info> [CmsClassManager] clearing class 
instance cache.
[19.10.2001 22:42:13] <opencms_info> [CmsLogin] Login user manager
[19.10.2001 22:43:09] <opencms_critical> [CmsXmlWpTemplateFile] Requested 
datablock  "time" not found!
[19.10.2001 22:43:10] <opencms_critical> [com.opencms.file.mySql.CmsDbAccess] 
/projects/test/
[19.10.2001 22:44:17] <opencms_info> [CmsLogin] Login user andreas
[19.10.2001 22:47:17] <opencms_info> [CmsLogin] Login user Admin
[19.10.2001 22:47:30] <opencms_info> [OpenCmsServlet] Access denied. 
[CmsException]: 31 Access denied to resource. Detailed Error: 
[com.opencms.file.mySql.C        at 
com.opencms.file.genericSql.CmsResourceBroker.readFile(CmsResourceBroker.java:4725)
        at com.opencms.file.CmsObject.readFile(CmsObject.java:2563)
        at com.opencms.core.OpenCms.initResource(OpenCms.java:241)
        at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:470)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.opencms.boot.OpenCmsServlet.service(OpenCmsServlet.java:117)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown 
Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown 
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown 
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
        at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.connector.http.HttpProcessor.process(Unknown 
Source)
        at org.apache.catalina.connector.http.HttpProcessor.run(Unknown 
Source)
        at java.lang.Thread.run(Thread.java:484)


Am I missing something here?

I'm using tomcat 4.0, opencms 4.4.6, jdk 1.3, mysql, Linux.

Another problem is that I can't import the modules NewsModule4.zip and 
website_for_oc_4.4.0.zip. There are always exceptions appearing, but I don't 
have them right now. If they are needed I can provide them in a separate 
mail. The import of search.form_1 works without problems and search.htdig_1 
gives me an exception error after installing, but it seems that it's 
successfully installed nevertheless since it appears in the list of installed 
modules.

Any help will be appreciated.

Thanks,

	Andreas



More information about the opencms-dev mailing list