Trace:
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
jvx:common:setup:zones [2026/04/21 10:46] admin |
jvx:common:setup:zones [2026/04/21 11:23] (current) admin |
||
|---|---|---|---|
| Line 47: | Line 47: | ||
| 3: JNDI: java:/comp/env/jvx/<appname_lowercase>/config | 3: JNDI: java:/comp/env/jvx/<appname_lowercase>/config | ||
| (String as resource path), InputStream or IVirtualZone implementation) | (String as resource path), InputStream or IVirtualZone implementation) | ||
| - | 4: Classpath: /rad/apps/<appname_lowercase>/config.xml (must be enabled via system property) | + | 4: Classpath: Use system property: -Drad.apps.<appname_lowercase>.config=/path/to/config.xml (must be enabled via system property) |
| - | 4: Classpath: /<appname_lowercase>.xml (must be enabled via system property) | + | 5: Classpath: /rad/apps/<appname_lowercase>/config.xml (must be enabled via system property) |
| - | 5: Classpath: /config.xml (must be enabled via system property) | + | 6: Classpath: /<appname_lowercase>.xml (must be enabled via system property) |
| - | 6: EXCEPTION | + | 7: Classpath: /config.xml (must be enabled via system property) |
| + | 8: EXCEPTION | ||
| </file> | </file> | ||
| Line 67: | Line 68: | ||
| 6: EMPTY configuration | 6: EMPTY configuration | ||
| </file> | </file> | ||
| + | |||
| + | To enable Classpath search strategy, set the system property: ''-DConfiguration.search.classpath=true'' otherwise it won't work. | ||
| Be careful because ApplicationZone and ServerZone have methods for accessing files and directories: | Be careful because ApplicationZone and ServerZone have methods for accessing files and directories: | ||
