You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by seemamani <se...@gmail.com> on 2008/11/19 19:51:25 UTC

Jackrabbit clustering Questions

I'm using Drools 4.0.7 BRMS application which internally uses Jackrabbit 1.3.
The application is deployed in a WAS 6.1 cluster and the database is Oracle
9i. I have followed the instructions in the wiki page on Jackrabbit
clustering. My repository.xml is at the bottom of this post. I have the
following questions.

1. I'm getting the following exception, even though I tried clearing the db,
repository and then restarting the server. 
javax.jcr.RepositoryException: failed to write bundle:
deadbeef-face-babe-cafe-babecafebabe: failed to write bundle:
deadbeef-face-babe-cafe-babecafebabe
java.lang.IllegalStateException: Unable to insert index:
java.sql.SQLException: ORA-01400: cannot insert NULL into
("ADESA_BRMS"."VERSION_PM_NAMES"."ID")

This link talks about a patch, can someone confirm if this was the fix and
in which release it has gone?
http://www.nabble.com/Using-oracle-bundle-PM-td10738707.html#a10738707

2. OracleDatabaseJournal class was not part of JackRabbit 1.3, so I used
DatabaseJournal, could that be a problem?

3. According to the clustering documentation, one should set the parameter
externalBLOBs to false in order to store BLOBs in the database as well.
However, I get an error saying that Oracle9PersistenceManager does not have
such a property. Looking at the code of the class, I feel that this property
is false by default. Then do I really need to set this to false?

4. According to the clustering documentation, the cluster id needs to be
unique on a node. In my case, I have 2 server instances running on each WAS
node which is a physical machine. That means the 2 server instances will
share the same repository.xml, and the cluster id would be the same for
them. How to handle this?

Thanks,
Seema


<Repository>
    <!--
        virtual file system where the repository stores global state
        (e.g. registered namespaces, custom node types, etc.)
    -->
    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
        
    </FileSystem> 
	

    <!--
        security configuration
    -->
    <Security appName="Jackrabbit">
        <!--
            access manager:
            class: FQN of class implementing the AccessManager interface
        -->
        <AccessManager
class="org.apache.jackrabbit.core.security.SimpleAccessManager">
            <!--  -->
        </AccessManager>

        <LoginModule
class="org.apache.jackrabbit.core.security.SimpleLoginModule">
           <!-- anonymous user name ('anonymous' is the default value) -->
           
           <!--
              default user name to be used instead of the anonymous user
              when no login credentials are provided (unset by default)
           -->
           <!--  -->
        </LoginModule>
    </Security>

    <!--
        location of workspaces root directory and name of default workspace
    -->
    <Workspaces rootPath="${rep.home}/workspaces"
defaultWorkspace="default"/>
    <!--
        workspace configuration template:
        used to create the initial workspace if there's no workspace yet
    -->
    <Workspace name="${wsp.name}">
        <!--
            virtual file system of the workspace:
            class: FQN of class implementing the FileSystem interface
        -->
   <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            
    </FileSystem> 

	<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.Oracle9PersistenceManager"> 
             
			
			
			
			<!--   --> 
    </PersistenceManager> 
		
        <!--
            Search index and the file system it uses.
            class: FQN of class implementing the QueryHandler interface
        -->
        <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
            
        </SearchIndex>
    </Workspace>

    <!--
        Configures the versioning
    -->
    <Versioning rootPath="${rep.home}/version">
        <!--
            Configures the filesystem to use for versioning for the
respective
            persistence manager
        -->
       <FileSystem
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            
        </FileSystem> 
		

		<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.Oracle9PersistenceManager"> 
             
			
			
			
  	    </PersistenceManager> 
    </Versioning>

    <!--
        Search index for content that is shared repository wide
        (/jcr:system tree, contains mainly versions)
    -->
    <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
        
    </SearchIndex>
	
	<Cluster id="node235">
		<Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
			
			
			
			
			
			
		</Journal>
	</Cluster>

</Repository>

-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20586637.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
My problem was the same as the one in this post.
http://www.nabble.com/clustering-problems---Jackrabbit-1.4-td20664544.html
The solution mentioned there worked for me also, after I copied the
repository contents in the file system of the first node to the other two
nodes. 

Thanks,
Seema
-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20680173.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
I also removed the contents of the file repository home directory except for
the repository.xml 
Is there anything else to be done to ensure that the cluster nodes would be
created fresh?

Thanks,
Seema
-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20672952.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
Before starting the server, I always drop the tables and sequences that were
previously created.

Thanks,
Seema
-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20672867.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by sl...@excilys.com.
As you've migrated from 1.3 to 1.4, did you make sure you started with a
fresh DB schema?

Le Lun 24 novembre 2008 18:15, seemamani a écrit :
>

