Commit f9a72390 authored by Bertrand Goupil's avatar Bertrand Goupil

Update MacosX wapiti library

Recompile from wapiti sources
parent 7423d71b
......@@ -36,7 +36,8 @@ If running from IDE (eclipse), VM argument `java -Dspring.config.location=src/te
=> check that application.yml set the correct path for lib and resources
=> -Dspring.configuration path should end with /
+ Wapiti OS libraries may crash the webapp: see Wapiti build section below
#### Bug
+ Service stop on MacosX during extraction with wapiti's message `error: invalid model format` (This is not happening running inside eclipse ...)
......@@ -65,11 +66,13 @@ In the docker image volumes have been setup to mount new resources.
+ List containers `docker ps -a`
+ Stop container `docker stop <container_name>`
+ Start container `docker start <container_name>`
+ Show container logs `docker logs <container_name>`
+ Remove stop containers `docker rm $(docker ps -a -q)`
+ Remove image `docker rmi <image_name>`
+ Load image from file `docker load < image_file.tar`
+ Export image `docker export > image_file.tar`
## Test
HTTP GET http://localhost:8080/sourceExtractor/
......@@ -81,3 +84,11 @@ Charset text/xml
curl -XPOST -H "Content-Type: text/xml" -d @afp.com-20150123T153420Z-TX-PAR-SZS52.xml http://localhost:8080/sourceExtractor/extractNewsML
## Annex
### Third-party libraries
#### Wapiti build
Wapiti OS libraries may failed depending of your OS version.
You must then build the OS library from the Wapiti project: [https://github.com/kermitt2/Wapiti](https://github.com/kermitt2/Wapiti)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment