10-02-2006 08:03 PM
Hi,
After having installed LMS 2.6 I have attempted to check if there are any device updates and am experiencing an error stating
HTTP Status 500 - Internal Server Error
From Common Services->Software Center->Device Update I then select any one of the available packages and then click on 'Check for Updates' and then receive an error stating:
javax.servlet.ServletException: Servlet execution threw an exception
with the cause being:
java.lang.NoSuchFieldError: downloadDirectory
Does anyone know of which Download directory this may be referring to and where it may need to be created?
Cheers,
Grant
10-03-2006 02:00 PM
I have seen one other instance of this occurring, and it points to a bad installation. Unfortunately, the current recommendation is to completely reinstall LMS. However, if you want to try and fix this tactically, you will need to edit NMSROOT/lib/classpath/com/cisco/nm/xms/psu/conf/psu.properties. The file should look something like (at least on Solaris):
#Psu properties
#Sat Dec 06 11:19:14 GMT+05:00 2003
PsuProperties=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/psu.properties
unknownSysObjIdDb=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/deviceDB
remoteDir=/opt/CSCOpx/temp/psuinstall
destLocation=/tmp/psu
lockFile=/opt/CSCOpx/www/classpath/com/cisco/nm/xms/psu
PsuDownloadLock=/opt/CSCOpx/Psu.Lock
LogProperties=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/log4j-psu.properties
historyDB=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/historyDB
adapterDirectory=/opt/CSCOpx/www/classpath/com/cisco/nm/xms/psu/adapters
register=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/tag.properties
tempStagingDirectory=/opt/CSCOpx/temp/psu
tempInstallDownloadDir=/opt/CSCOpx/temp/psuinstall
packageRepDirectory=/opt/CSCOpx/www/classpath/com/cisco/nm/xms/psu/pkgs
JobDB=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/JobDB
cvinfoFile=cvinfo
readmeDirectory=/opt/CSCOpx/htdocs/psu
downloadDirectory=/opt/psu_download
However, even if you do fix this, there may be other things wrong with the install. A better idea would be to reinstall from scratch.
10-04-2006 02:14 PM
I have reinstalled the software and still get exactly the same problem.
10-05-2006 05:44 AM
Did you completely wipe out the old install including entries in the contents file (by running clean_system.sh)??
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide