[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1650) Repository get locked when redeploying the drools-jbrms.war file on weblogic

santosh gadkari (JIRA) jira-events at lists.jboss.org
Thu Jun 19 10:22:43 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBRULES-1650?page=all ]

santosh gadkari updated JBRULES-1650:
-------------------------------------

    Description: 
Redeploying the drools-jbrms.war on weblogic when someone is accessing  the application throws "javax.jcr.RepositoryException" Exception.
Steps to reproduce;
1) Deploy drools-jbrms.war file
2) login to the application and perform some operation
3) Redepoy drools-jbrms.war again
4) depoy fails with javax.jcr.RepositoryException. Please find the its stack trace as below.

Obly after rebooting the server we could able to deploy the application. We don't want server restarts, as we are high profile finance company. restarting at critical time may be penalty of us.

Exception Trace : 
weblogic.application.ModuleException:
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
        Truncated. see log file for complete stacktrace
javax.jcr.RepositoryException: The repository home at C:\Local\weblogic92\user_projects\domains\base_domain\repository appears to be in use since the file at C:\Local\weblogic92\user_projects\domains\base_domain\repository\.lock is locked by another process.
        at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:423)
        at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:236)
        at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:584)
        at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
        at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
        Truncated. see log file for complete stacktrace
>

Please suggest suitable solution to avoid this exception. 
We tried to use OracleFileSystem for storing repository but not able to get rid of this problem.

  was:
Most of the time when we need to redeploy the brms web application on weblogic, we are expriencing the below exception. 

The worst part of this is that, only after restarting the server this get disappear. We don't want server restarts, as we are high profile finance company.
restarting at critical time may be penalty of us.


weblogic.application.ModuleException:
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
        Truncated. see log file for complete stacktrace
javax.jcr.RepositoryException: The repository home at C:\Local\weblogic92\user_projects\domains\base_domain\repository appears to be in use since the file at C:\Local\weblogic92\user_projects\domains\base_domain\repository\.lock is locked by another process.
        at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:423)
        at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:236)
        at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:584)
        at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
        at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
        Truncated. see log file for complete stacktrace
>

Please suggest suitable solution to avoid this exception. 
We tried to use OracleFileSystem for storing repository but not able to get rid of this problem.


> Repository get locked when redeploying the drools-jbrms.war file on weblogic
> ----------------------------------------------------------------------------
>
>                 Key: JBRULES-1650
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1650
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: weblogic, jdk1.5, oracle,
>            Reporter: santosh gadkari
>         Assigned To: Mark Proctor
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> Redeploying the drools-jbrms.war on weblogic when someone is accessing  the application throws "javax.jcr.RepositoryException" Exception.
> Steps to reproduce;
> 1) Deploy drools-jbrms.war file
> 2) login to the application and perform some operation
> 3) Redepoy drools-jbrms.war again
> 4) depoy fails with javax.jcr.RepositoryException. Please find the its stack trace as below.
> Obly after rebooting the server we could able to deploy the application. We don't want server restarts, as we are high profile finance company. restarting at critical time may be penalty of us.
> Exception Trace : 
> weblogic.application.ModuleException:
>         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
>         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
>         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
>         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
>         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
>         Truncated. see log file for complete stacktrace
> javax.jcr.RepositoryException: The repository home at C:\Local\weblogic92\user_projects\domains\base_domain\repository appears to be in use since the file at C:\Local\weblogic92\user_projects\domains\base_domain\repository\.lock is locked by another process.
>         at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:423)
>         at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:236)
>         at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:584)
>         at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
>         at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
>         Truncated. see log file for complete stacktrace
> >
> Please suggest suitable solution to avoid this exception. 
> We tried to use OracleFileSystem for storing repository but not able to get rid of this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list