Is there any suggestion for the "SafeNamedCache was explicitly released"

I deployed the coherence-java-3.6.0-java on red had with core 2.6.18 with 64 bit.
Then the deployed the coherence-3.6.0-cpp on the same manchine and complied the example "hellogrid" and it works ok . No any error .
My requirement is to integrate the Coherence into the Nginx0.7.62 for my web server . And i wrote a thread pool for the NameCache::handle and get a newly hendle after a 5 seconds just because of the error "was explicitly released" . But it is not useful for solving the problem .
Anybody please give me a suggestion for the root cause of this problem .
Thanks .
And the configurate as follows which are all copied from the configurate file for the example "hellogrid"(coherence-cpp/examples/config/extend-server-config.xml and coherence-cpp/examples/config/extend-cache-config.xml):
extend-server-config.xm:
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<defaults>
<serializer>pof</serializer>
</defaults>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>dist-*</cache-name>
<scheme-name>example-distributed</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>repl-*</cache-name>
<scheme-name>example-replicated</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>local-*</cache-name>
<scheme-name>example-local</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>example-distributed</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>example-distributed</scheme-name>
<service-name>DistributedCache</service-name>
<lease-granularity>member</lease-granularity>
<backing-map-scheme>
<local-scheme/>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<replicated-scheme>
<scheme-name>example-replicated</scheme-name>
<service-name>ReplicatedCache</service-name>
<lease-granularity>member</lease-granularity>
<backing-map-scheme>
<local-scheme/>
</backing-map-scheme>
<autostart>true</autostart>
</replicated-scheme>
<local-scheme>
<scheme-name>example-local</scheme-name>
</local-scheme>
<invocation-scheme>
<scheme-name>example-invocation</scheme-name>
<service-name>InvocationService</service-name>
<autostart>true</autostart>
</invocation-scheme>
<proxy-scheme>
<scheme-name>example-proxy</scheme-name>
<service-name>ProxyService</service-name>
<thread-count system-property="tangosol.coherence.extend.threads">2</thread-count>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address system-property="tangosol.coherence.extend.address">localhost</address>
<port system-property="tangosol.coherence.extend.port">9099</port>
</local-address>
</tcp-acceptor>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>
</caching-schemes>
</cache-config>
extend-cache-config.xml:
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<defaults>
<serializer>pof</serializer>
</defaults>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>local-*</cache-name>
<scheme-name>local-example</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>near-*</cache-name>
<scheme-name>near-example</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>dist-*</cache-name>
<scheme-name>extend-dist</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<local-scheme>
<scheme-name>local-example</scheme-name>
</local-scheme>
<near-scheme>
<scheme-name>near-example</scheme-name>
<front-scheme>
<local-scheme>
<high-units>100</high-units>
<expiry-delay>1m</expiry-delay>
</local-scheme>
</front-scheme>
<back-scheme>
<remote-cache-scheme>
<scheme-ref>extend-dist</scheme-ref>
</remote-cache-scheme>
</back-scheme>
<invalidation-strategy>auto</invalidation-strategy>
</near-scheme>
<remote-cache-scheme>
<scheme-name>extend-dist</scheme-name>
<service-name>ExtendTcpCacheService</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address system-property="tangosol.coherence.proxy.address">localhost</address>
<port system-property="tangosol.coherence.proxy.port">9099</port>
</socket-address>
<socket-address>
<address system-property="tangosol.coherence.proxy.address">127.0.0.1</address>
<port system-property="tangosol.coherence.proxy.port">9099</port>
</socket-address>
<socket-address>
<address system-property="tangosol.coherence.proxy.address">172.16.1.23</address>
<port system-property="tangosol.coherence.proxy.port">9099</port>
</socket-address>
</remote-addresses>
<connect-timeout>10s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
</initiator-config>
</remote-cache-scheme>
</caching-schemes>
</cache-config>
Anyone who knows the root cause please tell me . Thanks .

The original error shown in the console of the Coherence server as follows :
2010-11-23 22:27:33.742/1566.313 Oracle Coherence GE 3.6.0.0 <D5> (thread=Proxy:ProxyService:TcpAcceptorWorker:0, member=1): An exce
ption occurred while processing a PutRequest for Service=Proxy:ProxyService:TcpAcceptor: java.lang.IllegalStateException: SafeNamedC
ache was explicitly released
at com.tangosol.coherence.component.util.SafeNamedCache.ensureRunningNamedCache(SafeNamedCache.CDB:23)
at com.tangosol.coherence.component.util.SafeNamedCache.getRunningNamedCache(SafeNamedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.put$Router(NamedCacheProxy.CDB:1)
at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.put(NamedCacheProxy.CDB:2)
at com.tangosol.coherence.component.net.extend.messageFactory.NamedCacheFactory$PutRequest.onRun(NamedCacheFactory.CDB:6)
at com.tangosol.coherence.component.net.extend.message.Request.run(Request.CDB:4)
at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.onMessage(NamedCacheProxy.CDB:11)
at com.tangosol.coherence.component.net.extend.Channel.execute(Channel.CDB:39)
at com.tangosol.coherence.component.net.extend.Channel.receive(Channel.CDB:26)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer$DaemonPool$WrapperTask.run(Peer.CDB:9)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)
It is shown again and again for any operation before the Coherence server is restart.