> When my second instance starts up, I get the following error. Now I'm
> using JackRabbit 1.4
>
>
> Thanks,
> Seema
>
>
> [11/24/08 22:36:52:953 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:52,952 (BundleDbPersistenceManager.java:loadBundle:1228) 	 failed to
>  read bundle: cafebabe-cafe-babe-cafe-babecafebabe:
> java.lang.IllegalStateException: URIIndex not valid?
> javax.jcr.NamespaceException: URI for index 11 not registered.
> [11/24/08 22:36:53:079 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,079 (ConnectionRecoveryManager.java:logException:447) 	 could not
>  execute statement, reason: ORA-00001: unique constraint
> (ADESA_BRMS.DEFAULT_PM_SERVERBUNDLE_IDX) violated
> , state/code: 23000/1
> [11/24/08 22:36:53:084 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,082 (Oracle9PersistenceManager.java:storeBundle:127) 	 failed to
> write bundle: deadbeef-cafe-babe-cafe-babecafebabe java.sql.SQLException:
> ORA-00001: unique constraint
> (ADESA_BRMS.DEFAULT_PM_SERVERBUNDLE_IDX) violated
>
>
> at
> oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112
> )
> at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at
> oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
> at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745) at
> oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java
> :216)
> at
> oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStateme
> nt.java:966)
> at
> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.j
> ava:1170)
> at
> oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrepared
> Statement.java:3339)
> at
> oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatemen
> t.java:3445)
> at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMana
> ger.executeStmtInternal(ConnectionRecoveryManager.java:365)
> at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMana
> ger.executeStmtInternal(ConnectionRecoveryManager.java:292)
> at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMana
> ger.executeStmt(ConnectionRecoveryManager.java:257)
> at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMana
> ger.executeStmt(ConnectionRecoveryManager.java:237)
> at
> org.apache.jackrabbit.core.persistence.bundle.Oracle9PersistenceManager.s
> toreBundle(Oracle9PersistenceManager.java:124)
> at
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceMa
> nager.putBundle(AbstractBundlePersistenceManager.java:703)
> at
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceMa
> nager.store(AbstractBundlePersistenceManager.java:643)
> at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.
> store(BundleDbPersistenceManager.java:526)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeSta
> te(SharedItemStateManager.java:1084)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItem
> StateManager.java:194)
> at
> org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(Reposito
> ryImpl.java:1201)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo
> sitoryImpl.java:1753)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Reposi
> toryImpl.java:1724)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.ja
> va:576)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(Repositor
> yImpl.java:415)
> at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
>  at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
>  at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientR
> epository.java:245)
> at
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientR
> epository.java:265)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:333)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:363)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSessio
> n(BRMSRepositoryConfiguration.java:92)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BR
> MSRepositoryConfiguration.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationCont
> ext.java:31)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:56)
> at
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInter
> ceptor.java:28)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextIn
> terceptor.java:44)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
>  at
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBean
> Interceptor.java:166)
> at
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.j
> ava:102)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javass
> ist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126) at
> org.jboss.seam.Component.callComponentMethod(Component.java:2146)
> at org.jboss.seam.Component.callCreateMethod(Component.java:2069) at
> org.jboss.seam.Component.newInstance(Component.java:2029)
> at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at
> org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
> at
> org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecyc
> le.java:95)
> at org.jboss.seam.init.Initialization.init(Initialization.java:638) at
> org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:
> 34)
> at
> com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebAp
> p.java:605)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.j
> ava:265)
> at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271) at
> com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java
> :88)
> at
> com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:
> 157)
> at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
>  at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.jav
> a:606)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerIm
> pl.java:333)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl
> .java:549)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.
> java:1295)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectSt
> art(DeployedApplicationImpl.java:1129)
> at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.
> java:567)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplic
> ationImpl.java:814)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicat
> ionMgrImpl.java:948)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(Applic
> ationMgrImpl.java:2114)
> at
> com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(Ws
> ComponentImpl.java:340)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) [11/24/08
> 22:36:53:089 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,089 (BundleDbPersistenceManager.java:logException:1478)
> rollback failed [11/24/08 22:36:53:090 IST] 00000028 SystemOut     O ERROR
> 24-11
> 22:36:53,089 (BundleDbPersistenceManager.java:logException:1480)
> Reason: Closed Connection
> [11/24/08 22:36:53:090 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,090 (BundleDbPersistenceManager.java:logException:1481)
> State/Code: null/17008
> [11/24/08 22:36:53:666 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,665 (ConnectionRecoveryManager.java:logException:447) 	 could not
>  execute statement, reason: ORA-00001: unique constraint
> (ADESA_BRMS.DEFAULT_PM_SERVERBUNDLE_IDX) violated
> , state/code: 23000/1
> [11/24/08 22:36:53:668 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,667 (Oracle9PersistenceManager.java:storeBundle:127) 	 failed to
> write bundle: deadbeef-cafe-babe-cafe-babecafebabe java.sql.SQLException:
> ORA-00001: unique constraint
> (ADESA_BRMS.DEFAULT_PM_SERVERBUNDLE_IDX) violated
>
>
> at
> oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112
> )
> at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at
> oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
> at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745) at
> oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java
> :216)
> at
> oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStateme
> nt.java:966)
> at
> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.j
> ava:1170)
> at
> oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrepared
> Statement.java:3339)
> at
> oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatemen
> t.java:3445)
> at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMana
> ger.executeStmtInternal(ConnectionRecoveryManager.java:365)
> at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMana
> ger.executeStmtInternal(ConnectionRecoveryManager.java:292)
> at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMana
> ger.executeStmt(ConnectionRecoveryManager.java:257)
> at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMana
> ger.executeStmt(ConnectionRecoveryManager.java:237)
> at
> org.apache.jackrabbit.core.persistence.bundle.Oracle9PersistenceManager.s
> toreBundle(Oracle9PersistenceManager.java:124)
> at
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceMa
> nager.putBundle(AbstractBundlePersistenceManager.java:703)
> at
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceMa
> nager.store(AbstractBundlePersistenceManager.java:643)
> at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.
> store(BundleDbPersistenceManager.java:526)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeSta
> te(SharedItemStateManager.java:1084)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItem
> StateManager.java:194)
> at
> org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(Reposito
> ryImpl.java:1201)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo
> sitoryImpl.java:1753)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Reposi
> toryImpl.java:1724)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.ja
> va:576)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(Repositor
> yImpl.java:415)
> at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
>  at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
>  at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientR
> epository.java:245)
> at
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientR
> epository.java:265)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:333)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:363)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSessio
> n(BRMSRepositoryConfiguration.java:92)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BR
> MSRepositoryConfiguration.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationCont
> ext.java:31)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:56)
> at
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInter
> ceptor.java:28)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextIn
> terceptor.java:44)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
>  at
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBean
> Interceptor.java:166)
> at
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.j
> ava:102)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javass
> ist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126) at
> org.jboss.seam.Component.callComponentMethod(Component.java:2146)
> at org.jboss.seam.Component.callCreateMethod(Component.java:2069) at
> org.jboss.seam.Component.newInstance(Component.java:2029)
> at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at
> org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
> at
> org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecyc
> le.java:95)
> at org.jboss.seam.init.Initialization.init(Initialization.java:638) at
> org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:
> 34)
> at
> com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebAp
> p.java:605)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.j
> ava:265)
> at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271) at
> com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java
> :88)
> at
> com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:
> 157)
> at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
>  at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.jav
> a:606)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerIm
> pl.java:333)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl
> .java:549)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.
> java:1295)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectSt
> art(DeployedApplicationImpl.java:1129)
> at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.
> java:567)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplic
> ationImpl.java:814)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicat
> ionMgrImpl.java:948)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(Applic
> ationMgrImpl.java:2114)
> at
> com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(Ws
> ComponentImpl.java:340)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) [11/24/08
> 22:36:53:669 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,668 (BundleDbPersistenceManager.java:logException:1478)
> rollback failed [11/24/08 22:36:53:669 IST] 00000028 SystemOut     O ERROR
> 24-11
> 22:36:53,669 (BundleDbPersistenceManager.java:logException:1480)
> Reason: Closed Connection
> [11/24/08 22:36:53:670 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,669 (BundleDbPersistenceManager.java:logException:1481)
> State/Code: null/17008
> [11/24/08 22:36:53:671 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,670 (RepositoryImpl.java:initStartupWorkspaces:418) 	 Failed to
> initialize workspace 'default' javax.jcr.RepositoryException: failed to
> instantiate shared item state manager: failed to write bundle:
> deadbeef-cafe-babe-cafe-babecafebabe:
> failed to write bundle: deadbeef-cafe-babe-cafe-babecafebabe at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo
> sitoryImpl.java:1771)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Reposi
> toryImpl.java:1724)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.ja
> va:576)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(Repositor
> yImpl.java:415)
> at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
>  at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
>  at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientR
> epository.java:245)
> at
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientR
> epository.java:265)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:333)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:363)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSessio
> n(BRMSRepositoryConfiguration.java:92)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BR
> MSRepositoryConfiguration.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationCont
> ext.java:31)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:56)
> at
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInter
> ceptor.java:28)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextIn
> terceptor.java:44)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
>  at
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBean
> Interceptor.java:166)
> at
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.j
> ava:102)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javass
> ist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126) at
> org.jboss.seam.Component.callComponentMethod(Component.java:2146)
> at org.jboss.seam.Component.callCreateMethod(Component.java:2069) at
> org.jboss.seam.Component.newInstance(Component.java:2029)
> at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at
> org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
> at
> org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecyc
> le.java:95)
> at org.jboss.seam.init.Initialization.init(Initialization.java:638) at
> org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:
> 34)
> at
> com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebAp
> p.java:605)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.j
> ava:265)
> at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271) at
> com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java
> :88)
> at
> com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:
> 157)
> at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
>  at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.jav
> a:606)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerIm
> pl.java:333)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl
> .java:549)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.
> java:1295)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectSt
> art(DeployedApplicationImpl.java:1129)
> at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.
> java:567)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplic
> ationImpl.java:814)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicat
> ionMgrImpl.java:948)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(Applic
> ationMgrImpl.java:2114)
> at
> com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(Ws
> ComponentImpl.java:340)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) Caused by:
> org.apache.jackrabbit.core.state.ItemStateException: failed to write
> bundle:
> deadbeef-cafe-babe-cafe-babecafebabe at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.
> store(BundleDbPersistenceManager.java:546)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeSta
> te(SharedItemStateManager.java:1084)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItem
> StateManager.java:194)
> at
> org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(Reposito
> ryImpl.java:1201)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo
> sitoryImpl.java:1753)
> ... 57 more
> org.apache.jackrabbit.core.state.ItemStateException: failed to write
> bundle:
> deadbeef-cafe-babe-cafe-babecafebabe at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.
> store(BundleDbPersistenceManager.java:546)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeSta
> te(SharedItemStateManager.java:1084)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItem
> StateManager.java:194)
> at
> org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(Reposito
> ryImpl.java:1201)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo
> sitoryImpl.java:1753)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Reposi
> toryImpl.java:1724)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.ja
> va:576)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(Repositor
> yImpl.java:415)
> at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
>  at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
>  at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientR
> epository.java:245)
> at
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientR
> epository.java:265)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:333)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:363)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSessio
> n(BRMSRepositoryConfiguration.java:92)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BR
> MSRepositoryConfiguration.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationCont
> ext.java:31)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:56)
> at
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInter
> ceptor.java:28)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextIn
> terceptor.java:44)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
>  at
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBean
> Interceptor.java:166)
> at
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.j
> ava:102)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javass
> ist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126) at
> org.jboss.seam.Component.callComponentMethod(Component.java:2146)
> at org.jboss.seam.Component.callCreateMethod(Component.java:2069) at
> org.jboss.seam.Component.newInstance(Component.java:2029)
> at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at
> org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
> at
> org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecyc
> le.java:95)
> at org.jboss.seam.init.Initialization.init(Initialization.java:638) at
> org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:
> 34)
> at
> com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebAp
> p.java:605)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.j
> ava:265)
> at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271) at
> com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java
> :88)
> at
> com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:
> 157)
> at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
>  at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.jav
> a:606)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerIm
> pl.java:333)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl
> .java:549)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.
> java:1295)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectSt
> art(DeployedApplicationImpl.java:1129)
> at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.
> java:567)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplic
> ationImpl.java:814)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicat
> ionMgrImpl.java:948)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(Applic
> ationMgrImpl.java:2114)
> at
> com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(Ws
> ComponentImpl.java:340)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) [11/24/08
> 22:36:53:672 IST] 00000028 SystemOut     O ERROR 24-11
> 22:36:53,671 (RepositoryImpl.java:initStartupWorkspaces:419) 	 Unable to
> start repository, forcing shutdown... [11/24/08 22:36:53:676 IST] 00000028
> SystemOut     O ERROR 24-11
> 22:36:53,675 (RepositoryImpl.java:<init>:343) 	 failed to start
> Repository:
> failed to instantiate shared item state manager: failed to write bundle:
> deadbeef-cafe-babe-cafe-babecafebabe javax.jcr.RepositoryException: failed
> to instantiate shared item state manager: failed to write bundle:
> deadbeef-cafe-babe-cafe-babecafebabe:
> failed to write bundle: deadbeef-cafe-babe-cafe-babecafebabe at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo
> sitoryImpl.java:1771)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Reposi
> toryImpl.java:1724)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.ja
> va:576)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(Repositor
> yImpl.java:415)
> at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
>  at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
>  at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientR
> epository.java:245)
> at
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientR
> epository.java:265)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:333)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:363)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSessio
> n(BRMSRepositoryConfiguration.java:92)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BR
> MSRepositoryConfiguration.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationCont
> ext.java:31)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:56)
> at
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInter
> ceptor.java:28)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextIn
> terceptor.java:44)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
>  at
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBean
> Interceptor.java:166)
> at
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.j
> ava:102)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javass
> ist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126) at
> org.jboss.seam.Component.callComponentMethod(Component.java:2146)
> at org.jboss.seam.Component.callCreateMethod(Component.java:2069) at
> org.jboss.seam.Component.newInstance(Component.java:2029)
> at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at
> org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
> at
> org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecyc
> le.java:95)
> at org.jboss.seam.init.Initialization.init(Initialization.java:638) at
> org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:
> 34)
> at
> com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebAp
> p.java:605)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.j
> ava:265)
> at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271) at
> com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java
> :88)
> at
> com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:
> 157)
> at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
>  at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.jav
> a:606)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerIm
> pl.java:333)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl
> .java:549)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.
> java:1295)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectSt
> art(DeployedApplicationImpl.java:1129)
> at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.
> java:567)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplic
> ationImpl.java:814)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicat
> ionMgrImpl.java:948)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(Applic
> ationMgrImpl.java:2114)
> at
> com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(Ws
> ComponentImpl.java:340)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) Caused by:
> org.apache.jackrabbit.core.state.ItemStateException: failed to write
> bundle:
> deadbeef-cafe-babe-cafe-babecafebabe at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.
> store(BundleDbPersistenceManager.java:546)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeSta
> te(SharedItemStateManager.java:1084)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItem
> StateManager.java:194)
> at
> org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(Reposito
> ryImpl.java:1201)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo
> sitoryImpl.java:1753)
> ... 57 more
> org.apache.jackrabbit.core.state.ItemStateException: failed to write
> bundle:
> deadbeef-cafe-babe-cafe-babecafebabe at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.
> store(BundleDbPersistenceManager.java:546)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeSta
> te(SharedItemStateManager.java:1084)
> at
> org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItem
> StateManager.java:194)
> at
> org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(Reposito
> ryImpl.java:1201)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo
> sitoryImpl.java:1753)
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Reposi
> toryImpl.java:1724)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.ja
> va:576)
> at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(Repositor
> yImpl.java:415)
> at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
>  at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
>  at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientR
> epository.java:245)
> at
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientR
> epository.java:265)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:333)
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:363)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSessio
> n(BRMSRepositoryConfiguration.java:92)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BR
> MSRepositoryConfiguration.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationCont
> ext.java:31)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:56)
> [11/24/08 22:36:53:676 IST] 00000028 SystemOut     O 	at
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterc
> eptor.java:28)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextIn
> terceptor.java:44)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCont
> ext.java:68)
> at
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
>  at
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBean
> Interceptor.java:166)
> at
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.j
> ava:102)
> at
> org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javass
> ist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:618) at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126) at
> org.jboss.seam.Component.callComponentMethod(Component.java:2146)
> at org.jboss.seam.Component.callCreateMethod(Component.java:2069) at
> org.jboss.seam.Component.newInstance(Component.java:2029)
> at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at
> org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
> at
> org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecyc
> le.java:95)
> at org.jboss.seam.init.Initialization.init(Initialization.java:638) at
> org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:
> 34)
> at
> com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebAp
> p.java:605)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.j
> ava:265)
> at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271) at
> com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java
> :88)
> at
> com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:
> 157)
> at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
>  at
> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.jav
> a:606)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerIm
> pl.java:333)
> at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl
> .java:549)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.
> java:1295)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectSt
> art(DeployedApplicationImpl.java:1129)
> at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.
> java:567)
> at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplic
> ationImpl.java:814)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicat
> ionMgrImpl.java:948)
> at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(Applic
> ationMgrImpl.java:2114)
> at
> com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(Ws
> ComponentImpl.java:340)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
>
> --
> View this message in context:
> http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20665269
> .html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>
>



Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
When my second instance starts up, I get the following error. Now I'm using
JackRabbit 1.4

