Cache Exception

I'm getting an exception thrown when trying to use a cache. Can anyone tell me what the problem is?
Here's the output from the console:
* Tangosol Coherence(tm): Enterprise Edition is licensed by Tangosol, Inc.
* License details are available at: http://www.tangosol.com/license.jsp
* Licensed to Putnam Investments Trust (http://www.putnam.com/) for development use
* with the following restrictions:
* Site Restriction : One Post Office Square, Boston, Massachusetts 02109-2016
* A production license is required for production use.
* Copyright (c) 2000-2006 Tangosol, Inc.
The specified log file "C:\Documents and Settings\edeandrea\Desktop\Tangosol" refers to a directory;
using System.out for log output instead.
Tangosol Coherence Version 3.1.1/341
2006-11-03 14:37:05.041 Tangosol Coherence 3.1.1/341 <D5> (thread=main, member=n/a): Loaded operatio
nal configuration from resource "jar:file:/C:/projects/Putnam/PC/dev/jars/coherence.jar!/tangosol-co
herence.xml"
2006-11-03 14:37:05.041 Tangosol Coherence 3.1.1/341 <D5> (thread=main, member=n/a): Loaded operatio
nal overrides from resource "file:/C:/Sun/AppServer7/domains/domain1/server1/config/pc/config/tangos
ol/tangosol-coherence-override.xml"
2006-11-03 14:37:05.524 Tangosol Coherence 3.1.1/341 <D5> (thread=Cluster, member=n/a): Service Clus
ter joined the cluster with senior service member n/a
2006-11-03 14:37:12.054 Tangosol Coherence 3.1.1/341 <D5> (thread=Invocation:Management, member=1):
Service Management joined the cluster with senior service member 1
SafeCluster: Name=n/a
Group{Address=239.3.3.11, Port=31339, TTL=16}
MasterMemberSet
ThisMember=Member(Id=1, Timestamp=Fri Nov 03 14:37:05 EST 2006, Address=172.20.20.209, Port=8088,
MachineId=44241)
OldestMember=Member(Id=1, Timestamp=Fri Nov 03 14:37:05 EST 2006, Address=172.20.20.209, Port=8088
, MachineId=44241)
ActualMemberSet=MemberSet(Size=1, BitSetCount=2
Member(Id=1, Timestamp=Fri Nov 03 14:37:05 EST 2006, Address=172.20.20.209, Port=8088, MachineId
=44241)
RecycleMillis=240000
RecycleSet=MemberSet(Size=0, BitSetCount=0
Services
TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=172.20.20.209:8088}, Connections=[]}
ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.1, OldestMembe
rId=1}
InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
Map (?): cache PCRankScore
2006-11-03 14:37:15.537 Tangosol Coherence 3.1.1/341 <D5> (thread=main, member=1): Loaded cache conf
iguration from file "C:\Sun\AppServer7\domains\domain1\server1\config\pc\config\tangosol\tangosol-ca
che-config.xml"
2006-11-03 14:37:15.584 Tangosol Coherence 3.1.1/341 <Error> (thread=main, member=1):
java.lang.UnsupportedOperationException: configureCache: read-write-backing-map-scheme
at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheF
actory.java:901)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFact
ory.java:284)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:606)
at com.tangosol.coherence.component.application.console.Coherence.doCache(Coherence.CDB:15)
at com.tangosol.coherence.component.application.console.Coherence.processCommand(Coherence.C
DB:192)
at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:39)
at com.tangosol.coherence.component.Application.main(Application.CDB:4)<br><br> <b> Attachment: </b><br>tangosol-cache-config.xml <br> (*To use this attachment you will need to rename 403.bin to tangosol-cache-config.xml after the download is complete.)<br><br> <b> Attachment: </b><br>tangosol-coherence-override.xml <br> (*To use this attachment you will need to rename 404.bin to tangosol-coherence-override.xml after the download is complete.)

Hi Dimitri,
Your suggestion did work. Is there a way I can use <scheme-ref> to call a reference of a cachestore scheme? I'm trying to do something like this and it doesn't seem to work:
<caching-schemes>
<local-scheme>
<scheme-name>PCRankScore</scheme-name>
<cachestore-scheme>
<scheme-ref>RankScoreTangosolCacheBackingDAO</scheme-ref>
</cachestore-scheme>
</local-scheme>
<cachestore-scheme>
<scheme-name>RankScoreTangosolCacheBackingDAO</scheme-name>
<class-scheme>
<class-name>com.putnaminv.pc.dao.cache.rankscore.RankScoreTangosolCacheBackingDAO</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>{cache-name}</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
</caching-schemes>

