I'm trying to run the oel_downloader.sh and getting the following error in the error.log file:
[root@patchserver patch]# cat error.log
log4j:ERROR Could not read configuration file [log4j.properties].
java.io.FileNotFoundException: log4j.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at com.bmc.sa.patchfeed.downloader.DownloaderMain.main(Unknown Source)
log4j:ERROR Ignoring configuration file [log4j.properties].
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient).
log4j:WARN Please initialize the log4j system properly.
This is an Oracle Enterprise Linux 5.5 server. I installed Java 1.6 via "yum install java" command. Initially I was getting java not found errors. So I moved the /jre and /libs folders that came with the download scripts into the same folder as my script. The java not found errors went away, but the script still isn't working.
Along with the /jre and /libs folder, there is a file called log4j.properties that I missed with the script download files that needs to be in the same directory as the script. I moved that file into that folder and it works OK.