Thanks,
Seema

[11/24/08 22:36:52:953 IST] 00000028 SystemOut     O ERROR 24-11
22:36:52,952 (BundleDbPersistenceManager.java:loadBundle:1228) 	 failed to
read bundle: cafebabe-cafe-babe-cafe-babecafebabe:
java.lang.IllegalStateException: URIIndex not valid?
javax.jcr.NamespaceException: URI for index 11 not registered.
[11/24/08 22:36:53:079 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,079 (ConnectionRecoveryManager.java:logException:447) 	 could not
execute statement, reason: ORA-00001: unique constraint
(ADESA_BRMS.DEFAULT_PM_SERVERBUNDLE_IDX) violated
, state/code: 23000/1
[11/24/08 22:36:53:084 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,082 (Oracle9PersistenceManager.java:storeBundle:127) 	 failed to
write bundle: deadbeef-cafe-babe-cafe-babecafebabe
java.sql.SQLException: ORA-00001: unique constraint
(ADESA_BRMS.DEFAULT_PM_SERVERBUNDLE_IDX) violated

	at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
	at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
	at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
	at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:966)
	at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
	at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
	at
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3445)
	at
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:365)
	at
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:292)
	at
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:257)
	at
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:237)
	at
org.apache.jackrabbit.core.persistence.bundle.Oracle9PersistenceManager.storeBundle(Oracle9PersistenceManager.java:124)
	at
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.putBundle(AbstractBundlePersistenceManager.java:703)
	at
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.store(AbstractBundlePersistenceManager.java:643)
	at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:526)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeState(SharedItemStateManager.java:1084)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItemStateManager.java:194)
	at
org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(RepositoryImpl.java:1201)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1753)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1724)
	at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:576)
	at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
	at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSession(BRMSRepositoryConfiguration.java:92)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BRMSRepositoryConfiguration.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javassist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2146)
	at org.jboss.seam.Component.callCreateMethod(Component.java:2069)
	at org.jboss.seam.Component.newInstance(Component.java:2029)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
	at
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
	at org.jboss.seam.init.Initialization.init(Initialization.java:638)
	at
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
	at
com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
	at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
	at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
	at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
	at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
	at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
	at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
[11/24/08 22:36:53:089 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,089 (BundleDbPersistenceManager.java:logException:1478) 	 rollback
failed
[11/24/08 22:36:53:090 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,089 (BundleDbPersistenceManager.java:logException:1480) 	       
Reason: Closed Connection
[11/24/08 22:36:53:090 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,090 (BundleDbPersistenceManager.java:logException:1481) 	   
State/Code: null/17008
[11/24/08 22:36:53:666 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,665 (ConnectionRecoveryManager.java:logException:447) 	 could not
execute statement, reason: ORA-00001: unique constraint
(ADESA_BRMS.DEFAULT_PM_SERVERBUNDLE_IDX) violated
, state/code: 23000/1
[11/24/08 22:36:53:668 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,667 (Oracle9PersistenceManager.java:storeBundle:127) 	 failed to
write bundle: deadbeef-cafe-babe-cafe-babecafebabe
java.sql.SQLException: ORA-00001: unique constraint
(ADESA_BRMS.DEFAULT_PM_SERVERBUNDLE_IDX) violated

	at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
	at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
	at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
	at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:966)
	at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
	at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
	at
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3445)
	at
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:365)
	at
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:292)
	at
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:257)
	at
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:237)
	at
