Behaviour of staic variables in clustered environment.

HI,
          I have a class "XYZ" with a static variable "number".
          This holds some information vital to the application.
          Say there are two weblogic servers in a cluster.
          Now what will happen if a server(say server1) in a cluster goes down.
          Will the other server(say server2) which takes up the work of server1 ,
          have the same value for the static variable "number" of class "XYZ" ??
          Regards
          Suchak Jani
          

FWIW ... only thing to remember is that if two servers bind the same name at
          the same time, they will both see their binding (meaning that each one will
          not see the other's binding). Best way to work around is to bind a
          semaphore (e.g. use the server's bind address as a JNDI name) and then scan
          for others (using a timeout) to make sure that only one server binds.
          Cameron Purdy
          Tangosol, Inc.
          http://www.tangosol.com
          +1.617.623.5782
          WebLogic Consulting Available
          "suchak jani" <[email protected]> wrote in message
          news:[email protected]...
          > Hi Cameron
          >
          > As Always , Great to hear from you !
          > Congratulations on winning the Award !
          > May God Bless You !
          >
          > Yes i guess i will try JNDI binding .
          > If the application dies it is not a problem
          > if the information is lost.
          >
          > Thank you so much.
          >
          > Regards
          > Suchak Jani
          >
          >
          >
          > Cameron Purdy wrote:
          >
          > > No. Statics are scoped by the instance of Class that represents their
          > > storage, and thus by class loader, so you are not even guaranteed that
          there
          > > will be only one instance of that static variable on one of those two
          > > Weblogic servers.
          > >
          > > > I have a class "XYZ" with a static variable "number".
          > > > This holds some information vital to the application.
          > >
          > > I believe you need to look for different options for holding information
          > > that is vital to the application. For example, entity EJBs were
          designed to
          > > maintain such information.
          > >
          > > Failover (in Weblogic) only applies to HttpSessions. (In 6.0, it also
          > > applies to stateful session EJBs.) Failover does not imply a single
          > > synchronization point, which is what it sounds like you want. If the
          data
          > > is non-transactional, you may be able to use a Weblogic workspace or
          JNDI
          > > binding to share the data across the cluster, however, I know the JNDI
          > > information is lost on server death and I am not sure about workspaces.
          > >
          > > Peace,
          > >
          > > --
          > > Cameron Purdy
          > > Tangosol, Inc.
          > > http://www.tangosol.com
          > > +1.617.623.5782
          > > WebLogic Consulting Available
          > >
          > > "suchak jani" <[email protected]> wrote in message
          > > news:[email protected]...
          > > > HI,
          > > >
          > > > I have a class "XYZ" with a static variable "number".
          > > > This holds some information vital to the application.
          > > >
          > > > Say there are two weblogic servers in a cluster.
          > > >
          > > > Now what will happen if a server(say server1) in a cluster goes down.
          > > >
          > > > Will the other server(say server2) which takes up the work of server1
          > > > have the same value for the static variable "number" of class "XYZ" ??
          > > >
          > > > Regards
          > > > Suchak Jani
          > > >
          > > >
          >
          

Similar Messages

  • Singleton behaviour in clustered environment

    Hi,
              I have a very basic question. In a WebLogic clustered
              environment, is a Singleton replicated? In other words, if the
              mySingleton on node A in a cluster is updated with a piece of data,
              will this show in the mySingleton in node B?
              Thanks
              Ciao
              Ferruccio
              

    No. If you need this type of functionality, use Coherence.
              http://www.tangosol.com/coherence.jsp
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Ferruccio" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              > I have a very basic question. In a WebLogic clustered
              > environment, is a Singleton replicated? In other words, if the
              > mySingleton on node A in a cluster is updated with a piece of data,
              > will this show in the mySingleton in node B?
              >
              > Thanks
              >
              > Ciao
              > Ferruccio
              

  • MDB behaviour in Clustered environment

    Hi, I am a bit confused with regards to how a message delivery will behave in a clustered environment on a app server.
    As far as Queue is concerned, I am clear that it will be delevered to one and only one of the MDBs.
    But for Topic, how can load balancing effect the Topic subscriptions? Does the Topic then behave in the same manner as the Queue?
    I have a J2EE app that is running in clustered env( can be any app server). It has one MDB. I need to send messages to all the application instances at the same time. I am not sure if this solution will work in a clustered environment with JMS load balancing, and I am afraid that this solution will misbehave. Hence the question :)

    Delivery to topics is based on subscriptions. One copy of a message is delivered to each subscription. A subscription is identified (in most providers) by the combination of the client id and subscription name. In a clustered environment, each node of the cluster will have a different client id and therefore get a different copy of a message.
    Some JMS providers allow for something called group or shared subscriptions where the client id is removed from the subscription identifier and replaced by a group id. This allows two nodes in a cluster to share a subscription to a topic allowing whichever client is up to consume exactly one copy of a message among all nodes in a cluster.
    I have to admit that I haven't gotten around to implementing such a feature in my own JMS implementation, but it is on the list.
    Dwayne
    ============
    http://dropboxmq.sourceforge.net

  • File resources in clustered environment

              I understand that resource on file system cannot be clustered.
              We have an application packaged as an ear file but unfortunately we get the properties
              files from the file system. We usually copy these resources while installing our
              application.
              Now we are trying to deploy our application in a clustered environment and when
              all my servers in the clcuster r on the same machine everything worked fine. Now
              I created another server on a different machine.
              The ear file file got transfered fine but the application is not able to find
              the properties since the resource file are not copied over to that machine. I
              know this is an expected behaviour but my question is: Is there anyway workaround
              to avoid thsi problem. For example, can we tell weblogic to take care of copying
              these resources along with the whole application
              (ear file).
              Praveen
              

    I don't think that there is any standard way of doing this.
              Even if you do convince WebLogic to do so, it will be a
              WebLogic-specific hack...
              Don't suppose you can use a shared directory?
              Or perhaps you can just use external-staging, and copy the EAR +
              resources yourself.
              Regards,
              Jon
              Praveen Peddi wrote:
              > I understand that resource on file system cannot be clustered.
              > We have an application packaged as an ear file but unfortunately we get the properties
              > files from the file system. We usually copy these resources while installing our
              > application.
              >
              > Now we are trying to deploy our application in a clustered environment and when
              > all my servers in the clcuster r on the same machine everything worked fine. Now
              > I created another server on a different machine.
              > The ear file file got transfered fine but the application is not able to find
              > the properties since the resource file are not copied over to that machine. I
              > know this is an expected behaviour but my question is: Is there anyway workaround
              > to avoid thsi problem. For example, can we tell weblogic to take care of copying
              > these resources along with the whole application
              > (ear file).
              >
              > Praveen
              

  • Data Caching in a Clustered Environment

              I want to cache read-only reference/code table data that will run in a clustered
              WLS6 environment. It's a JSP application and I am storing a complete HTML Select
              Control per reference/code table data in the cache. The question is where to
              cache it? I was going to put it in the ServletContext (JSP "application" implicit
              object), but the ServletContext is not replicated. I considered using JNDI, but
              there are problems with duplicate name errors when another server who doesn't
              originally bind the object tries to lookup, change and rebind the object. I guess
              JMS Multicasting is an option, but I don't want to implement JMS just for an application
              data cache.
              Any suggestions for a simple reference/code table read-only caching strategy that
              will work in a clustered WLS6 environment?
              

    If the data is strictly read-only, and you do not have to worry about cache
              integrity, then look at WebLogic JSP cachetag:
              http://www.weblogic.com/docs51/classdocs/API_jsp.html#cachetag
              You can use it to cache both the output and the calculations results
              (variables calculated inside the cache tag).
              The scenario will be exactly the same for non-clustered and clustered
              cases - using multicast to broadcast small invalidation messages (so the
              data can be refreshed from the database) is ok, but replicating application
              data is not (and you definitely do not want to use JNDI for this purpose).
              BTW, the initial CacheTag implementation in 5.1 (supposedly) had a 'cluster'
              scope and I assume it was multicasting fresh data after cache miss - there
              is no such scope in 6.0 implementation.
              If you still want replication you can look at javagroups:
              http://sourceforge.net/projects/javagroups/
              (distributedhashtable example).
              Olsen <[email protected]> wrote:
              > Cameron,
              > Thanks for the reply. However, as I stated below, I am not interested in
              > JMS, nor an EJB solution to the problem. It really is not that complicated of
              > a concept and I know a solution or two (ServletContext, JNDI), but none that works
              > in a WLS6 clustered environment.
              > Any other ideas???
              > Thanks...
              > "Cameron Purdy" <[email protected]> wrote:
              >>Dimitri had a clever (as ever) solution using JMS to maintain cache
              >>integrity:
              >>
              >>explanation at
              >>http://dima.dhs.org/misc/readOnlyUpdates.html
              >>
              >>d/l from
              >>http://dima.dhs.org/misc/readOnlyUpdates.jar
              >>
              >>--
              >>Cameron Purdy
              >>Tangosol, Inc.
              >>http://www.tangosol.com
              >>+1.617.623.5782
              >>WebLogic Consulting Available
              >>
              >>
              >>"Olsen" <[email protected]> wrote in message
              >>news:[email protected]...
              >>>
              >>> I want to cache read-only reference/code table data that will run in
              >>a
              >>clustered
              >>> WLS6 environment. It's a JSP application and I am storing a complete
              >>HTML
              >>Select
              >>> Control per reference/code table data in the cache. The question is
              >>where
              >>to
              >>> cache it? I was going to put it in the ServletContext (JSP "application"
              >>implicit
              >>> object), but the ServletContext is not replicated. I considered using
              >>JNDI, but
              >>> there are problems with duplicate name errors when another server who
              >>doesn't
              >>> originally bind the object tries to lookup, change and rebind the object.
              >>I guess
              >>> JMS Multicasting is an option, but I don't want to implement JMS just
              >>for
              >>an application
              >>> data cache.
              >>> Any suggestions for a simple reference/code table read-only caching
              >>strategy that
              >>> will work in a clustered WLS6 environment?
              >>
              >>
              Dimitri
              

  • Issue in Synchronous File Read in clustered environment

    Hi,
    We are using clustered environment (4 managed servers) in Unix. In a OSB 11gR3 proxy service we are using Synchronous File Read. Randomly we are getting the below error. Let us know what could cause the issue. But the same code is working fine in a single stand-alone server configuration.
    Error Code : BEA-380002 , Error Reason : Invoke JCA outbound service failed with connection error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/wsdlPathAndName [ SynchRead_ptt::SynchRead(Empty,body) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content ; nested exception is:
    BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderNamer/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/wsdlPathAndName [ SynchRead_ptt::SynchRead(Empty,body) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content ; nested exception is:
    BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:153)
    at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
    at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
    at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:598)
    at sun.reflect.GeneratedMethodAccessor1115.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
    at $Proxy142.sendMessageAsync(Unknown Source)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:558)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:426)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:670)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.dispatchSync(PipelineContextImpl.java:551)
    at stages.transform.runtime.WsCalloutRuntimeStep$WsCalloutDispatcher.dispatch(WsCalloutRuntimeStep.java:1391)
    at stages.transform.runtime.WsCalloutRuntimeStep.processMessage(WsCalloutRuntimeStep.java:236)
    at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
    at com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)
    at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
    at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
    at com.bea.wli.sb.pipeline.PipelineNode.doRequest(PipelineNode.java:55)
    at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
    at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
    at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:96)
    at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
    at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
    at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
    at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:375)
    at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl$4.run(JCATransportInboundOperationBindingServiceImpl.java:415)
    at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl$4.run(JCATransportInboundOperationBindingServiceImpl.java:413)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.security.Security.runAs(Security.java:61)
    at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl.sendMessage(JCATransportInboundOperationBindingServiceImpl.java:413)
    at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl.invokeOneWay(JCATransportInboundOperationBindingServiceImpl.java:126)
    at com.bea.wli.sb.transports.jca.binding.JCAInboundRequestListener.post(JCAInboundRequestListener.java:39)
    at oracle.tip.adapter.sa.impl.inbound.JCAInboundListenerImpl.onMessage(JCAInboundListenerImpl.java:170)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:502)
    at oracle.tip.adapter.file.inbound.Publisher.onMessageDelegate(Publisher.java:493)
    at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:419)
    at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:484)
    at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:121)
    at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:388)
    at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:174)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)
    at weblogic.work.ContextWrap.run(ContextWrap.java:41)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/wsdlPathAndName [ SynchRead_ptt::SynchRead(Empty,body) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content ; nested exception is:
    BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:259)
    at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:150)
    ... 56 more
    Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/wsdlPathAndName [ SynchRead_ptt::SynchRead(Empty,body) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content ; nested exception is:
    BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:662)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:353)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:312)
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:350)
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:253)
    ... 57 more
    Caused by: BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    at oracle.tip.adapter.file.outbound.FileReader.readFile(FileReader.java:277)
    at oracle.tip.adapter.file.outbound.FileReader.executeFileRead(FileReader.java:181)
    at oracle.tip.adapter.file.outbound.FileInteraction.executeFileRead(FileInteraction.java:331)
    at oracle.tip.adapter.file.outbound.FileInteraction.execute(FileInteraction.java:395)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:529)
    ... 61 more
    Edited by: 842347 on Jul 6, 2011 3:11 AM

    I face the same issue and I have given all permissions to the folder for OS user.
    Because of this error my server is not starting up . Is there any way I can undeploy this composite to get my server running.
    I cant do this from EM because SOA server is failing to start up.
    I have tried removing it from $DOMAIN_HOME/deployed-composites but still when i try restarting the soa server the composite comes up there. Do we need to delete the entry some where else too. Kindly help.
    Thanks,
    Sri.

  • Upgrade 10G to 11.1.1.5 in Clustered environment

    I successfully ran the upgrade assistant on a single server install. Both RPD and Catalog upgraded with no issues. I scaled out to a 2 node cluster and attempted the upgrade with the assistant again. This time it fails. Here is log entries:
    [2011-07-20T15:16:07.861-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Starting to upgrade components.
    [2011-07-20T15:16:07.861-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Retain Source Ports: false
    [2011-07-20T15:16:07.861-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Stop 10g Components: false
    [2011-07-20T15:16:07.861-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Start 11g Components: false
    [2011-07-20T15:16:07.876-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Managed server bi_server2 state is: RUNNING
    [2011-07-20T15:16:07.876-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Starting to upgrade BIEE.
    [2011-07-20T15:16:07.954-04:00] [Framework] [ERROR] [UPGAST-00138] [upgrade.Framework] upgrade exception occurred
    [2011-07-20T15:16:07.954-04:00] [Framework] [ERROR] [upgrade.Framework] Cause: An unexpected upgrade exception has occurred. Action: See the secondary error message for additional details.
    [2011-07-20T15:16:07.954-04:00] [Framework] [ERROR] [upgrade.Framework] UPGCMP-02712: Expected oracle.biee.admin:oracleInstance=*,type=BIDomain.OracleInstance,group=Service Oracle instance, found 2
    [2011-07-20T15:16:07.954-04:00] [Framework] [ERROR] [upgrade.Framework] UPGCMP-02712: Expected oracle.biee.admin:oracleInstance=*,type=BIDomain.OracleInstance,group=Service Oracle instance, found 2
    [2011-07-20T15:16:07.954-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Finished upgrading BIEE with status: Failure.
    [2011-07-20T15:16:07.954-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Finished upgrading components.
    [2011-07-20T15:16:07.954-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] 0 components upgraded with success.
    [2011-07-20T15:16:07.954-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] 1 components upgraded with failure.
    Question….can you use upgrade assistant in clustered environment?
    Thanks!

    You can only use the upgrade assistant to upgrade to a single instance Oracle BI 11g server. Typically this is a sandbox server environment or a VM that can simply be wiped clean after the upgrade. Then move the RPD,WebCat, etc. and AppRoles that get created during the upgrade process to a development server. The UA is looking for a single instance installation environment and that environment should be clean/fresh to avoid confusion and conflicts.
    Please award points if helpful.

  • Jms is not working properly in clustered environment

    Hi all,
    i am using the application server oc4j 10.1.3.1.0 enterprise edition . my application is standalone application(thick client)
    we are using the jndi.properties as follows ...
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security,opmn:ormi://172.16.1.38:6006:deceval_group/Security
    java.naming.security.principal=oc4juser
    java.naming.security.credentials=oc4juser
    oracle.j2ee.rmi.loadBalance=lookup
    we have two application servers in cluster topology as u can see above we have used one instance from one application server and one from another.
    i have seen that for every instance there one jms server. at runtime it is taking one application servers services
    say opmn port 6005 but when the application is connecting to the another application server say opmn 6006
    here jms is not working properly when i send message
    As we have clustered environment message must be propagated all the applications who use above jndi.properties.
    if i keep use only one application server opmn say
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security
    then its is working excellently
    please can u provide any solution ASAP
    thanks in advance
    Manu

    Dear Aravindth
      (.*?) means -> Select all contents from where you start and end,
    For Ex. <month>(.*?)</month> then Select for start <month> and end last </month> tag.
    (?) Match zero or one occurrences. Equivalent to {0,1}.
    (*) Match zero or more occurrences. Equivalent to {0,}.
    (+) Match one or more occurrences. Equivalent to {1,}.
    (.) (Dot). Match any character except newline or another Unicode line terminator.
    (.*?) means -> Zero or more times Match any character except newline or another Unicode line terminator + Match zero or more occurrences. Equivalent to {0,}.+Match zero or one occurrences. Equivalent to {0,1}.
    Could you please refere the below cite :
    http://www.javascriptkit.com/jsref/regexp.shtml
    Thanks & Regards
    T.R.Harihara SudhaN

  • Error when calling BPEL from ESB in clustered environment

    Hi
    We have recently installed SOA Suite in a clustered environment and have a serious issue.
    I am not able to call BPEL processes from my ESB services via WSIF (by using the 'browse target operation' in JDeveloper). The exception i get at runtime is this.
    "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found"
    When I instead call the BPEL process via SOAP (by using a SOAP invocation service i JDeveloper) it works fine.
    Everything works fine in development environment which not are clustered.
    Has anyone any excperience from using ESB in a clustered environment?
    Regards
    Kalle Viklund

    Hi
    ESB and BPEL resides in the same oc4j-instance. Though, esb-rt and orabpel are different applications in that oc4j-instance. And the lookup 'ejb/collaxa/system/DeliveryBean' only exists in the orabpel application.
    In the ESB Console I already have the same setting for the 'BPELSystem' as for the 'Defaultsystem'.
    Cluster name: esb_prod
    Virtual host: prod1.sth.nu
    Port: 80
    Topic location: ESBTopics/Topics/ESB_JAVA_DEFERRED
    Connection factory location: OracleOJMS/XATCF
    regards
    Kalle

  • Problem with uploading a file in Clustered Environment

    Hi,
    I have a problem with uploading a file in a clustered environment. I have an iview component which facilitates an upload action of an xml config file. The problem is that the upload of the modified XML file is reflected only in the central instance of the cluster and not in the dialog instances. The dialog instances hold the old config file.
    Is there any solution to upload the file to all the nodes in the cluster.
    Thanks
    Kiran

    Hi,
    This is a known problem with clustered environment. Remember that your portal component runs on just on dialog instance and it doesn't automatically have access to the other nodes.  However, there are some ways to get around this
    1. Use KM to store files. KM is a common repository for all application servers and therefore you needn't worry more
    2. Use an external batch oriented product (suresync/robocopy) to synch folders on the different DIs. You basically use your existing portal component, but there is a batch job which makes sure the upload folder is identical on all DIs (however, there is a slight delay depending on how often you run the batch job)
    3. Store the files on a shared disk directly from the portal component.
    Cheers
    Dagfinn

  • Issue while polling in clustered environment.

    Hi All,
    I am using a polling adapter which polls records from two database tables. I have set Database rows per transaction as 10 and polling interval as 30 secs. Our servers are running in clustered mode.
    The issue is that, when the rows are picked by node 1 , without waiting for the polling interval node 2 picks up the next set of rows from database.
    As per our requirement, rows should be polled according to the value of Database rows per transaction size. Then adapter should wait for the polling interval and then pick up the next set of rows (in the clustered environment only). Can it be achieved using custom SQL or some java code. If anyone has tried it please help me.
    Thanks in advance.

    See this is misconception that both nodes picks the data in turn one by one.
    It totally depends on the availability of the nodes. This is how a typical active active cluster should behave.
    Both nodes will show similar set of instances as they are pointing to same soa_infra schema.
    We can not differentiate by checking EM that which node actually processed a particular instances.
    I would like to know how are you sure that both nodes are picking file one by one without waiting other one to complete its job.
    I have experience with Active active cluster with uses of DB Adapter in many scenarios. But I never observed this behavior.
    Probably by understanding your applications architecture, answer to your problem can be found.
    Thanks,
    Ashu

  • File Protocol in OSB Clustered Environment

    Hi ,
    I have a OSB Server in a Clustered Environment ....
    Here Admin Server is in Machine1
    Managed Server1 is in Machine 2
    Managed Server2 is in Machine 3
    so both the Managed Servers are put in a Cluster
    I have Access to Machine1 Unix Box where the Admin Server is Installed ...I can get the File only in this Location and have to Read the Same from here , So i was planning to Use File Protocol for Polling the Message from Admin Server .Since OSB has option for Selecting only the Managed Server , I would request suggestions how i can Read the Data from this Admin Server by using File Protocol .

    have you used "service type" as "Messaging Service" ? that should give you all the options you need

  • Not able to access the application through URL in clustered environment.

    Hi,
    I recently depoyed my application on clustered environment of weblogic 8.1 SP4.
    Now I am able to access the application through the managed server name with port number but not able to access through URL.
    For ex
    http://machine1:7001/test/login.do?m=begin
    this is accessible
    If I use
    http://test.domain.com/test/login.do?m=begin
    Then application is not accessible.
    any HTML or JSP page page is in reach by both the URL.
    Please suggest me what should I do in this regard.
    thanks
    singhV

    Hi Syed,
    I meant to ask are you able to see the application you created in Hyperion Planning Login page,if yes try accessing the created application through Hyperion Planning(Try restarting Planning Services once even if you are able to launch hyperion planning page) url "http://servername:8300/HyperionPlanning and selecting the application you created.
    And also could you please let me know if you are logging in to workspace through admin username ? and also check if you are able to see the application in shared services and try to provision any group on that application.
    (The Assumptions are if application is not created successfully then it will not be available in workspace to launch and if its in maintainance mode (Application Maintenance Mode) in Application Settings and last would be check OHS and Hyperion Planning Services)
    Thanks
    Amith

  • How to keep track of EJBs in case of failover under clustered environment?

    Does anybody know what happens with a stateless session EJB in
    weblogic 5.1 under clustered environment, in case of a failover (if
    one of computers dies), the one, which keeps that ejb in a pool?
    Does that EJB automatically go to the state "does not exist"?
    Is method ejbRemove() then called on that EJB?
    Or is it still in the "method-ready pool" state? Without ejbCreate()
    method being called on this EJB?
    Or does it disappear completely without those methods being called on
    this EJB?
    I need to organize some kind of tracking for those EJBs, and it is
    critically important for me to understand what exactly methods are
    called on those EJBs.
    I saw this, but it does not answer my question:
    Clustered EJB
    All EJBs are clusterable. If an EJB is deployed on multiple servers in
    the cluster, each of these servers will be able to host instances of
    the bean. This does not necessarily mean, however, that the bean
    instances are clustered.
    EJB Homes
    All bean homes are clusterable. When a bean is deployed on a server,
    its home is bound into the cluster-wide naming service. Because homes
    are clusterable, each server can bind an instance of the home under
    the same name. When a client looks up this home, it gets a
    replica-aware stub that has a reference to the home on each server
    that deployed the bean. When create() or find() is called, the
    replica-aware stub routes the call to one of the replicas. The home
    replica that receives the finds or creates an instance of the bean on
    its server.
    Stateless EJBs
    When a home creates a stateless bean, it returns a replica-aware stub
    that can route to any server on which the bean is deployed. Because a
    stateless bean holds no state on behalf of the client, the stub is
    free to route any call to any server that hosts the bean. Also,
    because the bean is clustered, the stub can automatically fail over in
    the event of a failure. The stub does not automatically treat the bean
    as idempotent, so it will not recover automatically from all failures.
    If the bean has been written with idempotent methods, this can be
    noted in the deployment descriptor and automatic fail-over will be
    enabled in all cases.
    Thanks

    Check out Java's support for udo/redo: [http://java.sun.com/javase/6/docs/api/javax/swing/undo/package-summary.html]
    Also, google the "Memento Pattern".
    You don't have to make copies of objects, just maintain commands the can undo and redo your program's state.

  • Error when connecting  to Oracle DataSource in a clustered environment

    Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
    ---------------------Stack trace--------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
    nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
    812_WLStub ] - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ArrayIndexOutOfBoundsException: 164]]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
    07)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
    90)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
    Replacer.java:237)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:119)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:112)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
    Unknown Source)

    Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
    ---------------------Stack trace--------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
    nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
    812_WLStub ] - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ArrayIndexOutOfBoundsException: 164]]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
    07)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
    90)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
    Replacer.java:237)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:119)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:112)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
    Unknown Source)

