Is Weblogic Cluster  supports Application scope Objects?

          Our Application is mainly depends on Application scope objects. On one m/c, it
          is perfect.
          Now, we want to support the failover , load balancing ... (High Availability).
          I know, weblogic cluster supports HttpSessions, EjbObjects ... etc. What about
          Application scope objects.
          we are planning for weblogic server which supports the our requirements.
          If not, what is the solution to make it work by using Weblogic server.
          for eg: I can give what type of application we are developing --- similar to
          textchat.
          our application is real time application.
          

Even a singleton is not good enough as singletons are good only in the VM they were
          created it. One way is to have a distributed object such as a stateful session bean of
          which only one instance exists. U can create it at startup and store its handle in
          some persistent storage as well as a singleton. This ensures that even if the
          singleton doesnt contain it the refgerence to it can be obtained.
          There will be some problems with this setup as people should not allow it to create
          instances of it . Any such endeavor will lead to a CacheFullException.
          But essentially that seems possible.
          Even the 2.3 Servlet specification mandates that ServletContext and Application level
          object is only valid inside the JVM which created it. HttpSessions are replicated
          SessionContexts are not and are not likely to be in any J2EE application server
          Sameer
          Devi wrote:
          > One more comment from my side,
          > U mentioned "EXCEPT FOR JNDI" , if this is possible, how can we acheive?
          > Can U give brief description ? Take textchat example itself? since, our application
          > is almost have same mechanism. If it is < 1 sec delay means acceptable for this
          > release.
          >
          > Thanks,
          > Devi
          >
          > "Cameron Purdy" <[email protected]> wrote:
          > >Weblogic doesn't support replicated / synchronized app scope objects
          > >across
          > >a cluster except for JNDI, which is probably not a good solution for
          > >what
          > >you are describing.
          > >
          > >If you need a real-time shared fault-tolerant fail-overable high-performance
          > >load-balanced high-scale data store, then let me know when you find one
          > >;-)
          > >.... seriously, there are not a whole lot of good general purpose solutions
          > >in this space. There are some things to look at but they are all expensive:
          > >
          > >Persistent PowerTier on top of Oracle - a caching entity EJB server
          > >Jasmine (or whatever it is called this week) - an object oriented
          > >distributed data store
          > >....
          > >
          > >Peace,
          > >
          > >--
          > >Cameron Purdy
          > >Tangosol Inc.
          > ><< Tangosol Server: How Weblogic applications are customized >>
          > ><< Download now from http://www.tangosol.com/download.jsp >>
          > >
          > >
          > >"Devi" <[email protected]> wrote in message
          > >news:[email protected]...
          > >>
          > >> Our Application is mainly depends on Application scope objects. On
          > >one
          > >m/c, it
          > >> is perfect.
          > >> Now, we want to support the failover , load balancing ... (High
          > >Availability).
          > >>
          > >> I know, weblogic cluster supports HttpSessions, EjbObjects ... etc.
          > > What
          > >about
          > >> Application scope objects.
          > >> we are planning for weblogic server which supports the our requirements.
          > >>
          > >> If not, what is the solution to make it work by using Weblogic server.
          > >> for eg: I can give what type of application we are developing ---
          > >similar to
          > >> textchat.
          > >> our application is real time application.
          > >>
          > >
          > >
          

