Trace: • Configuring Timeouts • Environment Information • Application and Server Zones • What are Life Cycle Objects? • Using Client/Server Properties • Using Styles
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 [2020/06/15 14:54] cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
jvx:common:setup:zones [2026/04/21 11:23] (current) admin |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ~~Title: Application and Server Zones~~ | ~~Title: Application and Server Zones~~ | ||
| - | We recommend a specific file-structure for JVx applications because every JVx projects should use the same structure. This makes it easier to maintain applications because everything is standardized. | + | We recommend a specific file structure for JVx applications because every JVx projects should use the same structure. This makes it easier to maintain applications as everything is standardized. |
| Our recommended structure is: | Our recommended structure is: | ||
| 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 (can be disabled) | + | 4: Classpath: Use system property: -Drad.apps.<appname_lowercase>.config=/path/to/config.xml (must be enabled via system property) |
| - | 5: Classpath: /config.xml (can be disabled) | + | 5: Classpath: /rad/apps/<appname_lowercase>/config.xml (must be enabled via system property) |
| - | 6: EXCEPTION | + | 6: Classpath: /<appname_lowercase>.xml (must be enabled via system property) |
| + | 7: Classpath: /config.xml (must be enabled via system property) | ||
| + | 8: EXCEPTION | ||
| </file> | </file> | ||
| Line 62: | Line 64: | ||
| 3: JNDI: java:/comp/env/jvx/server/config | 3: JNDI: java:/comp/env/jvx/server/config | ||
| (String as resource path), InputStream or IVirtualZone implementation) | (String as resource path), InputStream or IVirtualZone implementation) | ||
| - | 4: Classpath: /rad/server/config.xml (can be disabled) | + | 4: Classpath: /rad/server/config.xml (must be enabled via system property) |
| - | 5: Classpath: /server.xml (can be disabled) | + | 5: Classpath: /server.xml (must be enabled via system property) |
| 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: | ||
