簡體   English   中英

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" 

我在CentOS中使用WSO2 API Manager 10.0遇到了同樣的問題。 它與服務器似乎不支持的JVM使用的語言環境有關。

作為一種解決方法,我解決了它更改JVM區域的問題,在wso2server.sh中向JVM添加了下一個參數:

 -Duser.region=US \

您不需要安裝WSO2產品。 只需解壓縮Windows的運行[WSO2_Product] / bin / wso2server .bat或Linux的.sh。

要在啟動之前僅在同一服務器上運行它們,請在[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)

只有region-Option對我不起作用。 我添加了以下選項:

-Duser.region=US -Duser.country=US -Duser.language=us

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM