Closed peterk87 closed 4 years ago
How did you install Tomcat8 and what OS are you using? On Debian stretch, there's a /etc/init.d/tomcat8
that sets the PATH
; it should be there in most Debian and Ubuntu releases.
Thanks! Adding /usr/local/bin
to PATH
in /etc/init.d/tomcat8
worked!
OS is Ubuntu 18.04.4 LTS (bionic)
Installed Tomcat with apt install tomcat8
.
Great. I'll add some notes to the readme and close this issue.
Hello, I encountered an issue where none of my Illumina sequencing runs were being scanned by runscanner even though the troubleshooting scripts worked just fine as well as the
runscanner-illumina
tool as thetomcat8
user (sudo -u tomcat8 runscanner-illumina /path/to/run
).I got the following error message in
/var/log/tomcat8/runscanner.log
:Solution
Eventually I found that the
tomcat8
user could not just runrunscanner-illumina
since it wasn't in thetomcat8
user'sPATH
env var and I needed to specify the full path torunscanner-illumina
by changing: https://github.com/miso-lims/runscanner/blob/0f40eee69a6ad1fc5b173839253b66ad7ed9262f/scanner/src/main/java/ca/on/oicr/gsi/runscanner/scanner/processor/DefaultIllumina.java#L258to
I'm sure there's a way to set the PATH env variable for the
tomcat8
user, but I wasn't able to find the proper way for Apache Tomcat 8 so I had to resort to the above fix.