Hello Users,
I was implementing UserManagerImpl class that implements
the UserManager Interface. And then edited repository.xml in order to
include the UserManager implementing class.
as
<Security appName="Jackrabbit">
<SecurityManager
class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager"
workspaceName="security">
</SecurityManager>
<AccessManager class="auth.SimpleAccessManager">
</AccessManager>
<LoginModule class="sample.module.SampleLoginModule">
</LoginModule>
<!-- UserManager used to create new users -->
<UserManager
class="org.apache.jackrabbit.core.security.user.UserManagerImpl">
</UserManager>
</Security>
But when i executed the program then error comes like this
594 [AWT-EventQueue-0] WARN
org.apache.jackrabbit.core.config.ConfigurationErrorHandler - Warning
parsing the configuration at line 64 using system id
file:/home/sda_tr1/NetBeansProject/JLogin/repository.xml:
org.xml.sax.SAXParseException: Element type "UserManager" must be declared.
637 [AWT-EventQueue-0] WARN
org.apache.jackrabbit.core.config.ConfigurationErrorHandler - Warning
parsing the configuration at line 66 using system id
file:/home/sda_tr1/NetBeansProject/JLogin/repository.xml:
org.xml.sax.SAXParseException: The content of element type "Security" must
match "(SecurityManager?,AccessManager?,LoginModule?)".
Dec 1, 2009 11:49:57 AM org.apache.jackrabbit.core.FirstHop sim
SEVERE: null
org.apache.jackrabbit.core.config.ConfigurationException: Configuration
element PersistenceManager not found in Repository.
Why this persistence Manager bug is coming as repository is working fine
when i load it on browser?
Thanks,
simer
--
View this message in context:
http://n4.nabble.com/UserManager-Bean-confi-Doesn-t-exits-in-repository-xml-tp931945p931945.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.