Coherence*Web - SPI or Instrumentation - which better ?

Hi,
We were trying to deploy "Coherence*Web and Coherence Cache Cluster" to our web application.
And we comparing which of the above methods of using Coherence*Web is better?
I tried searching oracle blogs, wiki and forums.
After some search, this is what i found here:
http://coherence.oracle.com/display/COH35UG/Coherence*Web+Session+Management+Module
In Coherence 3.5, Coherence*Web integrates with WebLogic Server and WebLogic Portal 10.3 and 9.2 MP1 using the native WebLogic session management SPI.
The result of this tighter integration with WebLogic is :
1. simplified installation and
2. deployment that no longer requires application instrumentation (via the WebInstaller).
Can anybody point out some reference or lead ?
Thanks,
Amol

I found these references which tell me SPI is better performance due to native integration between Coherence and Weblogic
References
1. http://www.oracle.com/us/corporate/press/021490     
     Oracle Coherence 3.5 provides native integration with Oracle WebLogic Server and Oracle WebLogic Portal, dramatically boosting the performance and scalability of applications deployed on these products.
2. http://coherence.oracle.com/display/COH35UG/Coherence*Web+and+WebLogic+Server
     The Weblogic Server Coherence*Web SPI consists of the coherence-web-spi.war file, located in the
     coherence\lib directory in the Coherence distribution.
3. http://download.oracle.com/docs/cd/E14571_01/web.1111/e16517/activecachxample.htm#sthref140
     Coherence provides a deployable shared library, coherence-web-spi.war, that contains a native plug-in to WebLogic Server's HTTP Session Management interface.