Similar Messages

  • Is there any suggestion to the html layout of my blog?

    is there any suggestion to the html layout of my blog?
    copaslirik
    Thanks before

    Hi Doku,
    Can you be more specific about the kind of feedback you are looking for : Are you looking for feedback on the aesthetic appeal of your blog or any potential technical glitches?
    Thanks,
    Preran

  • Is there any app for the ipadmini similar to the Assus Supernote Lite?

    Is there any app for the Ipadmini similar to the Assus Supernote lite?

    Hello,
    There aren't any that I know off. I would drop UMT a line and see if they are planning to release something similar for Project Online in the near future...
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • SafeNamedCache was explicitly released error

    Hi there, we are using Coherence 3.7.1.1 within Weblogic 11.1.1.6.0
    We have some Java code deployed on the server:
    public Session create(User user) {
    NamedCache sessionCache = CacheFactory.getCache(SESSION_CACHE_NAME);
    Session session = new Session(user);
    sessionCache.put(session.getSessionId(), session, getConfig().getSessionTTL());
    CacheFactory.releaseCache(sessionCache);
    return session;
    Every now and again it fails on the sessionCache.put method (line 71) with SafeNamedCache was explicitly released.
    Error stack:
    SafeNamedCache was explicitly released</message> <ns2:stackTrace>
    <ns2:frame class="com.tangosol.coherence.component.util.SafeNamedCache" file="SafeNamedCache.CDB" line="23" method="ensureRunningNamedCache"/>
    <ns2:frame class="com.tangosol.coherence.component.util.SafeNamedCache" file="SafeNamedCache.CDB" line="1" method="getRunningNamedCache"/>
    <ns2:frame class="com.tangosol.coherence.component.util.SafeNamedCache" file="SafeNamedCache.CDB" line="1" method="put"/>
    <ns2:frame class="mywes.security.sessions.impl.SessionDao" file="SessionDao.java" line="71" method="create"/>
    Any ideas why this would be happening? And what can be done to stop this from happening?
    Regards
    Robert

    Hi,
    I assume your code is running inside some sort of Web Application inside WebLogic and is therefore multi-threaded - that is, multiple threads could call this code at the same time. In that case it may be that something like this happens...
    Thread 1: NamedCache sessionCache = CacheFactory.getCache(SESSION_CACHE_NAME);
    Thread 2: NamedCache sessionCache = CacheFactory.getCache(SESSION_CACHE_NAME);
    Thread 1: Session session = new Session(user);
    Thread 2: Session session = new Session(user);
    Thread 2: sessionCache.put(session.getSessionId(), session, getConfig().getSessionTTL());
    Thread 2: CacheFactory.releaseCache(sessionCache);
    Thread 1: sessionCache.put(session.getSessionId(), session, getConfig().getSessionTTL());
    As the cache factory and cache are singletons inside Coherence if Thread 2 has called releaseCache before Thread 1 does the put then the put will fail as the cache has been released.
    JK

  • Java.lang.IllegalStateException: SafeNamedCache was explicitly released

    Is this a bug?
    Map (asdf): cache test
    &lt;distributed-scheme&gt;
    &lt;!--
    To use POF serialization for this partitioned service,
    uncomment the following section
    &lt;serializer&gt;
    &lt;class-
    name&gt;com.tangosol.io.pof.ConfigurablePofContext&lt;/class-
    name&gt;
    &lt;/serializer&gt;
    --&gt;
    &lt;scheme-name&gt;example-distributed&lt;/scheme-name&gt;
    &lt;service-name&gt;DistributedCache&lt;/service-name&gt;
    &lt;backing-map-scheme&gt;
    &lt;local-scheme&gt;
    &lt;scheme-ref&gt;example-binary-backing-map&lt;/scheme-ref&gt;
    &lt;/local-scheme&gt;
    &lt;/backing-map-scheme&gt;
    &lt;autostart&gt;true&lt;/autostart&gt;
    &lt;/distributed-scheme&gt;
    Map (test): put A alpha
    null
    Map (test): list
    A = alpha
    Map (test): destroy
    Map (test): list
    2009-01-20 13:27:30.012/112.098 Oracle Coherence GE 3.4.1/407 &lt;Error&gt; (thread=main, member=2):
    java.lang.IllegalStateException: SafeNamedCache was explicitly released
    at com.tangosol.coherence.component.util.SafeNamedCache.ensureRunningNamedCache(SafeNamedCache.CDB:23)
    at com.tangosol.coherence.component.util.SafeNamedCache.getRunningNamedCache(SafeNamedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.entrySet(SafeNamedCache.CDB:1)
    at com.tangosol.coherence.component.application.console.Coherence.doList(Coherence.CDB:71)
    at com.tangosol.coherence.component.application.console.Coherence.processCommand(Coherence.CDB:442)
    at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:39)
    at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)
    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:597)
    at com.tangosol.net.CacheFactory.main(CacheFactory.java:1317)
    Map (test):

    Excuse me David.
    I got same problem developing a daemon (on the same coherence configuration) where i simply insert pof into cache and release. When at the same time (new instance of cache from Factory) call a get all values system crash with this stacktrace :
    [2011-09-09 14:39:56,969] [ERROR] [Paline-WebService-Client] - SafeNamedCache was explicitly released
    java.lang.IllegalStateException: SafeNamedCache was explicitly released
    at com.tangosol.coherence.component.util.SafeNamedCache.ensureRunningNamedCache(SafeNamedCache.CDB:23)
    at com.tangosol.coherence.component.util.SafeNamedCache.getRunningNamedCache(SafeNamedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
    at cotral.engine.live.bpengine.rpchandler.ControllerUtilities.printPalineStatus(ControllerUtilities.java:243)
    at cotral.engine.live.bpengine.rpchandler.PalineController.execute(PalineController.java:205)
    at cotral.engine.live.bpengine.rpchandler.PalineController.execute(PalineController.java:98)
    at org.apache.xmlrpc.XmlRpcServer$Worker.executeInternal(XmlRpcServer.java)
    at org.apache.xmlrpc.XmlRpcServer$Worker.execute(XmlRpcServer.java)
    at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java)
    at org.apache.xmlrpc.WebServer$Connection.run(WebServer.java)
    at org.apache.xmlrpc.WebServer$Runner.run(WebServer.java)
    at java.lang.Thread.run(Thread.java:619)
    Can you help me?

  • My ipod went in the wash for 40 minutes and the screen was crushed. i immediatly put it in a baggie of brown rice. is there any hope for the hardware? (i know i need a new screen)

    can it be saved? i know the rice thing has worked for other people but the bottom have of the screen is in basically small fragments so it probably got extra wet...

    If you take or send it to Apple for the broken screen, they will replace your iPod (for a significant price) with an equivilant refurbished model.  It doesn't matter what else is wrong with it.

  • Is there any fix for the flashplayer installer not working on a windows 7, 64-bit, using firefox?

    I Hit the download link, get the permission windows, and the flashplayer installer window comes up, but doesn't do anything. i left it up all day when i went to work, come home 12 hours later and it was still just sitting there not installing. Is there a fix for this? i have looked everywhere and nothing that i have found has worked. even the suggestions on the adobe help page doesn't work..

    And you used the offline installers from the link that Andy posted:
    Flash Player for Internet Exporer - ActiveX
    Flash Player for Firefox - NPAPI
    If yes, please post the contents of the FlashInstall.log file in C:\Windows\system32\Macromed\Flash

  • Are There Any Themes for the Blackberry Tour Approved by RIM, or Not?

    I've already had one BB Tour bricked, and I had downloaded all apps through BB App World.  However, there appear to be ZERO themes on BB App World.  So themes are the one thing I downloaded OTA on various websites, including Crackberry.  Seeing that my VZW Tour came pre-loaded with 2 themes, I thought downloading themes was harmless.  Is it possible the themes I had downloaded could have crashed my phone?  Are there any websites with themes that are approved by RIM?

    All Themes at this point are not from RIM.
    With the release of the New Developer Software during the Last Conference soon RIM will have themes Approved and available for Download through App world. No ETA at this point though.
    Brownie
    Tour 9630
    IT Professional

  • Is there any function for the Batch assignment of production order

    There is one function in the CO02(Production Order) which named "BATCH ASSIGNMENT".
    CO02 -> Components -> Batch assignment
    But the function only can assign one material one time.
    This is very boring.
    So we are planning to create a new program for it.
    But I can't find any function moudle or BAPI can be used.
    Could anybody give me some function moudle or BAPI for it?
    Tks

    Hello~~~Is there any body here?

  • Any suggestions for the ITEM NUMBER field

    We sell DVDs, Books, CDs, etc. for which we have item groups setup.
    We are using the ISBN based EAN barcode for the bar code field.
    Any best practices for coming up with the ITEM NUMBER naming convention that people have for us.
    Currently we use the short form title of the DVD or book to denote the item number.
    Mike

    Hi Mike,
    There are always pros and cons for something like Item Code convention.
    In my experience, I would like to make them in the same length whenever possible.  Because they are internal codes, they should be easier to be used for both technical and non-technical users.  Sometimes you might not be able to make both parties happy.  In that case, you have to give up something to compromise.  The most important above all is to eliminate any duplicated codes.  You will find that could the most difficult job if you give more users the abilities to create Item Code.  If that is a must for your business, more training will be needed for all those users.
    Thanks,
    Gordon

  • Is there any rule for the JAVA_HOME variable?

    Is there any rule or guideline about the JAVA_HOME variable regarding what should be its contents and how java applications should treat it? Or does it only depend on the particular application?
    If there is such rule, could you give me a URL?
    Thanks

    garava wrote:
    JAVA_HOME
    is an environment variable. It tells you where is your JAVA installed. It can be used to specify PATH for JAVA. It also tells you which JDK you have in your machine, alternatively you can also do the same using java -version.
    Bottom line is it is an environment variable for Java applications.This is misleading. The environment variable JAVA_HOME is used by some applications to find the JRE but it is not mandated by the JRE or the compiler.

  • Are there any updates for the original 4th generation

    My ailing mother has an ipod that she has had for years but has not registered it.  My want to see if there are some updates for the original OS.

    Sync it via iTunes and see if it shows any updates available.

  • Is there any restriction for the types of components in a tool bar.

    Hi, i'm using a tool bar where i'm having different command buttons and an "<af:inputFile>" component.
    In one of the command button i'm having "<af:setPropertyListener>" component. This command button is not being used as a partial trigger by any other component. If i invoke this button i'm getting "Assertion failed:Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent" error.
    if i remove the either the "<af:inputFile>" or the command button having "<af:setPropertyListener>" from the tool bar then there is no such error.
    is there any restriction to use different components in a tool bar. Please clarify me . Thanks.

    Thanks for your inputs. But non of the component using the attributes "rendered". And non of the components is being partial trigger for other components. Please let me know what else could be the cause. Thanks.

  • Are there any checksums for the direct 10.10.1 download?

    Is there a checksum sh1, sh256 or sha512 for the direct download of the 10.10.1 update ( OS X Yosemite 10.10.1 Update ) provided by Apple somewhere?  Thanks k:d

    Hi Kim,
    At present, my program be modified as bellow :
    REPORT Z_TST_2.
    DATA : L_FILE LIKE RLGRAP-FILENAME,
    L_OPENMSG(1000) TYPE c,
    L_TEXT(1000) TYPE c.
    L_FILE = '/testfile/testfile.txt'. "ftp path
    OPEN DATASET L_FILE FOR OUTPUT
    IN LEGACY TEXT MODE CODE PAGE '8300'
    IGNORING CONVERSION ERRORS
    REPLACEMENT CHARACTER '#'
    MESSAGE L_OPENMSG.
    L_TEXT = 'A?B'.
    TRANSFER L_TEXT TO L_FILE.
    CLOSE DATASET L_FILE.
    Best regards,
    Eric
    Edited by: Eric Yang on Oct 15, 2009 10:58 AM

  • Is there any apps for the apple ipod 6g.

    The apps I already have are getting really old really fast.

    There are no apps for the 6th generation iPod nano.
    (58576)

Maybe you are looking for

  • Help with university project

    Hi there. I´m having trouble assigning buttons to go to the next scene, with sound and rollovers. So i will start with the first doubt: First of all i have a bitmap image filling the entire screen (800 x 600) which will be used for my first scene. Th

  • Session state variables across multiple ApEx applications

    We have a suite of loosely integrate ApEx applications that all share a common authentication scheme. When you first log in we attempt to load a series of session state variables with temporary data to streamline various logging and authentication re

  • Htmlb:tableView event navigation within frameset

    hello, i have a problem with event navigation in a frameset triggered from htmlb:tableView. the structure of my bsp-application: DEFAULT.HTM       <frameset noresize cols="70%,*">           <frame src="links.htm" name="left">           <frame src="re

  • IChat doesn't open at all after update

    So I've been reading all the posts about the problems with the video part of iChat not working after the update... but my iChat doesn't open at all. It says iChat in the top bar (Next to the apple) But nothing happens. The buddy list doesn't pop up a

  • Re: Transaction Metrics

    Does anyone have any transaction scripts that they use to collect metrics? I've been asked to give transaction (load and processing) metrics on the database. Does Oracle have any tools available that will do this? Management wants to know at what dur