Maybe you are looking for

  • Digital Camcorders for MacBook Pro

    Hello and Happy Holidays to all. This is my first post and also my first Mac, thankfully due to my absolute disgust with MS and PC's anymore. My experience this far has been fantastic. I have no idea why I didn't make the switch earlier. One issue th

  • Changing PROVIDER_URL in InitialContext has no immediate effect

    In 9.0.2, setting dedicated.connection=true in the properties passed to InitialContext allowing my client code to switch between multiple OC4J servers hosting my EJBs through the java.naming.provider.url (PROVIDER_URL) property. In 9.0.3 the property

  • HBO Go choppy low resolution video

    I have a 2009 Mac Mini which I use with my entertainment center along with an Airport Extreme.  I can stream video, with little buffering time, from Netflix, U-tube, Hulu, etc...  I just learned about HBO Go about a month ago.  Compared to other stre

  • Who will think of Linux users?

    Can anybody tell me how I can synchronize my smartphone (E50) with Linux PC? I want to use nokia but it doesn't mean I want use Microsoft Why we didn't see Nokia PC Suit for Linux/FreeBSD/Mac OS X?

  • Suggested 802.11n/ac minimum data rates

    Good evening, We presently have some minimum data rates setup for our 802.11 deployment (.11b/g disabled below 9Mbps, required at 11Mbps and supported at 12Mbps+ and for .11a/n/ac  below 12Mbps disabled, 12Mbps required 12+Mbps supported).  Currently