org.apache.jackrabbit.core.persistence.bundle.Oracle9PersistenceManager.storeBundle(Oracle9PersistenceManager.java:124)
	at
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.putBundle(AbstractBundlePersistenceManager.java:703)
	at
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.store(AbstractBundlePersistenceManager.java:643)
	at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:526)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeState(SharedItemStateManager.java:1084)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItemStateManager.java:194)
	at
org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(RepositoryImpl.java:1201)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1753)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1724)
	at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:576)
	at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
	at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSession(BRMSRepositoryConfiguration.java:92)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BRMSRepositoryConfiguration.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javassist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2146)
	at org.jboss.seam.Component.callCreateMethod(Component.java:2069)
	at org.jboss.seam.Component.newInstance(Component.java:2029)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
	at
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
	at org.jboss.seam.init.Initialization.init(Initialization.java:638)
	at
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
	at
com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
	at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
	at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
	at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
	at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
	at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
	at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
[11/24/08 22:36:53:669 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,668 (BundleDbPersistenceManager.java:logException:1478) 	 rollback
failed
[11/24/08 22:36:53:669 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,669 (BundleDbPersistenceManager.java:logException:1480) 	       
Reason: Closed Connection
[11/24/08 22:36:53:670 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,669 (BundleDbPersistenceManager.java:logException:1481) 	   
State/Code: null/17008
[11/24/08 22:36:53:671 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,670 (RepositoryImpl.java:initStartupWorkspaces:418) 	 Failed to
initialize workspace 'default'
javax.jcr.RepositoryException: failed to instantiate shared item state
manager: failed to write bundle: deadbeef-cafe-babe-cafe-babecafebabe:
failed to write bundle: deadbeef-cafe-babe-cafe-babecafebabe
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1771)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1724)
	at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:576)
	at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
	at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSession(BRMSRepositoryConfiguration.java:92)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BRMSRepositoryConfiguration.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javassist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2146)
	at org.jboss.seam.Component.callCreateMethod(Component.java:2069)
	at org.jboss.seam.Component.newInstance(Component.java:2029)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
	at
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
	at org.jboss.seam.init.Initialization.init(Initialization.java:638)
	at
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
	at
