geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r368344 - in /geronimo/trunk: configs/jetty/src/plan/ modules/jetty-builder/src/java/org/apache/geronimo/jetty/deployment/ modules/jetty/ modules/jetty/src/java/org/apache/geronimo/jetty/ modules/tomcat/ modules/tomcat/src/java/org/apache/g...
Date Thu, 12 Jan 2006 11:48:05 GMT
Author: jules
Date: Thu Jan 12 03:47:38 2006
New Revision: 368344

URL: http://svn.apache.org/viewcvs?rev=368344&view=rev
Log:
Rationalise and unify Jetty and Tomcat approaches to installation of
WADI behind a distributable webapp.

This is now done via two attributes on the top-level WebContainer
component - LocalSessionManager and DistributableSessionManager, which
may be set to the classnames of the required managers.


Modified:
    geronimo/trunk/configs/jetty/src/plan/plan.xml
    geronimo/trunk/modules/jetty-builder/src/java/org/apache/geronimo/jetty/deployment/JettyModuleBuilder.java
    geronimo/trunk/modules/jetty/project.properties
    geronimo/trunk/modules/jetty/project.xml
    geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainer.java
    geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainerImpl.java
    geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyWebAppContext.java
    geronimo/trunk/modules/tomcat/project.properties
    geronimo/trunk/modules/tomcat/project.xml
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContext.java
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java
    geronimo/trunk/modules/tomcat/src/plan/tomcat-plan.xml

Modified: geronimo/trunk/configs/jetty/src/plan/plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/configs/jetty/src/plan/plan.xml?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/configs/jetty/src/plan/plan.xml (original)
+++ geronimo/trunk/configs/jetty/src/plan/plan.xml Thu Jan 12 03:47:38 2006
@@ -31,7 +31,8 @@
          plan and thinks they might belong in the console plan.  Aaron thinks
          they definitely don't belong in the console plan, but could go into
          a management layer plan. -->
-    <gbean name="JettyWebManager" class="org.apache.geronimo.jetty.JettyManagerImpl"/>
+    <gbean name="JettyWebManager" class="org.apache.geronimo.jetty.JettyManagerImpl">
+    </gbean>
 
     <gbean name="JettyAccessLogManager" class="org.apache.geronimo.jetty.requestlog.JettyLogManagerImpl">
         <references name="LogGBeans">
@@ -49,6 +50,8 @@
 
     <!-- default WAR container using Jetty -->
     <gbean name="JettyWebContainer" class="org.apache.geronimo.jetty.JettyContainerImpl">
+        <attribute name="localSessionManager"></attribute>
+        <attribute name="distributableSessionManager">org.codehaus.wadi.jetty5.JettyManager</attribute>
     </gbean>
 
     <gbean name="JettyRequestLog" class="org.apache.geronimo.jetty.requestlog.NCSARequestLog">

Modified: geronimo/trunk/modules/jetty-builder/src/java/org/apache/geronimo/jetty/deployment/JettyModuleBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty-builder/src/java/org/apache/geronimo/jetty/deployment/JettyModuleBuilder.java?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/jetty-builder/src/java/org/apache/geronimo/jetty/deployment/JettyModuleBuilder.java
(original)
+++ geronimo/trunk/modules/jetty-builder/src/java/org/apache/geronimo/jetty/deployment/JettyModuleBuilder.java
Thu Jan 12 03:47:38 2006
@@ -477,9 +477,6 @@
                 hosts[i] = hosts[i].trim();
             }
             webModuleData.setAttribute("virtualHosts", hosts);
-
-            //session manager
-            webModuleData.setAttribute("sessionManager", jettyWebApp.getSessionManager());
             
             //Add dependencies on managed connection factories and ejbs in this app
             //This is overkill, but allows for people not using java:comp context (even though
we don't support it)

Modified: geronimo/trunk/modules/jetty/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/project.properties?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/jetty/project.properties (original)
+++ geronimo/trunk/modules/jetty/project.properties Thu Jan 12 03:47:38 2006
@@ -4,3 +4,6 @@
 
 maven.junit.jvmargs=-Djava.security.auth.login.config=src/test-resources/data/login.config
