jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dipu <dipu....@googlemail.com>
Subject Re: error PREMATURE END OF FILE IN FIRSTHOP program
Date Fri, 24 Jul 2009 11:46:29 GMT
i am sorry i don't know what that error is, i just set up a test
project and ran the FirstHop and it ran with out any issues. Remove
the repository folder and try running it again.

On Fri, Jul 24, 2009 at 12:16 PM, simer anand<simer.anand88@gmail.com> wrote:
> Thank you Dipu i saw that my commons-io-1.4.jar was missing
> then after adding it to classpath like other jars
> the repository immediately shutdowns  as soon as it starts
> with a series of bugs it shows which are shown below
>
>
>
>
>
>
>
> [sda_tr1@cad44 program_files]$ java -cp ${CLASSPATH}:. FirstHop
> 3875 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Starting
> repository...
> 4109 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem -
> LocalFileSystem initialized at path repository/repository
> 4244 [main] ERROR org.apache.jackrabbit.core.RepositoryImpl - failed to
> start Repository: failed to load persisted repository state: null
> javax.jcr.RepositoryException: failed to load persisted repository state:
> null: null
>        at
> org.apache.jackrabbit.core.RepositoryImpl.loadRootNodeId(RepositoryImpl.java:536)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:276)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:621)
>        at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:235)
>        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 FirstHop.main(FirstHop.java:22)
> Caused by: java.lang.IllegalArgumentException
>        at org.apache.jackrabbit.uuid.UUID.<init>(UUID.java:139)
>        at org.apache.jackrabbit.core.NodeId.valueOf(NodeId.java:85)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.loadRootNodeId(RepositoryImpl.java:532)
>        ... 7 more
> java.lang.IllegalArgumentException
>        at org.apache.jackrabbit.uuid.UUID.<init>(UUID.java:139)
>        at org.apache.jackrabbit.core.NodeId.valueOf(NodeId.java:85)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.loadRootNodeId(RepositoryImpl.java:532)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:276)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:621)
>        at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:235)
>        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 FirstHop.main(FirstHop.java:22)
> 4264 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Shutting down
> repository...
> 4291 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository has
> been shutdown
> Exception in thread "main" javax.jcr.RepositoryException: failed to load
> persisted repository state: null: null
>        at
> org.apache.jackrabbit.core.RepositoryImpl.loadRootNodeId(RepositoryImpl.java:536)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:276)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:621)
>        at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:235)
>        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 FirstHop.main(FirstHop.java:22)
> Caused by: java.lang.IllegalArgumentException
>        at org.apache.jackrabbit.uuid.UUID.<init>(UUID.java:139)
>        at org.apache.jackrabbit.core.NodeId.valueOf(NodeId.java:85)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.loadRootNodeId(RepositoryImpl.java:532)
>        ... 7 more
> java.lang.IllegalArgumentException
>        at org.apache.jackrabbit.uuid.UUID.<init>(UUID.java:139)
>        at org.apache.jackrabbit.core.NodeId.valueOf(NodeId.java:85)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.loadRootNodeId(RepositoryImpl.java:532)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:276)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:621)
>        at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:235)
>        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 FirstHop.main(FirstHop.java:22)
>

Mime
View raw message