首页 / 浏览问题 / 云GIS / 问题详情
suse11 sp3上无法配置关系型datastore
4EXP 2018年09月13日

在suse11 sp3系统上部署iserver-datastore后(9D-beta版)按照相关部署后(用的是非root用户启动的),datastore可以正常启动,但是无法配置关系型的datastore:

相关截图

启动及配置过程中的日志:

/home/supermap-iserver-datastore-9.1.0-beta-linux64
LD_LIBRARY_PATH is /home/supermap-iserver-datastore-9.1.0-beta-linux64/support/objectsjava/bin:/home/supermap-iserver-datastore-9.1.0-beta-linux64/database/postgresql/lib:/home/supermap-iserver-datastore-9.1.0-beta-linux64/database/postgresql/bin:
2018-9-13 02:02:24 - INFO - Starting DataStoreApplication v9.1.0-SNAPSHOT on bigdata with PID 13609 (/home/supermap-iserver-datastore-9.1.0-beta-linux64/lib/iserver-datastore-9.1.0-16402.jar started by bigdata in /home/supermap-iserver-datastore-9.1.0-beta-linux64/bin)  
2018-9-13 02:02:24 - INFO - No active profile set, falling back to default profiles: default  
2018-9-13 02:02:24 - INFO - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@255316f2: startup date [Thu Sep 13 02:02:24 EDT 2018]; root of context hierarchy  
2018-9-13 02:02:25 - INFO - HV000001: Hibernate Validator 5.3.5.Final  
2018-9-13 02:02:26 - INFO - Loading XML bean definitions from class path resource [datastoreconfig.xml]  
2018-9-13 02:02:28 - INFO - Tomcat initialized with port(s): 8020 (http)  
Sep 13, 2018 2:02:28 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Sep 13, 2018 2:02:28 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.14
Sep 13, 2018 2:02:28 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2018-9-13 02:02:28 - INFO - Root WebApplicationContext: initialization completed in 4524 ms  
2018-9-13 02:02:29 - INFO - Mapping servlet: 'dispatcherServlet' to [/]  
2018-9-13 02:02:29 - INFO - Mapping filter: 'characterEncodingFilter' to: [/*]  
2018-9-13 02:02:29 - INFO - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]  
2018-9-13 02:02:29 - INFO - Mapping filter: 'httpPutFormContentFilter' to: [/*]  
2018-9-13 02:02:29 - INFO - Mapping filter: 'requestContextFilter' to: [/*]  
2018-9-13 02:02:29 - INFO - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@255316f2: startup date [Thu Sep 13 02:02:24 EDT 2018]; root of context hierarchy  
2018-9-13 02:02:29 - INFO - Mapped "{[/datastore]}" onto public java.lang.String com.supermap.datastore.rest.controllers.FreemarkController.datastore(org.springframework.ui.Model,javax.servlet.http.HttpServletRequest)  
2018-9-13 02:02:29 - INFO - Mapped "{[/]}" onto public java.lang.String com.supermap.datastore.rest.controllers.FreemarkController.root(org.springframework.ui.Model,javax.servlet.http.HttpServletRequest)  
2018-9-13 02:02:29 - INFO - Mapped "{[/datastore/datasources]}" onto public java.util.List<com.supermap.datastore.components.commontypes.DatastoreFeatureInfo> com.supermap.datastore.rest.controllers.RootController.datasources()  
2018-9-13 02:02:29 - INFO - Mapped "{[/datastore/admin/configure],methods=[GET]}" onto public com.supermap.datastore.configuration.DataStoreConfig com.supermap.datastore.rest.controllers.RootController.getDefaultConfigure()  
2018-9-13 02:02:29 - INFO - Mapped "{[/datastore/verifydatapath],methods=[POST]}" onto public boolean com.supermap.datastore.rest.controllers.RootController.verifyDataPath(java.lang.String)  
2018-9-13 02:02:29 - INFO - Mapped "{[/datastore/verifymongodbpath],methods=[POST]}" onto public boolean com.supermap.datastore.rest.controllers.RootController.verifyMongodbPath(java.lang.String)  
2018-9-13 02:02:29 - INFO - Mapped "{[/datastore/admin/configure],methods=[POST]}" onto public boolean com.supermap.datastore.rest.controllers.RootController.configure(java.lang.String)  
2018-9-13 02:02:29 - INFO - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)  
2018-9-13 02:02:29 - INFO - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)  
2018-9-13 02:02:29 - INFO - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]  
2018-9-13 02:02:29 - INFO - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]  
2018-9-13 02:02:29 - INFO - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]  
2018-9-13 02:02:30 - INFO - SpringTemplateLoader for FreeMarker: using resource loader [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@255316f2: startup date [Thu Sep 13 02:02:24 EDT 2018]; root of context hierarchy] and template loader path [classpath:/templates/]  
2018-9-13 02:02:30 - INFO - ClassTemplateLoader for Spring macros added to FreeMarker configuration  
2018-9-13 02:02:30 - INFO - Registering beans for JMX exposure on startup  
2018-9-13 02:02:30 - INFO - Tomcat started on port(s): 8020 (http)  
2018-9-13 02:02:30 - INFO - Started DataStoreApplication in 7.553 seconds (JVM running for 9.06)  
2018-9-13 02:02:30 - INFO - iServer DataStore Application is Started Successfully. 服务地址为:http://192.168.255.145:8020  
Sep 13, 2018 2:10:09 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'dispatcherServlet'
2018-9-13 02:10:09 - INFO - FrameworkServlet 'dispatcherServlet': initialization started  
2018-9-13 02:10:09 - INFO - FrameworkServlet 'dispatcherServlet': initialization completed in 458 ms  
2018-9-13 02:10:10 - INFO - the Relational database is being configured  
2018-9-13 02:10:10 - WARN - the Relational database configuration failed  
2018-9-13 02:10:56 - INFO - the Relational database is being configured  
2018-9-13 02:10:56 - WARN - the Relational database configuration failed  
2018-9-13 02:10:58 - INFO - the Relational database is being configured  
2018-9-13 02:10:58 - WARN - the Relational database configuration failed  
2018-9-13 02:10:58 - INFO - the Relational database is being configured  
2018-9-13 02:10:58 - WARN - the Relational database configuration failed  
2018-9-13 02:10:58 - INFO - the Relational database is being configured  
2018-9-13 02:10:58 - WARN - the Relational database configuration failed

1个回答

您好,这个你看下database的日志
4,524EXP 2018年09月14日

ok,我看一下,多谢了smileysmileysmiley

...