[opencms-dev] Problem importing database

Roberto Giménez rgimenez at fhcalahorra.com
Mon Mar 27 14:08:14 CEST 2006


Hello,

I'm trying to import a opencms database from my local server, to my 
client's server.
First, I had a problem with the resource type="microsite", and I solved 
modifying the opencms-vfs.xml.
I've restarted Tomcat, and now, I'm getting this new error:

( 559 / 2917 ) Exception org.opencms.loader.CmsLoaderException: Unknown 
resource type name "event" requested. at 
org.opencms.loader.CmsResourceManager.getResourceType(CmsResourceManager.java:608) 
at 
org.opencms.importexport.CmsImportVersion4.readResourcesFromManifest(CmsImportVersion4.java:396) 
at 
org.opencms.importexport.CmsImportVersion4.importResources(CmsImportVersion4.java:132) 
at 
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325) 
at 
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:164) 
at 
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:610) 
at 
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94) 

Exception org.opencms.importexport.CmsImportExportException: Error 
importing resources. at 
org.opencms.importexport.CmsImportVersion4.readResourcesFromManifest(CmsImportVersion4.java:605) 
at 
org.opencms.importexport.CmsImportVersion4.importResources(CmsImportVersion4.java:132) 
at 
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325) 
at 
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:164) 
at 
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:610) 
at 
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94) 
Caused by: org.opencms.loader.CmsLoaderException: Unknown resource type 
name "event" requested. at 
org.opencms.loader.CmsResourceManager.getResourceType(CmsResourceManager.java:608) 
at 
org.opencms.importexport.CmsImportVersion4.readResourcesFromManifest(CmsImportVersion4.java:396) 
... 5 more

Neither, I can see the tree file on the left in the explorer view. 
There's a null image, with this error

java.lang.NullPointerException
	at org.opencms.workplace.explorer.CmsTree.initTree(CmsTree.java:193)
	at org.opencms.workplace.explorer.CmsTree.initTree(CmsTree.java:540)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.views.explorer.tree_005ffs_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.views.explorer.tree_005ffs_jsp:91)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:193)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:419)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)
	at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)
	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)
	at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:711)
	at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)
	at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Unknown Source)


Both have the same version 6.0.4.

Thanks for your help, and sorry for my english.

-- 
Roberto Giménez
Dept. Sistemas de Información
Fundación Hospital Calahorra
941 151121  Ext. 5025




More information about the opencms-dev mailing list