com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
	at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
	at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
	at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
	at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
	at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
	at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Caused by: 
org.apache.jackrabbit.core.state.ItemStateException: failed to write bundle:
deadbeef-cafe-babe-cafe-babecafebabe
	at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeState(SharedItemStateManager.java:1084)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItemStateManager.java:194)
	at
org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(RepositoryImpl.java:1201)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1753)
	... 57 more
org.apache.jackrabbit.core.state.ItemStateException: failed to write bundle:
deadbeef-cafe-babe-cafe-babecafebabe
	at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeState(SharedItemStateManager.java:1084)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItemStateManager.java:194)
	at
org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(RepositoryImpl.java:1201)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1753)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1724)
	at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:576)
	at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
	at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSession(BRMSRepositoryConfiguration.java:92)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BRMSRepositoryConfiguration.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javassist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2146)
	at org.jboss.seam.Component.callCreateMethod(Component.java:2069)
	at org.jboss.seam.Component.newInstance(Component.java:2029)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
	at
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
	at org.jboss.seam.init.Initialization.init(Initialization.java:638)
	at
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
	at
com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
	at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
	at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
	at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
	at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
	at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
	at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
[11/24/08 22:36:53:672 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,671 (RepositoryImpl.java:initStartupWorkspaces:419) 	 Unable to
start repository, forcing shutdown...
[11/24/08 22:36:53:676 IST] 00000028 SystemOut     O ERROR 24-11
22:36:53,675 (RepositoryImpl.java:<init>:343) 	 failed to start Repository:
failed to instantiate shared item state manager: failed to write bundle:
deadbeef-cafe-babe-cafe-babecafebabe
javax.jcr.RepositoryException: failed to instantiate shared item state
manager: failed to write bundle: deadbeef-cafe-babe-cafe-babecafebabe:
failed to write bundle: deadbeef-cafe-babe-cafe-babecafebabe
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1771)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1724)
	at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:576)
	at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
	at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSession(BRMSRepositoryConfiguration.java:92)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BRMSRepositoryConfiguration.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javassist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2146)
	at org.jboss.seam.Component.callCreateMethod(Component.java:2069)
	at org.jboss.seam.Component.newInstance(Component.java:2029)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
	at
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
	at org.jboss.seam.init.Initialization.init(Initialization.java:638)
	at
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
	at
com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
	at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
	at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
	at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
	at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
	at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
	at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Caused by: 
org.apache.jackrabbit.core.state.ItemStateException: failed to write bundle:
deadbeef-cafe-babe-cafe-babecafebabe
	at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeState(SharedItemStateManager.java:1084)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItemStateManager.java:194)
	at
org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(RepositoryImpl.java:1201)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1753)
	... 57 more
org.apache.jackrabbit.core.state.ItemStateException: failed to write bundle:
deadbeef-cafe-babe-cafe-babecafebabe
	at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeState(SharedItemStateManager.java:1084)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItemStateManager.java:194)
	at
org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(RepositoryImpl.java:1201)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1753)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1724)
	at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:576)
	at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
	at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSession(BRMSRepositoryConfiguration.java:92)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BRMSRepositoryConfiguration.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
[11/24/08 22:36:53:676 IST] 00000028 SystemOut     O 	at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration_$$_javassist_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2146)
	at org.jboss.seam.Component.callCreateMethod(Component.java:2069)
	at org.jboss.seam.Component.newInstance(Component.java:2029)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
	at
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
	at org.jboss.seam.init.Initialization.init(Initialization.java:638)
	at
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
	at
com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
	at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
	at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
	at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
	at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
	at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
	at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20665269.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by sl...@excilys.com.
This seems correct. What error do you exactly get?

Le Dim 23 novembre 2008 19:14, seemamani a écrit :
>

> Stephane,
>
>
> I'm still getting errors, so please do let me know if I'm not doing
> something right. This is what I did. I have 3 nodes in my cluster, so there
> are 3 repository.xml files. Each xml has 2 persistence managers - one for
> workspace and one for version. The journal has a unique id for each node.
>  All the workspace pms in the 3 nodes share the same table prefix. The
> same applies to the version pms. But the table prefix are different
> between the workspace pms and version pms.
>
> The following tables and sequences were autogenerated - 4 tables and 1
> sequence for default workspace pms, 4 tables and 1 sequence for version
> pms and 2 for the journal. Please confirm if the results are right for my
> settings.
>
> Thanks,
> Seema
>
>
> DEFAULT_PM_SERVERBINVAL
> DEFAULT_PM_SERVERBUNDLE
> DEFAULT_PM_SERVERNAMES
> DEFAULT_PM_SERVERREFS
> JOURNAL_GLOBAL_REVISION
> JOURNAL_JOURNAL
> VERSION_PM_SERVERBINVAL
> VERSION_PM_SERVERBUNDLE
> VERSION_PM_SERVERNAMES
> VERSION_PM_SERVERREFS
> SEQUENCE DEFAULT_PM_SERVERSEQ_NAMES_ID
> SEQUENCE VERSION_PM_SERVERSEQ_NAMES_ID
> --
> View this message in context:
> http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20649027
> .html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>
>



Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
Stephane, 

