cancel
Showing results for 
Search instead for 
Did you mean: 

Static War Deployment Questions

cstettler_
Champ on-the-rise
Champ on-the-rise

After deploying and looking at the generated artifacts, I see lots of nuxe.db properties in the configuration.properites under WEB-INF.

In particular I see nuxeo.db.max-pool-size, nuxeo.vcs.max-pool-size, nuxeo.db.user etc.

When I deploy into tomcat specify the db pool size in the server.xml and also specify user and password information.

My question is how many of the configuration.properties are used at runtime in the static war scenario. How many do I need to or can override as -D options?

Do I need to set the pool-sizes during prior to packing for can I provide that information as -D when tomcat starts?

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

In the static WAR, no properties are used. The fact that the file is here is a remnant of the packaging mechanism.

If you want to change properties, change them in a dynamic Nuxeo and re-package the static WAR. You may in some cases be able to figure out in which Nuxeo or Tomcat configuration files the properties are replaced, and change them by hand, but it's safer to do it as I described.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.