[opencms-dev] opcms latest source code build and set up success but can't access the login page
碎
594413369 at qq.com
Wed Apr 10 07:52:13 CEST 2013
Hi, opencms,
I have download the latest opencms source code and the version 8.0.4 source code in follow link:
git clone git://github.com/alkacon/opencms-core
http://www.opencms.org/downloads/opencms/opencms_8.0.4_src.zip
1. We can build the source code success according to the http://www.opencms.org/en/development/core.html , and it will generate the "opencms.war" package in "BuildCms\build\opencms.war";
2. Prepare the server installation and client setup environment;
3. Uncompress the "opencms.war" package to the "TOMCATE_HOME\webapps"
4. Start the Setup-Wizard by pointing your webbrowser to http://localhost:8080/opencms/setup/ ;
5. Next, we access http://localhost:8080/opencms/opencms/system/login/ it will occour exception in the backend even if you
restart the server ;
and the exception display as follow:
Note: but when we use the war package from follow link directly, we can run the opencms success(all function can operate
success)
http://www.opencms.org/downloads/opencms/opencms_8.5.1.zip
Thanks & Regards!
Jerry Sun!
2013-4-10
====================================================================================================================
s.file.types.CmsResourceTypePlain
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".txt" to resource type plain
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".html" to resource type plain
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".htm" to resource type plain
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "binary" id=2 class=org.openc
ms.file.types.CmsResourceTypeBinary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".pdf" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".zip" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".class" to resource type binar
y
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".ppt" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".doc" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".docx" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".xlsx" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".pptx" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".xls" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".jar" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".flv" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".swf" to resource type binary
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "image" id=3 class=org.opencm
s.file.types.CmsResourceTypeImage
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".jpeg" to resource type image
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".jpg" to resource type image
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".gif" to resource type image
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".png" to resource type image
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".tif" to resource type image
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".tiff" to resource type image
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "jsp" id=4 class=org.opencms.
file.types.CmsResourceTypeJsp
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : mapping extension ".jsp" to resource type jsp
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "pointer" id=5 class=org.open
cms.file.types.CmsResourceTypePointer
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "xmlpage" id=6 class=org.open
cms.file.types.CmsResourceTypeXmlPage
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "xmlcontent" id=7 class=org.o
pencms.file.types.CmsResourceTypeXmlContent
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "imagegallery" id=8 class=org
.opencms.file.types.CmsResourceTypeFolderExtended
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "downloadgallery" id=9 class=
org.opencms.file.types.CmsResourceTypeFolderExtended
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "linkgallery" id=10 class=org
.opencms.file.types.CmsResourceTypeFolderExtended
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "htmlgallery" id=11 class=org
.opencms.file.types.CmsResourceTypeFolderExtended
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceType
INFO: . Resource type init : added resource type "tablegallery" id=12 class=or
g.opencms.file.types.CmsResourceTypeFolderExtended
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initResourceTypes
INFO: . Resource type init : finished
2013-4-10 13:00:10 org.opencms.loader.CmsResourceManager initialize
INFO: . Loader configuration : finished
2013-4-10 13:00:10 org.opencms.search.CmsSearchManager initSearchIndexes
INFO: . Search index : Successfully configured search index "Online proj
ect EN (VFS)" for project "Online"
2013-4-10 13:00:10 org.opencms.search.CmsSearchManager initSearchIndexes
INFO: . Search index : Successfully configured search index "Online proj
ect DE (VFS)" for project "Online"
2013-4-10 13:00:10 org.opencms.search.CmsSearchIndex checkConfiguration
SEVERE: The project "Offline" configured for search index "Offline project EN (V
FS)" does not exist.
2013-4-10 13:00:10 org.opencms.search.CmsSearchManager initSearchIndexes
INFO: . Search index : Unable to configure search index "Offline project
EN (VFS)" for project "Offline" - search index "Offline project EN (VFS)" has b
een disabled
2013-4-10 13:00:11 org.opencms.search.CmsSearchManager createCoreContainer
INFO: . Search Solr : Solr core container created using E:\java\oneCity
Net\apache-tomcat-6.0.26\webapps\opencms\WEB-INF\solr as Solr home and solr.xml
as configuration file.
2013-4-10 13:00:12 org.opencms.search.CmsSearchManager registerSolrIndex
INFO: . Search Solr : Embedded Solr server created for index Solr Onlin
e.
2013-4-10 13:00:12 org.opencms.search.CmsSearchManager initSearchIndexes
INFO: . Search index : Successfully configured search index "Solr Online
" for project "Online"
2013-4-10 13:00:12 org.opencms.search.CmsSearchIndex checkConfiguration
SEVERE: The project "Offline" configured for search index "Solr Offline" does no
t exist.
2013-4-10 13:00:12 org.opencms.search.CmsSearchManager initSearchIndexes
INFO: . Search index : Unable to configure search index "Solr Offline" f
or project "Offline" - search index "Solr Offline" has been disabled
2013-4-10 13:00:12 org.opencms.search.CmsSearchManager initSearchIndexes
INFO: . Search index : Successfully configured search index "German onli
ne help" for project "Online"
2013-4-10 13:00:12 org.opencms.search.CmsSearchIndex checkConfiguration
SEVERE: The project "Offline" configured for search index "Gallery Index" does n
ot exist.
2013-4-10 13:00:12 org.opencms.search.CmsSearchManager initSearchIndexes
INFO: . Search index : Unable to configure search index "Gallery Index"
for project "Offline" - search index "Gallery Index" has been disabled
2013-4-10 13:00:12 org.opencms.workplace.editors.CmsWorkplaceEditorManager <init
>
SEVERE: Workplace init: Unable to read editor folder "/system/workplace/editors/
", editors disabled!
2013-4-10 13:00:12 org.opencms.workplace.CmsWorkplaceManager initWorkplaceLocale
s
SEVERE: Workplace init: Unable to read locales folder "/system/workplace/locales
/", locales are disabled!
2013-4-10 13:00:12 org.opencms.workplace.CmsWorkplaceManager initialize
INFO: . Workplace config : vfs access initialized
2013-4-10 13:00:12 org.opencms.workplace.CmsWorkplaceManager initialize
SEVERE: Workplace temporary file project does not yet exist!
2013-4-10 13:00:12 org.opencms.workplace.tools.CmsToolManager configure
INFO: . Tool Manager config : Tool Manager is being initialized
2013-4-10 13:00:12 org.opencms.workplace.tools.CmsToolManager configure
INFO: . Tool Manager config : Tool Manager skipped root admin, since resource /
system/workplace/admin/ does not exist.
2013-4-10 13:00:12 org.opencms.workplace.tools.CmsToolManager configure
INFO: . Tool Manager config : Tool Manager skipped root explorer, since resourc
e /system/workplace/explorer/ does not exist.
2013-4-10 13:00:12 org.opencms.main.OpenCmsCore setRunLevel
INFO: . Runlevel change : Switching from 2 to 4
2013-4-10 13:00:12 org.opencms.main.OpenCmsCore addRequestHandler
INFO: . Added RequestHandler : 404 (org.opencms.main.OpenCmsServlet)
2013-4-10 13:00:12 org.opencms.main.OpenCmsCore initServlet
INFO: . OpenCms is running! : Total startup time was 00:00:04
2013-4-10 13:00:12 org.opencms.main.OpenCmsCore initServlet
INFO: . ...................................................
............
2013-4-10 13:00:12 org.opencms.main.OpenCmsCore initServlet
INFO: .
2013-4-10 13:00:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
2013-4-10 13:00:12 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2013-4-10 13:00:12 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2013-4-10 13:00:12 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/23 config=null
2013-4-10 13:00:12 org.apache.catalina.startup.Catalina start
INFO: Server startup in 16826 ms
2013-4-10 13:00:41 org.opencms.staticexport.CmsStaticExportManager isExportLink
INFO: isExportLink? /system/login/
2013-4-10 13:00:41 org.opencms.main.OpenCmsServlet openErrorHandler
WARNING: Error initializing CmsObject in 404 handler for "/system/handler/handle
404.html"
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from pa
th "/system/handler/handle404.html".
at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsV
fsResourceNotFoundException.java:71)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:334)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.jav
a:4877)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2943)
at org.opencms.file.CmsObject.readFile(CmsObject.java:2357)
at org.opencms.main.OpenCmsServlet.openErrorHandler(OpenCmsServlet.java:
303)
at org.opencms.main.OpenCmsServlet.handle(OpenCmsServlet.java:222)
at org.opencms.main.OpenCmsServlet.invokeHandler(OpenCmsServlet.java:275
)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:145)
at org.opencms.main.OpenCmsServletErrorHandler.doGet(OpenCmsServletError
Handler.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:438)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:302)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.j
ava:415)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.j
ava:342)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:143)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read reso
urce "/system/handler/handle404.html".
at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:23
22)
at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:74
74)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.jav
a:7193)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.jav
a:4875)
... 25 more
2013-4-10 13:00:45 org.opencms.staticexport.CmsStaticExportManager isExportLink
INFO: isExportLink? /system/login/
2013-4-10 13:00:45 org.opencms.main.OpenCmsServlet openErrorHandler
WARNING: Error initializing CmsObject in 404 handler for "/system/handler/handle
404.html"
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from pa
th "/system/handler/handle404.html".
at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsV
fsResourceNotFoundException.java:71)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:334)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.jav
a:4877)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2943)
at org.opencms.file.CmsObject.readFile(CmsObject.java:2357)
at org.opencms.main.OpenCmsServlet.openErrorHandler(OpenCmsServlet.java:
303)
at org.opencms.main.OpenCmsServlet.handle(OpenCmsServlet.java:222)
at org.opencms.main.OpenCmsServlet.invokeHandler(OpenCmsServlet.java:275
)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:145)
at org.opencms.main.OpenCmsServletErrorHandler.doGet(OpenCmsServletError
Handler.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:438)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:302)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.j
ava:415)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.j
ava:342)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:143)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read reso
urce "/system/handler/handle404.html".
at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:23
22)
at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:74
74)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.jav
a:7193)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.jav
a:4875)
... 25 more
http://www.opencms.org/en/downloads/opencms/opencms_8.0.4_src.zip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130410/b10d4c61/attachment.htm>
More information about the opencms-dev
mailing list