[opencms-dev] database export/import
Carmen Koelbl
cak at odn.de
Tue Sep 26 10:57:54 CEST 2000
Hello,
I still have difficulties with the datebasefunction in the webinterface.
after I loged in as admin in the webinterface i changed to administration
-> database ->export, but if I try to export a file I get the message
that the database couldn't be imported or exported because I must have
administration privileges.
What did I do wrong again.
The (still empty) export-folder is " /usr/opencms_4.1.34/export"
The error message says:
[CmsException]: 0 Unknown exception
Detailed Error: NO MESSAGE
Caught Exception: java.io.FileNotFoundException:
/usr/opencms_4.1.34/export.zip (Permission denied)
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at com.opencms.core.CmsException.<init>(CmsException.java:283)
at com.opencms.file.CmsExport.getExportResource(CmsExport.java:341)
at com.opencms.file.CmsExport.<init>(CmsExport.java:127)
at
com.opencms.file.mySql.CmsResourceBroker.exportResources(CmsResourceBroker.java:2333)
at com.opencms.file.CmsObject.exportResources(CmsObject.java:833)
at com.opencms.workplace.CmsAdminDatabase.getContent(CmsAdminDatabase.java:98)
at com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:125)
at
com.opencms.template.CmsRootTemplate.getMasterTemplate(CmsRootTemplate.java:87)
at com.opencms.launcher.A_CmsLauncher.callCanonicalRoot(A_CmsLauncher.java:95)
at com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:172)
at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:212)
at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:262)
at com.opencms.core.OpenCms.showResource(OpenCms.java:324)
at com.opencms.core.OpenCmsServlet.doPost(OpenCmsServlet.java:483)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:278)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:311)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
at org.apache.jserv.JServConnection.run(JServConnection.java(Compiled Code))
at java.lang.Thread.run(Thread.java(Compiled Code))
java.io.FileNotFoundException: /usr/opencms_4.1.34/export.zip (Permission
denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:108)
at java.io.FileOutputStream.<init>(FileOutputStream.java:68)
at com.opencms.file.CmsExport.getExportResource(CmsExport.java:338)
at com.opencms.file.CmsExport.<init>(CmsExport.java:127)
at
com.opencms.file.mySql.CmsResourceBroker.exportResources(CmsResourceBroker.java:2333)
at com.opencms.file.CmsObject.exportResources(CmsObject.java:833)
at com.opencms.workplace.CmsAdminDatabase.getContent(CmsAdminDatabase.java:98)
at com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:125)
at
com.opencms.template.CmsRootTemplate.getMasterTemplate(CmsRootTemplate.java:87)
at com.opencms.launcher.A_CmsLauncher.callCanonicalRoot(A_CmsLauncher.java:95)
at com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:172)
at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:212)
at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:262)
at com.opencms.core.OpenCms.showResource(OpenCms.java:324)
at com.opencms.core.OpenCmsServlet.doPost(OpenCmsServlet.java:483)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:278)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:311)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
at org.apache.jserv.JServConnection.run(JServConnection.java(Compiled Code))
at java.lang.Thread.run(Thread.java(Compiled Code))
More information about the opencms-dev
mailing list