You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Julio Castillo <jc...@edgenuity.com> on 2009/03/01 21:24:19 UTC

RE: 2 different Exception w/ new jackrabbit 1.5.3

Sorry, I did find my problem (I was bundling obsolete jar files with new
ones).

** julio

-----Original Message-----
From: Julio Castillo [mailto:jcastillo@edgenuity.com] 
Sent: Friday, February 27, 2009 4:24 PM
To: 'users@jackrabbit.apache.org'
Subject: 2 different Exception w/ new jackrabbit 1.5.3

I upgraded to the latest version replacing an existing 1.5.2 installation
(replacing the two 1.5.3 jar files within the jar file).

Problem 1
After restarting (using the exact same repository) I got the following
exception:

27.02.2009 14:40:33 *INFO * RepositoryImpl: initializing workspace
'default'... (RepositoryImpl.java, line 1723)
27.02.2009 14:40:33 *INFO * LocalFileSystem: LocalFileSystem initialized at
path /opt2/jackrabbit/workspaces/default (LocalFileSystem.java, line 166)
27.02.2009 14:40:33 *INFO * LocalFileSystem: LocalFileSystem initialized at
path /opt2/jackrabbit/workspaces/default/blobs (LocalFileSystem.java, line
166)
27.02.2009 14:40:33 *INFO * RepositoryImpl: workspace 'default' initialized
(RepositoryImpl.java, line 1726)
27.02.2009 14:40:34 *INFO * LocalFileSystem: LocalFileSystem initialized at
path /opt2/jackrabbit/repository/index (LocalFileSystem.java, line 166)
27.02.2009 14:40:34 *ERROR* RepositoryImpl: Failed to initialize workspace
'default' (RepositoryImpl.java, line 418)
javax.jcr.RepositoryException: Unknown format version: -4: Unknown format
version: -4: Unknown format version: -4
        at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManage
r.java:585)
        at
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:265)
        at
org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(RepositoryI
mpl.java:625)



Problem 2
I went ahead and wiped out the repository to see if I could bring it up and
got then the following different exception

27.02.2009 14:44:21 *INFO * SearchIndex: Index initialized:
/opt2/jackrabbit/workspaces/default/index Version: 2 (SearchIndex.java, line
486)
27.02.2009 14:44:21 *INFO * RepositoryImpl: Repository started
(RepositoryImpl.java, line 341)
27.02.2009 14:44:21 *INFO * RepositoryStartupServlet: Repository bound to
JNDI with name: jackrabbit.repository (RepositoryStartupServlet.java, line
452)
27.02.2009 14:44:21 *INFO * RepositoryStartupServlet:
RepositoryStartupServlet initialized. (RepositoryStartupServlet.java, line
241)
27.02.2009 14:44:21 *INFO * RepositoryAccessServlet: RepositoryAccessServlet
initialized. (RepositoryAccessServlet.java, line 98)
27.02.2009 14:44:21 *INFO * SimpleWebdavServlet: resource-path-prefix =
'/repository' (SimpleWebdavServlet.java, line 149)
27.02.2009 14:44:21 *INFO * SimpleWebdavServlet: WWW-Authenticate header =
'Basic realm="Jackrabbit Webdav Server"' (SimpleWebdavServlet.java, line
155)
27.02.2009 14:44:21 *ERROR* AbstractLoginModule: LoginModule failed to
initialize. (AbstractLoginModule.java, line 170)
javax.security.auth.callback.UnsupportedCallbackException: Unrecognized
Callback
        at
org.apache.jackrabbit.core.security.CredentialsCallbackHandler.handle(Creden
tialsCallbackHandler.java:68)
        at
org.apache.jackrabbit.core.security.authentication.AbstractLoginModule.initi
alize(AbstractLoginModule.java:121)
        at
org.apache.jackrabbit.core.security.AuthContext$Local.login(AuthContext.java
:135)

This I miss anything?

All I did is replace the 2 released jar files inside the war file:
-jcr-commons-1.5.3.jar
-core-1.5.3.jar

Thanks a bunch


Julio Castillo
Edgenuity Inc.