geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Re: svn commit: r508724 [1/3] - in /geronimo/server/trunk: applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/ assemblies/geronimo-boilerplate-minimal/ assemblies/geronimo-boilerplate-minimal/src/main/resources/va...
Date Mon, 19 Feb 2007 20:14:34 GMT
  I am seeing this during shutdown using bin\shutdown. I had to use ^c to stop the server.
C:\xxxxx\geronimo\g2.0\assemblies\geronimo-tomcat6-jee5-2.0-SNAPSHOT>bin\shutdown
Using GERONIMO_BASE:   C:\anita\geronimo\g2.0\assemblies\geronimo-tomcat6-jee5-2.0-SNAPSHO
T
Using GERONIMO_HOME:   C:\anita\geronimo\g2.0\assemblies\geronimo-tomcat6-jee5-2.0-SNAPSHO
T
Using GERONIMO_TMPDIR: C:\anita\geronimo\g2.0\assemblies\geronimo-tomcat6-jee5-2.0-SNAPSHO
T\var\temp
Using JRE_HOME:        C:\mytools\jdk1.5.0_08\jre
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/geronimo/deployment/
cli/StopServer

Thanks
Anita

Joe Bohn <joe.bohn@earthlink.net> wrote: This appears to be breaking tck again.  Please
take a look at the tck 
list for details of the problem.

Thanks,
Joe


