You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Cheshire <ya...@gmail.com> on 2019/12/02 21:07:39 UTC
problem running digest.sh
tomcat 9.0.29, Debian 8, openjdk 1.8.0_232-b09
Trying to run digest.sh :
$ cd /opt/apache-tomcat/9.0.29/bin
$ ./digest.sh
Error: Could not find or load main class
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
$ CATALINA_HOME=/opt/apache-tomcat-9.0.29 ./digest.sh
Error: Could not find or load main class
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Looks like it is confusing java opts with the main class somehow.
Digging through the shell scripts and comparing to previous versions I
have floating around I found this :
$ diff tool-wrapper.sh /opt/apache-tomcat-9.0.19/bin/tool-wrapper.sh
149c149
< exec "$_RUNJAVA" "$JAVA_OPTS" $TOOL_OPTS \
---
> exec "$_RUNJAVA" $JAVA_OPTS $TOOL_OPTS \
If I unquote JAVA_OPTS it works properly :
$ ./digest.sh
Usage: RealmBase [-a <algorithm>] [-e <encoding>] [-i <iterations>]
[-s <salt-length>] [-k <key-length>] [-h <handler-class-name>]
<credentials>
I don't know enough about the scripts though to know whether the
unquoting is breaking anything else. It didn't seem to affect
start/stop via catalina.sh however.
File on bugzilla?
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: problem running digest.sh
Posted by Chris Cheshire <ya...@gmail.com>.
> On Dec 2, 2019, at 4:21 PM, Mark Thomas <ma...@apache.org> wrote:
>
> On 02/12/2019 21:07, Chris Cheshire wrote:
>
> <snip/>
>
>> File on bugzilla?
>
> No need. It is https://bz.apache.org/bugzilla/show_bug.cgi?id=63815
>
> It is fixed as far as we can until the jdg issue is fixed.
>
> Mark
My search-fu is not very good, I didn’t find anything when I looked first.
Cheers :)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: problem running digest.sh
Posted by Mark Thomas <ma...@apache.org>.
On 02/12/2019 21:07, Chris Cheshire wrote:
<snip/>
> File on bugzilla?
No need. It is https://bz.apache.org/bugzilla/show_bug.cgi?id=63815
It is fixed as far as we can until the jdg issue is fixed.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org