Clean up the classpath

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
(migration)
 
 
Line 1: Line 1:
 +
{{Cleanup}}
 
[[Category:Troubleshooting]]
 
[[Category:Troubleshooting]]
  

Latest revision as of 18:59, 2 December 2011

40px-Edit-clear.png This article requires cleanup and may refer to a legacy version of Resin.

Please visit http://www.caucho.com/documentation/ for the most up-to-date documentation.

Conflicts often arise with older or incompatible versions of classes.

Starting Resin with an empty CLASSPATH environmental variable is a first step to eliminating these classes.

win> set CLASSPATH=
win> httpd.exe
 
unix.sh> export CLASSPATH=""
unix.sh> bin/httpd.sh

If you have manually placed any jars in $RESIN_HOME/lib or your jdk directories, there may be conflicts with classes in those jars.

If a new version of Resin is installed overtop of an older version of Resin (i.e. in the same directory), some old jars might be left. It is best to give each version it's own directory.

If the RESIN_HOME environment variable is not set, Resin may be picking up an older version.

You can start httpd with the -verbose option to see the CLASSPATH that is being used when Resin is started.

Personal tools