gdamour@apache.org wrote:
> Author: gdamour
> Date: Sat Feb 17 00:01:26 2007
> New Revision: 508724
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=508724
> Log:
> Second attempt to change the way the online/offline deployers and the JSR88
> deployment driver work. The first attempt was breaking the TCK amd the 
> eclipse plugin.
> 
> 
> Online deployer, i.e. deployer.jar, boots a Kernel to load its dependencies,
>  e.g. geronimo-deploy-tool, and registers the available ModuleConfigurers with 
> the DeploymentManager.
> 
> ModuleConfigurers to be registered are loaded by the persistent configuration 
> list jsr88-configurer-config.xml.
> 
> In the case of an offline deployment, the online deployer starts the 
> offline-deployer configuration within the same Kernel. In turn, the 
> offline-deployer configuration starts a list of configurations to register 
> the available module builders.
> 
> Add a log4j configuration for the online deployer.
> 
> DeploymentFactoryBootstrapper is the new JSR88 deployment driver. It boots a 
> kernel; starts the configuration list jsr88-configurer-config.xml; retrieves
> the "actual" DeploymentFactory implementation from the kernel; and delegates
> to this retrieved imoplementation.
> The JSR88 JAR driver is now named jsr88-deploymentfactory.jar.
> 
> 
> This fixes:
> * GERONIMO-2794 - Improve online deployer to register ModuleConfigurers from the repository;
and
> * GERONIMO-2767 - Minimize side effects of the offline deployer
> 
> Added:
>     geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/deployer-log4j.properties
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/deployer-log4j.properties
>     geronimo/server/trunk/assemblies/geronimo-framework/src/main/var/config/jsr88-configurer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-framework/src/main/var/config/jsr88-configurer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-framework/src/main/var/config/offline-deployer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-framework/src/main/var/config/offline-deployer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/var/config/jsr88-configurer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/var/config/jsr88-configurer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/var/config/offline-deployer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/var/config/offline-deployer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-jetty6-minimal/src/main/var/config/jsr88-configurer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-jetty6-minimal/src/main/var/config/jsr88-configurer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-jetty6-minimal/src/main/var/config/offline-deployer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-jetty6-minimal/src/main/var/config/offline-deployer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/var/config/jsr88-configurer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/var/config/jsr88-configurer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/var/config/offline-deployer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/var/config/offline-deployer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-minimal/src/main/var/config/jsr88-configurer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-tomcat6-minimal/src/main/var/config/jsr88-configurer-config.xml
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-minimal/src/main/var/config/offline-deployer-config.xml
>       - copied unchanged from r503370, geronimo/server/trunk/assemblies/geronimo-tomcat6-minimal/src/main/var/config/offline-deployer-config.xml
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/LICENSE.txt
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/NOTICE.txt
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/pom.xml
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/src/
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/src/main/
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/src/main/resources/
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/src/main/resources/META-INF/
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/src/main/resources/META-INF/startup-jar
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/src/plan/
>     geronimo/server/trunk/configs/jsr88-deploymentfactory/src/plan/plan.xml
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/LICENSE.txt
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/NOTICE.txt
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/pom.xml
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/java/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/java/org/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/java/org/apache/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/java/org/apache/geronimo/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/java/org/apache/geronimo/deployment/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/java/org/apache/geronimo/deployment/plugin/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/java/org/apache/geronimo/deployment/plugin/factories/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryBootstrapper.java
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/test/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88-bootstrapper/src/test/java/
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryWithKernel.java
>     geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/OfflineDeployerStarter.java
>       - copied unchanged from r503370, geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/OfflineDeployerStarter.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/SwitchablePersistentConfigurationList.java
>       - copied unchanged from r503370, geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/SwitchablePersistentConfigurationList.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/AbstractRepository.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/CopyArtifactTypeHandler.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/Maven1Repository.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/Maven2Repository.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/UnpackArtifactTypeHandler.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/Main.java
>       - copied unchanged from r503370, geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/Main.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/MainBootstrapper.java
>       - copied, changed from r503370, geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/MainBootstrapper.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/repository/AbstractRepositoryTest.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/repository/Maven1RepositoryTest.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/repository/Maven2RepositoryTest.java
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/junk/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/junk/propertiess/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/junk/propertiess/junk-1.5.properties
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/org.bar/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/org.bar/propertiess/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/org.bar/propertiess/test-1.3.properties
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/org.bar/propertiess/test-1.5.properties
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/org.foo/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/org.foo/propertiess/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m1/org.foo/propertiess/test-2.0.1.properties
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/junk/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/junk/junk/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/junk/junk/1.5/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/junk/junk/1.5/junk-1.5.properties
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/bar/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/bar/test/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/bar/test/1.3/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/bar/test/1.3/test-1.3.properties
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/bar/test/1.5/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/bar/test/1.5/test-1.5.properties
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/foo/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/foo/test/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/foo/test/2.0.1/
>     geronimo/server/trunk/modules/geronimo-kernel/src/test/repo/m2/org/foo/test/2.0.1/test-2.0.1.properties
>     geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/SwitchableLocalAttributeManager.java
>       - copied unchanged from r503370, geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/SwitchableLocalAttributeManager.java
>     geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/repository/ServerInfoRootResolver.java
> Removed:
>     geronimo/server/trunk/assemblies/geronimo-framework/src/main/var/config/offline-deployer-list
>     geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/var/config/offline-deployer-list
>     geronimo/server/trunk/assemblies/geronimo-jetty6-minimal/src/main/var/config/offline-deployer-list
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/var/config/offline-deployer-list
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-minimal/src/main/var/config/offline-deployer-list
>     geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/repository/CopyArtifactTypeHandler.java
>     geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/repository/UnpackArtifactTypeHandler.java
>     geronimo/server/trunk/modules/geronimo-system/src/test/java/org/apache/geronimo/system/repository/
>     geronimo/server/trunk/modules/geronimo-system/src/test/repo/
> Modified:
>     geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java
>     geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/pom.xml
>     geronimo/server/trunk/assemblies/geronimo-framework/pom.xml
>     geronimo/server/trunk/assemblies/geronimo-framework/src/main/assembly/bin.xml
>     geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/pom.xml
>     geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/assembly/bin.xml
>     geronimo/server/trunk/assemblies/geronimo-jetty6-minimal/pom.xml
>     geronimo/server/trunk/assemblies/geronimo-jetty6-minimal/src/main/assembly/bin.xml
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/pom.xml
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/assembly/bin.xml
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-minimal/pom.xml
>     geronimo/server/trunk/assemblies/geronimo-tomcat6-minimal/src/main/assembly/bin.xml
>     geronimo/server/trunk/configs/client-deployer/src/plan/plan.xml
>     geronimo/server/trunk/configs/connector-deployer/src/plan/plan.xml
>     geronimo/server/trunk/configs/j2ee-deployer/src/plan/plan.xml
>     geronimo/server/trunk/configs/jetty6-deployer/src/plan/plan.xml
>     geronimo/server/trunk/configs/jsr88-cli/pom.xml
>     geronimo/server/trunk/configs/jsr88-cli/src/plan/plan.xml
>     geronimo/server/trunk/configs/online-deployer/pom.xml
>     geronimo/server/trunk/configs/online-deployer/src/plan/plan.xml
>     geronimo/server/trunk/configs/pom.xml
>     geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/pom.xml
>     geronimo/server/trunk/modules/geronimo-client-builder/src/main/java/org/apache/geronimo/client/builder/jsr88/ClientConfigurer.java
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88/pom.xml
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/DisconnectedDeploymentManager.java
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/jmx/JMXDeploymentManager.java
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/jmx/LocalDeploymentManager.java
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/jmx/RemoteDeploymentManager.java
>     geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/test/java/org/apache/geronimo/deployment/plugin/DeploymentConfigurationTest.java
>     geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/AbstractCommand.java
>     geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/DeployTool.java
>     geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/ServerConnection.java
>     geronimo/server/trunk/modules/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryHotDeployer.java
>     geronimo/server/trunk/modules/geronimo-kernel/pom.xml
>     geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
>     geronimo/server/trunk/modules/geronimo-system/pom.xml
>     geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/repository/AbstractRepository.java
>     geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/repository/Maven1Repository.java
>     geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/repository/Maven2Repository.java
>     geronimo/server/trunk/modules/pom.xml
> 
> Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java?view=diff&rev=508724&r1=508723&r2=508724
> ==============================================================================
> --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java
(original)
> +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java
Sat Feb 17 00:01:26 2007
> @@ -36,6 +36,7 @@
>  import org.apache.commons.logging.Log;
>  import org.apache.commons.logging.LogFactory;
>  import org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl;
> +import org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryWithKernel;
>  import org.apache.geronimo.gbean.AbstractName;
>  import org.apache.geronimo.gbean.GBeanData;
>  import org.apache.geronimo.kernel.Kernel;
> @@ -77,6 +78,11 @@
>      // nothing yet
>  
>      private static ManagementHelper createHelper() {
> +        Kernel kernel = getKernel();
> +        return new KernelManagementHelper(kernel);
> +    }
> +
> +    private static Kernel getKernel() {
>          //todo: consider making this configurable; we could easily connect to a remote
kernel if we wanted to
>          Kernel kernel = null;
>          try {
> @@ -88,11 +94,12 @@
>              log.debug("Unable to find kernel in JNDI; using KernelRegistry instead");
>              kernel = KernelRegistry.getSingleKernel();
>          }
> -        return new KernelManagementHelper(kernel);
> +        return kernel;
>      }
>  
>      public static DeploymentManager getDeploymentManager(PortletRequest request) {
> -        DeploymentFactoryImpl factory = new DeploymentFactoryImpl();
> +        Kernel kernel = getKernel();
> +        DeploymentFactoryImpl factory = new DeploymentFactoryWithKernel(kernel);
>          try {
>              return factory.getDeploymentManager("deployer:geronimo:inVM", null, null);
>          } catch (DeploymentManagerCreationException e) {
> 
> Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/pom.xml
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/pom.xml?view=diff&rev=508724&r1=508723&r2=508724
> ==============================================================================
> --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/pom.xml (original)
> +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/pom.xml Sat Feb 17
00:01:26 2007
> @@ -62,10 +62,6 @@
>                                      cglib-nodep
>                                  
>                                  
> -                                    commons-cli
> -                                    commons-cli

=== message truncated ===

 
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.
Mime
View raw message