jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shivalika <destinee...@gmail.com>
Subject exception in first hop:webapp
Date Fri, 04 Jun 2010 07:30:03 GMT

I am new to jackrabbit, & i am getting the following Exception while running
FIRST HOP on jackrabbit-webapp though netbeans 6.8

Exceptions:-
log4j:WARN No appenders could be found for logger
(org.apache.jackrabbit.core.TransientRepository).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" javax.jcr.RepositoryException: Invalid repository
configuration: repository.xml: Configuration element PersistenceManager not
found in Repository.: Configuration element PersistenceManager not found in
Repository.
        at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:240)
        at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:255)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:323)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:378)
        at hop1.Main.main(Main.java:33)
Caused by: org.apache.jackrabbit.core.config.ConfigurationException:
Configuration element PersistenceManager not found in Repository.
        at
org.apache.jackrabbit.core.config.ConfigurationParser.getElement(ConfigurationParser.java:306)
        at
org.apache.jackrabbit.core.config.ConfigurationParser.getElement(ConfigurationParser.java:274)
        at
org.apache.jackrabbit.core.config.ConfigurationParser.parseBeanConfig(ConfigurationParser.java:106)
        at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parsePersistenceManagerConfig(RepositoryConfigurationParser.java:728)
        at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:433)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:379)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:334)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:150)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:91)
        at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:234)
        ... 4 more
org.apache.jackrabbit.core.config.ConfigurationException: Configuration
element PersistenceManager not found in Repository.
        at
org.apache.jackrabbit.core.config.ConfigurationParser.getElement(ConfigurationParser.java:306)
        at
org.apache.jackrabbit.core.config.ConfigurationParser.getElement(ConfigurationParser.java:274)
        at
org.apache.jackrabbit.core.config.ConfigurationParser.parseBeanConfig(ConfigurationParser.java:106)
        at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parsePersistenceManagerConfig(RepositoryConfigurationParser.java:728)
        at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:433)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:379)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:334)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:150)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:91)
        at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:234)
        at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:255)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:323)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:378)
        at hop1.Main.main(Main.java:33)

Moreover i wanted to know,is it possible to run first hop on webapp rather
than standalone?
(http://jackrabbit.apache.org/first-hops.html documentation is based on
standalone which i followed for implementing on webapp)
I know this is an elementary question but i am new to jackrabbit.

Thanx & regards..
-- 
View this message in context: http://jackrabbit.510166.n4.nabble.com/exception-in-first-hop-webapp-tp2242786p2242786.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message