[
https://issues.apache.org/jira/browse/DIRSERVER-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16888578#comment-16888578
]
Nagaraju commented on DIRSERVER-2280:
-------------------------------------
Another observation is even after installing the jdk 102 we are getting the
same exception. So assuming the files which are created by jdk 101 process are
not getting accessed with the other java versions.
> 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]