Apache Any23 Server Project

Clone this repo:

Branches

  1. 8e9617d Merge pull request #1 from JLLeitschuh/fix/JLL/use_https_to_resolve_dependencies by Lewis John McGibbney · 4 years, 1 month ago master
  2. ca4beaf Use HTTPS instead of HTTP to resolve dependencies by Jonathan Leitschuh · 4 years, 3 months ago
  3. abb51db Add Docker deployment to Any23 server by Lewis John McGibbney · 4 years, 5 months ago
  4. 26892ff ANY23-448 Move service and plugins out of core by Lewis John McGibbney · 4 years, 7 months ago

Any23 Web Server

This is the root dir of the Any23 Web-Server module.

Apache Any23 provides a Web-Service that can be used to extract RDF from Web documents.

Generate Web-Server Packaging

Execute ‘mvn package’ from this directory.

$ mvn package

From this directory it generates roughly the following...

.
├── pom.xml
├── README.txt
├── src
│   ├── main
│   │   ├── assembly
│   │   ├── bin
│   │   ├── java
│   │   ├── resources
│   │   └── webapp
│   └── test
│       ├── java
│       └── resources
└── target
    ├── any23-service-${version}.war
    ├── any23-service-${version}-without-deps.war
    ├── apache-any23-service-${version}-bin-server-embedded.tar.gz <<<
    ├── apache-any23-service-${version}-bin-server-embedded.zip <<<
    ├── apache-any23-service-${version}-bin.tar.gz <<<
    ├── apache-any23-service-${version}-bin-without-deps.tar.gz <<<
    ├── apache-any23-service-${version}-bin-without-deps.zip <<<
    ├── apache-any23-service-${version}-bin.zip <<<
    ├── archive-tmp
    ├── classes
    ├── generated-sources
    ├── maven-archiver
    ├── maven-shared-archive-resources
    ├── surefire
    ├── surefire-reports
    └── test-classes

Specific README's for each of the artifacts can be found in either ./target/.tar.gz || ./target/.zip (annotated above with ‘<<<’), where much more detailed information sources can be located.

Docker

It may be more convenient if you use Docker for packaging and running the Any23 server.

Build the image

$ docker build -t tomcat .

Run the image

$ docker run -d -p 8080:8080 --name tomcat tomcat

Hot deploy Any23 webapp (war)

$ docker cp target/apache-any23-service-2.4-SNAPSHOT.war tomcat:/usr/local/tomcat/webapps/apache-any23-service-2.4-SNAPSHOT.war