The PersistenceManager has been closed

I am getting a strange exception. The stacktrace is as below.
Caused By:
kodo.util.FatalUserException: The PersistenceManager has been closed. The stack trace at which the PersistenceManager was closed is held in the embedded exception.
          atkodo.runtime.PersistenceManagerImpl.assertOpen(PersistenceManagerImpl.java:4429)
          atkodo.runtime.PersistenceManagerImpl.newQuery(PersistenceManagerImpl.java:3509)
          atkodo.runtime.PersistenceManagerImpl.newQuery(PersistenceManagerImpl.java:3497)
          atkodo.runtime.PersistenceManagerImpl.newQuery(PersistenceManagerImpl.java:3436)
          atkodo.runtime.PersistenceManagerImpl.newQuery(PersistenceManagerImpl.java:3442)
          atcom.capgroup.fpac.dat.rules.FCAcctRuleLibrary.read(FCAcctRuleLibrary.java:173)
                    atcom.capgroup.fpac.bst.hoaccount.FCHOAccountServiceImpl.getAllFCHOAccountModels(FCHOAccountServiceImpl.java:166)
          atcom.capgroup.fpac.bst.hoaccount.FCHOAccountServiceImpl.getAllFCHOAccountModels(FCHOAccountServiceImpl.java:134)
          atcom.capgroup.fpac.ejb.hoaccount.FCHOAccountServerBean.getAllFCHOAccountModels(FCHOAccountServerBean.java:108)
          atcom.capgroup.fpac.ejb.hoaccount.FCHOAccountServer_te2uuo_EOImpl.getAllFCHOAccountModels(FCHOAccountServer_te2uuo_EOImpl.java:154)
          atcom.capgroup.fpac.ejb.hoaccount.FCHOAccountServer_te2uuo_EOImpl_WLSkel.invoke(Unknown Source)
          atweblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
          atweblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
          atweblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
          atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
          atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
          atweblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
          atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
          atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
          atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused By:
kodo.util.UserException:
          atkodo.runtime.PersistenceManagerImpl.free(PersistenceManagerImpl.java:1826)
          atkodo.runtime.PersistenceManagerImpl.close(PersistenceManagerImpl.java:1746)
          atcom.capgroup.isa.dal.LibrarySession.close(LibrarySession.java:116)
          atcom.capgroup.fpac.ejb.order.FCOrderServerBean.newOrder(FCOrderServerBean.java:153)
          atcom.capgroup.fpac.ejb.order.FCOrderServer_4ija6o_EOImpl.newOrder(FCOrderServer_4ija6o_EOImpl.java:1450)
          atcom.capgroup.fpac.ejb.order.FCOrderServer_4ija6o_EOImpl_WLSkel.invoke(Unknown Source)
          atweblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
          atweblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
          atweblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
          atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
          atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
          atweblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
          atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
          atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
          atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
At the start of EJB call, we get a PersistenceManager and we use this PM throughout this call. In the "finally" section of the EJB call, we close the PM. The stacktrace doesn't make sense since pm.close is called only after the other queries have been executed. Also this exception doesn't occur everytime. It happens once in a while. And it doesnt always happen in the same call. Sometimes this exception is thrown when another ejb call is made. Can the same persistencemanager instance be returned to two ejb invocations at the same time? Does Kodo have a PM pool?
Thanks in advance.
Vinod

This is Kodo 3.3.4. The issue is I don't know when this is happening. It doesn't happen always. One scenario when it happened always was this.
I have a jsp page which does open a PM and close it in the end. This is a data setup page.
My application is a Swing based application. Sometimes I get the exact same exception as in my original post, with the cause pointed to the pm.close() in the JSP page. BUT THESE ARE TOTALLY DIFFERENT CALLS WITH NO RELATION TO EACH OTHER.
I temporarily solved it by commenting out pm.close() in the jsp page. But I am not sure whether this is the right solution. The stack trace is as below:
com.bst.exception.FCOrderServiceException: Unrecoverable System Error has occurred, Please try after sometime.
     at com.bst.order.builder.FCManagerOrderModelBuilder.constructOrderModelForNewOrder(FCManagerOrderModelBuilder.java:328)
     at com.bst.order.builder.FCAbstractOrderModelBuilder.buildForNew(FCAbstractOrderModelBuilder.java:227)
     at com.bst.order.builder.FCAbstractOrderModelBuilder.buildForNew(FCAbstractOrderModelBuilder.java:131)
     at com.bst.order.FCOrderServiceImpl.newOrder(FCOrderServiceImpl.java:929)
     at com.ejb.order.FCOrderServerBean.newOrder(FCOrderServerBean.java:142)
     at com.ejb.order.FCOrderServer_4ija6o_EOImpl.newOrder(FCOrderServer_4ija6o_EOImpl.java:424)
     at com.ejb.order.FCOrderServer_4ija6o_EOImpl_WLSkel.invoke(Unknown Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
     at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
     at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
     at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: kodo.util.FatalUserException: The PersistenceManager has been closed. The stack trace at which the PersistenceManager was closed is held in the embedded exception.
     at kodo.runtime.PersistenceManagerImpl.assertOpen(PersistenceManagerImpl.java:4429)
     at kodo.runtime.PersistenceManagerImpl.isActive(PersistenceManagerImpl.java:943)
     at kodo.runtime.StateManagerImpl.beforeRead(StateManagerImpl.java:885)
     at kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:1348)
     at com.dat.relation.FCOpacManager.jdoGetmgrNumber(FCOpacManager.java)
     at com.dat.relation.FCOpacManager.getMgrNumber(FCOpacManager.java:89)
     at com.bst.order.builder.FCManagerOrderModelBuilder.getManagerOrderDetails(FCManagerOrderModelBuilder.java:371)
     at com.bst.order.builder.FCManagerOrderModelBuilder.constructOrderModelForNewOrder(FCManagerOrderModelBuilder.java:315)
     ... 15 more
