directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Alderson" <Martin.Alder...@salfordsoftware.co.uk>
Subject Re: ApacheDS 1.5 working replication configuration needed
Date Wed, 06 Jun 2007 10:10:54 GMT
Markus,

To start over you will need to deleted the data folder (by default this is example.com). 
By doing this you will lose all data that you had in your tree.  When you next start your
servers the data folder will be recreated with the default content.  When you say you have
"deleted the DouglasHolding partition" is that what you did?

I don't really know why it would show this error just once.  I would recommend starting over
from scratch (deleting the data folder) if you can and seeing if the error occurs again.

Martin



>>> Markus Pohle <markus.pohle@webunity.de> 05/06/2007 14:45 >>>

Hi Martin,

both ApacheDS servers have the same partition. I used the server.xml  
configuration file from apacheds3 as server.xml file in apacheds4.
Both servers have, as root entry, dc=douglasholding. So I am not sure  
about what the is when the log file says "can't find  
'0.9.2342.19200300.100.1.25=applications,0.9.2342.19200300.100.1.25=douglasholding'".

What I did right now is, that I deleted the DouglasHolding partition  
on both apacheds servers and started over. Now I can see replication  
taking place from apacheds3 to apacheds4 and vice versa.

The only thing I dont know why happened is the following: right after  
starting apacheds3 and apacheds4, I do see the following in the  
apacheds-rolling.log file on apacheds4 server:

[14:34:56] WARN  
[org.apache.directory.mitosis.service.protocol.handler.ReplicationClientProtocolHandler] -
[apacheds3.douglas-informatik.de/172.28.192.11:10390] Starting a partial replication log 

transfer.
[14:34:56] WARN  
[org.apache.directory.mitosis.service.protocol.handler.ReplicationServerProtocolHandler] -
[/172.28.192.11:4319] Unexpected  
exception.
org.apache.directory.shared.ldap.exception.LdapNameNotFoundException:  
Id for parent  
'0.9.2342.19200300.100.1.25=applications,0.9.2342.19200300.100.1.25=douglasholding' not  
found!
	at  
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.add(JdbmStore.java:1036)
	at  
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.add(JdbmPartition.java:311)
	at  
org.apache.directory.server.core.partition.DefaultPartitionNexus.add(DefaultPartitionNexus.java:699)
	at  
org.apache.directory.mitosis.operation.support.EntryUtil.createGlueEntry(EntryUtil.java:123)
	at  
org.apache.directory.mitosis.operation.support.EntryUtil.createGlueEntries(EntryUtil.java:87)
	at  
org.apache.directory.mitosis.operation.AttributeOperation.execute0(AttributeOperation.java:88)
	at  
org.apache.directory.mitosis.operation.Operation.execute(Operation.java:108)
	at  
org.apache.directory.mitosis.operation.CompositeOperation.execute0(CompositeOperation.java:172)
	at  
org.apache.directory.mitosis.operation.Operation.execute(Operation.java:108)
	at  
org.apache.directory.mitosis.service.protocol.handler.ReplicationServerContextHandler.onLogEntry(ReplicationServerContextHandler.java:193)
	at  
org.apache.directory.mitosis.service.protocol.handler.ReplicationServerContextHandler.messageReceived(ReplicationServerContextHandler.java:85)
	at  
org.apache.directory.mitosis.service.protocol.handler.ReplicationProtocolHandler.messageReceived(ReplicationProtocolHandler.java:85)
	at  
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:703)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
	at  
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
	at  
org.apache.mina.filter.LoggingFilter.messageReceived(LoggingFilter.java:97)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
	at  
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
	at  
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:60)
	at  
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:190)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
	at  
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
	at  
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:243)
	at  
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:305)
	at  
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at  
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)
[14:34:56] WARN  
[org.apache.directory.mitosis.service.protocol.handler.ReplicationServerProtocolHandler] -
[/172.28.192.11:4319] Unexpected  
exception.
org.apache.directory.shared.ldap.exception.LdapNameNotFoundException:  
Id for parent  
'0.9.2342.19200300.100.1.25=applications,0.9.2342.19200300.100.1.25=douglasholding' not  
found!
	at  
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.add(JdbmStore.java:1036)
	at  
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.add(JdbmPartition.java:311)
	at  
org.apache.directory.server.core.partition.DefaultPartitionNexus.add(DefaultPartitionNexus.java:699)
	at  
org.apache.directory.mitosis.operation.support.EntryUtil.createGlueEntry(EntryUtil.java:123)
	at  
org.apache.directory.mitosis.operation.support.EntryUtil.createGlueEntries(EntryUtil.java:87)
	at  
org.apache.directory.mitosis.operation.AttributeOperation.execute0(AttributeOperation.java:88)
	at  
org.apache.directory.mitosis.operation.Operation.execute(Operation.java:108)
	at  
org.apache.directory.mitosis.operation.CompositeOperation.execute0(CompositeOperation.java:172)
	at  
org.apache.directory.mitosis.operation.Operation.execute(Operation.java:108)
	at  
org.apache.directory.mitosis.service.protocol.handler.ReplicationServerContextHandler.onLogEntry(ReplicationServerContextHandler.java:193)
	at  
org.apache.directory.mitosis.service.protocol.handler.ReplicationServerContextHandler.messageReceived(ReplicationServerContextHandler.java:85)
	at  
org.apache.directory.mitosis.service.protocol.handler.ReplicationProtocolHandler.messageReceived(ReplicationProtocolHandler.java:85)
	at  
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:703)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
	at  
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
	at  
org.apache.mina.filter.LoggingFilter.messageReceived(LoggingFilter.java:97)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
	at  
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
	at  
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:60)
	at  
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:190)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	at  
org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
	at  
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
	at  
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:243)
	at  
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:305)
	at  
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at  
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)

But I think this is maybe because the apacheds3 server was not  
completely up and running? This error message happened only once! Is  
that possible?

Greetings
Markus



Mime
View raw message