Resin version: resin-pro-3.1.9

I am trying to convert my resin-pro-3.0.23 startup scripts and 
resin.conf file to work with resin-pro-3.1.9.  It's close, but there is 
a small error.  I am trying to build a start script similar to:

$RESIN_HOME/bin/ -verbose \
-J-server \
-J-Xmx$JAVA_MX \
-J-Xms$JAVA_MS \
-J-verbose:gc \
-J-XX:MaxGCPauseMillis=5000 \
-J-XX:GCTimeRatio=19 \
-J-XX:+PrintGCTimeStamps \ \
-J-cp=/opt/server/java/test.jar \
-server-root $SERVER_ROOT \
-Dresin.home=/opt/resin-pro-3.1.9 \
-conf /opt/server/conf/resin.xml \

But when I launch it, it fails on this line in the resin.xml:

/opt/server/conf/resin.xml:41: java.lang.ClassNotFoundException: 
Password in EnvironmentClassLoader[]

39: <key-store-type>jks</key-store-type>
40: <key-store-file>/opt/server/security/ssl.kdb</key-store-file>
41: <password resin:type="com.encryption.Password">abcdefgh</password>
42: </jsse-ssl>
43: </http>

How do I set my classpath such that Resin can find the 
com.encryption.Password class we have written, which resides in the 
test.jar?  I have tried adding -J-cp=... and just setting the CLASSPATH 
environment variable in our start script, but not having any luck.  I 
also have this in my resin.xml:

<resin xmlns=""; 
<log name="" level="info" path="stdout:"/>
<cluster id="">
<library-loader path="/opt/server/java/test.jar"/>



resin-interest mailing list

Reply via email to