-ea
 maven.junit.fork=true
+
+## for WADI - temporary
+axion_version=1.0-M3-dev

Modified: geronimo/trunk/modules/jetty/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/project.xml?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/jetty/project.xml (original)
+++ geronimo/trunk/modules/jetty/project.xml Thu Jan 12 03:47:38 2006
@@ -272,6 +272,11 @@
              </properties>
         </dependency>
         <dependency>
+            <groupId>axion</groupId>
+            <artifactId>axion</artifactId>
+            <version>${axion_version}</version>
+        </dependency>
+        <dependency>
             <groupId>backport-util-concurrent</groupId>
             <artifactId>backport-util-concurrent</artifactId>
             <version>${backport_util_concurrent_version}</version>

Modified: geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainer.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainer.java?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainer.java (original)
+++ geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainer.java Thu
Jan 12 03:47:38 2006
@@ -34,6 +34,12 @@
     void addContext(HttpContext context);
 
     void removeContext(HttpContext context);
+    
+    String getLocalSessionManager();
+    void setLocalSessionManager(String localSessionManagerClassname);
+    
+    String getDistributableSessionManager();
+    void setDistributableSessionManager(String distributableSessionManagerClassname);
 
     InternalJAASJettyRealm addRealm(String realmName);
 

Modified: geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainerImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainerImpl.java?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainerImpl.java
(original)
+++ geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyContainerImpl.java
Thu Jan 12 03:47:38 2006
@@ -39,6 +39,8 @@
     private final Map webServices = new HashMap();
     private final String objectName;
     private final Map realms = new HashMap();
+    private String localSessionManager;
+    private String distributableSessionManager = "org.codehaus.wadi.jetty5.JettyManager";
 
     public JettyContainerImpl(String objectName) {
         this.objectName = objectName;
@@ -49,6 +51,22 @@
         return objectName;
     }
 
+    public String getDistributableSessionManager() {
+        return distributableSessionManager;
+    }
+
+    public void setDistributableSessionManager(String distributableSessionManager) {
+        this.distributableSessionManager = distributableSessionManager;
+    }
+
+    public String getLocalSessionManager() {
+        return localSessionManager;
+    }
+
+    public void setLocalSessionManager(String localSessionManager) {
+        this.localSessionManager = localSessionManager;
+    }
+    
     public boolean isStateManageable() {
         return true;
     }
@@ -234,6 +252,8 @@
         infoBuilder.addOperation("resetStatistics");
 
         infoBuilder.addAttribute("requestLog", RequestLog.class, false, false);
+        infoBuilder.addAttribute("localSessionManager", String.class, true);
+        infoBuilder.addAttribute("distributableSessionManager", String.class, true);
 
         infoBuilder.addOperation("addListener", new Class[]{HttpListener.class});
         infoBuilder.addOperation("removeListener", new Class[]{HttpListener.class});
@@ -254,5 +274,7 @@
     public static GBeanInfo getGBeanInfo() {
         return GBEAN_INFO;
     }
+
+
 
 }

Modified: geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyWebAppContext.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyWebAppContext.java?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyWebAppContext.java
(original)
+++ geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/JettyWebAppContext.java
Thu Jan 12 03:47:38 2006
@@ -132,7 +132,7 @@
             //setup a SessionManager
             log.debug("About to configure a SessionManager");
             String sessionManagerClassName = ((JettyWebAppContext) webAppContext).getSessionManager();
-            if (sessionManagerClassName != null) {
+            if (sessionManagerClassName != null && sessionManagerClassName.trim().length()
!= 0) {
                 Class clazz = Thread.currentThread().getContextClassLoader().loadClass(sessionManagerClassName);
                 Object o = clazz.newInstance();
                 log.debug("Setting SessionManager type=" + clazz.getName() + " instance="
+ o);
@@ -313,7 +313,7 @@
         jsr154FilterHolder.setInitParameter("unwrappedDispatch", "true");
         handler.addFilterPathMapping("/*", "jsr154", Dispatcher.__REQUEST | Dispatcher.__FORWARD
| Dispatcher.__INCLUDE | Dispatcher.__ERROR);
 
-        configureSessionManager(sessionManager);
+        configureSessionManager();
 
     }
 
@@ -516,9 +516,13 @@
     }
 
 