Caused by: kodo.util.UserException:
     at kodo.runtime.PersistenceManagerImpl.free(PersistenceManagerImpl.java:1826)
     at kodo.runtime.PersistenceManagerImpl.close(PersistenceManagerImpl.java:1746)
     at com.capgroup.isa.dal.LibrarySession.close(LibrarySession.java:116)
     at jsp_servlet.__dynamiclibrarysetloader._jspService(__dynamiclibrarysetloader.java:223)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
The original call constructOrderModelForNewOrder is an EJB call from a Swing application. The root cause is shown from the JSP page.

Similar Messages

  • The PersistenceManager has been closed Exception

    Hi --
    I'm gettting the following exception:
    javax.jdo.JDOFatalUserException: The PersistenceManager has been closed.
         at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.checkClosed(PersistenceManagerImpl.java:2080)
         at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.isActive(PersistenceManagerImpl.java:481)
         at
    com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:840)
         at
    net.nearlythere.utils.Money.jdoGetnet_nearlythere_utils_Money__amount(Money.java)
         at net.nearlythere.utils.Money.compareTo(Money.java:191)
         at
    net.nearlythere.business.data.ServiceIntervalPricing.isPaying(ServiceIntervalPricing.java:248)
    Now Money is a persistent class which looks like this (shortened greatly):
    public class Money implements Comparable, Cloneable, Serializable
    public static final Money ZERO = new Money(0.0);
    private BigDecimal _amount;
    public int compareTo(Money money)
    return amount.compareTo(money.amount);
    The code that throws the exception looks like:
         Money price = sip.getPrice();
         if(price.compareTo(Money.ZERO) > 0) {
    I have reason to believe the price is persistent capable. My question
    is: does jdo think the ZERO is persistent capable. Clearly, it is
    simply a constant, but is jdo able to handle this?
    Thanks,
    Dan

    Hi Patrick,
    In my system.jdo file, "Money" only shows up in only place, here's the
    portion of the jdo file in question:
    <package name="net.nearlythere.utils">
         <class name="Money">
         </class>
    </package>
    It resides in a different package than all the other objects, in case
    that matters...
    Dan
    Patrick Linskey wrote:
    Dan,
    What does your .jdo file look like for Money? In particular, are you
    explicitly listing ZERO as a persistent field? If so, can you try explicitly
    marking it as persistence-modifier="none":
    <field name="MONEY" persistence-modifier="none"/>
    This might be a bug in our default persistence assignment code.
    -Patrick
    On 6/26/02 1:48 PM, "Dan Finkelstein" <[email protected]> wrote:
    Hi Patrick,
    Here's some more info on this bug. With debug code, I have now
    determined that kodo things that Money.ZERO is a persistent object using
    the call JDOHelper.isPersistent(Money.ZERO). I've also verified that
    "price" is a persistent object -- as well it should be.
    It appears that kodo is throwing the PM has been closed exception
    because Money.ZERO is thought of as persistent and not part of the
    current PM.
    Your help is most appreciated,
    Dan
    Patrick Linskey wrote:
    This exception is probably not happening while accessing 'amount' in
    Money.ZERO, but rather while accessing 'amount' in 'price'. Additionally,
    the issue is not whether or not 'price' is a persistent instance; it's
    whether or not the object's PM is still open. The fact that the PM is even
    being used means that the object is associated with one.
    To debug, use JDOHelper.getPersistenceManager(), JDOHelper.isPersistent(),
    etc.
    -Patrick
    On 6/8/02 10:21 PM, "Dan Finkelstein" <[email protected]> wrote:
    Hi --
    I'm gettting the following exception:
    javax.jdo.JDOFatalUserException: The PersistenceManager has been closed.
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.checkClosed(PersistenceM
    an
    agerImpl.java:2080)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.isActive(PersistenceMana
    ge
    rImpl.java:481)
    at
    com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java
    :8
    40)
    at
    net.nearlythere.utils.Money.jdoGetnet_nearlythere_utils_Money__amount(Money.
    ja
    va)
    at net.nearlythere.utils.Money.compareTo(Money.java:191)
    at
    net.nearlythere.business.data.ServiceIntervalPricing.isPaying(ServiceInterva
    lP
    ricing.java:248)
    Now Money is a persistent class which looks like this (shortened greatly):
    public class Money implements Comparable, Cloneable, Serializable
    public static final Money ZERO = new Money(0.0);
    private BigDecimal _amount;
    public int compareTo(Money money)
    return amount.compareTo(money.amount);
    The code that throws the exception looks like:
    Money price = sip.getPrice();
    if(price.compareTo(Money.ZERO) > 0) {
    I have reason to believe the price is persistent capable. My question
    is: does jdo think the ZERO is persistent capable. Clearly, it is
    simply a constant, but is jdo able to handle this?
    Thanks,
    Dan

  • Problems with data cache plugin - The ResultList has been closed

    I'm testing out the data cache to see if it helps some of my performance
    problems, but I now get lots of exceptions that I didn't get before I
    enabled the cache. Here's how I enabled it:
    # CACHE
    com.solarmetric.kodo.DataCacheClass=com.solarmetric.kodo.runtime.datacache.p
    lugins.CacheImpl
    com.solarmetric.kodo.RemoteCommitProviderClass=com.solarmetric.kodo.runtime.
    event.impl.SingleJVMRemoteCommitProvider
    The exception I'm getting follows. I'm curious if anyone has any insight
    into what's going on? I'm sure there is a problem with my code, I'm
    forgetting to close something or other but since it works fine without the
    cache I'm really stuck as to what it is.
    Thanks
    Michael
    22:17:32,792 ERROR ObjectFinder - Exception =
    com.solarmetric.kodo.runtime.FatalUserException: The ResultList has been
    closed.
    NestedThrowables:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held in
    embedded stack trace.
    com.solarmetric.kodo.runtime.FatalUserException: The ResultList has been
    closed.
    NestedThrowables:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held in
    embedded stack trace.
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.checkClosed(Eage
    rResultList.java:66)
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.get(EagerResultL
    ist.java:84)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.get(Cac
    hingRandomAccessList.java:124)
    at java.util.AbstractList$Itr.next(AbstractList.java:416)
    at java.util.AbstractList.equals(AbstractList.java:604)
    at serp.util.WeakCollection$WeakValue.equals(WeakCollection.java:123)
    at java.util.HashMap.eq(HashMap.java:270)
    at java.util.HashMap.removeEntryForKey(HashMap.java:525)
    at java.util.HashMap.remove(HashMap.java:507)
    at java.util.HashSet.remove(HashSet.java:198)
    at serp.util.RefValueCollection.removeFilter(RefValueCollection.java:272)
    at serp.util.RefValueCollection.remove(RefValueCollection.java:235)
    at
    com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl.unregisterClassC
    hangeListener(QueryCacheImpl.java:160)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.abortCa
    ching(CachingRandomAccessList.java:103)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.get(Cac
    hingRandomAccessList.java:149)
    at java.util.AbstractList$Itr.next(AbstractList.java:416)
    at java.util.AbstractList.hashCode(AbstractList.java:624)
    at serp.util.WeakCollection$WeakValue.<init>(WeakCollection.java:93)
    at serp.util.WeakCollection.createRefValue(WeakCollection.java:64)
    at serp.util.RefValueCollection.addFilter(RefValueCollection.java:193)
    at serp.util.RefValueCollection.add(RefValueCollection.java:166)
    at serp.util.RefValueCollection.add(RefValueCollection.java:157)
    at
    com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl.registerClassCha
    ngeListener(QueryCacheImpl.java:151)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.<init>(
    CachingRandomAccessList.java:76)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.wrapList(CacheA
    wareQuery.java:146)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.execute(CacheAw
    areQuery.java:270)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getObjects(ObjectFinder.java
    :62)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getObject(ObjectFinder.java:
    44)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getRole(ObjectFinder.java:91
    at
    com.verideon.veriguard.services.VeriguardService.createCustomerAccount(Verig
    uardService.java:210)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.createTestUser(
    TestVeriguardServiceMonitors.java:133)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.setUp(TestVerig
    uardServiceMonitors.java:80)
    at junit.framework.TestCase.runBare(TestCase.java:125)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:392)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:276)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    ..java:167)
    NestedThrowablesStackTrace:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held in
    embedded stack trace.
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.close(EagerResul
    tList.java:78)
    at com.solarmetric.kodo.impl.jdbc.query.JDBCQuery.close(JDBCQuery.java:127)
    at com.solarmetric.kodo.query.QueryImpl.closeAll(QueryImpl.java:637)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.closeAll(CacheA
    wareQuery.java:343)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.closeQueries(Persistence
    ManagerImpl.java:934)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.close(PersistenceManager
    Impl.java:914)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.close(PersistenceManager
    Impl.java:884)
    at com.verideon.veriguard.services.PMService.close(PMService.java:120)
    at com.verideon.veriguard.services.PMService.close(PMService.java:111)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.deleteTestUser(
    TestVeriguardServiceMonitors.java:127)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.tearDown(TestVe
    riguardServiceMonitors.java:103)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:392)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:276)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    ..java:167)

    Michael,
    Could you send your test case to [email protected] so that we
    can take a look at what's going on to cause this exception?
    Thanks,
    -Patrick
    On Thu, 22 May 2003 17:18:50 -0400, Michael wrote:
    I'm testing out the data cache to see if it helps some of my performance
    problems, but I now get lots of exceptions that I didn't get before I
    enabled the cache. Here's how I enabled it:
    # CACHE
    com.solarmetric.kodo.DataCacheClass=com.solarmetric.kodo.runtime.datacache.p
    lugins.CacheImpl
    com.solarmetric.kodo.RemoteCommitProviderClass=com.solarmetric.kodo.runtime.
    event.impl.SingleJVMRemoteCommitProvider
    The exception I'm getting follows. I'm curious if anyone has any
    insight into what's going on? I'm sure there is a problem with my code,
    I'm forgetting to close something or other but since it works fine
    without the cache I'm really stuck as to what it is.
    Thanks
    Michael
    22:17:32,792 ERROR ObjectFinder - Exception =
    com.solarmetric.kodo.runtime.FatalUserException: The ResultList has been
    closed.
    NestedThrowables:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held
    in embedded stack trace.
    com.solarmetric.kodo.runtime.FatalUserException: The ResultList has been
    closed.
    NestedThrowables:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held
    in embedded stack trace.
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.checkClosed(Eage
    rResultList.java:66)
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.get(EagerResultL
    ist.java:84)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.get(Cac
    hingRandomAccessList.java:124)
    at java.util.AbstractList$Itr.next(AbstractList.java:416) at
    java.util.AbstractList.equals(AbstractList.java:604) at
    serp.util.WeakCollection$WeakValue.equals(WeakCollection.java:123) at
    java.util.HashMap.eq(HashMap.java:270) at
    java.util.HashMap.removeEntryForKey(HashMap.java:525) at
    java.util.HashMap.remove(HashMap.java:507) at
    java.util.HashSet.remove(HashSet.java:198) at
    serp.util.RefValueCollection.removeFilter(RefValueCollection.java:272)
    at serp.util.RefValueCollection.remove(RefValueCollection.java:235) at
    com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl.unregisterClassC
    hangeListener(QueryCacheImpl.java:160)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.abortCa
    ching(CachingRandomAccessList.java:103)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.get(Cac
    hingRandomAccessList.java:149)
    at java.util.AbstractList$Itr.next(AbstractList.java:416) at
    java.util.AbstractList.hashCode(AbstractList.java:624) at
    serp.util.WeakCollection$WeakValue.<init>(WeakCollection.java:93) at
    serp.util.WeakCollection.createRefValue(WeakCollection.java:64) at
    serp.util.RefValueCollection.addFilter(RefValueCollection.java:193) at
    serp.util.RefValueCollection.add(RefValueCollection.java:166) at
    serp.util.RefValueCollection.add(RefValueCollection.java:157) at
    com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl.registerClassCha
    ngeListener(QueryCacheImpl.java:151)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.<init>(
    CachingRandomAccessList.java:76)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.wrapList(CacheA
    wareQuery.java:146)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.execute(CacheAw
    areQuery.java:270)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getObjects(ObjectFinder.java
    :62)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getObject(ObjectFinder.java:
    44)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getRole(ObjectFinder.java:91
    at
    com.verideon.veriguard.services.VeriguardService.createCustomerAccount(Verig
    uardService.java:210)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.createTestUser(
    TestVeriguardServiceMonitors.java:133)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.setUp(TestVerig
    uardServiceMonitors.java:80)
    at junit.framework.TestCase.runBare(TestCase.java:125) at
    junit.framework.TestResult$1.protect(TestResult.java:106) at
    junit.framework.TestResult.runProtected(TestResult.java:124) at
    junit.framework.TestResult.run(TestResult.java:109) at
    junit.framework.TestCase.run(TestCase.java:118) at
    junit.framework.TestSuite.runTest(TestSuite.java:208) at
    junit.framework.TestSuite.run(TestSuite.java:203) at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:392)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:276)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    .java:167)
    NestedThrowablesStackTrace:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held
    in embedded stack trace.
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.close(EagerResul
    tList.java:78)
    at
    com.solarmetric.kodo.impl.jdbc.query.JDBCQuery.close(JDBCQuery.java:127)
    at com.solarmetric.kodo.query.QueryImpl.closeAll(QueryImpl.java:637) at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.closeAll(CacheA
    wareQuery.java:343)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.closeQueries(Persistence
    ManagerImpl.java:934)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.close(PersistenceManager
    Impl.java:914)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.close(PersistenceManager
    Impl.java:884)
    at com.verideon.veriguard.services.PMService.close(PMService.java:120)
    at com.verideon.veriguard.services.PMService.close(PMService.java:111)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.deleteTestUser(
    TestVeriguardServiceMonitors.java:127)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.tearDown(TestVe
    riguardServiceMonitors.java:103)
    at junit.framework.TestCase.runBare(TestCase.java:130) at
    junit.framework.TestResult$1.protect(TestResult.java:106) at
    junit.framework.TestResult.runProtected(TestResult.java:124) at
    junit.framework.TestResult.run(TestResult.java:109) at
    junit.framework.TestCase.run(TestCase.java:118) at
    junit.framework.TestSuite.runTest(TestSuite.java:208) at
    junit.framework.TestSuite.run(TestSuite.java:203) at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:392)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:276)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    .java:167)--
    Patrick Linskey
    SolarMetric Inc.

  • Length specified in network packet payload did not match number of bytes read; the connection has been closed.

     Hello every one
    I am getting this in my event log from time to time . not sure what is that ?
    Is this a hacker trying to send rubbish data to SQL through the port ?
    Any help is appreciated .
    Length specified in network packet payload did not match number of bytes read; the connection has been closed. Please contact the vendor of the client library. [CLIENT: someip]

    Thank you all for the reply  , 
    my server is on port  1533 . Port  1433  is closed  on my server .
    All the requests are coming from my own ip , i feel this is funny . 
    Is my server hacked then ? 
    Or could be my ISP doing any routine tests ? 
    Also is this is hack attempt , what does this hacker think he will benefit from this ? Could this bring the SQL  server down  ?  
    I was thinking about chaning port to something else ,  1344 or something , u think this can be better  ?

  • Change "The form has been closed" error message

    My client is not happy with famous "The form has been closed" error message. I have been asked to replace this with meaningful message along with some other messages. How can i do that ?
    Searched internet but noting much there about this at all, I am not sure if anybody have done that in past ? is it doable ?

    Hi Ben,
    Solution is easy,
    Edit  \12\TEMPLATE\LAYOUTS\INC\intlcorestrings.js file
    Search for "IntlCoreStrings.k_strErrorFormClosed" and replace corresponding message with your desired one.
    Save & close
    But there is a down side of it, once you change the message it gets changed for all the web application running on the same server, because this file is located in 12 hive and shared across all Apps.
    Ashraf ul Islam
    Sharepoint Consultant

  • How can I delay my MBP from hibernating until the lid has been closed for a set period of time?

    After extensive research, I have been unable to solve this problem and I'm hoping someone can explain this to me.   Everytime I close the lid on my 13-inch, Early 2011 Macbook Pro, it immediately starts to write to disk (solid light on the front) for several seconds until it finally goes into Hibernate mode (flashing light on the front).  The problem is, I frequently close the lid, then immediately reopen it within 15-30 seconds to resume typing or to add something I may have forgotten.   Each time I reopen the lid before the light has started flashing, the MBP wakes for a moment, and allows me to resume typing.  However, the Hibernation process has already begun and within 30 seconds, the screen goes blank.   I have to wake it AGAIN, which is very annoying.
    Based on my research, I could use pmset to change the hibernatemode to 0 (it is currently set at 3).   However, I dont wish to disable hibernate mode completely; I DO want it to save a hibernation image to disk if it happens to run out of battery, so that when I resume I havent lost anything.   
    I then researched using standby and standbydelay to attempt a delay of the write to disk when going into standby mode.   According to the pmset manual:
    standby causes kernel power management to automatically hibernate a machine after it has slept for a
         specified time period. This saves power while asleep
    standbydelay specifies the delay, in seconds, before writing the hibernation image to disk and powering
         off memory for Standby
    I then set these values as below, expecting the laptop to wait 4200 seconds (70 minutes) before trying to write to disk when I close the lid:
    standbydelay         4200
    standby              1
    Unfortunately, that did not work either.   If I close the lid, the light glows solid immediately (indicating it is writing to disk), and if I try to reopen the lid before it is done, it will wake and seem fine, then 30 seconds later it goes blank right in the middle of me typing something.   I usually have to click the mouse several times, or even the power button to re-wake it.  
    I do have InsomniaX installed, for when I want to close the lid and keep the machine awake permanently (while watching videos on airplay) and I have tried quitting that application to test this.  However, when I close/reopen the lid..the result is the same.   I cant keep InsomniaX enabled all the time, because it will never go to sleep when I truly want it to.   If I am not using InsomniaX, I just want to delay hibernation until he lid has been closed for a set period (say 15 minutes or more).  If I have not reopened the lid within that time, I want it to write to disk and go into hibernation mode.  And if the battery runs all the way out, I want it to go into hibernation mode before shutting down so I can recover.
    I would appreciate any help in solving this problem.  Also any insight as to why the standbydelay setting above did not work.   Thanks!

    Whats with the MBP lid? Dont close it ... if you're so concerned! Just go to System Preferences/Energy Saver and set it to how you like it.

  • Firefox vers 5, crashes continually. Plus, it doesn't hold my home page. Needs reset every time the app has been closed. So with each crash, another home page reset. How can these issues be corrected. I know how to set the Home Page in the Option tab.

    Closing Firefox 5.0 resets Home Page to /www.searchqu.com. I know how to set it in the options tab.Earlier versions never had this issue. Plus, I return after being away to find that a "crash error" apologizing for the inconvenience. How2 can this be corrected?

    See these posts:
    https://support.mozilla.com/en-US/questions/790833
    https://support.mozilla.com/en-US/questions/816181
    Check and tell if its working.

  • I forgot my Apple ID password and I can't reset it because my email account has been closed and the security questions don't work

    I Forgot my Apple ID password and I can't reset it because the related email account has been closed and the security questions don't work! How do I solve this? Thank you.

    Click here and contact Apple.
    (113292)

  • I bought pages ages ago using an iTunes account that no longer works as the email address has been closed down. How can I now update my Pages app, if it asks me to sign in using this now defunct email address?

    I bought Pages ages ago using an iTunes account that no longer works as the email address has been closed down. How can I now update my Pages app, if it asks me to sign in using this now defunct email address?

    All apps are always tied to the account from whaich they were purchased and will always have to be updated using that account.
    Just because the e-mail account is shut down, has nothing to do with the itunes account. Why did you create a new account?  Why not just change the e-mail associated with the old account?

  • HT5312 Guys, I have forgotten my security question answers, and the rescue email I placed in with my apple id has been closed down as well (it was a university id, when I graduated, the email service expired). I need help changing my password.

    Guys, I have forgotten my security question answers, and the rescue email I placed in with my apple id has been closed down as well (it was a university id, when I graduated, the email service expired). I need help changing my password.

    The Three Best Alternatives for Security Questions and Rescue Mail
        1. Use Apple's Express Lane.
              Go to https://expresslane.apple.com ; click 'See all products and services' at the
              bottom of the page. In the next page click 'More Products and Services, then
              'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
              ID security questions' and click 'Continue'.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Every morning when I awaken my MacBook Pro, I come to find that my Safari browser has been closed. How to fix this? I don't want to lose anything I have possibly typed in a site that I have left to finish working on for later.

    Every morning when I "awaken" my MacBook Pro, I come to find that my Safari browser has been closed on it's own. How to fix this? I don't want to lose anything I have possibly typed in a site that I have left to finish working on for later. I checked system preferences and everything seems to be checked appropriately as well as for Safari's preferences.
    I am not sure what's going on, because Safari only just recently started doing this and I haven't downloaded anything, nothing out of my regular computer routine. As well, I upgraded to Mavericks when it came out and I have the last version of it too. I can't imagine that Safari would close simply because I don't have or want to upgrade to Yosemite. I am holding off on the upgrade for a bit, because I heard Final Cut Pro 7 can't be run on Yosemite. While I could partition my drive, I really don't want to. Mavericks is fine for right now :   )
    Okay sooooo...back to Safari...what the! Please help and thanks for any replies ahead of time!
    I Hope All Is Well In Your World :   )
    Nyna

    There's an Apple help page on the DNS problem - at http://support.apple.com/kb/TS3408
    The first thing to try is changing your DNS settings - and for that you need to open System Preferences, then the
    Network section.
    In Network - click  on Advanced - then the DNS tab
    under DNS servers - use the + button to enter two extra lines
    either these, from google dns
    8.8.8.8
    8.8.4.4
    or from OpenDNS
    208.67.222.222
    208.67.220.220
    then click OK & then 'Apply'
    You would need to do that seperately for the Cable (Ethernet) settings and Wireless (Airport)

  • I imported a COMPLETED book project into Aperture 3, only to discover that  the resolution of all the photos has been reduced to totally unacceptable levels

    I imported a COMPLETED book project into Aperture 3, only to discover that  the resolution of all the photos has been reduced to totally unacceptable levels.  Any easy solution?
    Steps:
    1. I finished an Aperture 2 (Two) book project and tried to submit it to Apple for printing. At that point I learned (belatedly, obviously) that Apple no longer accepts books from Aperture 2. I don't know how I would have known to even ask if Aperture 2 had been sunsetted as far as book projects go.
    2. So I tried to download Aperture 3 ($79.99), only to be told that I couldn't download Aperture 3.5.1 because I was still running OSX 10.8.x. So I read current reviews for OSX 10.9.x, and ...
    3. Downloaded and installed the current operating system (about a 3-hours process for me).  OSX 10.9.2, here we are!
    4. Then I returned to the Apple Store, found, and purchased Aperture 3.  [For safety's sake, it would sure be nice to have a .dmg file I could copy and file away.  I lost a perfectly legal and good copy of Adobe's Photoshop Elements 3 years ago because I wasn't smart enough to make a safety copy, and when my iMac crashed (fried electronic components), I was left with a copy of the software that wouldn't run, and couldn't be verified as legit.]
    5. When Aperture 3 finished installing, I found and imported my COMPLETED Aperture 2 book project, which import seemed to proceed nominally -- the right number of pages, the right content on those pages, that sort of thing -- until I started looking more carefully at the pictures themselves.  All of them, about 300 of them, have been imported into an Aperture 3 book project in such a reduced resolution that they are fuzzy at the size the book will be printed.  Screen-capture of just one example (at 100% viewer setting):
    I don't know what to do at this point to correct the problem, short of going through the entire book project, copy the custom captions (since those go away when you "delete" photo content), delete the photo, re-insert the photo, and paste back the custom caption.  Lather, rinse, repeat - ~300 times!  An estimated 2-3 hours of additional work.
    Or does anyone in this community know either (1) that I did something wrong in the Aperture 2-to-Aperture 3 import (I don't recall being offered any options or choices in the process); or (2) that there is a wholesale one-step solution to my problem?
    BTW, I tried to edit my "Product" info, but OSX 10.9.x is not in the pick list.  I am running OSX 10.9.2
    <Re-Titled By Host>

    Frank, thanks for your note.  I wrote "COMPLETED" because I had gone to a lot of effort to get the content of the book precisely as I wanted it. I would fully expect to see my level of effort and care matched by functional competence in Aperture 3 to render the book the way I created it.  Too much to ask?
    And yes, I upgraded the Aperture 2 Library first.  [Not ALL my tens of 000s of pix, because I use Lightroom selectively for photo editing. But Yes to the Aperture 2 Library.]  That step took a number of minutes, but seemed to work fine (no error messages of any kind).
    Then I opened the existing book project in Aperture 3, which followed some "magic-box" process that took a minute or so.  As I said, when that step was done, by all appearances the book was ready to submit for printing - until I examined the photos a little more closely.  You did see the blurry example I included, didn't you? That is what each and every photo looks like.
    Text-box content appears to have been rendered pertectly, for the record (including captions).
    So, ... is this result something you have heard of before?  Do you know of a one-step solution?  Or am I looking at an extended picture-by-picture fix?

  • New error with upgrade jboss/tomcat: "Connection handle has been closed and is unusable"

    Hi,
    This error suddenly appeared when we upgraded from jboss3/tomcat5.0 to jboss4.2/tomcat5.5.
    here's the usecase:
    1) User clicks on report link
    2) Crystal reports web componnent displays screen to fill in report parameters.
    3) user enters parameters and clicks submit
    4) System throws Exception
    The same reports worked fine with jboss 3.2.6/tomcat 5.0. We haven't touched anything in this realm.
    Log Excerpt:
    09:42:18,842 INFO  [datasource] Openning rowset
    09:42:18,904 ERROR [reportdefinition] com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Connection handle has been closed and is unusable
    09:42:18,905 ERROR [datasource] Failed to open rowset: the query failed to open rowset
    com.crystaldecisions.reports.reportdefinition.datainterface.g: JDBC Error: Connection handle has been closed and is unusable
         at com.crystaldecisions.reports.reportdefinition.datainterface.d.a(Unknown Source)
    To try to narrow down the problem, I've updated the jdbc configuration to
         <track-statements>true</track-statements>   
    here's a recap:
    This Boolean element specifies whether to check for unclosed statements when a connection is returned to the pool. If it is true, a warning message is issued for each unclosed statement. If the log4j category org.jboss.resource.adapter.jdbc.WrappedConnection has trace level enabled, a stack trace of the connection close call is logged as well. This is a debug feature that can be turned off in production.
    Interestingly enough, this error appears slightly upstream:
    (CachedConnectionManager.java:526) - Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@c76003
    java.lang.Throwable: STACKTRACE
         at
    org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
         at com.crystaldecisions.reports.queryengine.driverImpl.k.a(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.new(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ba.try(Unknown Source)
         at com.crystaldecisions.reports.common.av.a(Unknown Source)
         at com.crystaldecisions.reports.common.ag.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown
    So the question arises:
    1) Is the jboss datasource overly/aggressively closing result sets?
    2) or is there a coding error in CRXIR2?
    thanks,
    bill
    Full stack trace:
    [2008-03-13 17:26:18,905] [INFO ] org.jboss.resource.connectionmanager.CachedConnectionManager (CachedConnectionManager.java:526) - Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@c76003
    java.lang.Throwable: STACKTRACE
         at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
         at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
         at com.crystaldecisions.reports.queryengine.driverImpl.k.a(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.new(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ba.try(Unknown Source)
         at com.crystaldecisions.reports.common.av.a(Unknown Source)
         at com.crystaldecisions.reports.common.ag.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ad.int(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bk.for(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)
         at com.crystaldecisions.reports.sdk.DatabaseController.setTableLocation(Unknown Source)
         at org.apache.jsp.reports.processreport_jsp.switchTables(processreport_jsp.java:131)
         at org.apache.jsp.reports.processreport_jsp.loadReport(processreport_jsp.java:68)
         at org.apache.jsp.reports.processreport_jsp._jspService(processreport_jsp.java:227)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.shared.pagecache.client.PageCacheFilter.doFilter(PageCacheFilter.java:760)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.ExpiredPasswordFilter.doFilter(ExpiredPasswordFilter.java:92)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.pe.channels.client.servlet.ChannelUrlFilter.processUrl(ChannelUrlFilter.java:168)
         at com.participate.pe.channels.client.servlet.ChannelUrlFilter.doFilter(ChannelUrlFilter.java:100)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.BlockIpAddressFilter.doFilter(BlockIpAddressFilter.java:224)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.outstart.multiapp.filters.KeepOtherSessionsAliveFilter.doFilter(KeepOtherSessionsAliveFilter.java:88)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:151)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:619)

    <p>
    OK. I found the problem along with a workaround.
    </p>
    <p>
    <strong>The problem:</strong>
    </p>
    <p>
    a programming practice clashes with a new jboss 'safety check'.
    </p>
    <p>
    <strong>Programming practice:</strong>
    </p>
    <p>
    crystal reports gets a database connection in one jsp page, then tries to use it on another jsp/servlet
    </p>
    <p>
    <strong>Jboss safety check:</strong>
    Jboss/tomcat new comes configured out-of-the-box with a 'cached connection
    manager', which
    </p>
    <p>
    "Check[s] for unclosed connections and transaction terminated checks in servlets/jsps."
    </p>
    <p>
    <strong> Summary</strong>
    </p>
    <p>
    In short, if a servlet/jsp ends and it leaves a database connection open, Jboss will automatically close it.
    </p>
    <p>
    </p>
    <p>
    <strong>Workaround:</strong><br />
    Comment out two entries in these two files:
    </p>
    <p>
    1) conf/jboss4/pe/deploy/jboss-web.deployer/server.xml
    </p>
    <p>
    2) conf/jboss4/pe/deploy/jboss-web.deployer/META-INF/jboss-service.xml
    </p>
    <p>
    The two entries:
    </p>
    <p>
    </p>
    <p>
    1)
    </p>
    <p>
                 <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"<br />
                    cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"<br />
                    transactionManagerObjectName="jboss:service=TransactionManager" /><br />
    </p>
    <p>
    2)
    </p>
    <p>
          <depends>jboss.jca:service=CachedConnectionManager</depends><br />
    </p>
    <p>
    </p>
    <p>
    <strong>Comments on the workaround</strong>
    </p>
    <p>
    The 'cached connection manager' basically makes sure that the application cleans up after bad programmers. It seems most helpful in development, load testing, or trouble shooting.
    </p>
    <p>
    In production,  you can likely  comment them out with minimal
    impact on the application.
    </p>

  • Delivery Reports, Mail Control: Safe handle has been closed

    When i try to open Delivery reports from mail control in exchange i get the following error page, i included the stack trace to help make this easier to track down the problem
    Safe handle has been closed
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.ObjectDisposedException: Safe handle has been closed
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    Stack Trace: 
    [ObjectDisposedException: Safe handle has been closed]
       System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) +0
       Microsoft.Win32.Win32Native.GetTokenInformation(SafeTokenHandle TokenHandle, UInt32 TokenInformationClass, SafeLocalAllocHandle TokenInformation, UInt32 TokenInformationLength, UInt32& ReturnLength) +0
       System.Security.Principal.WindowsIdentity.GetTokenInformation(SafeTokenHandle tokenHandle, TokenInformationClass tokenInformationClass) +147
       System.Security.Principal.WindowsIdentity.get_User() +103
       Microsoft.Exchange.Management.ControlPanel.CanaryExtensions.GetUserUniqueKey(HttpContext context) +95
       Microsoft.Exchange.Management.ControlPanel.CanaryExtensions.SendCanary(HttpContext context) +101
       Microsoft.Exchange.Management.ControlPanel.RbacModule.Application_PostAuthenticateRequest(Object sender, EventArgs e) +89
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP
     

    Hi,
    From the error description, please make sure that all the services Exchange needed are running at first. What's more, I recommend you increase timeout for ECP and then check the result.
    Here is a thread about increasing timeout for ECP for your reference:
    Cannot open edit groups from ECP
    https://social.technet.microsoft.com/Forums/exchange/en-US/c57f40eb-7218-4a48-9efa-8fb687741d54/cannot-open-edit-groups-from-ecp?forum=exchangesvrclients
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • SQL2012: Internal Error: The operation terminated unsuccessfully. The connection timeout was exceeded. Server: The operation has been cancelled

    When rendering a SSRS native mode report based on a query to SSAS the report with fail with the following error:
    An error has occurred during report processing. (rsProcessingAborted)  Cannot read the next data row for the dataset. (rsErrorReadingNextDataRow).  The connection either timed out or was lost.  Unable to read data from the transport connection:
    An existing connection was forcibly closed by the remote host.
    Putting a trace on the SSAS instance, I get an error:
    Internal error: The operation terminated unsuccessfully.  The connection timeout was exceeded. Server: The operation has been cancelled.
    I've modified the IIS (6) application pool timeouts, the SSRS rsreportserver.config timeouts, and the SSAS timeouts.  Restarted services, rebooted, and still I get this error.
    The report will render if I select a shorter time period (less data, shorter query time).
    Running SQL2012 (11.0.5058.0), SSAS and SSRS on separate servers, same subnet.
    Any help or suggested troubleshooting greatly appreciated.

    Please check the links below.
    http://www.symantec.com/business/support/index?page=content&id=TECH186577
    https://support.microsoft.com/kb/2200755?wa=wsignin1.0
    http://msdn.microsoft.com/en-IN/library/ms155782.aspx
    http://blogs.msdn.com/b/dynamicsaxbi/archive/2013/02/14/how-to-addressing-ssrs-session-timeouts.aspx

Maybe you are looking for