Am 10.01.2018 um 14:43 schrieb Olaf Kock:

On 10.01.2018 12:39, Christoph P.U. Kukulies wrote:
Nonetheless still having a bit trouble with it and would like to use your suggestion, but it fails somehow
due to blanks in path name. This weirdness with blanks in paths:

C:\Program Files\Apache Software Foundation\Tomcat 7.0>SET CATALINA_HOME=c:"\Program Files\Apache Software Foundation\Tomcat 7.0"

C:\Program Files\Apache Software Foundation\Tomcat 7.0>echo %CATALINA_HOME%
c:"\Program Files\Apache Software Foundation\Tomcat 7.0"

C:\Program Files\Apache Software Foundation\Tomcat 7.0>%CATALINA_HOME%\bin\catalina.bat start "Files\Apache" kann syntaktisch an dieser Stelle nicht verarbeitet werden.

C:\Program Files\Apache Software Foundation\Tomcat 7.0>

I tried various combinations of quoting. Does anyone see the error?

From memory:

Isn't it
SET "key=value" on Windows?

Olaf
You mean, enclosed in "" ? Not necessarily. It works either.
But I'm still getting

C:\Program Files\Apache Software Foundation\Tomcat 7.0>%CATALINA_HOME%\bin\Catalina.bat start
Der Befehl "C:\Program" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

C:\Program Files\Apache Software Foundation\Tomcat 7.0>

The problem is overlaid by the following:

[2018-01-10 16:35:37] [info]  [ 6340] Commons Daemon procrun (1.0.15.0 64-bit) s
tarted
[2018-01-10 16:35:37] [info]  [ 6340] Running 'Tomcat7' Service...
[2018-01-10 16:35:37] [info]  [ 6376] Starting service...
[2018-01-10 16:35:37] [error] [ 6376] Failed creating java C:\Program Files\Java
\jdk1.8.0_111\jre\bin\server\jvm.dll
[2018-01-10 16:35:37] [error] [ 6376] Das System kann den angegebenen Pfad nicht
 finden.
[2018-01-10 16:35:37] [error] [ 6376] ServiceStart returned 1
[2018-01-10 16:35:37] [error] [ 6376] Das System kann den angegebenen Pfad nicht
 finden.
[2018-01-10 16:38:06] [info]  [ 6340] Run service finished.
[2018-01-10 16:38:06] [info]  [ 6340] Commons Daemon procrun finished


My system wide setting of JAVA_HOME is (installed recent jre today since my Java instalation jdk1.8.0.111 was hosed and
the error message is correct in this sense).

But I found that I need also jdk1.8.0_151, not only the jre. The settings in the tomcat7w configurator were still wrong. Corrected this and I'm downloading jdk1.8.0_151 right now. Some great mess must have happened, that my java and tomcat 7
installation got hosed this way.

--
Christoph


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to