You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Guido Jäkel (JIRA)" <ji...@apache.org> on 2008/01/09 09:22:33 UTC

[jira] Issue Comment Edited: (JCR-1291) Missing class JNDIDatabaseJournal

    [ https://issues.apache.org/jira/browse/JCR-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557177#action_12557177 ] 

gjaekel edited comment on JCR-1291 at 1/9/08 12:21 AM:
-----------------------------------------------------------


Dear Jukka,


      was (Author: gjaekel):
    
Dear Jukka,

thank you for your quick reaction.

Yes, no problem to choose the appropriate header because we intend to spread it to the community. My co-worker's did it within a quater of an hour and may (automatically) include our standart header without further considerations.


Unfortunately, even using v1.4-rc1, our main (blocking) issue haven't gone: After a breakdown of the underying database connection (due to an idle timeout or a failure) the repository is unusable because it still fails to re-establish the database connection layer.

I'll rescan the project jira for this an may open an issue ...

sincerely yours 

Guido


----------------- 
20080109-080323.749 WARN  [ajp-8009-1] [] [DatabasePersistenceManager] execute failed, about to reconnect...
20080109-080333.786 ERROR [ajp-8009-1] [] [DatabasePersistenceManager] failed to re-establish connection
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
        at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
        at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at org.apache.jackrabbit.core.persistence.db.JNDIDatabasePersistenceManager.getConnection(JNDIDatabasePersistenceManager.java:76)
        at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.initConnection(DatabasePersistenceManager.java:744)
        at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.reestablishConnection(DatabasePersistenceManager.java:823)
        at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.executeStmt(DatabasePersistenceManager.java:869)
        at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.exists(DatabasePersistenceManager.java:661)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.hasNonVirtualItemState(SharedItemStateManager.java:1108)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.hasItemState(SharedItemStateManager.java:286)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.hasItemState(LocalItemStateManager.java:178)
        at org.apache.jackrabbit.core.state.XAItemStateManager.hasItemState(XAItemStateManager.java:252)
        at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:174)
        at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:564)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)
        at org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:770)
        at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:718)
        at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:665)
        at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1987)
        at de.dNb.importService.packageManager.jcr.JcrPackageManager.newPackage(JcrPackageManager.java:85)


--  
Dr. Guido Jäkel
Deutsche Nationalbibliothek
IT SG 2.2 (Infrastruktur Unix)
Adickesallee 1 
60322 Frankfurt am Main 
Tel. +49-69-1525-1750 
Fax  +49-69-1525-1799 
mailto:g.jaekel@d-nb.de 
http://www.d-nb.de 
 

  
> Missing class JNDIDatabaseJournal
> ---------------------------------
>
>                 Key: JCR-1291
>                 URL: https://issues.apache.org/jira/browse/JCR-1291
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Guido Jäkel
>            Assignee: Jukka Zitting
>             Fix For: 1.4
>
>         Attachments: JNDIDatabaseJournal.java
>
>
> We're dealing to set up a clustered repository and run into some issues and missing features stated to be fixed in the upcoming v1.4. But while scanning the sources of the v1.4-rc1, i still can't find the class
>   JNDIDatabaseJournal (org.apache.jackrabbit.core.journal.JNDIDatabaseJournal)
> as a silbing to the classes 
>   JNDIDatabaseFileSystem (org.apache.jackrabbit.core.fs.db.JNDIDatabaseFileSystem)
> and 
>   JNDIDatabasePersistenceManager (org.apache.jackrabbit.core.persistence.db.JNDIDatabasePersistenceManager)
> The missing one you'll need to configure all parts of a repository handeled in an abstract way by (e.g one common) JNDI database resource. From the shortness and simplicity of the source code of the other ones, i think adding this missing feature takes just about an hour.
> Thank you for support

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.