W E B   S E R V I C E S  
In order to use distributed http sessions, you need to perform the following series of steps: 
1.Copy the 
jbossha httpsession.sar
  (usually found in 
$JBOSS_HOME/cluster/output/lib
) into the deploy director. 
2.Edit the 
jetty plugin.sar/META INF/jboss service.xml
  file: 
1.Ensure the following property is set (as it is by default): 
 
 org.jboss.jetty.session.ClusteredStore 
 
1.
Set the snapshot frequency which affects the synchronization of distributed sessions: 
never 
Options for the value are: 
  
never 
  
idle 
  
request 
  
 
3.Set the snapshot notification policy, which will affect when 
HttpSessionActivationListeners
 are notified: 
 neither  
Options for the value are: 
  
never 
  
activate 
  
passivate 
  
both 
Other Jetty Configuration Tips 
Deploying a war to context   /  
Deploying a webapp called 
foo.war
  will result in it being deployed at context 
/foo
.  To 
deploy it instead to the root context, choose one of the following mechanisms: 
0.The standard J2EE way:  wrap your 
.war
 in an .
ear
 and in the 
.ear
 s 
META 
INF/application.xml
 you can specify the required context. 
118






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

best web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved