This is probably an easy question, but its been a while since we updated
our ofbiz version.  We are trying to update to the latest version from the
trunk to determine what changes we need to make to our code.

When I start ofbiz after setting up the database and build, I get a JCR
LoginException and then ofbiz shuts down.

Is JackRabbit now required to run ofbiz?  If so are there some other setup
steps that I need to perform?

Thanks in advance for your help.


Brett


Here is the stack trace:


 dispatcher [auth-dispatcher] (main)^M
2012-02-20 00:57:42,294 (main) [     JCRFactoryImpl.java:159:ERROR] ^M
---- exception report
----------------------------------------------------------
Exception: javax.jcr.LoginException
Message: LoginModule could not perform authentication: null
---- cause
---------------------------------------------------------------------
Exception: javax.security.auth.login.LoginException
Message: LoginModule could not perform authentication: null
---- cause
---------------------------------------------------------------------
Exception: java.lang.NullPointerException
Message: null
---- stack trace
---------------------------------------------------------------
java.lang.NullPointerException
org.ofbiz.jcr.loader.OFBizLoginModule.login(OFBizLoginModule.java:114)
org.apache.jackrabbit.core.security.authentication.LocalAuthContext.login(LocalA
uthContext.java:86)
org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1458)
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:38
1)
org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:1
23)
org.ofbiz.jcr.loader.jackrabbit.JCRFactoryImpl.createSession(JCRFactoryImpl.java
:146)
org.ofbiz.jcr.loader.jackrabbit.JCRFactoryImpl.start(JCRFactoryImpl.java:100)
org.ofbiz.jcr.loader.JCRContainer.start(JCRContainer.java:129)
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
org.ofbiz.base.start.Start.start(Start.java:289)
org.ofbiz.base.start.Start.main(Start.java:119)
--------------------------------------------------------------------------------
^M
2012-02-20 00:57:42,357 (Thread-0) [    ContainerLoader.java:246:INFO ]
Shutting
 down containers^M
2012-02-20 00:57:42,357 (Thread-0) [  ServiceDispatcher.java:191:INFO ]
De-Regis

Reply via email to