Http Session Replication - JBoss Portal - No ClassLoaders fo
chellva Dec 28, 2006 11:55 AMHi,
Followed the below links for testing JBoss Portal clustering.
http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/clustering.html
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss
AS - jboss-4.0.4.GA
Portal - jboss-portal-ha-2.4.0
Apache - apache_2.2.3
mod-jk - mod_jk-apache-2.2.3.so
I started 2 instances of JBoss AS in a same machine and in two differenct nodes.
This is the code snippet inside HelloWorldPortlet
protected void doEdit(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException { rResponse.setContentType("text/html"); PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/edit.jsp"); PortletSession session = rRequest.getPortletSession(); session.setAttribute("Session Replication", " Session Replication Value "); prd.include(rRequest, rResponse); } And in doView() i am printing value of the session variable protected void doView(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException { rResponse.setContentType("text/html"); String sYourName = (String) rRequest.getParameter("yourname"); if(sYourName != null) { rRequest.setAttribute("yourname", sYourName); PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/view2.jsp"); PortletSession session = rRequest.getPortletSession(); System.out.println( " SESSION NAME doView " + session.getClass().getName()); System.out.println( " HTTP Session Replication Value " + session.getAttribute("Session Replication"));
doEdit() HTTP request is going to JBOSS Node1 and it is adding the value in session. After adding the value in the session i bring down JBoss Node1. So the next HTTP request, doView() is going to Machine2. But the value in the session variable is coming as null in machine 2.
Whenver the HTTP request is going to Node2 session is being newly created instead of replicating the session.
This is the console view
D:\CLUSTERPOC\jboss-4.0.4.GA\bin>run -c ports-01 =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: D:\CLUSTERPOC\jboss-4.0.4.GA\bin\\.. . JAVA: D:\Program Files\Java\jdk1.5.0_06\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInter val=3600000 . CLASSPATH: D:\Program Files\Java\jdk1.5.0_06\lib\tools.jar;D:\CLUSTERPOC\jboss-4.0.4.GA\bin\\run.jar . =============================================================================== . 21:55:34,684 INFO [Server] Starting JBoss (MX MicroKernel)... 21:55:34,684 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) 21:55:34,700 INFO [Server] Home Dir: D:\CLUSTERPOC\jboss-4.0.4.GA 21:55:34,700 INFO [Server] Home URL: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/ 21:55:34,700 INFO [Server] Patch URL: null 21:55:34,700 INFO [Server] Server Name: ports-01 21:55:34,700 INFO [Server] Server Home Dir: D:\CLUSTERPOC\jboss-4.0.4.GA\server\ports-01 21:55:34,700 INFO [Server] Server Home URL: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/ 21:55:34,700 INFO [Server] Server Log Dir: D:\CLUSTERPOC\jboss-4.0.4.GA\server\ports-01\log 21:55:34,700 INFO [Server] Server Temp Dir: D:\CLUSTERPOC\jboss-4.0.4.GA\server\ports-01\tmp 21:55:34,700 INFO [Server] Root Deployment Filename: jboss-service.xml 21:55:35,106 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc. 21:55:35,122 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc. 21:55:35,122 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 21:55:35,700 INFO [Server] Core system initialized 21:55:38,450 INFO [ServiceBindingManager] Initializing store 21:55:38,450 INFO [ServiceBindingManager] Using StoreURL: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/docs/examples/binding-manager /sample-bindings.xml 21:55:39,263 INFO [WebService] Using RMI server codebase: http://PCIIB06854:8183/ 21:55:39,294 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 21:55:39,653 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1199, RMI=/0.0.0.0:1198, backlog=50, no client SocketFactory , Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory 21:55:45,419 INFO [AspectDeployer] Deployed AOP: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-portal-ha .sar/portal-aop.xml 21:55:45,981 INFO [TreeCache] interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.PessimisticLockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor 21:55:45,981 INFO [TreeCache] cache mode is REPL_ASYNC 21:55:48,638 INFO [TreeCache] interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.PessimisticLockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor 21:55:48,638 INFO [TreeCache] cache mode is REPL_SYNC 21:55:48,669 INFO [STDOUT] ------------------------------------------------------- GMS: address is PCIIB06854:4759 ------------------------------------------------------- 21:55:49,716 INFO [TreeCache] my local address is PCIIB06854:4759 21:55:49,716 INFO [TreeCache] viewAccepted(): [PCIIB06854:4759|0] [PCIIB06854:4759] 21:55:49,716 INFO [TreeCache] new cache is null (may be first member in cluster) 21:55:49,731 INFO [TreeCache] state could not be retrieved (must be first member in group) 21:55:49,731 INFO [TreeCache] Cache is started!! 21:55:49,731 INFO [CMSTreeCacheServiceImpl] Starting CMS cache service 21:55:49,747 INFO [CMSTreeCacheServiceImpl] CMS cache service started 21:55:49,872 INFO [STDOUT] ------------------------------------------------------- GMS: address is PCIIB06854:4762 ------------------------------------------------------- 21:55:49,872 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:55:50,872 INFO [TreeCache] my local address is PCIIB06854:4762 21:55:50,872 INFO [TreeCache] viewAccepted(): [PCIIB06854:4762|0] [PCIIB06854:4762] 21:55:50,872 INFO [TreeCache] state could not be retrieved (must be first member in group) 21:55:50,888 INFO [TreeCache] Cache is started!! 21:55:50,888 INFO [TreeCache] new cache is null (may be first member in cluster) 21:55:50,888 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:55:52,185 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:55:53,716 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:55:54,700 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher 21:55:55,935 INFO [SnmpAgentService] SNMP agent going active 21:55:56,107 INFO [AspectDeployer] Deployed AOP: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/tc5-cluster.sar /tc5-cluster.aop 21:55:56,169 INFO [TreeCache] setting cluster properties from xml to: UDP(down_thread=false;enable_bundling=true;ip_ttl=2; loopback=false;max_bundle_size=64000;max_bundle_timeout=30;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=250000 00;mcast_send_buf_size=640000;ucast_recv_buf_size=20000000;ucast_send_buf_size=640000;up_thread=false;use_incoming_packet_h andler=true;use_outgoing_packet_handler=true):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):ME RGE2(down_thread=false;max_interval=100000;min_interval=20000;up_thread=false):FD(down_thread=false;max_tries=5;shun=true;t imeout=2500;up_thread=false):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(discard_delivered _msgs=true;down_thread=false;gc_lag=50;max_xmit_size=60000;retransmit_timeout=100,200,300,600,1200,2400,4800;up_thread=fals e;use_mcast_xmit=false):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread=false):pbcast.STABLE(desired_avg _gossip=50000;down_thread=false;max_bytes=2100000;stability_delay=1000;up_thread=false):pbcast.GMS(down_thread=false;join_r etry_timeout=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false):FC(down_thread=false;max_credits=10000 000;min_threshold=0.20;up_thread=false):FRAG2(down_thread=false;frag_size=60000;up_thread=false):pbcast.STATE_TRANSFER(down _thread=false;up_thread=false) 21:55:56,185 INFO [TreeCache] interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.PessimisticLockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor 21:55:56,185 INFO [TreeCache] cache mode is REPL_ASYNC 21:55:56,247 INFO [STDOUT] ------------------------------------------------------- GMS: address is PCIIB06854:4767 ------------------------------------------------------- 21:55:58,247 INFO [TreeCache] viewAccepted(): [PCIIB06854:4767|0] [PCIIB06854:4767] 21:55:58,247 INFO [TreeCache] my local address is PCIIB06854:4767 21:55:58,247 INFO [TreeCache] new cache is null (may be first member in cluster) 21:55:58,247 INFO [TreeCache] state could not be retrieved (must be first member in group) 21:55:58,247 INFO [TreeCache] Cache is started!! 21:55:58,513 INFO [Embedded] Catalina naming disabled 21:55:58,607 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule s et. 21:55:58,607 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule s et. 21:55:58,982 INFO [Catalina] Initialization processed in 375 ms 21:55:58,982 INFO [StandardService] Starting service jboss.web 21:55:58,997 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17 21:55:59,060 INFO [StandardHost] XML validation disabled 21:55:59,091 INFO [Catalina] Server startup in 109 ms 21:55:59,091 INFO [Tomcat5] Setting the cache name to jboss.cache:service=TomcatClusteringCache on jboss.web:type=Valve,na me=ClusteredSingleSignOn,host=localhost 21:55:59,263 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759 21:55:59,325 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/ 21:55:59,794 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined 21:56:00,450 INFO [TomcatDeployer] deploy, ctxPath=/portal-cms, warUrl=.../deploy/jboss-portal-ha.sar/portal-cms.war/ 21:56:00,685 INFO [TomcatDeployer] deploy, ctxPath=/portal-core, warUrl=.../deploy/jboss-portal-ha.sar/portal-core.war/ 21:56:00,810 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:56:01,903 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:56:01,935 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml 21:56:02,107 INFO [FacesConfigurator] Reading config jar:file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/tmp/deploy/tmp 37927jsf-facelets.jar!/META-INF/faces-config.xml 21:56:02,122 INFO [FacesConfigurator] Reading config jar:file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/tmp/deploy/tmp 37944tomahawk.jar!/META-INF/faces-config.xml 21:56:02,263 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml 21:56:02,528 ERROR [LocaleUtils] Locale name null or empty, ignoring 21:56:02,607 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:56:03,669 INFO [StartupServletContextListener] ServletContext 'D:\CLUSTERPOC\jboss-4.0.4.GA\server\ports-01\.\deploy\jb oss-portal-ha.sar\portal-core.war\' initialized. 21:56:03,763 INFO [TomcatDeployer] deploy, ctxPath=/portal-samples, warUrl=.../deploy/jboss-portal-ha.sar/portal-samples.w ar/ 21:56:04,060 INFO [TomcatDeployer] deploy, ctxPath=/portal, warUrl=.../deploy/jboss-portal-ha.sar/portal-server.war/ 21:56:04,357 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 1 21:56:04,388 INFO [JBossCacheManager] Starting JBossManager 21:56:04,404 INFO [JBossCacheManager] We are using mod_jk(2) for load-balancing. Will add JvmRouteValve. 21:56:04,466 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/ 21:56:04,732 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp37975jbossws-exp.war/ 21:56:04,966 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddiws.war/ 21:56:05,419 INFO [RegistryServlet] Loading jUDDI configuration. 21:56:05,435 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties 21:56:05,435 INFO [RegistryServlet] Initializing jUDDI components. 21:56:06,591 INFO [DefaultPartition] Initializing 21:56:06,669 INFO [STDOUT] ------------------------------------------------------- GMS: address is PCIIB06854:4770 (additional data: 18 bytes) ------------------------------------------------------- 21:56:08,669 INFO [DefaultPartition] Number of cluster members: 1 21:56:08,685 INFO [DefaultPartition] Other members: 0 21:56:08,685 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds): 21:56:08,747 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1200, backlog=50, bindAddress=/0.0.0.0 21:56:08,763 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI addres s=10.239.30.234:1200 21:56:09,966 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759 21:56:10,122 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:56:10,263 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy-hasingleton/jms/jbossmq-httpil.sar/j bossmq-httpil.war/ 21:56:11,654 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E 67436F6E746578744578743A312E3000000000000200000000000000D8000102000000000E31302E3233392E33302E323334000E2C000000114A426F737 32F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001 01090000000105010001000000210000005000000000000000010000000000000024000000200000007E00000000000000010000000E31302E3233392E3 3302E323334000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F000000040000000300 0000010000002000000000000000020000002000000004000000000000001F0000000400000003] 21:56:11,825 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F696 96F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000D8000102000000000E31302E3233392E33302E3233 34000E2C000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000 100010000000105010001000101090000000105010001000000210000005000000000000000010000000000000024000000200000007E00000000000000 010000000E31302E3233392E33302E323334000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000 000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003] 21:56:12,310 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console. war/ 21:56:13,404 INFO [MailService] Mail Service bound to java:/Mail 21:56:13,779 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar 21:56:13,857 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar 21:56:13,904 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 21:56:13,966 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar 21:56:14,044 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar 21:56:14,122 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar 21:56:15,716 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defa ultDS' to JNDI name 'java:DefaultDS' 21:56:16,169 INFO [A] Bound to JNDI name: queue/A 21:56:16,169 INFO [B] Bound to JNDI name: queue/B 21:56:16,169 INFO [C] Bound to JNDI name: queue/C 21:56:16,185 INFO [D] Bound to JNDI name: queue/D 21:56:16,185 INFO [ex] Bound to JNDI name: queue/ex 21:56:16,216 INFO [testTopic] Bound to JNDI name: topic/testTopic 21:56:16,216 INFO [securedTopic] Bound to JNDI name: topic/securedTopic 21:56:16,216 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic 21:56:16,216 INFO [testQueue] Bound to JNDI name: queue/testQueue 21:56:16,294 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8193 21:56:16,388 INFO [DLQ] Bound to JNDI name: queue/DLQ 21:56:16,622 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,na me=JmsXA' to JNDI name 'java:JmsXA' 21:56:16,810 INFO [Environment] Hibernate 3.2 cr2 21:56:16,826 INFO [Environment] hibernate.properties not found 21:56:16,826 INFO [Environment] Bytecode provider name : cglib 21:56:16,857 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling 21:56:17,013 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759 21:56:17,044 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po rtal-ha.sar/portal-cms.sar/conf/hibernate/cms/hibernate.cfg.xml 21:56:17,060 INFO [Configuration] Reading mappings from resource: conf/hibernate/cms/domain.hbm.xml 21:56:17,247 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.VersionBinVal -> jbp_cms_version_binval 21:56:17,294 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.VersionNode -> jbp_cms_version_node 21:56:17,294 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.VersionProp -> jbp_cms_version_prop 21:56:17,310 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.VersionRefs -> jbp_cms_version_refs 21:56:17,310 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.WSPBinVal -> jbp_cms_wsp_binval 21:56:17,310 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.WSPNode -> jbp_cms_wsp_node 21:56:17,326 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.WSPProp -> jbp_cms_wsp_prop 21:56:17,326 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.state.WSPRefs -> jbp_cms_wsp_refs 21:56:17,326 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.CMSEntry -> jbp_cms_cmsentry 21:56:17,326 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.RepositoryEntry -> jbp_cms_repositoryentry 21:56:17,341 INFO [HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.VersionEntry -> jbp_cms_versionentry 21:56:17,341 INFO [Configuration] Configured SessionFactory: null 21:56:17,357 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po rtal-ha.sar/conf/hibernate/user/hibernate.cfg.xml 21:56:17,372 INFO [Configuration] Reading mappings from resource: conf/hibernate/user/domain.hbm.xml 21:56:17,435 INFO [HbmBinder] Mapping class: org.jboss.portal.identity.db.UserImpl -> jbp_users 21:56:17,451 INFO [HbmBinder] Mapping collection: org.jboss.portal.identity.db.UserImpl.dynamic -> jbp_user_prop 21:56:17,466 INFO [HbmBinder] Mapping collection: org.jboss.portal.identity.db.UserImpl.roles -> jbp_role_membership 21:56:17,466 INFO [HbmBinder] Mapping class: org.jboss.portal.identity.db.RoleImpl -> jbp_roles 21:56:17,466 INFO [HbmBinder] Mapping collection: org.jboss.portal.identity.db.RoleImpl.users -> jbp_role_membership 21:56:17,466 INFO [Configuration] Configured SessionFactory: null 21:56:17,497 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po rtal-ha.sar/conf/hibernate/instance/hibernate.cfg.xml 21:56:17,513 INFO [Configuration] Reading mappings from resource: conf/hibernate/instance/domain.hbm.xml 21:56:17,544 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.instance.InstanceImpl -> JBP_INSTANCE 21:56:17,576 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.instance.UserInstance -> JBP_INSTANCE_PER_US ER 21:56:17,747 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.instance.InstanceSecurityBinding -> JBP_INST ANCE_SECURITY 21:56:17,763 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.instance.InstanceSecurityBinding.action s -> JBP_INSTANCE_SECURITY_ACTIONS 21:56:17,763 INFO [Configuration] Configured SessionFactory: null 21:56:17,794 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po rtal-ha.sar/conf/hibernate/portal/hibernate.cfg.xml 21:56:17,794 INFO [Configuration] Reading mappings from resource: conf/hibernate/portal/domain.hbm.xml 21:56:17,841 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.portal.ObjectNode -> JBP_OBJECT_NODE 21:56:17,857 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.portal.PortalObjectImpl -> JBP_PORTAL_OBJECT 21:56:17,857 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.portal.PortalObjectImpl.declaredPropert ies -> JBP_PORTAL_OBJECT_PROPS 21:56:17,966 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portal.core.impl.model.portal.ContextImpl -> JBP_CONTEXT 21:56:17,966 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portal.core.impl.model.portal.PortalImpl -> JBP_PORTAL 21:56:17,966 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.portal.PortalImpl.modes -> JBP_PORTAL_M ODE 21:56:17,966 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.portal.PortalImpl.windowStates -> JBP_P ORTAL_WINDOW_STATE 21:56:17,982 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portal.core.impl.model.portal.PageImpl -> JBP_PAGE 21:56:17,982 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portal.core.impl.model.portal.WindowImpl -> JBP_WINDOW 21:56:17,982 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.model.portal.ObjectNodeSecurityConstraint -> JBP_O BJECT_NODE_SEC 21:56:17,997 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.model.portal.ObjectNodeSecurityConstraint.act ions -> JBP_OBJECT_NODE_SEC_ACTIONS 21:56:17,997 INFO [Configuration] Configured SessionFactory: null 21:56:18,029 INFO [Configuration] configuring from url: file:/D:/CLUSTERPOC/jboss-4.0.4.GA/server/ports-01/deploy/jboss-po rtal-ha.sar/conf/hibernate/portlet/hibernate.cfg.xml 21:56:18,044 INFO [Configuration] Reading mappings from resource: conf/hibernate/portlet/domain.hbm.xml 21:56:18,060 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.portlet.state.PersistentState -> JBP_PORTLET_STATE 21:56:18,076 INFO [HbmBinder] Mapping class: org.jboss.portal.core.impl.portlet.state.PersistentStateEntry -> JBP_PORTLET_ STATE_ENTRY 21:56:18,076 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.portlet.state.PersistentStateEntry.strings -> JBP_PORTLET_STATE_ENTRY_VALUE 21:56:18,076 INFO [Configuration] Configured SessionFactory: null 21:56:18,107 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Port alDS' to JNDI name 'java:PortalDS' 21:56:18,419 INFO [NamingHelper] JNDI InitialContext properties:{} 21:56:18,419 INFO [DatasourceConnectionProvider] Using datasource: java:PortalDS 21:56:18,435 INFO [SettingsFactory] RDBMS: Microsoft SQL Server, version: 8.00.2039 21:56:18,435 INFO [SettingsFactory] JDBC driver: Microsoft SQL Server 2005 JDBC Driver, version: 1.0.809.102 21:56:18,482 INFO [Dialect] Using dialect: org.hibernate.dialect.SQLServerDialect 21:56:18,513 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory 21:56:18,529 INFO [NamingHelper] JNDI InitialContext properties:{} 21:56:18,529 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBos sTransactionManagerLookup 21:56:18,544 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 21:56:18,544 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBos sTransactionManagerLookup 21:56:18,560 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 21:56:18,560 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled 21:56:18,560 INFO [SettingsFactory] Automatic session close at end of transaction: disabled 21:56:18,560 INFO [SettingsFactory] Scrollable result sets: enabled 21:56:18,576 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled 21:56:18,576 INFO [SettingsFactory] Connection release mode: auto 21:56:18,576 INFO [SettingsFactory] Default batch fetch size: 1 21:56:18,576 INFO [SettingsFactory] Generate SQL with comments: disabled 21:56:18,576 INFO [SettingsFactory] Order SQL updates by primary key: disabled 21:56:18,591 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 21:56:18,622 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory 21:56:18,622 INFO [SettingsFactory] Query language substitutions: {} 21:56:18,622 INFO [SettingsFactory] Second-level cache: disabled 21:56:18,622 INFO [SettingsFactory] Query cache: disabled 21:56:18,638 INFO [SettingsFactory] Optimize cache for minimal puts: disabled 21:56:18,638 INFO [SettingsFactory] Structured second-level cache entries: disabled 21:56:18,654 INFO [SettingsFactory] Statistics: disabled 21:56:18,654 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled 21:56:18,669 INFO [SettingsFactory] Default entity-mode: pojo 21:56:18,747 INFO [SessionFactoryImpl] building session factory 21:56:19,747 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759 21:56:19,779 WARN [UDP] discarded message from different group (portal.hibernate). Sender was PCIIB06854:4762 21:56:20,201 INFO [SessionFactoryObjectFactory] Factory name: java:/portal/cms/CMSSessionFactory 21:56:20,201 INFO [NamingHelper] JNDI InitialContext properties:{} 21:56:20,216 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: java:/portal/cms/CMSSessionFactory 21:56:20,216 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext 21:56:20,216 INFO [NamingHelper] JNDI InitialContext properties:{} 21:56:21,107 INFO [HAJCRCMS] Starting JCR CMS 21:56:21,326 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was PCIIB06854:4759 21:56:21,357 INFO [RepositoryImpl] Starting repository... 21:56:22,122 INFO [RepositoryImpl] initializing workspace 'default'... 21:56:22,122 ERROR [RepositoryImpl] Failed to initialize workspace 'default' javax.jcr.RepositoryException: Cannot instantiate persistence manager org.jboss.portal.cms.hibernate.state.JBossCachePersis tenceManager: Configured bean implementation class org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager was no t found.: No ClassLoaders found for: org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager: Configured bean imp lementation class org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager was not found.: No ClassLoaders found f or: org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager: No ClassLoaders found for: org.jboss.portal.cms.hibe rnate.state.JBossCachePersistenceManager at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1035) at org.apache.jackrabbit.core.RepositoryImpl.access$500(RepositoryImpl.java:83) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1509) at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:502) at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:244) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:483) at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService.java:102) at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:200) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:167) at org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.startSingleton(HAJCRCMS.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy31.startSingleton(Unknown Source) at org.jboss.portal.jems.ha.HASingletonInvoker.startSingleton(HASingletonInvoker.java:208) at org.jboss.ha.singleton.HASingletonSupport.makeThisNodeMaster(HASingletonSupport.java:197) at org.jboss.ha.singleton.HASingletonSupport.partitionTopologyChanged(HASingletonSupport.java:133) at org.jboss.ha.jmx.HAServiceMBeanSupport$1.replicantsChanged(HAServiceMBeanSupport.java:243) at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.notifyKeyListeners(DistributedReplicantManagerImpl .java:844) at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.add(DistributedReplicantManagerImpl.java:408) at org.jboss.ha.jmx.HAServiceMBeanSupport.registerDRMListener(HAServiceMBeanSupport.java:251) at org.jboss.ha.jmx.HAServiceMBeanSupport.startService(HAServiceMBeanSupport.java:173) at org.jboss.portal.jems.ha.HASingletonInvoker.startService(HASingletonInvoker.java:187) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy111.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:464) at java.lang.Thread.run(Thread.java:595)