-
Notifications
You must be signed in to change notification settings - Fork 31
Troubleshooting
Since Version 3.8.1 Maven supports only HTTPS connection to repositories. Since Top-Q's repository is still using HTTP artifacts are failed to download.
To disable the new behavior and to allow HTTP connections, locate your Maven setting.xml file. It can be in `${maven.home}/conf/settings.xml' or '${user.home}/.m2/settings.xml)'. Open the file for edit and find the mirror section. Replace the existing 'maven-default-http-blocker' 'mirror' with the following section:
<mirror>
<id>maven-default-http-blocker</id>
<mirrorOf>dummy</mirrorOf>
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
<url>http://0.0.0.0/</url>
<blocked>true</blocked>
</mirror>
For more options, please refer to this StackOverflow thread.
If you encounter slow server startup on linux environment, it may be caused due to the method linux uses to generate random keys, more information can be found here.
To fix this, follow these steps:
- Open the $JAVA_HOME/jre/lib/security/java.security file in a text editor.
- Find the line: securerandom.source=file:/dev/random .
- Change it to read: securerandom.source=file:/dev/urandom.
- restart the server.
You may use a VM or an NFS with slow IO. To prove that is it the case, download the this jar file, copy it to the Difido folder and launch it by running:
java -jar test.jar
If any of the calls takes longer then 50 ms, then you have a slow IO storage.
The Difido project is maintained by Top-Q and friends
- Overview
- Binders
- The Difido Server
- Developers
- Building the Server
- High Level Architecture
- Server API
- H2 Server
- Developing Plugins
- Elastic Mapping Definitions
- Contributing Code