-    private void configureSessionManager(String sessionManagerClassName) {
-        this.sessionManager = sessionManagerClassName;
-        log.debug("SessionManager classname=" + sessionManagerClassName);
+    private void configureSessionManager() {
+        if (isDistributable())
+            this.sessionManager = jettyContainer.getDistributableSessionManager();
+        else
+            this.sessionManager = jettyContainer.getLocalSessionManager();
+        log.debug("SessionManager classname=" + this.sessionManager);
+        
         if (this.sessionManager != null) {
             addConfiguration(SessionManagerConfiguration.class.getName());
         }

Modified: geronimo/trunk/modules/tomcat/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/project.properties?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/project.properties (original)
+++ geronimo/trunk/modules/tomcat/project.properties Thu Jan 12 03:47:38 2006
@@ -2,5 +2,8 @@
 ## $Rev$ $Date$
 ##
 
-maven.junit.jvmargs=-Djava.endorsed.dirs=${maven.build.dir}/endorsed -ea 
+maven.junit.jvmargs=-Djava.endorsed.dirs=${maven.build.dir}/endorsed -ea
 maven.junit.fork=true
+
+## for WADI - temporary
+axion_version=1.0-M3-dev

Modified: geronimo/trunk/modules/tomcat/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/project.xml?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/project.xml (original)
+++ geronimo/trunk/modules/tomcat/project.xml Thu Jan 12 03:47:38 2006
@@ -189,6 +189,27 @@
              </properties>
         </dependency>
         <dependency>
+            <groupId>axion</groupId>
+            <artifactId>axion</artifactId>
+            <version>${axion_version}</version>
+        </dependency>
+        <dependency>
+            <groupId>backport-util-concurrent</groupId>
+            <artifactId>backport-util-concurrent</artifactId>
+            <version>${backport_util_concurrent_version}</version>
+            <properties>
+                 <geronimo.dependency>true</geronimo.dependency>
+             </properties>
+        </dependency>
+        <dependency>
+            <groupId>activemq</groupId>
+            <artifactId>activemq</artifactId>
+            <version>${activemq_version}</version>
+            <properties>
+                 <geronimo.dependency>true</geronimo.dependency>
+             </properties>
+        </dependency>
+        <dependency>
             <groupId>springframework</groupId>
             <artifactId>spring</artifactId>
             <version>${wadi_spring_version}</version>

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java
Thu Jan 12 03:47:38 2006
@@ -27,7 +27,10 @@
 import javax.servlet.ServletException;
 
 import org.apache.catalina.Container;
+import org.apache.catalina.Lifecycle;
+import org.apache.catalina.LifecycleEvent;
 import org.apache.catalina.LifecycleException;
+import org.apache.catalina.LifecycleListener;
 import org.apache.catalina.Manager;
 import org.apache.catalina.Valve;
 import org.apache.catalina.Wrapper;
@@ -61,7 +64,7 @@
 import org.apache.geronimo.webservices.WebServiceContainerInvoker;
 
 
-public class GeronimoStandardContext extends StandardContext {
+public class GeronimoStandardContext extends StandardContext implements LifecycleListener
{
 
     private static final Log log = LogFactory.getLog(GeronimoStandardContext.class);
 
@@ -73,6 +76,10 @@
 
     private boolean pipelineInitialized;
 
+  private String localSessionManager;
+  private String distributableSessionManager;
+  private ClassLoader webClassLoader;
+
     public void setContextProperties(TomcatContext ctx) throws DeploymentException {
         // Create ReadOnlyContext
         javax.naming.Context enc = null;
@@ -156,25 +163,43 @@
         if (cluster != null)
             this.setCluster(cluster);
         
-        Manager manager = ctx.getManager();
-        if (manager != null)
-            this.setManager(manager);
-
         pipelineInitialized = true;
         this.webServiceMap = ctx.getWebServices();
 
         this.setCrossContext(ctx.isCrossContext());
+
+	this.localSessionManager=ctx.getLocalSessionManager();
+	this.distributableSessionManager=ctx.getDistributableSessionManager();
+	this.webClassLoader=ctx.getWebClassLoader();
+    }
+
+    public void lifecycleEvent(LifecycleEvent event) {
+      if (event.getType()==Lifecycle.START_EVENT) {
+	try {
+	  String sessionManager=getDistributable()?distributableSessionManager:localSessionManager;
+	  if (sessionManager!=null) {
+	    //	    Class clazz=Thread.currentThread().getContextClassLoader().loadClass(sessionManager);
+	    Class clazz=webClassLoader.loadClass(sessionManager);
+	    log.info("Session Manager is:" + clazz.getName());
+	    setManager((Manager)clazz.newInstance());
+	  }
+	} catch (Exception e) {
+	  log.error("unexpected problem instantiating Session Manager", e);
+	}
+      }
     }
 
     public synchronized void start() throws LifecycleException {
         if (pipelineInitialized) {
             try {
+	        addLifecycleListener(this);
                 Valve valve = getFirst();
                 valve.invoke(null, null);
                 //Install the DefaultSubjectValve after the authentication valve so the default
subject is supplied
                 //only if no real subject is authenticated.
                 Valve defaultSubjectValve = new DefaultSubjectValve(defaultSubject);
                 addValve(defaultSubjectValve);
+		removeLifecycleListener(this);
             } catch (IOException e) {
                 if (e.getCause() instanceof LifecycleException) {
                     throw (LifecycleException) e.getCause();

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
Thu Jan 12 03:47:38 2006
@@ -76,6 +76,10 @@
      **/
     private ClassLoader classLoader;
 
+  private String _localSessionManager;
+  private String _distributableSessionManager="org.codehaus.wadi.tomcat55.TomcatManager";;
+
+
     private final Map webServices = new HashMap();
     private final String objectName;
 
@@ -381,6 +385,22 @@
         return new TomcatClassLoader((URL[])urls.toArray(new URL[0]), null, cl, false);
     }
 
+  public String getLocalSessionManager() {
+    return _localSessionManager;
+  }
+
+  public void setLocalSessionManager(String localSessionManager) {
+    _localSessionManager=localSessionManager;
+  }
+
+  public String getDistributableSessionManager() {
+    return _distributableSessionManager;
+  }
+
+  public void setDistributableSessionManager(String distributableSessionManager) {
+    _distributableSessionManager=distributableSessionManager;
+  }    
+
     public static final GBeanInfo GBEAN_INFO;
 
     static {
@@ -406,6 +426,9 @@
 
         infoFactory.addInterface(SoapHandler.class);
         infoFactory.addInterface(TomcatWebContainer.class);
+
+        infoFactory.addAttribute("localSessionManager", String.class, true);
+        infoFactory.addAttribute("distributableSessionManager", String.class, true);
 
         GBEAN_INFO = infoFactory.getBeanInfo();
     }

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContext.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContext.java?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContext.java (original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContext.java Thu
Jan 12 03:47:38 2006
@@ -66,7 +66,8 @@
     
     public CatalinaCluster getCluster();
     
-    public Manager getManager();
+    public String getLocalSessionManager();
+    public String getDistributableSessionManager();
     
     public boolean isCrossContext();
     

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebAppContext.java
Thu Jan 12 03:47:38 2006
@@ -47,7 +47,6 @@
 import org.apache.geronimo.management.geronimo.WebModule;
 import org.apache.geronimo.security.jacc.RoleDesignateSource;
 import org.apache.geronimo.tomcat.cluster.CatalinaClusterGBean;
-import org.apache.geronimo.tomcat.cluster.WADIGBean;
 import org.apache.geronimo.tomcat.util.SecurityHolder;
 import org.apache.geronimo.transaction.TrackedConnectionAssociator;
 import org.apache.geronimo.transaction.context.OnlineUserTransaction;
@@ -82,7 +81,7 @@
     
     private final CatalinaCluster catalinaCluster;
     
-    private final Manager manager;
+    private Manager manager=null;
 
     private final boolean crossContext;
 
@@ -112,6 +111,9 @@
 
     private final String originalSpecDD;
 
+  private final String localSessionManager;
+  private final String distributableSessionManager;
+
     public TomcatWebAppContext(
             ClassLoader classLoader,
             String objectName,
@@ -133,7 +135,6 @@
             ObjectRetriever tomcatRealm,
             ValveGBean tomcatValveChain,
             CatalinaClusterGBean cluster,
-            WADIGBean manager,
             boolean crossContext,
             Map webServices,
             J2EEServer server,
@@ -161,6 +162,8 @@
         }
         this.webAppRoot = root.resolve(relativeWebAppRoot);
         this.container = container;
+	this.localSessionManager=container.getLocalSessionManager();
+	this.distributableSessionManager=container.getDistributableSessionManager();
         this.originalSpecDD = originalSpecDD;
 
         this.setDocBase(this.webAppRoot.getPath());
@@ -205,11 +208,7 @@
         else
             catalinaCluster = null;
 
-        //Add the manager
-        if (manager != null)
-           this.manager = (Manager)manager.getInternalObject(); 
-        else
-            this.manager = null;
+        //Add the manager - now instantiated lazily...
 
         this.crossContext = crossContext;
 
@@ -337,10 +336,6 @@
         return catalinaCluster;
     }
     
-    public Manager getManager() {
-        return manager;
-    }
-    
     public boolean isCrossContext() {
         return crossContext;
     }
@@ -429,6 +424,14 @@
         log.warn("TomcatWebAppContext failed");
     }
 
+  public String getLocalSessionManager() {
+    return localSessionManager;
+  }
+
+  public String getDistributableSessionManager() {
+    return distributableSessionManager;
+  }
+
     public static final GBeanInfo GBEAN_INFO;
 
     static {
@@ -458,7 +461,6 @@
         infoBuilder.addReference("TomcatRealm", ObjectRetriever.class);
         infoBuilder.addReference("TomcatValveChain", ValveGBean.class);
         infoBuilder.addReference("Cluster", CatalinaClusterGBean.class, CatalinaClusterGBean.J2EE_TYPE);
-        infoBuilder.addReference("Manager", WADIGBean.class);
         infoBuilder.addAttribute("crossContext", boolean.class, true);
         infoBuilder.addAttribute("webServices", Map.class, true);
         infoBuilder.addReference("J2EEServer", J2EEServer.class);
@@ -488,7 +490,6 @@
                 "TomcatRealm",
                 "TomcatValveChain",
                 "Cluster",
-                "Manager",
                 "crossContext",
                 "webServices",
                 "J2EEServer",

Modified: geronimo/trunk/modules/tomcat/src/plan/tomcat-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/plan/tomcat-plan.xml?rev=368344&r1=368343&r2=368344&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/plan/tomcat-plan.xml (original)
+++ geronimo/trunk/modules/tomcat/src/plan/tomcat-plan.xml Thu Jan 12 03:47:38 2006
@@ -88,6 +88,8 @@
     <gbean gbeanName="geronimo.server:type=WebContainer,container=Tomcat" class="org.apache.geronimo.tomcat.TomcatContainer">
         <attribute name="catalinaHome">var/catalina</attribute>
         <attribute name="port">8090</attribute>
+        <!--<attribute name="localSessionManager">TODO</attribute>-->
+        <attribute name="distributableSessionManager">org.codehaus.wadi.tomcat55.TomcatManager</attribute>
         <reference name="ServerInfo"><gbean-name>geronimo.system:role=ServerInfo</gbean-name></reference>
     </gbean>
     <gbean gbeanName="geronimo.server:type=WebConnector,container=Tomcat,port=8090" class="org.apache.geronimo.tomcat.connector.HTTPConnector">



Mime
View raw message