Re: problem running digest.sh

2019-12-02 Thread Chris Cheshire



> On Dec 2, 2019, at 4:21 PM, Mark Thomas  wrote:
> 
> On 02/12/2019 21:07, Chris Cheshire wrote:
> 
> 
> 
>> 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: problem running digest.sh

2019-12-02 Thread Mark Thomas
On 02/12/2019 21:07, Chris Cheshire wrote:



> 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



problem running digest.sh

2019-12-02 Thread Chris Cheshire
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 ] [-e ] [-i ]
[-s ] [-k ] [-h ]


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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org