Similar Messages

  • During implementation of Coherence * web getting problem

    Hi ,
    While i'm trying to implement the coherence * web for session management at cluster envornment- i'm getting 404 exception while accessing the page(Even i'm lookup the right context path) - I followed the below steps for acheving the concept.
    1. I have set the COHERENCE_HOME and required attributes at class path level.
    2. I have created two managed servers.
    3. I have created one webapplication (modified the weblogic.xml with referenced lib as coherence-web-spi and provided cluster name).
    4. Deployed the coherence.jar,coherence-web-spi.war and active-cache.jar along with my webapplication.
    5. Now trying to access the my page - getting 404 exception.
    For more details - i have followed the below reference link during the implementation.
    http://docs.oracle.com/cd/E15357_01/coh.360/e15831/activecache.htm
    Could please provide the solution for getting access te application.
    Thanks,
    Nuresh.B.

    Can you provide any error stack ?

  • Coherence*Web on GlassFish Server Issues

    Hi!
    We are using Coherence 3.7.1.8 in our application in GlassFish 3.1.2 both as application cache and for storing session data (Coherence*Web) so it can be shared between multiple EARs and App server instances. Session data sharing between EARs in the same container works fine, but when we try to share session data between application server instances the server stops responding and has to be restarted. The only thing we get on the log is this exception:
    #|SEVERE|oracle-glassfish3.1.2|com.tangosol.coherence.servlet.ParallelReapTask|_ThreadID=169;_ThreadName=Thread-2;|An exception was thrown while reaping a session.
    com.tangosol.coherence.servlet.commonj.WorkException: Work Failed.
      at com.tangosol.coherence.servlet.commonj.impl.WorkItemImpl.run(WorkItemImpl.java:167)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.ClassCastException: com.tangosol.coherence.servlet.SplittableHolder cannot be cast to com.tangosol.coherence.servlet.AttributeHolder
      at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readAttributes(AbstractHttpSessionModel.java:1815)
      at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readExternal(AbstractHttpSessionModel.java:1735)
      at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2042)
      at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2346)
      at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2747)
      at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:263)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedCache.CDB:4)
      at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1656)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
      at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
      at com.tangosol.net.cache.CachingMap.get(CachingMap.java:491)
      at com.tangosol.coherence.servlet.DefaultCacheDelegator.getModel(DefaultCacheDelegator.java:122)
      at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.getModel(AbstractHttpSessionCollection.java:2288)
      at com.tangosol.coherence.servlet.AbstractReapTask.checkAndInvalidate(AbstractReapTask.java:140)
      at com.tangosol.coherence.servlet.ParallelReapTask$ReapWork.run(ParallelReapTask.java:89)
      at com.tangosol.coherence.servlet.commonj.impl.WorkItemImpl.run(WorkItemImpl.java:164)
      ... 3 more
    We tried to restrict the shared session data by implementing a custom SessionDistributionController, but according to the documentation, this feature requires coherence-sticky-sessions optimization to be enabled and this last one requires coherence-session-member-locking to be enabled. This led us to the following error:
    #|SEVERE|oracle-glassfish3.1.2|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=202;_ThreadName=Thread-2;|PWC3989: An exception or error occurred in the container during the request processing
    java.lang.IllegalStateException: attempt to exit session VhSnfqkcwAza when it was not owned
        at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.exit(AbstractHttpSessionCollection.java:799)
        at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.exit(AbstractHttpSessionCollection.java:696)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionManager.exit(CoherenceWebSessionManager.java:536)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.unlockForeground(CoherenceWebSession.java:451)
        at org.apache.catalina.connector.Request.unlockSession(Request.java:4222)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:342)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:722)
    We want to know if we are missing something in our configuration. We are using com.tangosol.coherence.servlet.AbstractHttpSessionCollection$GlobalScopeController. The session-cache-config.xml file has only this item added:
            <replicated-scheme>
                <scheme-name>default-replicated</scheme-name>
                <service-name>ReplicatedCache</service-name>
                <backing-map-scheme>
                    <class-scheme>
                        <scheme-ref>default-backing-map</scheme-ref>
                    </class-scheme>
                </backing-map-scheme>
            </replicated-scheme>
            <class-scheme>
                <scheme-name>default-backing-map</scheme-name>
                <class-name>com.tangosol.util.SafeHashMap</class-name>
            </class-scheme>
    Any help or light would be greatly appreciated. Thanks in advance.

    Depending on the version of WebLogic (which unfortunately I cannot remember off of the top of my head), you don't have to use the installer, because WebLogic has added built-in Coherence*Web support. Have you checked the WebLogic documentation for using Coherence*Web?
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

  • Oracle Coherence*Web and BlazeDS: Multiple FlexSessions created for the same HttpSession

    Hi all,
    I have searched this forum and found a lot of good information from Alex Glosband and others about the infamous "Detected duplicate HTTP - based FlexSessions, generally due to the remote host disabling session cookies. Session coolkies must be enable to manage the client connection correctly." message.
    It seems, however, none of the cases are identical to ours. This is ours:
    - Resin 3.1.9
    - Oracle Coherence 3.7.1 with Coherence*Web (session replication)
    With this setup we get the "Detected duplicate HTTP..." message on the first attempt to use BlazeDS and on every subsequent call.  The same client and server code works fine in a local sessions setup.  With Coherence 3.3 (currently our production environment) it seems to occur less frequently, but still as frequent as it is a major issue for us.  It fails even with a single node using in-process distributed caching in our test setup (as well as with multi node out of process caching in our staging environment, for Coherence knowledgeable the resin app server runs with tangosol.coherence.session.localstorage=true in the first case and false in the second).
    Both the listener and message broker are mapped as "Coherence aware" in web.xml[1] so that they should use clustered sessions.
    We have been digging a bit and we found out that if we commented out lines 427 and 434 of flex.messaging.endpoints.BaseHTTPEndpoint from version 4.0.0.14931 it seems to mask the bug.  We added some logging in the setupFlexClient method and it seems that we get more or less a new FlexSession for each and every call - but they have the same cookie and thus underlying HttpSession. I.e. the list returned from flexClient.getFlexSessions() keeps growing. Thus we are not so keen on going to production with that memory leak and the above mentioned ugly hack of commenting out the detection of duplicates.
    We use request scope for the remote object, but could in theory use any scope as we do not really have any state on the object itself, it is all HttpSession state and return values that are key (logon is performed prior to doing the first blaze call, in pure forms and ajax, and it is not a timing issue in that regard we are seeing).
    Hope someone can shed some light on what can be happening. Is there any "reference testing"[2] or something when the FlexSessions are created that makes them being created as new? Where are they created?  We do not know the inner workings of the BlazeDS source, we just watched the call trace of the unwanted invalidation and found that to be line 427 of flex.messaging.endpoints.BaseHTTPEndpoint.
    Can we disable FlexSessions?  Since the flex and plain html parts of the app share the sessions, we always use FlexContext.getHttpRequest().getSession() anyway, never storing any state directly in the FlexSession or on the remote object. Or maybe there is a config option to help us with this detection (or creation) of multiple FlexSessions?
    Cheers and TIA,
    -S-
    [1] - For instance, this i the message broker servlet def:
    <servlet>
    <servlet-name>MessageBrokerServlet</servlet-name>
      <display-name>MessageBrokerServlet</display-name>
    <servlet-class>com.tangosol.coherence.servlet.api22.ServletWrapper</servlet-class>       
    <init-param>
    <param-name>coherence-servlet-class</param-name>
    <param-value>flex.messaging.MessageBrokerServlet</param-value>
    </init-param>       
    <init-param>
    <param-name>services.configuration.file</param-name>
    <param-value>/WEB-INF/flex/services-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    [2] - As you undertstand this is speculation based on pure air, but it could be that in Coherence there was a serialization/deserialization happening somehow that would break such a test?

    Just a quick update, it seems things are running in a stable fashion (and without visible memory leaks, just keeping the latest FlexSession) with these changes in BaseHTTPEndpoint:
         * Overrides to guard against duplicate HTTP-based sessions for the same FlexClient which will occur if the remote host has disabled session
         * cookies.
         * @see AbstractEndpoint#setupFlexClient(String)
        @Override
        public FlexClient setupFlexClient(String id) {
            log.debug("setupFlexClient start id " + id);
            FlexClient flexClient = super.setupFlexClient(id);
            // Scan for duplicate HTTP-sessions and if found, invalidate them and throw a MessageException.
            // A request attribute is used to deal with batched AMF messages that arrive in a single request by trigger multiple passes through this
            // method.
            boolean duplicateSessionDetected = (FlexContext.getHttpRequest().getAttribute(REQUEST_ATTR_DUPLICATE_SESSION_FLAG) != null);
            if (!duplicateSessionDetected) {
                List<FlexSession> sessions = flexClient.getFlexSessions();
                log.debug("Client has " + sessions.size() + " sessions.");
                int n = sessions.size();
                if (n > 1) {
                    int count = 0;
                    for (int i = 0; i < n; i++) {
                        if (sessions.get(i) instanceof HttpFlexSession)
                            count++;
                        if (count > 1) {
                            FlexContext.getHttpRequest().setAttribute(REQUEST_ATTR_DUPLICATE_SESSION_FLAG, Boolean.TRUE);
                            duplicateSessionDetected = true;
                            break;
            // If more than one was found, remote host isn't using session cookies. Kill all duplicate sessions and return an error.
            // Simplest to just re-scan the list given that it will be very short, but use an iterator for concurrent modification.
            int i = 0;
            if (duplicateSessionDetected) {
                List<FlexSession> sessions = flexClient.getFlexSessions();
                log.debug("Detected sessions from client: " + sessions);
                for (FlexSession session : sessions) {
                    if (session instanceof HttpFlexSession && i < sessions.size()) {
    //                    log.debug("----> sessionId: " + session.getId());
    //                    Enumeration e1 = session.getAttributeNames();
    //                    while (e1.hasMoreElements()) {
    //                        Object key = e1.nextElement();
    //                        log.debug("--------->" + key + "--------->" + session.getAttribute((String) key));
    //                    session.invalidate();
                        flexClient.sessionDestroyed(session);
                    i++;
                // Return an error to the client.
    //            DuplicateSessionException e = new DuplicateSessionException();
    //            e.setMessage(ERR_MSG_DUPLICATE_SESSIONS_DETECTED);
    //            throw e;
            return flexClient;
    It is not exactly beautiful (to say the least), but if it does the trick I might just be pragmatic enough to go with it... NB: I am of course not proposing this as a patch to this file or anything, it is just an ugly hack for our specific case, but maybe the information can help the BlazeDS team find the root cause making it incompatible with Coherence*Web.
    Will give it a test run on our staging servers.

  • Would like to know which /beta/ I have from beta channel

    About Firefox says (today) I have version 25.0, which is what it said when I had an update waiting. I then accepted the update, so I should have a version that is different than I had before, but About Firefox didn't change what it showed me.
    At one time the About Firefox dialog did show us beta channel people which beta they had.
    I looked at the "Troubleshooter" data posted with this question and I can't see how YOU (Firefox developer) can tell which beta I have.

    I have a different version than I had before, so it's not as simple as "you still have [the beta of] Version 25". My question is similar to, "I had 25 dollars and some change, and then I found a penny, how much money do I have" and someone tells me I still have 25 dollars. It's not wrong, but it's not what I want to know. I want more precision.

  • My question is which better to use every time my iPad until the battery is 0% then charge it to 100% then use it again until it is 0% or i use it until the percentage is low then charge it until it is 70 - 80 %  then use it but not let it charge to 100%

    My question is which better to use every time my iPad until the battery is 0% then charge it to 100% then use it again until it is 0% or i use it until the percentage is low then charge it until it is 70 - 80 % percentage then use it but not let it charge until it is 100% to reduce the number of circles and increase the life of battery as i read that it must at least one time a month use the device until the battery drain to 0% then charge it again to 100% but i don't understand is it must be one, two, three times a month or properly most of the times  to reduce the the number of circles and increase the life of the battery?

    wuzradioman,
    I was originally on your side in the discussion of batteries, however, after being contradicted by Meg St._Clair and others I took a leap of faith and took their advice with my Apple devices.  Much to my chagrin their advice has proven true.
    Long story short I have not noticed any differences in my battery life by changing my charging habits to what is convienant over what is more in line with conventional battery myths. 

  • How to use coherence-web with a struts form bean

    We are trying to switch to Glassfish 3.1 but when we switch the persistence-type from "replicated" to "coherence-web" our struts applications start failing.  The first time we try the application the page loads.  But all calls from then on end in error.  The form bean is called FbCustomer.  Any help is greatly appreciated!!  Here is the error....
    WARNING: StandardWrapperValve[action]: PWC1406: Servlet.service() for servlet action threw exception(Wrapped) java.io.IOException: readObject failed: java.lang.ClassNotFoundException: rav.einvoice.web.forms.FbCustomer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:270)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:623)
        at com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:66)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
        at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2217)
        at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)
        at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
        at com.tangosol.coherence.servlet.OptimizedHolder.deserializeValue(OptimizedHolder.java:233)
        at com.tangosol.coherence.servlet.OptimizedHolder.getValue(OptimizedHolder.java:64)
        at com.tangosol.coherence.servlet.SplittableHolder.getValue(SplittableHolder.java:56)
        at com.tangosol.coherence.servlet.AbstractHttpSessionModel.getAttribute(AbstractHttpSessionModel.java:130)
        at com.tangosol.coherence.servlet.api23.HttpSessionImpl.getAttribute(HttpSessionImpl.java:81)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.getAttribute(CoherenceWebSession.java:461)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionFacade.getAttribute(CoherenceWebSessionFacade.java:87)
        at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:777)
        at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:364)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:253)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1554)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:864)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:761)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1050)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:231)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:724)ClassLoader: java.net.URLClassLoader@695f18fe
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
        at com.tangosol.coherence.servlet.OptimizedHolder.deserializeValue(OptimizedHolder.java:233)
        at com.tangosol.coherence.servlet.OptimizedHolder.getValue(OptimizedHolder.java:64)
        at com.tangosol.coherence.servlet.SplittableHolder.getValue(SplittableHolder.java:56)
        at com.tangosol.coherence.servlet.AbstractHttpSessionModel.getAttribute(AbstractHttpSessionModel.java:130)
        at com.tangosol.coherence.servlet.api23.HttpSessionImpl.getAttribute(HttpSessionImpl.java:81)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.getAttribute(CoherenceWebSession.java:461)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionFacade.getAttribute(CoherenceWebSessionFacade.java:87)
        at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:777)
        at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:364)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:253)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1554)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:864)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:761)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1050)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:231)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:724)Caused by: java.io.IOException: readObject failed: java.lang.ClassNotFoundException: rav.einvoice.web.forms.FbCustomer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:270)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:623)
        at com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:66)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
        at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2217)
        at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)
        at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
        at com.tangosol.coherence.servlet.OptimizedHolder.deserializeValue(OptimizedHolder.java:233)
        at com.tangosol.coherence.servlet.OptimizedHolder.getValue(OptimizedHolder.java:64)
        at com.tangosol.coherence.servlet.SplittableHolder.getValue(SplittableHolder.java:56)
        at com.tangosol.coherence.servlet.AbstractHttpSessionModel.getAttribute(AbstractHttpSessionModel.java:130)
        at com.tangosol.coherence.servlet.api23.HttpSessionImpl.getAttribute(HttpSessionImpl.java:81)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.getAttribute(CoherenceWebSession.java:461)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionFacade.getAttribute(CoherenceWebSessionFacade.java:87)
        at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:777)
        at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:364)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:253)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1554)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:864)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:761)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1050)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:231)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:724)ClassLoader: java.net.URLClassLoader@695f18fe
        at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2225)
        at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)
        at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)    ... 38 more

    Could you share with is the entire stacktrace?
    It seems that your domain classes are not being founded by the classloader, and this could be a consequence of a lot of things, but in general, it is a classloader issue. Your classloader is broken by some reason. Check if dependencies are well solved, and check if there are some NoClassDefFoundErrors in the stacktrace. Sometimes when the classpath is wrong, the entire classloader brokes generating strange behaviors like this.
    Also review the steps necessary to deploy Coherence*Web on GlassFish: http://docs.oracle.com/middleware/1212/coherence/COHCW/glassfish.htm#COHCW357
    Remember for example that, different from WebLogic 12.1.2, you need to deploy coherence.jar and coherence-web.jar at your package deployment.
    Cheers,
    Ricardo Ferreira

  • How to implement for coherence*web to remove an attribute of a specific sessionid?

    Hi,
    Customer using coherence*web 3.6 wants to remove an attribute in NamedCache with a specific jsessionid.
    If it is possible, please let me know how to implement it.
    Thanks in advance,
    YH

    Hi sangee,
    you could get what you want to do by using a Java Server Page instead of both a HTML page and a Servlet.
    I should code something like this:
    <%Strung color="yourColor"%>
    <html><head><title></title></head>
    <body bgcolor="<%=color%>
    </body>
    </html>

  • To configure SSIS packages out of these SQL Server Standard, Web and Workgroup editions which is preferred?

    Hi All,
    To configure SSIS packages out of these SQL Server Standard, Web and Workgroup editions which is preferred?
    Grateful to your time and support. Regards, Shiva

    Hi Shiva,
    SSIS designer and runtime, basic transforms, and data profiling tools are only supported by Standard and higher editions. Besides, some advanced SSIS adapters such as High performance Oracle/Teradata destination and Dimension processing destination adapter
    are only supported in Enterprise edition. So, if you need to develop/modify SSIS packages on this server, Standard or even Enterprise editor is recommended.
    Reference:
    http://msdn.microsoft.com/en-us/library/cc645993.aspx#SSIS 
    Regards,
    Mike Yin
    TechNet Community Support

  • What is the best way is to create a web app item collection which will contain only the listings where addressstate="ABC".

    What is the best way is to create a web app item collection which will contain only the listings where addressstate="ABC".

    How many systems have you used Robert?
    This is the only system you can not have all item data at least in JSON format and all of it. Big commerce has a lower limit and as I have said in every post related to a limit - I understand the function, but you can still make the requests as just one example (front and back)
    Same with API Robert.
    Firstly - the SOAP API request on say products gets you ALL the products, if you do something through a REST API request you can  make the requests to get all the items to complete your process of what your doing - You have to otherwise the API is pointless.
    Ok if the normal modules can not iterate through if there is a module_data solution, and web apps will get there hopefully sooner then later and you do have the sql query (where) for your filter which is great BUT, if you want to implement a solution across everything you cant do that with the liquid implementation.
    This also flows through to the JSON everywhere in concept which is fundamentally flawed for the same reason... And again referring other like services where a hard API has a limit but the JSON request returns everything.
    How those work varies from the method of request, some will only update every day, xxx time (Depending on cost of the plan) so its a cached version of data, to the ones that limit that request to x number of times per set time/day.
    That is how the actual rest of the world works, varied solutions but they are solutions. BC know they have a few limitations, there clearly is the need for things, there are a varied set of options... It is just a matter of engaging in it and offering up a solution for it, silence just creates frustration.

  • Which better please helop me?

    i have a project which include nany module which better
    1- i make a hole schema for all peoject but it will be so diffcult
    or
    2- mack stand alone module database schema i user belong to it and macking synonyms for all table and give approviate privillage

    We usually create one schema that holds all of the tables, stored procedures, etc. for an application. Then we create one or more roles as determined by the security needs of the application and grant appropriate privileges to the roles. Finally we create one or more schemas for the users. These have almost no access to create objects in the database. We grant the roles to the user schemas as needed.
    As for synonyms, it has been our practice in the past to create public synonyms for everything.
    We are starting to change this practice, and instead do one of two things. Our newest applications use only one (or just a few) user schema shared by all users. Individual user identities are maintained outside the database. Here, it is just as easy to create private synonyms in the one user schema as to create public synonyms.
    When we still have one user schema per user, we may start all user sessions with an "ALTER SESSION SET CURRENT_SCHEMA" to set the current default schema to the application schema. That way no synonyms are needed.
    Sometimes we do not make the application roles as default roles. Instead we password protect the roles and activate them when needed.

  • VIA KT600, nforce 400(Not Ultra 400) & SiS 748 which better

    hi,VIA KT600, nforce 400(Not Ultre 400) & SiS 748 which better & more stabil ?????????????????
    thankz

    Hi,
    I like the KT6-Delta a lot, see the sticky on top of the forum, then you know why :D

  • Which better between Hibernate and EJB

    Hello i am a new begginer in J2EE, i have some question
    Which better between Hibernate and EJB ?
    i still confuse when must using Hibernate or EJB, because as i know in EJB it can use datasource which can i map to Entity bean.
    this function is same as Hibernate as i know.
    if my concept is wrong please correct my concept
    thx in advanced

    fbrayuki.darmanto wrote:
    Hello i am a new begginer in J2EE, i have some question
    Which better between Hibernate and EJB ?Just to clarify, you mean EJB3.x, not the earlier versions.
    Define "better".
    They're actually pretty similar.
    If you use Hibernate instead of EJB3 you don't need a full-blown Java EE app server. You can deploy apps on a servlet/JSP engine or on the desktop.
    i still confuse when must using Hibernate or EJB, because as i know in EJB it can use datasource which can i map to Entity bean.
    this function is same as Hibernate as i know.
    if my concept is wrong please correct my concept
    thx in advanced%

  • What is coherence web default session model

    Did some goggling and did some search in to the documents and PDF to find out what is the session model that coherence web is using.
    but no where they are specifying what is the session model that coherence web is using by default.
    1) Traditional Model — Stores all session state as a single entity but serializes and deserializes attributes individually.
    2) Monolithic Model — Stores all session state as a single entity, serializing and deserializing all attributes as a single operation.
    3) Split Model — Extends the Traditional Model but separates the larger session attributes into independent physical entities.
    Thanks in advance.

    Hello Sathya,
    It appears the default is the Split Model. I could not find in documented anywhere.
    But if you look at the generated web.xml after installing Coherence*Web on a WAR it configured for the Split Model.
    hth,
    -Dave

  • If i do a lot of writing, web surfing and email, which is better for me, macbook pro or air?

    looking for the right portable as a gift for someone who does a LOT of writing and also email and websurfing and research. which is better, the macbook pro or the air?

    Either one.

Maybe you are looking for