[opencms-dev] Large import fails

Sami Honkonen sami.honkonen at ri.fi
Tue Mar 28 10:38:04 CEST 2006


On Mon, 2006-03-27 at 09:56 +0300, Sami Honkonen wrote:
> On Thu, 2006-03-23 at 14:07 +0200, spyros wrote:
> > Someone from the list once reported that there is a memory problem with 
> > OpenCms preventing the import of large databases with this procedure. 
> > Although they are exported normally, they cannot be imported. How about 
> > trying normal mysqldump?
> 
> I didn't want to try it since I'm not sure if the database schema has
> changed between 6.0.4 and 6.2. I'll try this if all else fails. I'd
> rather use the OpenCMS functionality.

I dumped the database on the production server and imported it into the
server on the development server. Now all I get is blank pages. Pointing
my browser to /system/login/ just leaves me with an empty page.

The OpenCMS log file has details of exceptions thrown during startup.
The attached text file contains the relevant messages from the log.

-- 
Sami Honkonen
Reaktor Innovations Oy, http://www.ri.fi
sami.honkonen at ri.fi
+358 40 535 3463 
-------------- next part --------------
28 maalis 2006 11:27:51,599  INFO [ncms.loader.CmsResourceManager: 894] . Resource type init   : finished
28 maalis 2006 11:27:51,600  INFO [ncms.loader.CmsResourceManager: 695] . Loader configuration : finished
28 maalis 2006 11:27:51,615  INFO [pencms.search.CmsSearchManager:1004] . Search index         : Successfully configured search index "Online project (VFS)" for project "Online"
28 maalis 2006 11:27:51,617  INFO [pencms.search.CmsSearchManager:1004] . Search index         : Successfully configured search index "Offline project (VFS)" for project "Offline"
28 maalis 2006 11:27:51,617  INFO [pencms.search.CmsSearchManager:1004] . Search index         : Successfully configured search index "German online help" for project "Online"
28 maalis 2006 11:27:51,650 ERROR [.workplace.CmsWorkplaceManager:1275] Error reading view folder: [B at 1a78071/
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/[B at 1a78071/".
        at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
        at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)
        at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3867)
        at org.opencms.file.CmsObject.readResource(CmsObject.java:2704)
        at org.opencms.file.CmsObject.readPropertyObject(CmsObject.java:2570)
        at org.opencms.workplace.CmsWorkplaceManager.initWorkplaceViews(CmsWorkplaceManager.java:1238)
        at org.opencms.workplace.CmsWorkplaceManager.initialize(CmsWorkplaceManager.java:774)
        at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1029)
        at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1127)
        at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1510)
        at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
        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:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        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:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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:275)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/[B at 1a78071".
        at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
        at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5600)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5649)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3865)
        ... 32 more
28 maalis 2006 11:27:51,654 ERROR [.workplace.CmsWorkplaceManager:1275] Error reading view folder: [B at 2798e7/
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/[B at 2798e7/".
        at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
        at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)
        at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3867)
        at org.opencms.file.CmsObject.readResource(CmsObject.java:2704)
        at org.opencms.file.CmsObject.readPropertyObject(CmsObject.java:2570)
        at org.opencms.workplace.CmsWorkplaceManager.initWorkplaceViews(CmsWorkplaceManager.java:1238)
        at org.opencms.workplace.CmsWorkplaceManager.initialize(CmsWorkplaceManager.java:774)
        at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1029)
        at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1127)
        at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1510)
        at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
        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:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        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:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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:275)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/[B at 2798e7".
        at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
        at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5600)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5649)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3865)
        ... 32 more
28 maalis 2006 11:27:51,680  INFO [.workplace.CmsWorkplaceManager: 781] . Workplace config     : vfs access initialized
28 maalis 2006 11:27:51,700  INFO [workplace.tools.CmsToolManager: 175] . Tool Manager config  : Tool Manager is being initialized
28 maalis 2006 11:27:51,739  WARN [workplace.tools.CmsToolManager: 209] . Tool Manager config  : unknown error during configuration of the admin tool root.
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/[B at acdd02".
        at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
        at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)
        at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3867)
        at org.opencms.file.CmsObject.readResource(CmsObject.java:2704)
        at org.opencms.file.CmsObject.readPropertyObject(CmsObject.java:2570)
        at org.opencms.workplace.tools.CmsToolManager.configureToolRoot(CmsToolManager.java:608)
        at org.opencms.workplace.tools.CmsToolManager.configure(CmsToolManager.java:201)
        at org.opencms.workplace.CmsWorkplaceManager.initialize(CmsWorkplaceManager.java:827)
        at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1029)
        at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1127)
        at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1510)
        at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
        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:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        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:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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:275)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/[B at acdd02".
        at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
        at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5600)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5649)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3865)
        ... 33 more
28 maalis 2006 11:27:51,741  INFO [workplace.tools.CmsToolManager: 192] . Tool Manager config  : Tool Manager skipped root explorer, since resource /system/workplace/explorer/ does not exist.
28 maalis 2006 11:27:51,753  INFO [  org.opencms.main.OpenCmsCore:2065] . Runlevel change      : Switching from 2 to 4
28 maalis 2006 11:27:51,761  INFO [  org.opencms.main.OpenCmsCore: 365] . Added RequestHandler : 404 (org.opencms.main.OpenCmsServlet)
28 maalis 2006 11:27:51,761  INFO [  org.opencms.main.OpenCmsCore:1282] . OpenCms is running!  : Total startup time was 00:00:05
28 maalis 2006 11:27:51,762  INFO [  org.opencms.main.OpenCmsCore:1285] .                      ...............................................................
28 maalis 2006 11:27:51,762  INFO [  org.opencms.main.OpenCmsCore:1286] .


More information about the opencms-dev mailing list