I'm still getting errors, so please do let me know if I'm not doing
something right.
This is what I did. I have 3 nodes in my cluster, so there are 3
repository.xml files. Each xml has 2 persistence managers - one for
workspace and one for version. The journal has a unique id for each node.
All the workspace pms in the 3 nodes share the same table prefix. The same
applies to the version pms. But the table prefix are different between the
workspace pms and version pms.

The following tables and sequences were autogenerated - 4 tables and 1
sequence for default workspace pms, 4 tables and 1 sequence for version pms
and 2 for the journal. Please confirm if the results are right for my
settings.

Thanks,
Seema

DEFAULT_PM_SERVERBINVAL
DEFAULT_PM_SERVERBUNDLE
DEFAULT_PM_SERVERNAMES
DEFAULT_PM_SERVERREFS
JOURNAL_GLOBAL_REVISION
JOURNAL_JOURNAL
VERSION_PM_SERVERBINVAL
VERSION_PM_SERVERBUNDLE
VERSION_PM_SERVERNAMES
VERSION_PM_SERVERREFS
SEQUENCE DEFAULT_PM_SERVERSEQ_NAMES_ID
SEQUENCE VERSION_PM_SERVERSEQ_NAMES_ID
-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20649027.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by sl...@excilys.com.
They must differ within the same repository.xml.

Le Jeu 20 novembre 2008 19:44, seemamani a écrit :
>

> Thanks Stephane, one more question.
> I read in some posts that the schemaObjectPrefix needs to differ for
> different persistence managers. Do they need to differ within the same
> repository.xml or do we need different prefixes for the persistence
> managers in every server instance in the cluster? I'm getting too many
> tables generated and they do not seem to sync up.
>
> Thanks,
> Seema
> --
> View this message in context:
> http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20607603
> .html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>
>



Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
Thanks Stephane, one more question.
I read in some posts that the schemaObjectPrefix needs to differ for
different persistence managers. Do they need to differ within the same
repository.xml or do we need different prefixes for the persistence managers
in every server instance in the cluster? I'm getting too many tables
generated and they do not seem to sync up. 

Thanks,
Seema
-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20607603.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by sl...@excilys.com.
Generally speaking, each repository instance must have its own repository
home. Even if you're fully backed by a database, jackrabbit will still use
the home filesystem to host its workspace configuration and lucene
indexes. These indexes are instance specific and jackrabbit holds a lock
on the directory to prevent access by other instances.

So yes, if you have 2 nodes on the same machine, each one must have its
own repository home.

Stéphane


Le Jeu 20 novembre 2008 4:38, seemamani a écrit :
>

> Stephane,
>
>
> Would the repository home need to differ as well for the 2 instances on
> the same WAS node (physical machine)? I'm asking because I saw this post
> http://www.nabble.com/Clustering-and-.lock-file-td14179957.html#a14188068
>  Here Dominique has mentioned that "This sounds like having two
> repositories using the same home directory. The only thing that should be
> shared between two clustered instances are: the location of the persistent
> storage and the journal. " The repository home is configured to be a
> physical folder on the same machine on which both server instances are
> running, hence the two instances would typically share the same repository
> home and repository.xml. Do I need to try and make the repository home
> also configurable based on server name?
>
> Thanks,
> Seema
> --
> View this message in context:
> http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20594501
> .html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>
>



Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
Stephane,

Would the repository home need to differ as well for the 2 instances on the
same WAS node (physical machine)? I'm asking because I saw this post
http://www.nabble.com/Clustering-and-.lock-file-td14179957.html#a14188068
Here Dominique has mentioned that "This sounds like having two repositories
using the same home
directory. The only thing that should be shared between two clustered
instances are: the location of the persistent storage and the journal. "
The repository home is configured to be a physical folder on the same
machine on which both server instances are running, hence the two instances
would typically share the same repository home and repository.xml. Do I need
to try and make the repository home also configurable based on server name? 

Thanks,
Seema
-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20594501.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by sl...@excilys.com.
Jackrabbit is able to resolve System properties in the repository.xml with
the ${} syntax.

You probably have a System property for the server name, which must be
unique in a cluster (on Weblogic, this property is "weblogic.Name", so you
would use ${weblogic.Name} into the cluster node id).

BR,

Stéphane

Le Mer 19 novembre 2008 20:06, seemamani a écrit :
>

> Thanks Stephane. I used version 1.3 because Drools BRMS 4.0.7 comes with
> it. I will look at the upgrade options. Could you please help me with my
> 4th
> question, this is only a conceptual one.
>
>> 4. According to the clustering documentation, the cluster id needs to
>> be unique on a node. In my case, I have 2 server instances running on
>> each WAS node which is a physical machine. That means the 2 server
>> instances will share the same repository.xml, and the cluster id would be
>> the same for them. How to handle this?
> --
> View this message in context:
> http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20586895
> .html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>
>



Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
Thanks Stephane. I used version 1.3 because Drools BRMS 4.0.7 comes with it.
I will look at the upgrade options. Could you please help me with my 4th
question, this is only a conceptual one.

