I installed Resin 3.0.18 to:
/opt/resin-3.0.18
I also have a symbolic link /opt/resin that points to /opt/resin-3.0.18
Standard Resin libs are in: /opt/resin/lib. So instead of cluttering
up resin's lib directory, I created /opt/resin/lib-tapestry-4.0 and
added the following:
commons-codec-1.3.jar
commons-fileupload-1.0.jar
commons-logging-1.0.4.jar
commons-logging-api-1.0.4.jar
hivemind-1.1.1.jar
hivemind-jmx-1.1.1.jar
hivemind-lib-1.1.1.jar
javassist-3.0.jar
ognl-2.6.7.jar
oro-2.0.8.jar
tapestry-4.0.jar
tapestry-annotations-4.0.jar
tapestry-contrib-4.0.jar
tapestry-portlet-4.0.jar
tapestry-prop-0.1.1.jar
Then, I updated resin.conf to tell it about lib-tapestry-4.0 directory:
<!-- adds all .jar files under the resin/lib directory -->
<class-loader>
<tree-loader path="${resin.home}/lib"/>
<tree-loader path="${server.root}/lib"/>
<tree-loader path="${resin.home}/lib-tapestry-4.0"/>
</class-loader>
That's it. Of course, I configured my app in resin.conf as well:
<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<web-app id="/" document-directory="/opt/opendating/webapps">
<database>
<jndi-name>jdbc/opendating</jndi-name>
<driver type="org.postgresql.Driver">
<url>jdbc:postgresql://dolphin:5432/opendating</url>
<!-- removed db credentials for this post -->
</driver>
<prepared-statement-cache-size>8</prepared-statement-cache-size>
<max-connections>20</max-connections>
<max-idle-time>30s</max-idle-time>
</database>
</web-app>
</host>
Again, my app is working just fine in Tomcat, where I also added
lib-tapestry-4.0 and told Tomcat about it. This probably is a
classpath issue as you suggest.. Worst case scenario, I'll just deploy
it under Tomcat.
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]