How to configure Java Caucho Resin class path to the system library directory

I have a folder "/ var / unity / conf" with some properties files in it, and I would like the JVM Caucho Resin to have this directory in the classpath.

What is the best way for modifiy resin.conf to let Resin know to add this directory to the classpath?

+4
source share
2 answers

Using resin 3.1.6 and higher use

<server-default> ... <jvm-classpath>/var/unity/conf/...</jvm-classpath> ... </server-default> 

(I know, very late in the game, I myself searched for the answer to this question and found this post here, as well as a solution, so I thought I would add it back to the team).

+2
source

cd% RESIN_HOME% / lib | ln -s / var / unity / conf / ....

+1
source

Source: https://habr.com/ru/post/1277301/


All Articles