Similar Messages

  • Cache Exception while running test_fwktutorial.jsp in  R12

    Hi all,
    There is a Cache Exception encountered while running test_fwktutorial.jsp in R12 instance. It gives a "Success" messsage when tested for the data base connection. The base exception is shown as "null connection".
    Below is the complete stack trace of the exception.
    500 Internal Server Error
    oracle.apps.fnd.cache.CacheException     at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)     at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)     at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)     at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259)     at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114)     at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083)     at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050)     at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037)     at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)     at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941)     at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926)     at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891)     at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1027)     at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:223)     at OAErrorPage.jspService(_OAErrorPage.java:66)     [OAErrorPage.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)     at test_fwktutorial._jspService(_test__fwktutorial.java:104)     [test_fwktutorial.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection     at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712)     at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)     at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)     at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)     ... 51 moreCaused by: oracle.apps.jtf.base.resources.FrameworkException: An exception occurred in the method CacheAccess.getnullThe base exception is:null Connection     at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)     at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)     ... 55 more

    Check this notes
    Note 391554.1 - Oracle Application Framework Documentation Resources, Release 12
    ML Doc 416708.1 (How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12)
    Thanks

  • A cache exception RenderAgent is not initialized in Oracle IPM 11g

    Hi,
    Any idea what this is error is about I am using Oracle IPM 11g and when viewing the document in the Viewer I am getting the below error. Am using Oracle UCM as the repository.
    A cache exception RenderAgent is not initialized
    Thanks

    Hi,
    We are getting the same error while opening a PDF file in IPM viewer.
    - A cache exception occurred. RenderAgent is not initialized
    We are using IPM version 11.1.1.4.0
    If anyone has found a solution to this issue, kindly share.

  • Relationship caching exception

    Me again. As I methodically walk through all of the latest WL7.0 EJB
    features I keep running in to problems.
    Today it was relationship caching. I have two simple CMP beans, Person and
    Address, with a 1-to-many relationship. Optimistic locking. Standard stuff,
    works fine without the rel cache.
    The cmp descriptor includes following lines specifying the cache:
    <relationship-caching>
    <caching-name>withaddress</caching-name>
    <caching-element>
    <cmr-field>addresses</cmr-field>
    </caching-element>
    </relationship-caching>
    Finder query defined in ejb-xml, re-defined in cmp descriptor to set cache
    name:
    <weblogic-query>
    <query-method>
    <method-name>findByLastNameWithAddress</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <caching-name>withaddress</caching-name>
    </weblogic-query>
    When I execute the finder in the context of a transaction I see the proper
    outer-join SQL statement float by, and then log messages attempting to
    preload the person and address beans from the finder results, and then it
    bombs inside WL cache logic:
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] : called
    findByLastNameWithAddress
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] : Finder produced statement
    string
    SELECT WL0.ID, WL0.FIRSTNAME, WL0.LASTNAME, WL0.MIDDLENAME, WL0.SALUTATION ,
    WL1.ID, WL1.CITY, WL1.POSTAL_CODE, WL1.STATE, WL1.STREET, WL1.PERSON_ID,
    WL1.PERSON_ID FROM PERSON WL0, ADDRESS WL1 WHERE ( (WL0.LASTNAME LIKE
    ? ) ) AND WL1.PERSON_ID (+)= WL0.ID
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] :
    PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS.setup called.
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] : __WL_loadGroup2FromRS
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] : bean after finder load:
    com.wiley.compBooks.nyberg.ch07b.ejb.PersonCMPBean_g8o4xg__WebLogic_CMP_RDBM
    S@36d85f
    [AddressCMPBean_77rz6d__WebLogic_CMP_RDBMS] :
    AddressCMPBean_77rz6d__WebLogic_CMP_RDBMS.setup called.
    [AddressCMPBean_77rz6d__WebLogic_CMP_RDBMS] : __WL_loadGroup2FromRS
    [AddressCMPBean_77rz6d__WebLogic_CMP_RDBMS] : __WL_loadCMRFieldFromRS_person
    javax.ejb.FinderException: Exception executing finder
    'findByLastNameWithAddress':
    java.lang.NullPointerException
    at weblogic.ejb20.cache.TxKey.<init>(TxKey.java:30)
    at weblogic.ejb20.cache.EntityCache.doGet(EntityCache.java:158)
    at weblogic.ejb20.cache.EntityCache.get(EntityCache.java:127)
    at
    weblogic.ejb20.manager.DBManager.finderCacheInsert(DBManager.java:985)
    at
    weblogic.ejb20.manager.BaseEntityManager.cacheInsertBean(BaseEntityManager.j
    ava:1036)
    at
    com.wiley.compBooks.nyberg.ch07b.ejb.PersonCMPBean_g8o4xg__WebLogic_CMP_RDBM
    S.ejbFindByLastNameWithAddress(PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS.java
    :718)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersi
    stenceManager.java:300)
    at
    weblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.
    java:715)
    at
    weblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.
    java:688)
    at
    weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:47
    6)
    Thoughts? I dread trying to walk support through this..
    -Greg
    Check out my WebLogic 6.1 Workbook for O'Reilly EJB Third Edition
    www.oreilly.com/catalog/entjbeans3 or www.titan-books.com

    Quick follow up question: Can the outer-join syntax be used with EJB QL? Any thoughts,
    ideas, suggestions, etc. would be very helpful?
    Thank yo so much,
    -Bart
    "Bart Simpson" <[email protected]> wrote:
    >
    Hi,
    How are you doing? I have couple of questions:
    o When is outer-join generated instead of regular join?
    o When is the sp slated for (I am sure this question has been asked at
    least a
    million times:)
    Thank you so much...
    -Bart
    Michael Chen <[email protected]> wrote:
    This problem is fixed now. The fix will be include in WLS7.0 SP1.
    Michael
    Michael Chen wrote:
    Greg,
    This is our bug. Can you send me your application, setup of yourdatabase
    tables, and your database content? I will fix this bug for you.
    thanks,
    Michael
    Greg Nyberg wrote:
    Me again. As I methodically walk through all of the latest WL7.0
    EJB
    features I keep running in to problems.
    Today it was relationship caching. I have two simple CMP beans,
    Person
    and
    Address, with a 1-to-many relationship. Optimistic locking. Standardstuff,
    works fine without the rel cache.
    The cmp descriptor includes following lines specifying the cache:
    <relationship-caching>
    <caching-name>withaddress</caching-name>
    <caching-element>
    <cmr-field>addresses</cmr-field>
    </caching-element>
    </relationship-caching>
    Finder query defined in ejb-xml, re-defined in cmp descriptor toset cache
    name:
    <weblogic-query>
    <query-method>
    <method-name>findByLastNameWithAddress</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <caching-name>withaddress</caching-name>
    </weblogic-query>
    When I execute the finder in the context of a transaction I see
    the
    proper
    outer-join SQL statement float by, and then log messages attemptingto
    preload the person and address beans from the finder results, andthen it
    bombs inside WL cache logic:
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] : called
    findByLastNameWithAddress
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] : Finder produced statement
    string
    SELECT WL0.ID, WL0.FIRSTNAME, WL0.LASTNAME, WL0.MIDDLENAME, WL0.SALUTATION,
    WL1.ID, WL1.CITY, WL1.POSTAL_CODE, WL1.STATE, WL1.STREET, WL1.PERSON_ID,
    WL1.PERSON_ID FROM PERSON WL0, ADDRESS WL1 WHERE ( (WL0.LASTNAMELIKE
    ? ) ) AND WL1.PERSON_ID (+)= WL0.ID
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] :
    PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS.setup called.
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] : __WL_loadGroup2FromRS
    [PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS] : bean after finder load:
    com.wiley.compBooks.nyberg.ch07b.ejb.PersonCMPBean_g8o4xg__WebLogic_CMP_RDBM
    S@36d85f
    [AddressCMPBean_77rz6d__WebLogic_CMP_RDBMS] :
    AddressCMPBean_77rz6d__WebLogic_CMP_RDBMS.setup called.
    [AddressCMPBean_77rz6d__WebLogic_CMP_RDBMS] : __WL_loadGroup2FromRS
    [AddressCMPBean_77rz6d__WebLogic_CMP_RDBMS] : __WL_loadCMRFieldFromRS_person
    javax.ejb.FinderException: Exception executing finder
    'findByLastNameWithAddress':
    java.lang.NullPointerException
    at weblogic.ejb20.cache.TxKey.<init>(TxKey.java:30)
    at weblogic.ejb20.cache.EntityCache.doGet(EntityCache.java:158)
    at weblogic.ejb20.cache.EntityCache.get(EntityCache.java:127)
    at
    weblogic.ejb20.manager.DBManager.finderCacheInsert(DBManager.java:985)
    at
    weblogic.ejb20.manager.BaseEntityManager.cacheInsertBean(BaseEntityManager.j
    ava:1036)
    at
    com.wiley.compBooks.nyberg.ch07b.ejb.PersonCMPBean_g8o4xg__WebLogic_CMP_RDBM
    S.ejbFindByLastNameWithAddress(PersonCMPBean_g8o4xg__WebLogic_CMP_RDBMS.java
    :718)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersi
    stenceManager.java:300)
    at
    weblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.
    java:715)
    at
    weblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.
    java:688)
    at
    weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:47
    6)
    Thoughts? I dread trying to walk support through this..
    -Greg
    Check out my WebLogic 6.1 Workbook for O'Reilly EJB Third Edition
    www.oreilly.com/catalog/entjbeans3 or www.titan-books.com

  • An error occurred in the core cache

    Hi All
    <b>I have posted this Message almost 3 to 4 time , but no one has replied , as they have never come across the problem, if this is the case , we shud take those ases first. pls help !!!!</b>
    Case : ISA B2C CRM
    Deploying through SDM
    I have created New Custom B2C as per Extension Template
    Action
    Business Object Manager
    Business Object
    Backend Interface
    Backend Object
    Created Entries in bom-config.xml & backendobject-config.xml as well
    Classes are as per Extension.
    My Modified Application was working Fine ==> It has passed all layers & retriving DATA from CRM & Displaying on Custom JSP.
    Now what is the intresting point i am facing is the EAR which has been deployed successfully & Running before Server Restart is only Working.
    , when i Create new EAR ( with Same context node) & deploy , after launching that Application this Errors Come( yes i have undeployed the Working EAR as the context node is same)
    500 Internal Server Error
    SAP J2EE Engine/6.40
    Application error occurred during request processing.
    Details: Error [com.sap.engine.services.servlets_jsp.server.exceptions.WebServletException:
    Error while servlet [action] is initialized with a run-as identity.],
    with root cause [java.security.PrivilegedActionException: null].
    Exception id: [0002A56BEBF7005700000112000007A400041641E2ED396E]
    Now it the same case with each n every EAR with different contextnode which i create through isa build tool ( but earlier it was not the case though i am following same procedure for creating ear)
    What is going Wrong !!!!!!!!!!!!!.
    Is there is any problem with SDM !!!!.
    When i have gone to Logs isaerror.log
    #1.5#0002A56BEBF7003E00000039000007A400041642BB7830DC#1150375776023#bccom.sapmarkets.isa.core.cache.CacheInitHandler#sap.com/crm.b2c_b2cApp#bccom.sapmarkets.isa.core.cache.CacheInitHandler#J2EE_ADMIN#542##ilggladev04_C4D_4756250#Guest#65318570fc6d11dac2c90002a56bebf7#SAPEngine_Application_Thread[impl:3]_19##0#0#Error#1#/#Plain###[undefined|system.cache.exception] An error occurred in the core cache "region 'XCM_SESSION_SCOPE' already exists in cache"# #1.5#0002A56BEBF7003E0000003A000007A400041642BB7A1624#1150375776132#bccom.sapmarkets.isa.core.cache.CacheInitHandler#sap.com/crm.b2c_b2cApp#bccom.sapmarkets.isa.core.cache.CacheInitHandler#J2EE_ADMIN#542##ilggladev04_C4D_4756250#Guest#65318570fc6d11dac2c90002a56bebf7#SAPEngine_Application_Thread[impl:3]_19##0#0#Error#1#/#Plain###[undefined|system.cache.exception] An error occurred in the core cache "region 'XCM_APP_SCOPE' already exists in cache"# #1.5#0002A56BEBF7003E0000003B000007A400041642BE2515F7#1150375820912#bccom.sapmarkets.isa.core.init.InitializationHanlder.performInitialization#sap.com/crm.b2c_b2cApp#bccom.sapmarkets.isa.core.init.InitializationHanlder.performInitialization#J2EE_ADMIN#542##ilggladev04_C4D_4756250#Guest#65318570fc6d11dac2c90002a56bebf7#SAPEngine_Application_Thread[impl:3]_19##0#0#Error#1#/#Plain###[undefined|system.initFailed] Initalization of com.sapmarkets.isa.core.xcm.init.ExtendedConfigInitHandler failed
    java.lang.StackOverflowError #
    then I have come to Point that there is somthing wrong with Cach Control Configuration .
    with errors as follows
    An error occurred in the core cache "region 'XCM_SESSION_SCOPE' already exists in cache"#
    An error occurred in the core cache "region 'XCM_APP_SCOPE' already exists in cache"#
    Initalization of com.sapmarkets.isa.core.xcm.init.ExtendedConfigInitHandler failed
    I tried to clear the cache through http://localhost:50000/b2c_b2cApp/admin/index.jsp
    but the page comes blank without any links
    Initially this was not the Problem , now how it is Coming !!!! But as far as i know , once our Development Server was Restarted .( not just j2ee Server)
    Now after that whatever new EAR i m building ( locally) is not coming Properly
    Please can u throw some Light on that.
    pls help me , i believe , u all can solve my problem
    Please Reply Soon
    Thanks & Regards
    Ravi Sah

    Hi
         can some body look at this issue .
    I will be very thankful to you all.
    Thanks & regards
    Ravi Sah

  • Interface mapping Object does not exist in runtime cache

    I am getting the following error after importing IR into our test system (PI7.0 SP10).
    Interface mapping Object ID 19C3AC9D13B03787AEEB85169D0B6900 Software Component 8C51B2209F3C11DB94CEEB180DDF0074 does not exist in runtime cache Exception of class CX_XMS_SYSERR_MAPPING
    You want to execute interface mapping Object ID 19C3AC9D13B03787AEEB85169D0B6900 Software Component 8C51B2209F3C11DB94CEEB180DDF0074 .     However,the data of this interface mapping is missing in the runtime cache. Activate the interface mapping in the Integration Repository.
    I cannot change the mapping and reactivate - as this cannot be changed.
    I have run SXI_Cache, Cleared SLD caches on IR and ID and run cacherefresh=full, but no luck!
    The mapping is there and I can test it in the IR.
    Any thoughts?

    I had this problem today, maybe this helps someone when searching about this (at least this is the first hit at a very big search engine when searching for interface mapping does not exist...)
    I have a RFC => PI => File scenario. I was aware that this would need to be asynchronous so I set up the message interface (service interface for PI > 7.0) as asynchronous inbound. This is the file receiver part of the interface.
    Hints on the error: Audit Log in message details of RWB showed a line like this: RFC adapter received sRFC for ZMY_FM from <sender SID>/<sender client>. Attempting to send message synchronously. This of course could not work as file is asynchronous by default.
    Bottom line however was, to make the call of the sender RFC asynchronous by using "in background task" like so:
    CALL FUNCTION 'ZMY_FM'
       IN BACKGROUND TASK
       DESTINATION 'PI_DEST'
       EXPORTING
         t_file = lt_file.
    COMMIT WORK.
    Don't forget the commit work here.
    Hope this helps.
    Cheers
    Jens

  • What else are stored in the database buffer cache?

    What else are stored in the database buffer cache except the data blocks read from datafiles?

    That is a good idea.
    SQL> desc v$BH;
    Name                                                                                                      Null?    Type
    FILE#                                                                                                              NUMBER
    BLOCK#                                                                                                             NUMBER
    CLASS#                                                                                                             NUMBER
    STATUS                                                                                                             VARCHAR2(10)
    XNC                                                                                                                NUMBER
    FORCED_READS                                                                                                       NUMBER
    FORCED_WRITES                                                                                                      NUMBER
    LOCK_ELEMENT_ADDR                                                                                                  RAW(4)
    LOCK_ELEMENT_NAME                                                                                                  NUMBER
    LOCK_ELEMENT_CLASS                                                                                                 NUMBER
    DIRTY                                                                                                              VARCHAR2(1)
    TEMP                                                                                                               VARCHAR2(1)
    PING                                                                                                               VARCHAR2(1)
    STALE                                                                                                              VARCHAR2(1)
    DIRECT                                                                                                             VARCHAR2(1)
    NEW                                                                                                                CHAR(1)
    OBJD                                                                                                               NUMBER
    TS#                                                                                                                NUMBERTEMP      VARCHAR2(1)      Y - temporary block
    PING      VARCHAR2(1)      Y - block pinged
    STALE      VARCHAR2(1)      Y - block is stale
    DIRECT      VARCHAR2(1)      Y - direct block
    My question is what are temporary block and direct block?
    Is it true that some blocks in temp tablespace are stored in the data buffer?

  • Desktop AIR app debug build running from cache?

    I'm new to flash builder (using 4.5 for os x) and I've been working on a desktop AIR app for the last week.  I've been running into a strange issue when deugging my app.  Every once and a while (maybe 4-5 times a day) after I make changes to my code and I make a new debug build, a much older version of the app runs when I run the app with or without the debugger, or even if I export for release.  It's as though its running (or building) from the cache, except I'm building a desktop app and I'm not testing the swf on a browser.  I've turned off "Build Automatically", cleaned the project and build again but no changes are reflected.  I can't figure out how, but after cleaning, quitting flash builder, restarting, cleaning, building again, etc.. numerous times suddenly I will see the current version of the app back up and running.  I cannot for the life of me figure out how to quickly resolve the issue, or what exactly is fixing it. Every time it seems like something else triggers FB to refresh the build.  I can even run the debugger and step through my current code while seeing completely different results on the screen.
    Has anyone else run into this issue?  Anyone know what I may be missing?  Are there settings I need to change besides "Build Automatically"?  Thanks for your help,
    Nick

    Thanks for the answer.  How exactly Flash Builder is running is a little clearer to me now.  I checked and the timestamps were indeed being updated correctly.
    This helped me to look elsewhere for the issue.  I actually now think it may have to do with mobile home sync that I have going through OS X.  Whenever the sync runs, FB seems to launch an outdated (as in hours ago) version of the app.  Despite the fact that the sync is not pulling in new files, it seems to be the issue.  If i stop the sync I start seeing the current version of the app again when I run the debugger.  So I think its just the OS causing my problem (although I still don't completely understand why exactly the issue would manifest itself in FB).  Fortunately I can recreate the issue every time I run the sync, so the problem is consistent at least!
    Thanks again for your help.

  • How can I store in cache an special object

    Hi,
         I am trying to store in coherence an OMElement object (axis2)
         the object is something like this:
         <tns:record mlns:tns="urn:mycompany.com:eng/myproj/myver">
         <tns:logRecord>
         <tns:event>
         <tns:id>1111111</tns:id>
         <tns:eid>5003</tns:eid>
         </tns:event>
         </tns:logRecord>
         </tns:record>
         but I get this error when I try to store it in the cache
         Exception
         java.lang.IllegalArgumentException: Resource is not serializable: Key=1111111, Value=<tns:record mlns:tns="urn:mycompany.com:eng/myproj/myver"><tns:logRecord><tns:event><tns:id>1111111</tns:id><tns:eid>5003</tns:eid></tns:event></tns:logRecord></tns:record>
              at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.updateResource(ReplicatedCache.CDB:7)
              at com.tangosol.coherence.component.util.CacheHandler.put(CacheHandler.CDB:11)
              at com.tangosol.coherence.component.util.CacheHandler.put(CacheHandler.CDB:1)
              at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
              at com.adteractive.idservice.caching.TimeExpirableCoherenceCache.put(TimeExpirableCoherenceCache.java:46)
              at com.adteractive.idservice.service.SetGetSessionData_Cache.testSetGetSessionData(SetGetSessionData_Cache.java:65)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at junit.framework.TestCase.runTest(TestCase.java:164)
              at junit.framework.TestCase.runBare(TestCase.java:130)
              at junit.framework.TestResult$1.protect(TestResult.java:110)
              at junit.framework.TestResult.runProtected(TestResult.java:128)
              at junit.framework.TestResult.run(TestResult.java:113)
              at junit.framework.TestCase.run(TestCase.java:120)
              at junit.framework.TestSuite.runTest(TestSuite.java:228)
              at junit.framework.TestSuite.run(TestSuite.java:223)
              at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
              at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
              at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
              at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
              at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
              at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
              at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
         public class CoherenceCache {
              private NamedCache cache = CacheFactory.getCache("VirtualCache");
              public void put(IdKey element, Object sessionObject) {
              this.cache.put(element.getId(), sessionObject, this.expirationTimePeriodInMillis);
         Is there any way I can trick him to store this object in the cache?

    Hi Momo,
         I don't exactly understand. Do you want to store the data represented by the OMElement into the cache or not?
         If you do, then the next question is can you from your code iterate over all its fields, and most importantly, are you able to recreate an identical object from those data manuallly, or not?
         If you are not able to do that, then you will not be able to put that object in the cache, or most particularly you will not be able recreate it upon getting it from the cache.
         As the OMElement and its family is an interface representing Axis2-specific stuff, you should try to find a way in Axis2 documentation to serialize data to a stream AND deserialize it back from the stream to a new object. If you cannot find such a way, there is probably a reason to that.
         If you can find a way, then you just serialize to a byte[] with the help of a ByteArrayOutputStream and in the writeExternal method you simply write that byte[] to the DataOutput via the ExternalizableHelper.writeByteArray() method. Similarly, you can read back the byte[] from the DataInput via the ExternalizableHelper.readByteArray() method, and then deserialize from a ByteArrayInputStream constructed with that byte[].
         Of course I may be wrong.
         Best regards,
         Robert

  • Distributed Cache Errors in WFE

    Unexpected error occurred in method 'Put' , usage 'Distributed Logon Token Cache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0016>:SubStatus<ES0001>:The
    connection was terminated, possibly due to server or network problems or serialized Object size is greater than MaxBufferSize on server. Result of the request is unknown. ---> System.TimeoutException: The socket was aborted because an asynchronous receive
    from the socket did not complete within the allotted timeout of 00:02:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.TimeoutException:
    The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:02:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.Sockets.SocketException: The
    I/O operation has been aborted because of either a thread exit or an application request   
     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()   
     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     -
    -- End of inner exception stack trace ---   
     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)   
     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)   
     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     -
    -- End of inner exception stack trace ---   
     at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)   
     at System.ServiceModel.Channels.StreamConnection.EndRead()     -
    -- End of inner exception stack trace ---   
     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)   
     at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndReceive(IAsyncResult result)   
     at Microsoft.ApplicationServer.Caching.WcfClientChannel.CompleteProcessing(IAsyncResult result)     -
    -- End of inner exception stack trace ---   
     at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody reqBody)   
     at Microsoft.ApplicationServer.Caching.DataCache.InternalPut(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[] tags, String region,
    IMonitoringListener listener)   
     at Microsoft.ApplicationServer.Caching.DataCache.<>c__DisplayClass25.<Put>b__24()   
     at Microsoft.ApplicationServer.Caching.DataCache.Put(String key, Object value, TimeSpan timeout)   
     at Microsoft.SharePoint.DistributedCaching.SPDistributedCache.Put(String key, Object value)'.

    Hi Amol,
    check those links, contains similar issues and resolution
    https://habaneroconsulting.com/insights/sharepoint-2013-distributed-cache-bug#.VJAjsyuUdP0
    http://blogs.msdn.com/b/sambetts/archive/2014/05/28/troubleshooting-appfabric-timeouts-on-sharepoint.aspx
    http://sharepointchips.com/distributed-cache-errors-in-the-uls-log/
    https://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/2fad2277-8f5f-4323-8c18-621ae4bfe11a/refresh-the-sp2013-distributed-cache-services-logon-token-cache?forum=sharepointgeneral
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Purge Cache Crashes

    SYS: Win7  APP:Cs4
    All things work in Preferences/Cache except for Purge Cache. When i try it, Bridge crashes. How can i delete these old thumbnails?

    Close Bridge and Photoshop, then go to the cache folder (in Windows Explorer) an delete all it's contents.

  • ClassNotFound     found in Negative cache

    Hi ,
      I am unable to solve  " found in negative cache " exception.
    In visual admin -->log viewer  i am getting foll.. error
    can anyone help me to solve my problem
    thanks in advance
    Could not load class [Lcom.hp.om.nwoms.common.SpcDeviceMapping; with classloader com.sap.engine.services.deploy.server.ApplicationLoader@[email protected]/OMSCBEAR, will try ObjectStreamClass.forClass() instead.
    [EXCEPTION]
    java.lang.ClassNotFoundException: [Lcom.hp.om.nwoms.common.SpcDeviceMapping;Found in negative cache-- Loader Info -ClassLoader name: [hp.com/OMSCBEAR] Parent loader name: [Frame ClassLoader] References:   not registered! Resources:   E:\usr\sap\GRD\DVEBMGS00\j2ee\cluster\server0\apps\hp.com\OMSCBEAR\servlet_jsp\omscb\root\WEB-INF\lib\hp.comCMPOBJ.jar   E:\usr\sap\GRD\DVEBMGS00\j2ee\cluster\server0\apps\hp.com\OMSCBEAR\servlet_jsp\omscb\work   E:\usr\sap\GRD\DVEBMGS00\j2ee\cluster\server0\apps\hp.com\OMSCBEAR\servlet_jsp\omscb\root\WEB-INF\lib\hp.comMWSPROXYMWSPROXY_DEPLOY.jar   E:\usr\sap\GRD\DVEBMGS00\j2ee\cluster\server0\apps\hp.com\OMSCBEAR\servlet_jsp\omscb\root\WEB-INF\classes   E:\usr\sap\GRD\DVEBMGS00\j2ee\cluster\server0\apps\hp.com\OMSCBEAR\servlet_jsp\omscb\root\WEB-INF\lib\hp.comOBJMODEL~OBJMODEL_DEPLOY.jar   E:\usr\sap\GRD\DVEBMGS00\j2ee\cluster\server0\apps\hp.com\OMSCBEAR\src.zip Loading model: {parent,references,local}--
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)     at com.sap.jms.protocol.serialization.JMSInputStream.resolveClass(JMSInputStream.java:43)     at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)     at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)     at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1560)     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)     at com.sap.jms.protocol.message.MessageRequest.readBody(MessageRequest.java:400)     at com.sap.jms.protocol.message.MessageRequest.getMessageBody(MessageRequest.java:903)     at com.sap.jms.client.message.ObjectMessage.getObject(ObjectMessage.java:114)     at com.hp.om.nwoms.event.EventReceiver.onMessage(EventReceiver.java:130)     at com.sap.jms.client.session.Session.run(Session.java:715)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hi Vishnuverdhan,
    Hava you added supporting JAR file.
    Thanks
    Arun

  • Need help in to raise an exception in BundleException

    Hi All,
    I have one Create Page and one EO. In create page, I am displaying 10 blank rows at time for create new records. I am validating Code for uniqueness in method "validateEntity()" of "xxxxEOImpl.java". Here, what is happening, I am getting only one row validated at a time. Even, I tried to bundle all these errors and show at one shot by using "OAException.raiseBundledOAException(exceptions);".
    For example:
    If user enter 10 records for creation and out of 5 records are failed due to unique validation. Here, I want to bundle all these 5 validation errors and show at a time.
    Please advice me if anybody knows or has done this kind of validation and raising errors.
    Help is higlhly appreciated.
    Thanks,
    Arvin

    Some more examples which is similar to your requirement i believe.
    Example 2
    The following code caches exceptions thrown during validateEntity(), and then throws the cached exceptions
    as one bundled exception.
    protected void validateEntity()
    super.validateEntity();
    ArrayList exceptions = new ArrayList();
    //check for duplicate Filter Name
    if (getEntityState() == STATUS_NEW)
    String value = getFilterName();
    OADBTransaction tx = getOADBTransaction();
    OAApplicationModule vam = getMyValidationAM();
    FiltersVOImpl vo = vam.findViewObject("filtersViewUsage");
    if (vo == null)
    vo = vam.createViewObject("filtersViewUsage","oracle.apps.qrm.filter.server.FiltersVO");
    vo.setMaxFetchSize(-1);
    vo.initQuery(value,"C");
    Row r = vo.first();
    if (r != null)
    exceptions.add(
    new OAAttrValException (
    OAException.TYP_ENTITY_OBJECT, // Entity attribute exception.
    getEntityDef().getFullName(), //Entity full def name
    getPrimaryKey(), //Row primary key
    "FilterName", //Attribute Name
    value, //Bad Value
    "QRM", //Message Application Short Code
    "QRM_UNIQUE_FILTERS_ERR")); //Message Code
    //check for empty filters(no conditions)
    EntityDefImpl def = EntityDefImpl.findDefObject("oracle.apps.qrm.filter.server.QrmFilterConditionsEO");
    Iterator iterator = def.getAllEntityInstancesIterator(getDBTransaction());
    String flag = "no";
    while (iterator.hasNext())
    QrmFilterConditionsEOImpl fcEO = (QrmFilterConditionsEOImpl)iterator.next();
    // only check rows in valid state
    if ( fcEO.getEntityState() != STATUS_DELETED && fcEO.getEntityState() != STATUS_DEAD )
    flag = "OK";
    if (flag.equals("no"))
    exceptions.add(
    new OARowValException (
    getEntityDef().getFullName(),
    getPrimaryKey(), //Row primary key
    "QRM", //Message Application Short Code
    "QRM_NO_CONDITIONS_ERR")); //Message Code
    OAException.raiseBundledOAException(exceptions);
    Example 3
    The following code example caches exceptions thrown in a view object method, and then throws the cached
    exceptions as one bundled exception.
    public void checkUsed()
    String ifSelected = null;
    String name;
    ArrayList exceptions = new ArrayList();
    FiltersVORowImpl row = (FiltersVORowImpl)first();
    while (row != null)
    ifSelected = (String)row.getAttribute("SelectFlag");
    if ("Y".equals(ifSelected))
    name = (String)row.getAttribute("FilterName");
    OAViewObjectImpl vo =
    (OAViewObjectImpl)getApplicationModule().findViewObject("IsFilterUsedVO");
    vo.setWhereClause(null);
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,name);
    vo.executeQuery();
    Row r = vo.first();
    //if there are analyses, then use them
    if (r != null)
    String msg= (String)r.getAttribute("AnalysisName");
    String flag ="f";
    while (r != null)
    //change flag if it was the first row,if not append analysis name
    if (flag.equals("f"))
    flag = "N";
    else
    msg = msg +", "+ (String)r.getAttribute("AnalysisName");
    r = vo.next();
    MessageToken[] tokens = {new MessageToken("FILTER_NAME",name),
    new MessageToken("ANALYSIS",msg)};
    exceptions.add(
    new OARowValException(
    ((ComponentObject)getViewObject()).getName(),
    row.getKey(),
    "QRM",
    "QRM_FILTER_REMOVE_ERR",
    tokens));
    row =(FiltersVORowImpl)next();
    OAException.raiseBundledOAException(exceptions);
    Example 4
    The following code example registers a validation exception in set<Attribute>() so BC4J can throw this
    exception later during the entity validation.
    public void setAmount(oracle.jbo.Number amnt)
    // Clears any old exceptions for a fresh start.
    clearAttributeException("Amount");
    if(amnt < 0)
    OAAttrValException attrEx = new OAAttrValException(
    OAAttrValException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(),
    getPrimaryKey(),
    "Amount",
    amnt,
    "QRM",
    "QRM_AMOUNT_IS_NEGATIVE");
    registerAttributeException(getEntityDef().getAttributeDefImpl("Amount"),amnt, attrEx);
    Example 5
    This code example registers exceptions thrown during validateEntity()so BC4J can throw these exceptions
    when validation completes.
    protected void validateEntity()
    super.validateEntity();
    // Clears all Row and Attribute exceptions registered in validateEntity() for a fresh start.
    clearAttributeException("FilterNAme");
    clearRowExceptions();
    //check for duplicate Filter Name
    if (getEntityState()==STATUS_NEW)
    String value = getFilterName();
    OADBTransaction tx = getOADBTransaction();
    OAApplicationModule vam = getMyValidationAM();
    FiltersVOImpl vo = vam.findViewObject("filtersViewUsage");
    if(vo == null)
    vo = vam.createViewObject("filtersViewUsage", "oracle.apps.qrm.filter.server.FiltersVO");
    vo.setMaxFetchSize(-1);
    vo.initQuery(value,"C");
    Row r = vo.first();
    if (r != null)
    OAAttrValException attrEx = new OAAttrValException (
    OAException.TYP_ENTITY_OBJECT, // Entity attribute exception.
    getEntityDef().getFullName(), //Entity full def name
    getPrimaryKey(), //Row primary key
    "FilterName", //Attribute Name
    value, //Bad Value
    "QRM", //Message Application Short Code
    "QRM_UNIQUE_FILTERS_ERR")); //Message Code
    registerAttributeException(getEntityDef().getAttributeDefImpl("FilterName"), value, attrEx);
    //check for empty filters(no conditions)
    EntityDefImpl def =
    EntityDefImpl.findDefObject("oracle.apps.qrm.filter.server.QrmFilterConditionsEO");
    Iterator iterator = def.getAllEntityInstancesIterator(getDBTransaction());
    String flag = "no";
    while (iterator.hasNext())
    QrmFilterConditionsEOImpl fcEO = (QrmFilterConditionsEOImpl)iterator.next();
    // only check rows in valid state
    if ( fcEO.getEntityState() != STATUS_DELETED && fcEO.getEntityState() != STATUS_DEAD )
    flag = "OK";
    if (flag.equals("no"))
    registerRowException(
    new OARowValException (
    getEntityDef().getFullName(),
    getPrimaryKey(), //Row primary key
    "QRM", //Message Application Short Code
    "QRM_NO_CONDITIONS_ERR")); //Message Code
    }

  • Ipod Photo (20GB, 4th generation) no longer recognized by Laptop or Itunes

    Hi, I'm having problems synchronizing my Ipod, cause neither my computer nor Itunes will recognize my Ipod anymore. I have tried restarting, resetting, reinstalling and all that and it didn't help.
    When I connect my Ipod via USB, it is charging, but when I unplug and replug again not even the charging works (through my laptop).
    Recently I've deleted most folders in the "Installer Cache" except for the two newest Itunes and Quicktime folders, cause the files were just taking up too much space - could it have something to do with that? Any ideas what to do?
    Thanks in advance!

    Hi Dave,
    thanks for replying. I don't think my problem is covered in those articles. I think it's rather connected to the "Installer Cache" files I've deleted. Anyway, I think I'll try deinstalling Itunes and restoring the Ipod, maybe that will help ...
    Oh, one more clue: I've recently installed a GPS-device and it's still showing, although it's not plugged in. Could it be that that's the reason the USB-hub won't recognize my Ipod?
    Message was edited by: Natascha1844

  • ASDM 7.1 fails to start on MacOS

    Hi,
    I have an ASA-5505 which I have been managing using ASDM from a PC and a Mac.
    I just happens that the Mac has not been used in a little while and when I tried to use ASDM on it, it fails.
    I've had a trawl through various posts and release notes (after updating various components in the process, incl Java with all the diabling/security updates of late) but am still having the problem and this is where I'm at:
    - the ASA runs v8.4(2) and ASDM 7.1(1)52
    - release notes state that ASDM 7.1 should work on Java 7 on Windows 7 and MacOS 10.7
    - ASDM starts fine on my Windows 7 PC running Java 1.7.0_13
    - I am also running Java 1.7.0_13 on MacOS 10.7.5
    - on MacOS, ASDM starts, asks for credentials, download/refreshes the cached app... and then crashes with the following exception message:
    Java Web Start 10.13.2.20
    Using JRE version 1.7.0_13-b20 Java HotSpot(TM) 64-Bit Server VM
    User home directory = /Users/[myusername]
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    m:   print memory usage
    o:   trigger logging
    p:   reload proxy configuration
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    0-5: set trace level to <n>
    CacheEntry[https://192.168.1.1/admin/public/asdm.jnlp]: updateAvailable=false,lastModified=Mon Dec 17 19:55:35 GMT 2012,length=-1
    Match: beginTraversal
    Match: digest selected JREDesc: JREDesc[version 1.6+, heap=67108864-536870912, args=-XX:MaxNewSize=1024k, href=null, sel=false, null, null], JREInfo: JREInfo for index 0:
        platform is: 1.7
        product is: 1.7.0_13
        location is: http://java.sun.com/products/autodl/j2se
        path is: /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
        args is: null
        native platform is: Mac OS X, x86_64 [ x86_64, 64bit ]
        JavaFX runtime is: JavaFX 2.2.5 found at /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/
        enabled is: true
        registered is: true
        system is: true
    Match: selecting maxHeap: 536870912
    Match: selecting InitHeap: 67108864
    Match: digesting vmargs: -XX:MaxNewSize=1024k
    Match: digested vmargs: [JVMParameters: isSecure: true, args: -XX:MaxNewSize=1024k]
    Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: -XX:MaxNewSize=1024k]
    Match: digest LaunchDesc: https://192.168.1.1/admin/public/asdm.jnlp
    Match: digest properties: [-Dhttp.agent=ASDM/]
    Match: JVM args: [JVMParameters: isSecure: true, args: -XX:MaxNewSize=1024k -Dhttp.agent=ASDM/]
    Match: endTraversal ..
    Match: JVM args final: -Xmx512m -XX:MaxNewSize=1024k -Dhttp.agent=ASDM/
    Match: Running JREInfo Version    match: 1.7.0.13 == 1.7.0.13
    Match: Running JVM args mismatch: have:<-Xmx512m -Dhttp.agent=ASDM/> !satisfy want:<-Xmx512m -XX:MaxNewSize=1024k -Dhttp.agent=ASDM/>
    Application Logging Started at Thu Feb 07 14:01:25 GMT 2013
    Local Launcher Version = 1.5.56
    Local Launcher Version Display = 1.5(56)
    OK button clicked
    Trying for ASDM Version file; url = https://192.168.1.1/admin/
    Server Version = 7.1(1)52
    Server Launcher Version = 1.5.56, size = 758784 bytes
    invoking SGZ Loader..
    Cache location = /Users/[myusername]/.asdm/cache
    Exception in thread "SGZ Loader: launchSgzApplet" java.lang.NoClassDefFoundError: apple/laf/AquaTableHeaderUI
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    at com.cisco.nm.dice.loader.l.loadClass(DashoA19*..:232)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    at com.cisco.nm.dice.loader.l.loadClass(DashoA19*..:232)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:188)
    at dla.updateUI(Unknown Source)
    at javax.swing.table.JTableHeader.<init>(JTableHeader.java:159)
    at dlz.<init>(Unknown Source)
    at dla.<init>(Unknown Source)
    at do6.<init>(Unknown Source)
    at do5.createDefaultTableHeader(Unknown Source)
    at javax.swing.JTable.initializeLocalVars(JTable.java:5531)
    at javax.swing.JTable.<init>(JTable.java:635)
    at javax.swing.JTable.<init>(JTable.java:574)
    at dns.<init>(Unknown Source)
    at dlk.<init>(Unknown Source)
    at dn5.<init>(Unknown Source)
    at dk9.<init>(Unknown Source)
    at dk5.<init>(Unknown Source)
    at dkv.<init>(Unknown Source)
    at do5.<init>(Unknown Source)
    at ds.<init>(ds.java:64)
    at ds.<init>(ds.java:60)
    at _d.<init>(_d.java:36)
    at _f.<init>(_f.java:36)
    at _g.<init>(_g.java:71)
    at bb6.a(bb6.java:98)
    at px.b(px.java:461)
    at px.<init>(px.java:280)
    at com.cisco.pdm.PDMApplet.start(PDMApplet.java:160)
    at com.cisco.nm.dice.loader.r.run(DashoA19*..:410)
    Caused by: java.lang.ClassNotFoundException: apple.laf.AquaTableHeaderUI
    at com.cisco.nm.dice.loader.l.loadClass(DashoA19*..:246)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 36 more
    The root cause of the issue seems to be that a Java class called apple.laf.AquaTableHeaderUI is not found...
    Now, I don't know much about Java, but that seems to be an Apple UI related class - I presume that it would be good to use this to give ASDM a more native look and feel, but why on earth is there no fallback? or am I missing something?
    Any information or help on the matter will be very welcome... even if it's only to say that you are experiencing the same issue!
    Olivier

    I had exactly the same problem on a Mac mini running OS X 10.9.3 and 10.9.4 with Java 1.7.0_60.  I spent any amount of time flushing caches, deleting my ~/.asdm directory and re-installing the dm-launcher.dmg file.
    I eventually got it running by installing Apple's Java for OS X 2014-001 from http://support.apple.com/kb/dl1572, deleting my ~/.asdm directory, using the Java Control Panel to delete all cached files and installed apps, then reinstalling from a fresh download of the dm-installer.dmg file.
    Bit of a blunderbus approach, I know, but it worked for me.  I think the Apple Java installation was what tipped the balance, but who knows, as it really ought to have been there already, shouldn't it?!
    YMMV :-)
    [followup comment]
    I just checked the Software Installations history on my Macbook Air on which ASDM has been working just fine.  It had Java for OS X 2013-005, which is the predecessor of 2014-001, and I remember having to install it to sort out compatibility problems between Java 6, Java 7 and ASDM 7.1.  The Mac mini, on the other hand, had Java for OS X 2012-005, which I suspect is the root of my problems.
    You can find out which Java you have by running "java -version" from a Terminal, and cross-check against the table on https://developer.apple.com/library/mac/technotes/tn2002/tn2110.html.

Maybe you are looking for