Java.lang.IllegalStateException: SafeNamedCache was explicitly released

Is this a bug?
Map (asdf): cache test
<distributed-scheme>
<!--
To use POF serialization for this partitioned service,
uncomment the following section
<serializer>
<class-
name>com.tangosol.io.pof.ConfigurablePofContext</class-
name>
</serializer>
-->
<scheme-name>example-distributed</scheme-name>
<service-name>DistributedCache</service-name>
<backing-map-scheme>
<local-scheme>
<scheme-ref>example-binary-backing-map</scheme-ref>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
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 <Error> (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?

Similar Messages

  • Portable(java.lang.IllegalStateException): SafeNamedCache was exexplicitly

    Hi All,
    I have seen similar post in this forum, but this error looks bit different than the old post.
    This is the log on the TCP Node.
    INFO | jvm 1 | 2011/11/17 20:30:05 | 2011-11-17 20:30:05.758/92113.566 Oracle Coherence GE 3.6.1.5 <D5> (thread=Proxy:pof-remote-proxy-service:TcpAcceptorWorker:6, memb
    er=78): An exception occurred while processing a GetAllRequest for Service=Proxy:pof-remote-proxy-service:TcpAcceptor: java.lang.IllegalStateException: SafeNamedCache was ex
    plicitly released
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.util.SafeNamedCache.ensureRunningNamedCache(SafeNamedCache.CDB:23)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.util.SafeNamedCache.getRunningNamedCache(SafeNamedCache.CDB:1)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.util.SafeNamedCache.getAll(SafeNamedCache.CDB:1)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.getAll(NamedCacheProxy.CDB:1)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.net.extend.messageFactory.NamedCacheFactory$GetAllRequest.onRun(NamedCacheFactory.CDB:6)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.net.extend.message.Request.run(Request.CDB:4)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.onMessage(NamedCacheProxy.CDB:11)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.net.extend.Channel.execute(Channel.CDB:39)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.net.extend.Channel.receive(Channel.CDB:26)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer$DaemonPool$WrapperTask.run(Peer.CDB:9)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    INFO | jvm 1 | 2011/11/17 20:30:05 | at java.lang.Thread.run(Thread.java:619)
    This is the log on the client ( which is a compute grid)
    Caused by: Portable(java.lang.IllegalStateException): SafeNamedCache was explicitly released
         at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:57)
         at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3306)
         at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2603)
         at com.tangosol.coherence.component.net.extend.message.Response.readExternal(Response.CDB:20)
         at com.tangosol.coherence.component.net.extend.Codec.decode(Codec.CDB:29)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.decodeMessage(Peer.CDB:25)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:54)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:619)
    what Causes this Exception ? Why would the SafeNamedCache be released on the TCP-Proxy Node ?
    what could be the reason for TCP-Proxy node releasing the SafeNamedCahce - I checked the status of the underlyig cache service and it is running fine.
    Any pointers/help is highly appreciated.
    Regards
    S

    Hi S
    Someone have made a call to NamedCache.release(). Have a look at your code to ensure that there is no calls to this method.
    Thanks
    /Charlie

  • 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

  • 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.

  • Java.lang.IllegalStateException: HttpSession is invalid problem

    Hi,
    I get randomly in my application "java.lang.IllegalStateException: HttpSession
    is invalid" exception thrown when I call getAttribute() method on a HttpSession
    instance.
    weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:410)
    Any feedback to avoid this problem is greately appreciated

    Hi Eddy,
    "Eddy Vina" <[email protected]> wrote in message news:3fbc46c2$[email protected]..
    I get randomly in my application "java.lang.IllegalStateException: HttpSession
    is invalid" exception thrown when I call getAttribute() method on a HttpSession
    instance.
    weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:410)
    Any feedback to avoid this problem is greately appreciatedThis happens because getAttribute(...) is called on an invalidated
    session. The session could have timed out or been invalidated
    explicitly by the moment the call was made.
    That may happen if you "cache" session objects.
    Hope this helps.
    Regards,
    Slava Imeshev

  • Java.lang.IllegalStateException: IMW-00008

    Hi,
    I built a JSP application (based in BC4J) with JDeveloper 9.0.3) which was working well, but now, when I try to update rows I get the following Error:
    java.lang.IllegalStateException: IMW-00008: information not available; request was released by application     at oracle.ord.im.OrdHttpUploadFormData.checkState(OrdHttpUploadFormData.java:793)     at oracle.ord.im.OrdHttpUploadFormData.getParameter(OrdHttpUploadFormData.java:561)     at oracle.jbo.html.HtmlServices$OrdRequestParameters.getParameterFromRequest(HtmlServices.java:401)     at oracle.jbo.html.RequestParameters.getParameter(RequestParameters.java:33)     at DataTableDiasFestivos.jspService(_DataTableDiasFestivos.java:54)     [SRC:/DataTableDiasFestivos.jsp:11]
    Thanks in Advance

    reposting

  • Error marking transaction for rollback: java.lang.IllegalStateException in WLI 6.1 SP3

    Hi,
    The following exception occurs, when the workflow was waiting after it has made
    a synchronous call to an external system through WTC Interface.
    I had read Rob's comments earlier for WLI 6.1 SP1 on this exception that there
    would be a fix available for it in the next minor release. For your information,
    I had got this exception in WLI 6.1 SP3. Is still EJB Container's timeout excels
    the JTA's timeout? Can anybody help me out to find a fix for this problem?
    Thanks in Advance,
    Regards
    Jegadeesan.
    The Stack Trace is given below :
    <Error marking transaction for rollback: java.lang.IllegalStateException: Cannot
    mark the transaction for rollback. xid=4362:5b4c62b47adcc632, status=Rolled back.
    [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out
    after 31 seconds
    Xid=4362:5b4c62b47adcc632(6932052),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
    since begin=31,seconds left=30,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=ended,assigned=none),SCInfo[ecwli001+admin_ecwli001]=(state=active),properties=({weblogic.jdbc=t3://147.149.116.70:50101}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=admin_ecwli001+147.149.116.70:50101+ecwli001+,
    Resources={})],CoordinatorURL=admin_ecwli001+147.149.116.70:50101+ecwli001+)]>
    java.lang.IllegalStateException: Cannot mark the transaction for rollback. xid=4362:5b4c62b47adcc632,
    status=Rolled back. [Reason=weblogic.transaction.internal.TimedOutException: Transaction
    timed out after 31 seconds
    Xid=4362:5b4c62b47adcc632(6932052),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
    since begin=31,seconds left=30,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=ended,assigned=none),SCInfo[ecwli001+admin_ecwli001]=(state=active),properties=({weblogic.jdbc=t3://147.149.116.70:50101}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=admin_ecwli001+147.149.116.70:50101+ecwli001+,
    Resources={})],CoordinatorURL=admin_ecwli001+147.149.116.70:50101+ecwli001+)]
         at weblogic.transaction.internal.TransactionImpl.throwIllegalStateException(TransactionImpl.java:1492)
         at weblogic.transaction.internal.TransactionImpl.setRollbackOnly(TransactionImpl.java:466)
         at weblogic.ejb20.manager.BaseEJBManager.handleSystemException(BaseEJBManager.java:255)
         at weblogic.ejb20.manager.BaseEJBManager.setupTxListener(BaseEJBManager.java:215)
         at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:153)
         at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:124)
         at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:63)
         at com.bea.wlpi.server.principal.WLPIPrincipalBean_u7lmf4_EOImpl.getOrganizationInfo(WLPIPrincipalBean_u7lmf4_EOImpl.java:463)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.getBusinessCalendarProcessor(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Timer.dateAdd(Unknown Source)
         at com.bea.wlpi.server.workflow.action.ActionTimedEvent.getScheduleTimestamp(Unknown
    Source)
         at com.bea.wlpi.server.workflow.action.ActionTimedEvent.execute(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.executeActions(Unknown Source)
         at com.bea.wlpi.server.workflow.Task.activate(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.activateSuccessors(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Decision.activate(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.activateSuccessors(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Decision.activate(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.activateSuccessors(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.markDone(Unknown Source)
         at com.bea.wlpi.server.workflow.action.ActionTaskDone.execute(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.executeActions(Unknown Source)
         at com.bea.wlpi.server.workflow.Task.activate(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.activateSuccessors(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.markDone(Unknown Source)
         at com.bea.wlpi.server.workflow.action.ActionTaskDone.execute(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.executeActions(Unknown Source)
         at com.bea.wlpi.server.workflow.Task.activate(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.activateSuccessors(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.markDone(Unknown Source)
         at com.bea.wlpi.server.workflow.action.ActionTaskDone.execute(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.executeActions(Unknown Source)
         at com.bea.wlpi.server.workflow.Task.activate(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.activateSuccessors(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.markDone(Unknown Source)
         at com.bea.wlpi.server.workflow.action.ActionTaskDone.execute(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Task.executeActions(Unknown Source)
         at com.bea.wlpi.server.workflow.Task.activate(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.activateSuccessors(Unknown
    Source)
         at com.bea.wlpi.server.workflow.Start.activate(Unknown Source)
         at com.bea.wlpi.server.workflow.Workflow.start(Unknown Source)
         at com.bea.wlpi.server.workflow.Workflow.instantiate(Unknown Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean$1.invoke(Unknown
    Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.performWithErrorHandling(Unknown
    Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.instantiate(Unknown
    Source)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean_h7kt4j_EOImpl.instantiate(WorkflowProcessorBean_h7kt4j_EOImpl.java:692)
         at com.bea.wlpi.server.eventprocessor.EventProcessor.checkTrigger(Unknown Source)
         at com.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(Unknown Source)
         at com.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(Unknown Source)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:262)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:214)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    You could change the transaction timeout value, but I'd re-examine the
    application and see if the transaction times could be reduced some.
    29 seconds seems like a long time.

  • WLS  hang after java.lang.IllegalStateException: HttpSession is invalid occured

    Hi, all:
    I often got messages like below and server going to hang after got these message.
    ####<2004/6/15 PM time > <Error> <Kernel> <xxx.xxx.com.tw> <myserver> <ExecuteThread:
    '18' for queue: 'default'> <> <> <000000> <ExecuteRequest failed>
    java.lang.IllegalStateException: HttpSession is invalid
    at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:162)
    at weblogic.servlet.internal.session.SessionData.getValue(SessionData.java:134)
    at weblogic.servlet.internal.ServletRequestImpl.getRemoteUser(ServletRequestImpl.java:814)
    at weblogic.servlet.logging.CLFLogger.log(CLFLogger.java:60)
    at weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:293)
    at weblogic.servlet.internal.HttpServer.log(HttpServer.java:670)
    at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:851)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1636)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    I know 6.0 SP2 is stop-continued, but it's still production server before we upgrade
    it.
    did any one can told me what should I modify or set ?
    Thanks for any response.

    Hi Eddy,
    "Eddy Vina" <[email protected]> wrote in message news:3fbc46c2$[email protected]..
    I get randomly in my application "java.lang.IllegalStateException: HttpSession
    is invalid" exception thrown when I call getAttribute() method on a HttpSession
    instance.
    weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:410)
    Any feedback to avoid this problem is greately appreciatedThis happens because getAttribute(...) is called on an invalidated
    session. The session could have timed out or been invalidated
    explicitly by the moment the call was made.
    That may happen if you "cache" session objects.
    Hope this helps.
    Regards,
    Slava Imeshev

  • Jdeveloper java.lang.IllegalStateException: A column used in a constraint m

    I have a database diagram. I tried to move the offline database to online database and got the following error. not able to do anything after this
    is there a way to find out which table has the problem
    this is the error
    java.lang.IllegalStateException: A column used in a constraint must exist in the relation
         at oracle.javatools.db.ColumnConstraint.getColumns(ColumnConstraint.java:89)
         at oracle.javatools.db.diff.ColumnConstraintDiffer.diffColListForceSame(ColumnConstraintDiffer.java:95)
         at oracle.javatools.db.diff.ColumnConstraintDiffer.diffColList(ColumnConstraintDiffer.java:84)
         at oracle.javatools.db.diff.ColumnConstraintDiffer.diff(ColumnConstraintDiffer.java:71)
         at oracle.javatools.db.diff.DiffEngine.diff(DiffEngine.java:111)
         at oracle.javatools.db.diff.ListDiffer.diff(ListDiffer.java:81)
         at oracle.javatools.db.diff.DiffEngine.diff(DiffEngine.java:177)
         at oracle.javatools.db.diff.BeanDiffer.diffLists(BeanDiffer.java:272)
         at oracle.javatools.db.diff.BeanDiffer.diffLists(BeanDiffer.java:229)
         at oracle.javatools.db.diff.DBObjectDiffer.diff(DBObjectDiffer.java:46)
         at oracle.javatools.db.diff.TableReconcileDiffer.diff(TableReconcileDiffer.java:56)
         at oracle.javatools.db.diff.DiffEngine.diff(DiffEngine.java:111)
         at oracle.javatools.db.diff.ListDiffer.diff(ListDiffer.java:81)
         at oracle.javatools.db.diff.DiffEngine.diff(DiffEngine.java:177)
         at oracle.ideimpl.db.transfer.reconcile.ReconcileUI.run(ReconcileUI.java:384)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:604)
         at java.lang.Thread.run(Thread.java:595)

    This has been fixed and will be available in a later release. The table and column names will be displayed.

  • Java.lang.IllegalStateException error when consuming a portlet

    When attempting to consume a portlet within a Webcenter portlet the portlet briefly displays and then constantly refreshes. On each refresh the following error is being logged (the PPR number increments each time the portlet refreshes):
    *<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #35*
    java.lang.IllegalStateException: The expected request type is not the same as the current request type.
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(GlobalConfiguratorImpl.java:333)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.<init>(FacesContextFactoryImpl.java:86)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
    We are using JDeveloper 11.1.1.6, WebCenter Portal - Framework 11.1.1.6.0.111214.0952
    The portlet being included includes a farily simple ADF Query and Table component. It was included as a ADF Rich Portlet.
    There was an earlier thread that seemed to have the same issue: consuming portlet get error <ADF_FACES-60096:Server Exception during PPR>
    It is marked as answered but the answer was a series of steps including stopping the portal, server, redeploying the portlet, and restarting. It also suggested deleting any unused bindings from the Executable section of the page. These steps failed to fix my issue.
    Has anyone else seen this issue and found a concrete fix for it?
    Thanks in advance.

    Hello again,
    I solved the problem.
    In Control Panel -> JInitiator administration console , the option "Use browser settings" has to be unchecked.
    daniela

  • Java.lang.IllegalStateException when trying to load graphic from KM

    Hello,
    I'm currently facing the following problems.We have a bunch of SVG graphics in a KM-Repository which are displayed to the user. The graphics are embedded in a JSP file. In most of the cases this works fine, but for users with a low bandwith this does not work. An error message is written to the logfile which looks like that:
    serving request (-> 500) - java.lang.IllegalStateException: GET on
    http://ourserver.com/irj/go/km/docs/ourRepository/myGraphic.svg expected 377950 bytes, but got
    262144 bytes and wrote 196608 bytes. The exception message is: Write timeout. HTTP client read
    timeout or callback from dispatcher not received for [120000] milliseconds. -
    com.sap.engine.services.httpserver.exceptions.HttpIOException: Write timeout. HTTP client read
    timeout or callback from dispatcher not received for [120000] milliseconds.
         at com.sap.engine.services.httpserver.server.ResponseImpl.sendResponse(ResponseImpl.java:280)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:440)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:234)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.copy(WDGetHandler.java:744)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandleWDGetHandler.java:691)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:263)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:791)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:483)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)+
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:333)+
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ...
    Some more facts:
    The problem occors on different graphics
    The values 262144 and 196608 (from but got 262144 bytes and wrote 196608 bytes) come up in most cases, but sometimes they vary. But all values have in common, that they are a multiple of 4096 (which is the setting of the parameter ServletsLongDataTransferCallbackSize.
    According to the SAP Notes 1014039 and 807000 I adapted some settings in our Testsystem:
    ServletsLongDataTransferCallbackSize: 1024 (which was set to 4096 before)
    ServletInputStreamTimeout: 1728000000 (which was set to 180000 before)
    ServletsLongDataTransferTimeout: 1728000000 (which was set to  120000 before)
    Unfortunatelly setting those parameters didn't fix the problem.
    Does anybody have a clue what I can do? And just for my understanding, what exactly does the parameter, that I have set, effect. The initial values of 180000 (3 Minutes) seem to be enough. Loading 377950 bytes should take much less that 3 Minutes even with a slow connection?
    Kind regards,
    dominik
    Edited by: Dominik Fried on Mar 30, 2009 1:34 PM
    Edited by: Dominik Fried on Mar 30, 2009 1:45 PM

    Hi,
    We are facing exactly the same issue with KM.
    Can anyone assist us?
    Thanks in advance,
    Regina

  • Java.lang.IllegalStateException in tomahawk tree 2

    Hi,
    I am getting the following exception in tomahawk tree2 while fetching the data from database and constructing the tree:
    java.lang.IllegalStateException: Encountered a node [0:0:0] + with an illogical state. Node is expanded but it is also considered a leaf (a leaf cannot be considered expanded
    Here is the function which returns the tree data:
    public TreeNode getTreeData()
    TreeNode treeData = new TreeNodeBase("foo-folder", "First", false);      Enumeration keys = topMostNodes.keys();
    while(keys.hasMoreElements()){
    String currKey = keys.nextElement().toString();
    Vector tempChildList = (Vector)topMostNodes.get(currKey);
    TreeNodeBase tempNodeBase = new TreeNodeBase("foo-folder", currKey, false);
    for(int cnt=0; cnt < tempChildList.size(); cnt++)
    tempNodeBase.getChildren().add(new TreeNodeBase("foo-folder",tempChildList.get(cnt).toString(),true));
    treeData.getChildren().add(tempNodeBase);
    return treeData;
    The topMostNodes HashTable contanis these entries:
    parent 170160 childList [108858, 152338, 306438]
    parent 106404 childList [306304]
    parent 106402 childList [106406, 106407, 106408]
    parent 106401 childList [106404]
    parent 106400 childList [106403, 106405]
    parent 290094 childList [290095, 290096, 290097, 290098, 290099, 290100, 290101]
    childList is a vector containing all the children of a node.
    This is the stack Trace of the exception I am getting:
    java.lang.IllegalStateException: Encountered a node [0:0:0] + with an illogical state. Node is expanded but it is also considered a leaf (a leaf cannot be considered expanded.
    at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeNavigation
    (HtmlTreeRenderer.java:463)
    at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeCurrentNode
    HtmlTreeRenderer.java:346)
    at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree
    (HtmlTreeRenderer.java:248)
         at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree
    (HtmlTreeRenderer.java:276)
         at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren
    (HtmlTreeRenderer.java:211)
         at javax.faces.component.UIComponentBase.encodeChildren
    (UIComponentBase.java:701)
         at org.apache.myfaces.renderkit.RendererUtils.renderChild
    (RendererUtils.java:444)
         at org.apache.myfaces.renderkit.html.HtmlGridRendererBase.
    renderChildren
    (HtmlGridRendererBase.java:203)
         at org.apache.myfaces.renderkit.html.HtmlGridRendererBase.encodeEnd
    (HtmlGridRendererBase.java:85)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
    It works fine if I replace the while loop with some hard coded node values.
    Can anybody help plz?
    Thanks in advance.
    Sanjeev.

    Its a known issue - and is documented in the Release Notes - doh.
    A very speed response from Oracle Support (in the Netherlands I would guess from his accent ) 8)
    Andrew

  • WLS 8.1 + MyFaces 1.1 = java.lang.IllegalStateException ?

    We are seeing an Exception from time to time on WLS 8.1 in a JSF application that looks like this:
    <Aug 1, 2008 8:02:36 AM CDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=1781688286,name=as_oo_webapp,context-path=/as_oo_webapp)] Root cause of ServletException.
    java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml.
    A typical config looks like this;
    <listener>
      <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java(Compiled Code))
    We are using MyFaces 1.1 for JSF. We think this is a known issue with MyFaces 1.1 and WLS, but we are not sure - and we are not sure if there is any solution.
    Any advice would be appreciated!!
    thanks

    Hi,
    we found the problem. One missing entry in one META-INF. We don´t know, why this
    was no problem with WLS 6.1 / 7.0.
    Greetings
    "Thilo Fischer" <[email protected]> wrote:
    >
    Hi there,
    we are moving from WLS 6.1 / 7.0 to WLS 8.1 and we have a BIG problem:
    We get
    everywhere java.lang.NoClassDefFoundErrors on the server.
    Our Project consists of more than 20 subprojects (1 EJB, 3 WEB, the rest
    utility-projects)
    plus some libraries (struts etc.), which are all bundeled into our EAR.
    In our
    EAR the projects make references to all needed projects/libraries via
    META-INF.
    This workls flawless on WLS 6.1 / WLS 7.0 but crashes under 8.1.
    Must we declare these references in another way, not via META-INF?
    Any suggestions ?
    Kind regards
    Thilo Fischer

  • Java.lang.IllegalStateException: Exceeded maximum number of waiting threads

    Hi all,
    I use coherence3.3.1,coherence work as hibernate L2 cache and meet following problem,could you help me check the problem?thanks.
    java.lang.IllegalStateException: Exceeded maximum number of waiting threads (Status=2)
         at com.tangosol.net.cache.OverflowMap$Status.waitForAvailable(OverflowMap.java:4029)
         at com.tangosol.net.cache.OverflowMap.prepareStatus(OverflowMap.java:2152)
         at com.tangosol.net.cache.OverflowMap.beginKeyProcess(OverflowMap.java:1873)
         at com.tangosol.net.cache.OverflowMap.getInternal(OverflowMap.java:580)
         at com.tangosol.net.cache.OverflowMap.get(OverflowMap.java:330)
         at com.tangosol.coherence.component.util.CacheHandler.getLease(CacheHandler.CDB:3)
         at com.tangosol.coherence.component.util.CacheHandler.getCachedResource(CacheHandler.CDB:10)
         at com.tangosol.coherence.component.util.CacheHandler.get(CacheHandler.CDB:1)
         at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
         at com.tangosol.coherence.hibernate.CoherenceCache.get(CoherenceCache.java:65)
         at org.hibernate.cache.StandardQueryCache.get(StandardQueryCache.java:105)
         at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2152)
         at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2117)
         at org.hibernate.loader.Loader.list(Loader.java:2087)
         at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
         at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
         at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
         at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150)
         at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:804)
    j

    Hi,
    Can you please provide the relevant coherence config files?
    thanks,
    -Rob

  • Java.lang.IllegalStateException: cannot add non-XA Resource to global JTS t

    Hi,
    I am using JCAPS 5.1.2.
    As one of my project requirement I am invoking a jcd from page flow and that jcd uses 2 oracle otd, each oracle otd corresponds to database which resides in two different machines/hosts.
    When jcd is invoked from page flow, i got following error,
    "java.lang.IllegalStateException: cannot add non-XA Resource to global
    JTS transaction."
    [#|2007-07-17T19:13:06.209+0530|SEVERE|IS5.1.2|javax.enterprise.resource.resourceadapter|_ThreadID=17; ThreadName=Worker: 3;stacktrace-id=0;|RAR5029:Unexpected exception while registering component
    java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
         at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:171)
         at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:97)
         at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:71)
         at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:142)
         at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:202)
         at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:148)
         at com.stc.gjc.spi.DataSource.getConnection(DataSource.java:67)
         at com.stc.connector.oracleadapter.base.SessionImpl.connect(SessionImpl.java:130)
         at com.stc.connector.oracleadapter.OracleSession.open(OracleSession.java:98)
         at com.stc.connector.oracleadapter.OracleConnector.open(OracleConnector.java:90)
         at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.<init>(OracleApplicationConnection.java:63)
         at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.<init>(OracleApplicationConnection.java:50)
         at com.stc.connector.oracleadapter.appconn.OracleApplicationConnectionFactory.getConnection(OracleApplicationConnectionFactory.java:133)
         at com.stc.oracle.runtime.ejb.OracleEWayRuntimeHandler.initializeService(OracleEWayRuntimeHandler.java:256)
    Please let me know is there any work around for above problem
    Message was edited by:
    VenkateshSampoornam

    Hi Paul,
    Thanks for your reply. I ddidn't specify XA at page
    flow level.
    But the problem is rectified for me.
    I have two jcds in which one of them connects to two different oracle databases for e.g host A and host B.
    JCD1 connects to host A and host B[ 2 oracle otds]
    JCD2 connects to host B. [single oracle otd]
    I had three external applications for each otd
    In deployment profile, i connected two external applications to single external system for HOST B.
    When i created one more new external system for host b and moved one external application to that.
    After then the problem didn't occur again.
    null

Maybe you are looking for

  • OIM11g- Role Approval workflow Error

    I am getting the follwing error message when I follow Custom Approval Process for Assign Role Scenario.Metalink article [1207077.1] Sample #8 Custom Approval Process for Assign Role Scenario Prototype for invoking an OIM API from a SOA Composite RTM

  • Not showing on remote server!

    I've created a fairly simple animation, and it works fine on my local server, but although I have uploaded it with all files to the remote server, I am not seeing the animation! Any thoughts as to why not? I have used svg's as my imported images; cou

  • Default Software Language is German - Should be in English !!!

    I have recently purchased a writers software which is advertised in the Apple iMac App Store in English and is supposed to be in English, however the default language is German. It is Nisus Writer Pro.  The entire software has been translated into Ge

  • Subform auto-sequencing with alpha chars

    Hi, can anyone help with my problem?  I need to generate autosequence in a repeated subform with alpha chars ('a)', 'b)', etc.) instead of numeric.  Thanks in advance!

  • Sequence  generation problem

    hi, Sequence values are not generated properly if the session is changed . thank you