Likely a file protection issue.
Ron
On 2021-01-15 8:21 a.m., Filip Lauwyck wrote:
Hello Emmanuel,
I have tried Redhat java-1.8.0-openjdk-1.8.0.275-1 and Oracle jre1.8.0_202 but
the problem remained.
Now I was think that probably the Windows 2016 platform had to do with it, so I
changed the user of the service to an local administrator account instead of
using the Local System Account and now the service starts. The problem seems to
be caused by the Local System Account.
Thank you for the help, now I can continue my exploration of ApacheDS. 😊
Filip.
-----Original Message-----
From: Emmanuel Lécharny <[email protected]>
Sent: Thursday, 14 January 2021 19:37
To: [email protected]
Subject: Re: ApacheDS on windows 2016 with OpenJDK
Hi Filip,
I stro,ngly suggest you try with an oldest version of Java, like Java 8 or Java
11.
We haven't yet validated Java 14.
On 14/01/2021 14:26, Filip Lauwyck wrote:
Hello,
I am completely new to ApacheDS and want to learn it.
I have installed ApacheDS (apacheds-2.0.0.AM26.exe) in the "D:\Program Files
(x86)\ApacheDS" folder.
Using OpenJDK_14.0.1_Build_7.paf.exe (OpenJDK 32 bit 14.0.1) in the "D:\Program
Files (x86)\OpenJDK" folder.
On a test windows 2016 server.
But I am not able to start the service, the following error is returned:
STATUS | wrapper | 2021/01/14 11:31:56 | --> Wrapper Started as Service
STATUS | wrapper | 2021/01/14 11:31:56 | Launching a JVM...
INFO | jvm 1 | 2021/01/14 11:31:57 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2021/01/14 11:31:57 | Copyright 1999-2006 Tanuki
Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2021/01/14 11:31:57 |
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.DefaultAttribute] -
ERR_13207_VALUE_ALREADY_EXISTS The value '1.3.6.1.4.1.42.2.27.8.5.1' already
exists in the attribute (supportedControl)
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.DefaultAttribute] -
ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.841' already
exists in the attribute (supportedControl)
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.DefaultAttribute] -
ERR_13207_VALUE_ALREADY_EXISTS The value '1.3.6.1.4.1.4203.1.9.1.2' already
exists in the attribute (supportedControl)
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.DefaultAttribute] -
ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.319' already
exists in the attribute (supportedControl)
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.DefaultAttribute] -
ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.528' already
exists in the attribute (supportedControl)
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] WARN
[org.apache.directory.server.core.DefaultDirectoryService] - You didn't change
the admin password of directory service instance 'default'. Please update the
admin password as soon as possible to prevent a possible security breach.
INFO | jvm 1 | 2021/01/14 11:32:00 | [11:32:00] ERROR
[org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start
the service.
INFO | jvm 1 | 2021/01/14 11:32:00 | java.nio.file.NoSuchFileException:
C:\Windows\system32\config\systemprofile\AppData\Local\Temp\tempks13410615595223342381ks
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/java.nio.file.Files.newByteChannel(Files.java:375)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/java.nio.file.Files.createFile(Files.java:652)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:137)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:160)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
java.base/java.nio.file.Files.createTempFile(Files.java:917)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
org.apache.directory.server.core.security.CertificateUtil.createTempKeyStore(CertificateUtil.java:318)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:219)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:152)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:175)
INFO | jvm 1 | 2021/01/14 11:32:00 | at
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
STATUS | wrapper | 2021/01/14 11:32:02 | <-- Wrapper Stopped
In the meantime I have:
- Created the Temp folder in
"C:\Windows\System32\config\systemprofile\AppData\Local\"
- Added JAVA_HOME=D:\Program Files (x86)\OpenJDK
But it still does not work.
Any help is appreciated.
Filip
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]