Giter VIP home page Giter VIP logo

Comments (4)

joakime avatar joakime commented on June 15, 2024

The [files] entries in a module are only created if using --add-module=<name> or --create-files command line.

from jetty.project.

vmassol avatar vmassol commented on June 15, 2024

hmm indeed we start Jetty with java --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED -Xmx1024m -Dxwiki.data.dir=data -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=data -Djetty.home=jetty -Djetty.base=. -Dfile.encoding=UTF8 -Djetty.http.port=8080 -jar jetty/start.jar jetty.http.port=8080 STOP.KEY=xwiki STOP.PORT=8079 and we have a ./start.d/xwiki.ini file containing:

--module=xwiki

## Default configuration values for XWiki

## Disable WAR scanning and hot deployments since we use static expanded WAR to speed up Jetty.
jetty.deploy.scanInterval=0
jetty.deploy.extractWars=false

## Jetty 10.0.3+ has added a protection in URLs so that encoded characters such as % are prohibited by default. Since
## XWiki uses them, we need to configure Jetty to allow for it. See
##   https://www.eclipse.org/jetty/documentation/jetty-10/operations-guide/index.html#og-module-server-compliance
jetty.httpConfig.uriCompliance=RFC3986

And xwiki.mod has the the dependency to the work.mod.

So I guess we should simply drop work.mod and create the work directory in our start script.

Thanks @joakime !

from jetty.project.

joakime avatar joakime commented on June 15, 2024

And xwiki.mod has the the dependency to the work.mod.

So I guess we should simply drop work.mod and create the work directory in our start script.

Or tell people to use --add-module=xwiki to enable it on their ${jetty.base} and the work.mod will come along for the ride and also have it's content created.

from jetty.project.

vmassol avatar vmassol commented on June 15, 2024

Thanks again @joakime

from jetty.project.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.