WSO2 AS 服务器在传递日期以创建 solr 日期时出错
WSO2 AS server Error when passing date to create solr date
我配置了 4 个服务器,但是当我尝试将应用程序服务器添加到 exlipse 时,我在控制台上收到此错误:
ERROR {org.wso2.carbon.registry.indexing.solr.SolrClient} - Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Sun Dec 13 21:19:56 GMT+01:00 2015"
您不需要安装 WSO2 产品。只需解压缩 运行 [WSO2_Product]/bin/wso2server .bat for windows 或 .sh for linux.
为了运行他们在同一台服务器上,在启动前,更改[WSO2_Product]/repository/conf/carbon.xml里面的偏移值例如:
<!-- Ports offset. This entry will set the value of the ports defined below to
the define value + Offset.
e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445
-->
<Offset>1</Offset>
在这种情况下,端口更改为 9444 和 9764,偏移量 = 0(9443 和 9763)
我在 CentOS 中的 WSO2 API Manager 10.0 遇到了同样的问题。与服务器似乎不支持的JVM使用的语言环境有关。
作为解决方法,我已经解决了它更改 JVM 的区域,将下一个参数添加到 wso2server.sh 中的 JVM:
-Duser.region=US \
只有区域选项对我不起作用。
我添加了以下选项:
-Duser.region=US -Duser.country=US -Duser.language=us
我配置了 4 个服务器,但是当我尝试将应用程序服务器添加到 exlipse 时,我在控制台上收到此错误:
ERROR {org.wso2.carbon.registry.indexing.solr.SolrClient} - Error when passing date to create solr date format.java.text.ParseException: Unparseable date: "Sun Dec 13 21:19:56 GMT+01:00 2015"
您不需要安装 WSO2 产品。只需解压缩 运行 [WSO2_Product]/bin/wso2server .bat for windows 或 .sh for linux.
为了运行他们在同一台服务器上,在启动前,更改[WSO2_Product]/repository/conf/carbon.xml里面的偏移值例如:
<!-- Ports offset. This entry will set the value of the ports defined below to
the define value + Offset.
e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445
-->
<Offset>1</Offset>
在这种情况下,端口更改为 9444 和 9764,偏移量 = 0(9443 和 9763)
我在 CentOS 中的 WSO2 API Manager 10.0 遇到了同样的问题。与服务器似乎不支持的JVM使用的语言环境有关。
作为解决方法,我已经解决了它更改 JVM 的区域,将下一个参数添加到 wso2server.sh 中的 JVM:
-Duser.region=US \
只有区域选项对我不起作用。 我添加了以下选项:
-Duser.region=US -Duser.country=US -Duser.language=us