Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: jackrabbit-jca
    • Labels:
      None
    • Environment:
      oc4j 10.1.3

      Description

      I run jackrabbit jca on oc4j 10.1.3.
      First time the server is started I execute the following code on the empty repository :

      JackrabbitNodeTypeManager manager =
      (JackrabbitNodeTypeManager)session.getWorkspace().getNodeTypeManager();
      InputStream nodeTypes = this.getClass().getClassLoader().getResourceAsStream(res);
      manager.registerNodeTypes(nodeTypes, JackrabbitNodeTypeManager.TEXT_X_JCR_CND);
      session.save();

      This works fine. I can create nodes of custom type. However when restarting the server I get the following error:

      Error creating a Connection Factory from class 'org.apache.jackrabbit.jca.JCAManagedConnectionFactory'. Reason: javax.resource.ResourceException: Failed to create session: internal error: failed to read custom node type definitions stored in custom_nodetypes.xml:

      custom_nodetypes.xml exists but is empty.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Magnus Grimsell
          • Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development