You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Martin Holz <ho...@fiz-chemie.de> on 2003/09/16 15:11:45 UTC
Startup problem
After fixing the NPE in ObjectNode, I have an other startup problem.
java.lang.IllegalStateException: Existing binding users at / has to be removed first
at org.apache.slide.structure.ObjectNode.addBinding(ObjectNode.java:480)
at org.apache.slide.structure.ObjectNode.addChild(ObjectNode.java:460)
at org.apache.slide.structure.StructureImpl.create(StructureImpl.java:499)
at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:194)
at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:305)
at org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:126)
at org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessTokenImpl.java:317)
at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:821)
at org.apache.slide.common.EmbeddedDomain.addNamespace(EmbeddedDomain.java:230)
StructureImpl tries to add a store root node to its parent, even
if the node already exists. This will fail during startup.
In my configuration the node /users is created in Domain.xml using
<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users" >
<permission action="/actions/read" subject="+/users/authors" />
</objectnode>
and there is also a store mounted at /users.