> 4. According to the clustering documentation, the cluster id needs to be
> unique on a node. In my case, I have 2 server instances running on each
> WAS node which is a physical machine. That means the 2 server instances
> will
> share the same repository.xml, and the cluster id would be the same for
> them. How to handle this? 
-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20586895.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Jackrabbit clustering Questions

Posted by sl...@excilys.com.
Hello,

Have you tried to upgrade to jackrabbit 1.4 or even 1.5-SNAPSHOT?
You'd expect better results and support for a recent version than for an
old old one...

BR,

Stéphane Landelle


Le Mer 19 novembre 2008 19:51, seemamani a écrit :
>

> I'm using Drools 4.0.7 BRMS application which internally uses Jackrabbit
> 1.3.
> The application is deployed in a WAS 6.1 cluster and the database is
> Oracle
> 9i. I have followed the instructions in the wiki page on Jackrabbit
> clustering. My repository.xml is at the bottom of this post. I have the
> following questions.
>
> 1. I'm getting the following exception, even though I tried clearing the
> db, repository and then restarting the server.
> javax.jcr.RepositoryException: failed to write bundle:
> deadbeef-face-babe-cafe-babecafebabe: failed to write bundle:
> deadbeef-face-babe-cafe-babecafebabe java.lang.IllegalStateException:
> Unable to insert index:
> java.sql.SQLException: ORA-01400: cannot insert NULL into
> ("ADESA_BRMS"."VERSION_PM_NAMES"."ID")
>
>
> This link talks about a patch, can someone confirm if this was the fix
> and in which release it has gone?
> http://www.nabble.com/Using-oracle-bundle-PM-td10738707.html#a10738707
>
>
> 2. OracleDatabaseJournal class was not part of JackRabbit 1.3, so I used
> DatabaseJournal, could that be a problem?
>
>
> 3. According to the clustering documentation, one should set the
> parameter externalBLOBs to false in order to store BLOBs in the database
> as well. However, I get an error saying that Oracle9PersistenceManager
> does not have such a property. Looking at the code of the class, I feel
> that this property is false by default. Then do I really need to set this
> to false?
>
> 4. According to the clustering documentation, the cluster id needs to be
> unique on a node. In my case, I have 2 server instances running on each
> WAS
> node which is a physical machine. That means the 2 server instances will
> share the same repository.xml, and the cluster id would be the same for
> them. How to handle this?
>
> Thanks,
> Seema
>
>
>
> <Repository>
> <!--
> virtual file system where the repository stores global state (e.g.
> registered namespaces, custom node types, etc.) -->
> <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>
>
> </FileSystem>
>
>
>
> <!--
> security configuration -->
> <Security appName="Jackrabbit">
> <!--
> access manager: class: FQN of class implementing the AccessManager
> interface -->
> <AccessManager
> class="org.apache.jackrabbit.core.security.SimpleAccessManager"> <!--  -->
> </AccessManager>
>
>
> <LoginModule
> class="org.apache.jackrabbit.core.security.SimpleLoginModule"> <!--
> anonymous user name ('anonymous' is the default value) -->
>
> <!--
> default user name to be used instead of the anonymous user when no login
> credentials are provided (unset by default) -->
> <!--  -->
> </LoginModule>
> </Security>
>
>
> <!--
> location of workspaces root directory and name of default workspace -->
> <Workspaces rootPath="${rep.home}/workspaces"
> defaultWorkspace="default"/> <!--
> workspace configuration template: used to create the initial workspace if
> there's no workspace yet -->
> <Workspace name="${wsp.name}">
> <!--
> virtual file system of the workspace: class: FQN of class implementing the
> FileSystem interface
> -->
> <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>
>
> </FileSystem>
>
>
> <PersistenceManager
> class="org.apache.jackrabbit.core.persistence.bundle.Oracle9PersistenceMan
> ager">
>
>
>
>
> <!--   -->
> </PersistenceManager>
>
>
> <!--
> Search index and the file system it uses.
> class: FQN of class implementing the QueryHandler interface
> -->
> <SearchIndex
> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>
> </SearchIndex>
> </Workspace>
>
>
> <!--
> Configures the versioning
> -->
> <Versioning rootPath="${rep.home}/version">
> <!--
> Configures the filesystem to use for versioning for the
> respective persistence manager -->
> <FileSystem
> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>
> </FileSystem>
>
>
>
> <PersistenceManager
> class="org.apache.jackrabbit.core.persistence.bundle.Oracle9PersistenceMan
> ager">
>
>
>
>
> </PersistenceManager>
> </Versioning>
>
>
> <!--
> Search index for content that is shared repository wide
> (/jcr:system tree, contains mainly versions)
> -->
> <SearchIndex
> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>
> </SearchIndex>
>
>
> <Cluster id="node235">
> <Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
>
>
>
>
>
>
>
> </Journal>
> </Cluster>
>
>
> </Repository>
>
>
> --
> View this message in context:
> http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20586637
> .html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>
>



Re: Jackrabbit clustering Questions

Posted by seemamani <se...@gmail.com>.
The repository.xml didn't display properly inline, so am uploading it
http://www.nabble.com/file/p20586762/repository.xml repository.xml 
-- 
View this message in context: http://www.nabble.com/Jackrabbit-clustering-Questions-tp20586637p20586762.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.