Similar Messages

  • Application scope objects(opinions wanted)

    Hi All
    Looking for educated opinions on the pros/cons of application scope objects. I am thinking about creating a read-only application scope hashmap representation of some static data in my database. When queried at the database level it can cause relatively long delays (3-4 seconds) and sometimes must be stored in many sessions on the server. I am thinking just one read-only object stored at app scope will cut down on the waste of memory, as well as skyrocket the speed of retrieving this data.
    Please give me your opinions!!! I can tell you a little more about the app if you need more info to make an educated statement...
    Thanks
    Greg B

    You can use the Properties Object for static data that can be persisted on a filesystem. Also, I assume that you can hold quite a bit of data too. A file read should be faster than a database query. Also if you do the connect once and save the connection for several reads, that works too. The only real slow operation, outside of large resultsets, would be the initial connect.
    I always design up two or three possible solutions and sometimes I protpotype each one. Sometimes one of the tests will prove to be the exact opposite choice of the one you thought would work.
    Now that I have written your response, I think that you could create a custom class to hold data, but would that not just be a copy of the properties object. If it's key/value you need, that's the choice.
    Stand back and ask, "What is the data type of the high level objects?"
    Also, SUN has good articles on almost everything in the JDK.
    David Whitehurst
    [email protected]

  • Application Scope Objects and Multithreading

    I will be creating a set of interlinking objects in application scope that are intended for read only. The objects will be accessed every time a user makes a request to the servlet which will be on every link of the site since the servlet is a controller.
    I am pretty sure that there are no concurrency issues here - that all requests will be able to access the objects quickly. Can someone confirm this for me.

    As long as the threads only read information from the objects and do not update them then you should be ok.

  • Singleton vs ServletContext for storing application scope objects

    Hi all,
    I would like to share some bean objects between all sessions inside the same web application, i.e. all users should access the same beans.
    Which is the best way, to store the beans, use a singleton ore put them into the ServletContent vs get/setAttribute?
    How about large objects, are there any limitations?
    Thanks
    Mert
    Edited by: mahmut1 on Oct 22, 2009 3:32 AM

    I must confess I am a heretic. I would use a singleton. I try to use as few servlet services as possible when working with servlets; that way the code has a fighting chance of being reusable outside the servlet system.
    As to "singletons are evil": well, if we are talking about ServletContext.setAttribute(), that is a singleton. It is a singleton hash table. The difference between the attribute hash table and a hash table singleton you write yourself is with attributes you don't automatically see the source code that defines the singleton, so you get to pretend you are not using a singleton.
        protected Hashtable myAttributes;Haha! There, I just showed how the singleton hash table is implemented in a popular web server!

  • Application scoped objects in a cluster

    Hi -
              Will weblogic clustering provide failover for Application scoped
              objects (in the ServletContext)? I've read through most of the
              documentation, and it doesn't mention anything. Also, the servlet 2.3
              spec says
              "Context attributes are local to the VM in which they were created.
              This prevents
              ServletContext attributes from being a shared memory store in a
              distributed
              container. When information needs to be shared between servlets
              running in a
              distributed environment, the information should be placed into a
              session (See
              Chapter SRV.7, &#8220;Sessions&#8221;), stored in a database, or set
              in an Enterprise
              JavaBeans TM component." (Section 3.4)
              However, it doesn't mention anything about failover.
              We have lots of application scoped objects that will need to failover
              somehow - anyone have experience with this?
              Thanks,
              Scott
              

    Hi Scott,
              The application scoped objects (ServletContext) are per Web Container as
              explained in the spec. When the server hosting that Web Container dies, so
              too do the objects in the ServletContext.
              If you are looking something like ServletContext that is replicated across
              the cluster and supports failover, you should check out our Coherence
              product at http://www.tangosol.com/ -- that is exactly what it does.
              Peace,
              Cameron Purdy
              Tangosol Inc.
              Tangosol Coherence: Clustered Coherent Cache for J2EE
              Information at http://www.tangosol.com/
              "Scott Gilpin" <[email protected]> wrote in message
              news:[email protected]...
              > Hi -
              >
              > Will weblogic clustering provide failover for Application scoped
              > objects (in the ServletContext)? I've read through most of the
              > documentation, and it doesn't mention anything. Also, the servlet 2.3
              > spec says
              >
              > "Context attributes are local to the VM in which they were created.
              > This prevents
              > ServletContext attributes from being a shared memory store in a
              > distributed
              > container. When information needs to be shared between servlets
              > running in a
              > distributed environment, the information should be placed into a
              > session (See
              > Chapter SRV.7, &#8220;Sessions&#8221;), stored in a database, or set
              > in an Enterprise
              > JavaBeans TM component." (Section 3.4)
              >
              > However, it doesn't mention anything about failover.
              >
              > We have lots of application scoped objects that will need to failover
              > somehow - anyone have experience with this?
              >
              > Thanks,
              > Scott
              

  • JWS Lifecycle/Scope (Axis "Application Scope" Behavior in WebLogic?)

    Apache Axis supports three different scopes for web services (Application, Request, Session). The documentation for Application scope says the following:
    <p>
    <i>"Application scope means there will only be a single instance of the service class for the entire AxisEngine. This means that that you, the developer of the service class must make sure all your methods are thread safe. ... Any state you keep in your service object will be shared across all invocations for the lifetime of the engine."</i>
    <p>
    How can I achieve the same behavior with a JWS service developed under WebLogic. ...a singleton web service accessed by multiple clients that maintains a shared state for the lifetime of the WebLogic server.
    <p>
    Thanks in advance,<br>
    Troy

    Apache Axis supports three different scopes for web services (Application, Request, Session). The documentation for Application scope says the following:
    <p>
    <i>"Application scope means there will only be a single instance of the service class for the entire AxisEngine. This means that that you, the developer of the service class must make sure all your methods are thread safe. ... Any state you keep in your service object will be shared across all invocations for the lifetime of the engine."</i>
    <p>
    How can I achieve the same behavior with a JWS service developed under WebLogic. ...a singleton web service accessed by multiple clients that maintains a shared state for the lifetime of the WebLogic server.
    <p>
    Thanks in advance,<br>
    Troy

  • Objects of application scope and clustering.

              I understand that weblogic 6.1 replicates session data to a secondary server in a
              cluster. This replication should include objects declared with <jsp:useBean ...
              scope="session"/> as well as objects that are explicitly maintained in the session
              with setAttribute().
              However, what about objects with application scope? Are they replicated to a secondary
              server when a cluster is in use?
              Thanks,
              -Dave.
              

    David Vazquez <[email protected]> wrote:
              > I understand that weblogic 6.1 replicates session data to a secondary server in a
              > cluster. This replication should include objects declared with <jsp:useBean ...
              > scope="session"/> as well as objects that are explicitly maintained in the session
              > with setAttribute().
              > However, what about objects with application scope? Are they replicated to a secondary
              > server when a cluster is in use?
              No, they are not replicated in the cluster. To implement replication you can use JavaGroups:
              http://sourceforge.net/projects/javagroups/ or Cameron's Coherence product:
              http://www.tangosol.com/products-clustering.jsp for example.
              > Thanks,
              > -Dave.
              Dimitri
              

  • Will the Application Scope be shared across the cluster in a multi-node OC4

    Hi,
    I have the following requirement:
    Users of the application can only have single (browser) session. When a user who already has a session connects again, he should no longer be allowed to access the older session.
    My proposed implementation is:
    -     After successful login – possibly using a Session Listener - an entry is made in a HashMap UserSessions that lives in the application scope. Key is the username, value is the session id (HttpSession.getId()).
    -     For every request, using a ServletFilter, we check whether the session is still in the UserSessions HashMap for the current user. If a new session has been created for the same user, the session id for that new session is in the UserSessions map and the servletfilter will not find the session. In that case, the filter should invalidate the session and forward to the user to an error page.
    However, the application will run on a multi-node OC4J cluster. I am starting to wonder:
    Will the Application Scope be shared across the cluster in a multi-node OC4J environment?
    I know session state can be shared. But what application state/scope?
    Does anyone know? Do I have to do anything special in the cluster or the application to get this to work?
    Thanks for your help.
    Lucas

    gday Lucas --
    Application scope is not replicated across JVM boundaries with OC4J.
    I'm sure this used to be described in the doc, but I can't find it now from a quick scan.
    If you wanted to use this type of pattern, you could look to use a Coherence cache as distribution mechanism to share objects across multiple JVMs/nodes.
    -steve-

  • IAS doennot support useBean application scope?

    in iAS6.0 service pack4, I import the bean in JSP page by application scope but, when I call that Bean in another JSP page, the Object value have no value(null).. In my sight, I can't believe ias could support the application scope.. tell me your comment..

    It's a bug in SP4 version.
    The workaround is very simple: you just have to modify the kjs script file with:
    $IAS_ROOT/bin/$KJS -DPATH=$PATH -DIAS_JSP_IGNORECASE=true -DIAS_JSPSTRICT=false $opts
    remove the compiled_jsp directory for your application ,
    and restart the iAS.
    Be sure you write the jsp:setProperty tag OUTSIDE the useBean tag.
    That's all !!!

  • ADF Application error when deploy on WebLogic Cluster

    Hello,
    I setup a WebLogic 10.3.5 Cluster, but I have problems to deploy my ADF application (ADF 11.1.2).
    I am getting the following java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger
    The problem does not occur if I deploy the same application only to the AdminServer.
    In order to setup my WebLogic Cluster I followed the process described by Mark Nelson at http://redstack.wordpress.com/2010/12/20/using-weblogic-as-a-load-balancer/
    Any idea?
    Thanks,
    Cristo A.

    Have you installed the Oracle JRF template to the managed servers?
    The error indicates that you didn't install the adf runtime (JRF template) for your jdev version onto the managed servers.
    Timo

  • Timesten database driver is not supported in Weblogic cluster mode??

    Does anybody encounter this situation??
    I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
    In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
    But when we start each of managed server, I will get exception:
    ####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
    java.lang.AssertionError: Unsupported database driver
    at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
    at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
    at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
    at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
    at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
    at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
    at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
    at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
    BR,
    Peng
    Edited by: user8028210 on Nov 25, 2010 1:18 AM
    Edited by: user8028210 on Nov 25, 2010 1:19 AM

    Does anybody encounter this situation??
    I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
    In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
    But when we start each of managed server, I will get exception:
    ####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
    java.lang.AssertionError: Unsupported database driver
    at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
    at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
    at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
    at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
    at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
    at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
    at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
    at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
    BR,
    Peng
    Edited by: user8028210 on Nov 25, 2010 1:18 AM
    Edited by: user8028210 on Nov 25, 2010 1:19 AM

  • Timesten database driver is not supported in Weblogic Cluster mode domain??

    Does anybody encounter this situation??
    I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
    In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
    But when we start each of managed server, I will get exception:
    ####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
    java.lang.AssertionError: Unsupported database driver
    at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
    at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
    at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
    at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
    at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
    at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
    at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
    at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
    BR,
    Peng

    Hi,
    I have use WebLogic Server Console, tree: Services -> JDBC -> Connection Pools. Then I have choose 'Configure a new JDBC Connection Pool...':
    1.) as 'Database Type:' I have select MySQL (version using com.mysql.jdbc.Driver) -> click 'Continue' button;
    2.) 'Database Name:' = OSS; 'Host Name' = localhost; 'Port' = 3306; 'Database User Name:' = root; -> click 'Continue' button;
    3.) 'Driver Classname:' = com.mysql.jdbc.Driver; 'URL:' = jdbc:mysql://localhost:3306/OSS; 'Database User Name:' = root; 'Properties:' = user=root -> click to 'Test Driver Configuration' button.
    After click on test driver button I get message: JDBC driver is not on the CLASSPATH.
    But when I check System variables (in Control Panel -> System) I have set up following:
    CLASSPATH=.;C:\DB2\java\db2java.zip;C:\DB2\java\db2jcc.jar;C:\DB2\java\sqlj.zip;C:\DB2\java\db2jcc_license_cu.jar;C:\DB2\bin;C:\DB2\java\common.jar;C:\DBS\JDBC\db2\db2.jar;C:\DB2\BIN;c:\mysql.jar
    The last value is 'c:\mysql.jar' and that's the mysql jdbc driver located on c:\.
    I don't understand why weblogic cannot find it.
    Any idea?
    Thanks in advance for help,
    with best regards,
    Julian Legeny

  • Error when deploy to weblogic cluster

    My cluster has 2 servers A, B. when I deploy an WebCenter Custom Portal application to weblogic cluster, application on server A work well and application on server B is failed. Log on failed server is “what do i do: seems an odd quirk of the EJB spec. The exception is:java.lang.NoClassDefFoundError: Oracle/jdeveloper/db/adapter/DatabaseProvider”
    When I reconfig cluster and then deploy, application on server B work well but application on server A is failed.
    Please advise what should I do in this situation?

    Hi,
    It seems your Application is running with non-seralizable objects where non-searlizable are not supported on cluster environment.
    Please check server logs whether you have such warning messages are not.
    Let me know if you need any further help on this issue.
    Regards,
    Kal

  • Looking for best practice on application scope beans

    Hey – a portal newbie here. I’ve got some application scope beans that need to be initialized on startup. First thought was to create a servlet that would set the bean. Then I saw the GlobalApp setting, but I think that looks like it is more session scope than application… Looking to be corrected here if I am wrong.
    Is there a place where these type of things traditionally happen? Read only, so no cluster worries (I think) Using WLP 8.1 SP4 and looking for best practices. Thanks for the help!

    To support "code sharing" you need an integrated source code control system. Several options are out there but CVS (https://www.cvshome.org/) is a nice choice, and it's completely free and it runs on Windows, Linux, and most UNIX variants.
    Your next decision is on IDE and application server. These are usually from a single "source". For instance, you can choose Oracle's JDeveloper and Deploy to Oracle Application Server; or go with free NetBeans IDE and Jakarta Tomcat; or IBM's WebSphere and their application server. Selection of IDE and AppServer will likely result in heated debates.

  • Having issue with start weblogic cluster with tangosol cluster

    Hi,
    Oracle Coherence Version 3.3.1/389p1
    Grid Edition: Development mode
    We are using Weblogic 8.1.5 with Tangosol 3.3.1 on Linux servers.
    And we added the initializing logic in the servlet's init() method to get all NamedCaches and put into the ServletContext.
    When we start weblogic cluster, the first weblogic member will startup successfully with following messages :
    <Nov 7, 2007 10:12:30 AM EST> <Info> <HTTP> <BEA-101047> <[2007-11-07 10ServletContext(id=259640596,name=clusterqa,context-path=)] initObjects: init>:12:31.565 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "zip:/home/server/clusterqa/wls81/DOCVIEW/docqa1/.wlnotdelete/extract/docqa1_DOC_clusterqa/jarfiles/WEB-INF/lib/coherence.jar!/tangosol-coherence.xml"
    2007-11-07 10:12:31.598 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from file "/home/www/WEB-INF/lib/tangosol-coherence-override.xml"
    Oracle Coherence Version 3.3.1/389p1
    Grid Edition: Development mode
    Copyright (c) 2000-2007 Oracle. All rights reserved.
    2007-11-07 10:12:31.938 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from file "/home/www/WEB-INF/lib/pub-search-cache-config.xml"
    2007-11-07 10:12:31.983 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a synchronized counter. Though safe to ignore, you may upgrade to BEA's 1.5 JVM to fix this issue.
    2007-11-07 10:12:33.267 Oracle Coherence GE 3.3.1/389p1 <Warning> (thread=Main Thread, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
    2007-11-07 10:12:34.118 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2007-11-07 10:12:37.508 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Created a new cluster with Member(Id=1, Timestamp=2007-11-07 10:12:33.323, Address=10.5.176.86:8088, MachineId=48982, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2) UID=0x0A05B056000001161AAB782BBF561F98
    2007-11-07 10:12:37.736 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2007-11-07 10:12:38.168 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
    <Nov 7, 2007 10:12:38 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=259640596,name=clusterqa,context-path=)] xslProcessor: init>
    But trying to start the second weblogic member server, the startup process is stucked after tangosol cache initialization and the second weblogic member server never up running. Please see following messages :
    <Nov 7, 2007 9:49:38 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=153019550,name=clusterqa,context-path=)] initDSNames: init>
    <Nov 7, 2007 9:49:42 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=153019550,name=clusterqa,context-path=)] initObjects: init>
    2007-11-07 09:49:43.156 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "zip:/home/server/clusterqa/wls81/DOCVIEW/docqa2/.wlnotdelete/extract/docqa2_DOC_clusterqa/jarfiles/WEB-INF/lib/coherence.jar!/tangosol-coherence.xml"
    2007-11-07 09:49:43.188 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from file "/home/www/WEB-INF/lib/tangosol-coherence-override.xml"
    Oracle Coherence Version 3.3.1/389p1
    Grid Edition: Development mode
    Copyright (c) 2000-2007 Oracle. All rights reserved.
    2007-11-07 09:49:43.528 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from file "/home/www/WEB-INF/lib/pub-search-cache-config.xml"
    2007-11-07 09:49:43.571 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a synchronized counter. Though safe to ignore, you may upgrade to BEA's 1.5 JVM to fix this issue.
    2007-11-07 09:49:44.829 Oracle Coherence GE 3.3.1/389p1 <Warning> (thread=Main Thread, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
    2007-11-07 09:49:45.419 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2007-11-07 09:49:45.555 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Failed to satisfy the variance: allowed=16, actual=47
    2007-11-07 09:49:45.555 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Increasing allowable variance to 19
    2007-11-07 09:49:46.040 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): This Member(Id=2, Timestamp=2007-11-07 09:49:45.69, Address=10.5.176.85:8088, MachineId=48981, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2) joined cluster with senior Member(Id=1, Timestamp=2007-11-07 09:45:10.205, Address=10.5.176.86:8088, MachineId=48982, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2)
    Could you please explain why it happens, and what should I do to resolve this issues ?
    Many Thanks,
    Bing

    Hi, Gene
    Thank you for the response. I will send you our full log files and thread dumps.
    I just want to give you more details about our cases :
    1. This only happened without starting cache servers (com.tangosol.net.DefaultCacheServer).
    2. And our application which are running on weblogic cluster will just call "CacheFactory.getCache("XXX")", and running as the Tangosol DataClient.
    3. All weblogic member servers will be up running successfully if our cache servers are up running.
    Also I tried to test another case :
    Suppose all weblogic instances and cache server instances are up running. Now I trying to restart (kill weblogic instance process and restart) one of the weblogic member, It will up running successfully only if add some sleep times after killing weblogic processes and restarting it. Looks like tangosol cluster need certain time to aware the member has left cluster, then the restart process will be successful.
    Questions :
    1. Should we start our weblogic cluster only after cache server cluster is up running ?
    2. How do we decide how many time we should wait before start new process to join the cache cluster ?
    Could you please help to explain this one for me and let us if there anyway we can do to avoid the problem.
    Many Thanks !!!
    Bing

Maybe you are looking for

  • Ipod 4th gen turns on and off repeatedly as soon as USB connected

    Hi, this is driving me (more specifically my daughter) nuts. I have an ipod 4th generation (new and retail boxed) which we bought in May 2010. It's never been used and she decided last week that she wants to start using it. Got it out of the box, ins

  • Mappingtool fails with unknown error

    Hello,      I keep trying to learn JDO with KODO, but I've hit another roadblock. I've created a basic metadata file, then ran jdoc on it which was fine. However, when trying to run mappingtool, I get the following error: 0 INFO [main] kodo.Tool - Ma

  • Retrieve data from different record

    I want to display a characteristic from a previous record, from the same cube, but display it in the current record row. i.e. get the most recent activity of type"XX" and display the result characteristic from that record on the most recent "YY" acti

  • Video ipod skipping songs

    So when I am playing some just skip! If I go back to the song that skips it will some times play but not always. Videos do the same thing. Any one else had this problem or have any idea what causes it?

  • How to use SQL function in Tabular Form

    Edited by: JuniorNewbi on 03-Nov-2009 08:15