我配置了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"
I've had the same problem with WSO2 API Manager 10.0 in CentOS. It's related with the locale used by the JVM that seems to be not supported by the server.
As a workaround, I've solved it changing the region of the JVM adding the next parameter to the JVM in wso2server.sh:
-Duser.region=US \
You do not need to install WSO2 product. Just unzip an run [WSO2_Product]/bin/wso2server .bat for windows or .sh for linux.
To run them in the same server just, before start, change the offset value inside the [WSO2_Product]/repository/conf/carbon.xml Example:
<!-- 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>
In this case the port chage to 9444 and 9764, with the offset = 0 (9443 and 9763)
Only the region-Option doesn' work for me. I added the following options:
-Duser.region=US -Duser.country=US -Duser.language=us
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.