4 Replies Latest reply on Nov 5, 2004 2:01 PM by Bela Ban

    Accessing objects in replicated cache

    Zsolt Lukacs Newbie

      When I get an object out from TreeCache, do I get a copy of the object or a reference to the object stored in the cache?

      I would think it should be a reference, but then how does it work when an object is updated in a replicated cluster on one node and I hold a reference to the replicated object in another node? When do the changes show up in my object and how is concurrency handled?

      Bear with me folks... I already read all over but this eludes me...

      Thanks.

        • 1. Jboss shutdown
          Bela Ban Master

          I use script shutdown.sh -s $ip:$jndiport -S to shutdown JBoss. It shows following and hangs there forever.

          2004-04-14 09:20:28,101 INFO [org.jboss.system.server.Server] Shutting down
          2004-04-14 09:20:28,106 INFO [org.jboss.system.server.Server] LifeThread.run exits!
          2004-04-14 09:20:28,107 INFO [org.jboss.system.server.Server] Shutting down the JVM now!
          2004-04-14 09:20:28,110 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
          2004-04-14 09:20:28,111 INFO [org.jboss.resin.ResinService] undeploy, warUrl=file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/jmx-console.war/
          2004-04-14 09:20:28,111 INFO [org.jboss.resin.ResinEntry] performUndeploy ctx=/jmx-console
          2004-04-14 09:20:28,112 ERROR [STDERR] [2004-04-14 09:20:28.112] closing application http://172.16.11.147:8080/jmx-console
          2004-04-14 09:20:28,120 ERROR [org.jboss.resin.ResinService] cannot find expanded war dir for file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/jmx-console.war/
          2004-04-14 09:20:28,124 INFO [org.jboss.resin.ResinService] undeploy, warUrl=file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/tmp/deploy/tmp55798web-console.war/
          2004-04-14 09:20:28,124 INFO [org.jboss.resin.ResinEntry] performUndeploy ctx=/web-console
          2004-04-14 09:20:28,124 ERROR [STDERR] [2004-04-14 09:20:28.124] closing application http://172.16.11.147:8080/web-console
          2004-04-14 09:20:28,129 ERROR [org.jboss.resin.ResinService] cannot find expanded war dir for file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/tmp/deploy/tmp55798web-console.war/
          2004-04-14 09:20:28,433 INFO [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] Stopping jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor
          2004-04-14 09:20:28,433 INFO [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] Stopping heartbeat controller ...
          2004-04-14 09:20:28,433 INFO [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] Stopping subscription manager ...
          2004-04-14 09:20:28,434 INFO [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] Stopping trap emitter ...
          2004-04-14 09:20:28,436 INFO [org.jboss.jmx.adaptor.snmp.trapd.TrapdService] Stopping jboss.jmx:name=SnmpAgent,service=trapd,type=logger
          2004-04-14 09:20:28,469 INFO [org.jboss.jmx.connector.invoker.InvokerAdaptorService] Stopping jboss.jmx:type=adaptor,name=Invoker
          2004-04-14 09:20:28,470 INFO [org.jboss.console.manager.PluginManager] Stopping jboss.admin:service=PluginManager
          2004-04-14 09:20:28,470 INFO [org.jboss.naming.NamingAlias] Stopping jboss.jmx:alias=jmx/rmi/RMIAdaptor
          2004-04-14 09:20:28,474 INFO [org.jboss.invocation.jrmp.server.JRMPProxyFactory] Stopping jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
          2004-04-14 09:20:28,499 INFO [org.jboss.invocation.http.server.HttpProxyFactory] Stopping jboss:service=invoker,type=http,target=Naming,readonly=true
          2004-04-14 09:20:28,500 INFO [org.jboss.invocation.http.server.HttpProxyFactory] Stopping jboss:service=invoker,type=http,target=Naming
          2004-04-14 09:20:28,500 INFO [org.jboss.invocation.http.server.HttpInvokerHA] Stopping jboss:service=invoker,type=httpHA
          2004-04-14 09:20:28,501 INFO [org.jboss.invocation.http.server.HttpInvoker] Stopping jboss:service=invoker,type=http
          2004-04-14 09:20:28,505 INFO [org.jboss.resin.ResinService] undeploy, warUrl=file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/http-invoker.sar/invoker.war/
          2004-04-14 09:20:28,506 INFO [org.jboss.resin.ResinEntry] performUndeploy ctx=/invoker
          2004-04-14 09:20:28,506 ERROR [STDERR] [2004-04-14 09:20:28.506] closing application http://172.16.11.147:8080/invoker
          2004-04-14 09:20:28,507 ERROR [org.jboss.resin.ResinService] cannot find expanded war dir for file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/http-invoker.sar/invoker.war/
          2004-04-14 09:20:28,526 INFO [org.jboss.resin.ResinService] undeploy, warUrl=file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/http-invoker.sar/invoker.war/
          2004-04-14 09:20:28,527 ERROR [org.jboss.resin.ResinService] could not undeploy file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/http-invoker.sar/invoker.war/
          2004-04-14 09:20:28,539 INFO [org.jboss.resin.ResinService] undeploy, warUrl=file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
          2004-04-14 09:20:28,540 ERROR [org.jboss.resin.ResinService] cannot find expanded war dir for file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
          2004-04-14 09:20:28,542 INFO [org.jboss.mq.il.http.HTTPServerILService] Stopping jboss.mq:service=InvocationLayer,type=HTTP
          2004-04-14 09:20:28,543 INFO [org.jboss.resin.ResinService] Stopping jboss.web:service=WebServer
          2004-04-14 09:20:28,544 INFO [org.jboss.deployment.MainDeployer] Removing deployer: org.jboss.resin.ResinService@151b6ea
          2004-04-14 09:20:28,544 INFO [org.jboss.resin.ResinService] undeploy, warUrl=file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
          2004-04-14 09:20:28,544 ERROR [org.jboss.resin.ResinService] could not undeploy file:/home/kshitij/SAMHOME_28/xsam_2.1/jboss-3.2.2/server/resin-all/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
          2004-04-14 09:20:28,559 ERROR [STDERR] [2004-04-14 09:20:28.559] closing application http://172.16.11.147:8080/
          2004-04-14 09:20:28,565 ERROR [STDERR] [2004-04-14 09:20:28.564] closing application http://172.16.11.147:8080/sam
          2004-04-14 09:20:28,598 INFO [org.jboss.ejb.EjbModule] Stopping jboss.j2ee:module=mobilgw_sam.jar,service=EjbModule
          2004-04-14 09:20:28,599 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/CustomHeaderDef,service=EJB
          2004-04-14 09:20:28,600 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/CustomHeaderDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,603 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/StandardReplyMessageDef,service=EJB
          2004-04-14 09:20:28,603 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/StandardReplyMessageDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,604 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/KeywordMapDef,service=EJB
          2004-04-14 09:20:28,605 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/KeywordMapDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,606 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ServiceAttributeDef,service=EJB
          2004-04-14 09:20:28,607 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ServiceAttributeDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,608 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/CPKeyWordDef,service=EJB
          2004-04-14 09:20:28,608 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/CPKeyWordDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,610 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ShortCodeDef,service=EJB
          2004-04-14 09:20:28,611 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ShortCodeDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,612 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/MNOKeyWordDef,service=EJB
          2004-04-14 09:20:28,612 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/MNOKeyWordDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,614 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/StandardRatePlanDef,service=EJB
          2004-04-14 09:20:28,614 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/StandardRatePlanDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,616 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/CPTariff,service=EJB
          2004-04-14 09:20:28,616 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/CPTariff,plugin=pool,service=EJB
          2004-04-14 09:20:28,617 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/MNOTariffDef,service=EJB
          2004-04-14 09:20:28,618 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/MNOTariffDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,619 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/Service,service=EJB
          2004-04-14 09:20:28,620 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/Service,plugin=pool,service=EJB
          2004-04-14 09:20:28,621 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/CPDetailsDef,service=EJB
          2004-04-14 09:20:28,621 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/CPDetailsDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,623 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/SMSAdapterDef,service=EJB
          2004-04-14 09:20:28,623 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/SMSAdapterDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,626 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/RolePrivilegeDef,service=EJB
          2004-04-14 09:20:28,626 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/RolePrivilegeDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,627 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/UserRoleDef,service=EJB
          2004-04-14 09:20:28,628 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/UserRoleDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,629 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/RoleDef,service=EJB
          2004-04-14 09:20:28,630 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/RoleDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,631 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/UserDef,service=EJB
          2004-04-14 09:20:28,631 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/UserDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,633 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/WorkflowParameterDef,service=EJB
          2004-04-14 09:20:28,633 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/WorkflowParameterDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,635 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/WorkFlowDef,service=EJB
          2004-04-14 09:20:28,636 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/WorkFlowDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,638 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/WfActivityMapDef,service=EJB
          2004-04-14 09:20:28,639 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/WfActivityMapDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,641 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/TransitionDef,service=EJB
          2004-04-14 09:20:28,641 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/TransitionDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,654 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/StartStateDef,service=EJB
          2004-04-14 09:20:28,654 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/StartStateDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,657 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/RedirectDef,service=EJB
          2004-04-14 09:20:28,657 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/RedirectDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,659 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ExecutionSummary,service=EJB
          2004-04-14 09:20:28,659 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ExecutionSummary,plugin=pool,service=EJB
          2004-04-14 09:20:28,660 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/EndStateDef,service=EJB
          2004-04-14 09:20:28,661 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/EndStateDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,665 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/DeployedWorkflowDef,service=EJB
          2004-04-14 09:20:28,666 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/DeployedWorkflowDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,668 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ConnectionDefGrp,service=EJB
          2004-04-14 09:20:28,668 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ConnectionDefGrp,plugin=pool,service=EJB
          2004-04-14 09:20:28,675 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ConnectionDef,service=EJB
          2004-04-14 09:20:28,675 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ConnectionDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,698 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ConditionalDef,service=EJB
          2004-04-14 09:20:28,698 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ConditionalDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,701 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/SendResponseDef,service=EJB
          2004-04-14 09:20:28,702 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/SendResponseDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,704 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ActivityDefRef,service=EJB
          2004-04-14 09:20:28,704 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ActivityDefRef,plugin=pool,service=EJB
          2004-04-14 09:20:28,712 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ActivityParameterDef,service=EJB
          2004-04-14 09:20:28,712 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ActivityParameterDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,715 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/RemoveActionDef,service=EJB
          2004-04-14 09:20:28,715 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/RemoveActionDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,717 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ChangeActionDef,service=EJB
          2004-04-14 09:20:28,717 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ChangeActionDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,722 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/AddActionDef,service=EJB
          2004-04-14 09:20:28,722 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/AddActionDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,726 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/JavaAdapterDef,service=EJB
          2004-04-14 09:20:28,727 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/JavaAdapterDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,730 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/HttpAdapterDef,service=EJB
          2004-04-14 09:20:28,730 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/HttpAdapterDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,732 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ActionDefGrp,service=EJB
          2004-04-14 09:20:28,732 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ActionDefGrp,plugin=pool,service=EJB
          2004-04-14 09:20:28,738 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ActionDef,service=EJB
          2004-04-14 09:20:28,738 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ActionDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,742 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/AdapterDef,service=EJB
          2004-04-14 09:20:28,743 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/AdapterDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,746 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/ActivityDef,service=EJB
          2004-04-14 09:20:28,746 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/ActivityDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,749 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/URLPatternDef,service=EJB
          2004-04-14 09:20:28,749 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/URLPatternDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,751 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=local/PrivilegeDef,service=EJB
          2004-04-14 09:20:28,751 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=local/PrivilegeDef,plugin=pool,service=EJB
          2004-04-14 09:20:28,848 INFO [org.jboss.management.j2ee.EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=EJBModule,name=mobilgw_sam.jar
          2004-04-14 09:20:28,857 INFO [org.jboss.resource.RARDeployer] About to undeploy RARDeploymentMBean, objectname: jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
          2004-04-14 09:20:28,857 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Stopping jboss.jca:service=LocalTxCM,name=jdbc/oraSAM
          2004-04-14 09:20:28,859 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Stopping jboss.jca:service=ManagedConnectionPool,name=jdbc/oraSAM
          2004-04-14 09:20:29,925 INFO [org.jboss.resource.connectionmanager.RARDeployment] Stopping jboss.jca:service=ManagedConnectionFactory,name=jdbc/oraSAM
          2004-04-14 09:20:29,931 INFO [org.jboss.management.j2ee.ResourceAdapterModule] destroy(), remove RARModule: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=ResourceAdapterModule,name=jboss-local-jdbc.rar
          2004-04-14 09:20:29,940 INFO [org.jboss.resource.RARDeployer] About to undeploy RARDeploymentMBean, objectname: jboss.jca:service=RARDeployment,name=JBoss JDBC XATransaction ResourceAdapter
          2004-04-14 09:20:29,942 INFO [org.jboss.management.j2ee.ResourceAdapterModule] destroy(), remove RARModule: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=ResourceAdapterModule,name=jboss-xa-jdbc.rar
          2004-04-14 09:20:29,946 INFO [org.jboss.resource.RARDeployer] About to undeploy RARDeploymentMBean, objectname: jboss.jca:service=RARDeployment,name=JMS Adapter
          2004-04-14 09:20:29,947 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Stopping jboss.jca:service=TxCM,name=JmsXA
          2004-04-14 09:20:29,949 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Stopping jboss.jca:service=ManagedConnectionPool,name=JmsXA
          2004-04-14 09:20:29,949 INFO [org.jboss.resource.connectionmanager.RARDeployment] Stopping jboss.jca:service=ManagedConnectionFactory,name=JmsXA
          2004-04-14 09:20:29,952 INFO [org.jboss.management.j2ee.ResourceAdapterModule] destroy(), remove RARModule: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=ResourceAdapterModule,name=jms-ra.rar
          2004-04-14 09:20:29,971 INFO [org.jboss.jms.asf.ServerSessionPoolLoader] Stopping jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool
          2004-04-14 09:20:29,972 INFO [org.jboss.jms.asf.ServerSessionPoolLoader] pool factory StdJMSPool unbound from java:/StdJMSPool
          2004-04-14 09:20:29,972 INFO [org.jboss.jms.jndi.JMSProviderLoader] Stopping jboss.mq:service=JMSProviderLoader,name=JBossMQProvider
          2004-04-14 09:20:29,973 INFO [org.jboss.jms.jndi.JMSProviderLoader] unbound adapter DefaultJMSProvider from java:/DefaultJMSProvider
          2004-04-14 09:20:29,983 INFO [org.jboss.varia.property.SystemPropertiesService] Stopping jboss:type=Service,name=SystemProperties
          2004-04-14 09:20:29,983 INFO [org.jboss.varia.property.PropertyEditorManagerService] Stopping jboss:type=Service,name=PropertyEditorManager
          2004-04-14 09:20:30,001 INFO [org.jboss.iiop.CorbaNamingService] Stopping jboss:service=CorbaNaming
          2004-04-14 09:20:30,004 INFO [org.jboss.invocation.iiop.IIOPInvoker] Stopping jboss:service=invoker,type=iiop
          2004-04-14 09:20:30,010 INFO [org.jboss.iiop.CorbaORBService] Stopping jboss:service=CorbaORB
          2004-04-14 09:20:30,050 INFO [org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge] Stopping jboss.cache:service=InvalidationBridge,type=JavaGroups
          2004-04-14 09:20:30,052 DEBUG [XSAM_Partition_cluster_development_wf:ReplicantManager] notifyKeyListeners
          2004-04-14 09:20:30,052 DEBUG [XSAM_Partition_cluster_development_wf:ReplicantManager] listeners is null
          2004-04-14 09:20:30,052 INFO [org.jboss.cache.invalidation.InvalidationManager] Unsubscription of a cache-invalidation bridge
          2004-04-14 09:20:30,152 INFO [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Stopping jboss:service=invoker,type=jrmpha
          2004-04-14 09:20:30,153 INFO [org.jboss.ha.jndi.HANamingService] Stopping jboss:service=HAJNDI
          2004-04-14 09:20:30,154 DEBUG [XSAM_Partition_cluster_development_wf:ReplicantManager] notifyKeyListeners
          2004-04-14 09:20:30,154 DEBUG [XSAM_Partition_cluster_development_wf:ReplicantManager] listeners is null
          2004-04-14 09:20:32,940 INFO [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Shutdown


          I have also noticed that JBoss shuts down properly after commenting HAJNDI service from cluster-service.xml, hence suggesting that it hangs while stopping HAJNDI service. It's also evident form above log.

          Any information or suggestion will be of gr8 use.

          Thanking in advance.

          • 2. Re: Accessing objects in replicated cache
            Zsolt Lukacs Newbie

            I realize this question may be more applicable to TreeCacheAop. I am still figuring out the differences.

            • 3. Re: Accessing objects in replicated cache
              Ben Wang Master

              You get it by reference, of course. TreeCacheAop is supposedly to do it behind the scence so you don't have to worry about it. :-)

              Here is in a nutshell how it retrieve it from the replicated node. The first time when you issue getObject() api, it will check whether a copy of the "aspectized" object has been created. If not, it will re-create it based on the field values from the cache store. After that, it will just keep the reference around.

              Hope this help. I will add this in the faq. I am sure others are curious to know as well.

              Thanks,

              -Ben

              • 4. Re: Accessing objects in replicated cache
                Zsolt Lukacs Newbie

                Ben, thanks so much for bearing with my naive question. I have a much better understanding now.

                Q: What happens in the following scenario.

                1. I putObject(myObj) into a TreeCacheAOP
                2. Write various fields of myObj. Some writes are identical data, some are real updates.

                Will TreeCacheAop detect what was really changed in the object and propagate only those fields that indeed changed or will it blindly propagate all fields that has been written to?

                As you can figure I will have to do complex updates and want to make sure that only the bare minimum of cluster traffic is induced...

                Thanks a bunch, Z