directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nagaraju (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-2280) Issue : ApacheDs Server main with JDK 212 version
Date Fri, 19 Jul 2019 06:09:00 GMT
Nagaraju created DIRSERVER-2280:
-----------------------------------

             Summary: Issue : ApacheDs Server main with JDK 212 version
                 Key: DIRSERVER-2280
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2280
             Project: Directory ApacheDS
          Issue Type: Bug
            Reporter: Nagaraju


We could see that JdbmPartition.init() method is not working with the jdk 212 version. it
is throwing the following exception:

 

{{Exception in thread "main" javax.naming.NamingException: Could not initialize RecordManager
[Root exception is java.io.FileNotFoundException: ../data/system/master.db (Permission denied)]
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:181)
at org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition(DefaultPartitionNexus.java:363)
at org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:200)
at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:842)
at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:236)
at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
at javax.naming.InitialContext.init(InitialContext.java:244) at javax.naming.InitialContext.<init>(InitialContext.java:216)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101) at org.apache.directory.server.Service.init(Service.java:258)
at org.apache.directory.server.UberjarMain.main(UberjarMain.java:61) Caused by: java.io.FileNotFoundException:
../data/system/master.db (Permission denied) at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:124) at jdbm.recman.RecordFile.<init>(RecordFile.java:98)
at jdbm.recman.BaseRecordManager.<init>(BaseRecordManager.java:140) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:162)
... 12 more}}

 

 

{{If we use the jdk version 101 then it is working fine.}}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Mime
View raw message