geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chi runhua <chirun...@gmail.com>
Subject Re: Question about SingleSignOn
Date Fri, 22 May 2009 09:07:21 GMT
Hi, there is a page about managing Tomcat valves in Geronimo.  You may refer
to it even it's in v2.2 space now.

http://cwiki.apache.org/confluence/display/GMOxDOC22/Managing+Valve

Thanks.

Jeff C

On Fri, May 22, 2009 at 10:37 AM, Ivan <xhhsld@gmail.com> wrote:

> I think you could just simply replace FirstValve with AccessLogValve. It
> should work.
> Ivan
>
> 2009/5/21 Christian Fichtl <mail@christian-fichtl.de>
>
> Hello,
>> i want to activate SingleSignOn on Geronimo 2.1.4.
>>
>> But I get an error, perhaps someone can help me.
>>
>> I appended the config.xml File:
>>
>>  <module name="org.apache.geronimo.configs/tomcat6/2.1.4/car">
>>         <gbean name="TomcatWebConnector">
>>             <attribute name="host">${ServerHostname}</attribute>
>>             <attribute name="port">${HTTPPort + PortOffset}</attribute>
>>             <attribute name="redirectPort">${HTTPSPort +
>> PortOffset}</attribute>
>>             <attribute name="maxHttpHeaderSize">8192</attribute>
>>             <attribute name="maxThreads">150</attribute>
>>             <attribute name="minSpareThreads">25</attribute>
>>             <attribute name="maxSpareThreads">75</attribute>
>>             <attribute name="enableLookups">false</attribute>
>>             <attribute name="acceptCount">100</attribute>
>>             <attribute
>> name="connectionTimeout">${WebConnectorConTimeout}</attribute>
>>             <attribute name="disableUploadTimeout">true</attribute>
>>         </gbean>
>>         <gbean name="TomcatAJPConnector">
>>             <attribute name="host">${ServerHostname}</attribute>
>>             <attribute name="port">${AJPPort + PortOffset}</attribute>
>>             <attribute name="redirectPort">${HTTPSPort +
>> PortOffset}</attribute>
>>             <attribute name="minSpareThreads">25</attribute>
>>             <attribute name="maxSpareThreads">75</attribute>
>>             <attribute name="enableLookups">false</attribute>
>>         </gbean>
>>         <gbean name="TomcatWebSSLConnector">
>>             <attribute name="host">${ServerHostname}</attribute>
>>             <attribute name="port">${HTTPSPort + PortOffset}</attribute>
>>             <attribute name="maxHttpHeaderSize">8192</attribute>
>>             <attribute name="maxThreads">150</attribute>
>>             <attribute name="minSpareThreads">25</attribute>
>>             <attribute name="maxSpareThreads">75</attribute>
>>             <attribute name="enableLookups">false</attribute>
>>             <attribute name="acceptCount">100</attribute>
>>             <attribute name="disableUploadTimeout">false</attribute>
>>             <attribute name="clientAuth">false</attribute>
>>             <attribute name="algorithm">Default</attribute>
>>             <attribute name="sslProtocol">TLS</attribute>
>>             <attribute
>> name="keystoreFile">var/security/keystores/geronimo-default</attribute>
>>             <attribute name="keystorePass">secret</attribute>
>>             <attribute name="keystoreType">JKS</attribute>
>>         </gbean>
>>        * <gbean name="TomcatHost">*
>> *            <attribute name="initParams">name=${ServerHostname}*
>> *                                        appBase=*
>> *                                        workDir=work</attribute>*
>> *        </gbean>*
>> * **  <gbean name="TomcatEngine">*
>> *            <attribute name="initParams">name=WASCE20</attribute>*
>> *        </gbean>*
>> *        <gbean name="FirstValve">*
>> *            <reference name="NextValve">*
>> *                <pattern>*
>> *                    <name>SSOValve</name>*
>> *                </pattern>*
>> *            </reference>*
>> *        </gbean>*
>> *        <gbean
>> name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=GBean,name=SSOValve"
>> gbeanInfo="org.apache.geronimo.tomcat.ValveGBean">*
>> *            <attribute
>> name="className">org.apache.catalina.authenticator.SingleSignOn</attribute>
>> *
>> *        </gbean>*
>>     </module>
>>
>> When I launch the Server I get the following Error:
>> ...
>> Module 24/79 org.apache.geronimo.configs/jasper/2.1.4/car
>>          started in   .003s
>> Module 25/79 org.apache.geronimo.configs/tomcat6/2.1.4/car
>>        2009-05-21 11:18:57,935 ERROR [GBeanInstanceState] Error while
>> starting; GBean is now in the FAILED state:
>> abstractName="org.apache.geronimo.configs/tomcat6/2.1.4/car?configurationName=org.apache.geronimo.configs/tomcat6/2.1.4/car"
>> org.apache.geronimo.kernel.config.InvalidConfigException: New GBeans must
>> be specified with a GBeanInfo and a full AbstractName
>> configuration=org.apache.geronimo.configs/tomcat6/2.1.4/car
>> gbeanName=FirstValve
>>         at
>> org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:175)
>>         at
>> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:285)
>>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>         at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
>>         at
>> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361)
>>         at
>> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:161)
>>         at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
>>         at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:281)
>>         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>>         at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>>         at
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>>         at
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>>         at
>> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$9dce2cbf.loadConfiguration(<generated>)
>>         at
>> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:159)
>>         at
>> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
>>         at
>> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>>         at
>> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>>         at
>> org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
>> Server Startup failed
>>
>> org.apache.geronimo.kernel.config.LifecycleException: load of
>> org.apache.geronimo.configs/tomcat6/2.1.4/car failed
>>         at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:328)
>>         at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:281)
>>         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>>         at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>>         at
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>>         at
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>>         at
>> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$9dce2cbf.loadConfiguration(<generated>)
>>         at
>> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:159)
>>         at
>> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
>>         at
>> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>>         at
>> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>>         at
>> org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
>> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error
>> starting configuration gbean org.apache.geronimo.configs/tomcat6/2.1.4/car
>>         at
>> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
>>         at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
>>         ... 16 more
>> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
>> Configuration gbean failed to start
>> org.apache.geronimo.configs/tomcat6/2.1.4/car
>> reason: New GBeans must be specified with a GBeanInfo and a full
>> AbstractName configuration=org.apache.geronimo.configs/tomcat6/2.1.4/car
>> gbeanName=FirstValve
>>         at
>> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
>>         ... 17 more
>> 11:19:06,895 WARN  [geronimo-commands:start-server] Process exited with
>> status: 1
>> ---------------------------------------------------
>> constituent[0]: file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/etc/
>> constituent[1]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/lib/slf4j-api-1.4.3.jar
>> constituent[2]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/lib/slf4j-log4j12-1.4.3.jar
>> constituent[3]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/lib/jcl104-over-slf4j-1.4.3.jar
>> constituent[4]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/lib/log4j-1.2.14.jar
>> constituent[5]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/lib/cglib-nodep-2.1_3.jar
>> constituent[6]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/lib/geronimo-kernel-2.1.4.jar
>> constituent[7]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/lib/xstream-1.2.2.jar
>> constituent[8]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar
>> constituent[9]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/jline/jline/0.9.94/jline-0.9.94.jar
>> constituent[10]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
>> constituent[11]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
>> constituent[12]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/gshell-cli/1.0-alpha-1/gshell-cli-1.0-alpha-1.jar
>> constituent[13]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/gshell-command-api/1.0-alpha-1/gshell-command-api-1.0-alpha-1.jar
>> constituent[14]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/gshell-core/1.0-alpha-1/gshell-core-1.0-alpha-1.jar
>> constituent[15]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/gshell-parser/1.0-alpha-1/gshell-parser-1.0-alpha-1.jar
>> constituent[16]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/commands/gshell-builtins/1.0-alpha-1/gshell-builtins-1.0-alpha-1.jar
>> constituent[17]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/support/gshell-ansi/1.0-alpha-1/gshell-ansi-1.0-alpha-1.jar
>> constituent[18]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/support/gshell-clp/1.0-alpha-1/gshell-clp-1.0-alpha-1.jar
>> constituent[19]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/support/gshell-common/1.0-alpha-1/gshell-common-1.0-alpha-1.jar
>> constituent[20]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/support/gshell-i18n/1.0-alpha-1/gshell-i18n-1.0-alpha-1.jar
>> constituent[21]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/gshell/support/gshell-prefs/1.0-alpha-1/gshell-prefs-1.0-alpha-1.jar
>> constituent[22]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/lib/geronimo-jaxws-builder-2.1.4.jar
>> constituent[23]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/codehaus/groovy/groovy-all-minimal/1.5.6/groovy-all-minimal-1.5.6.jar
>> constituent[24]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
>> constituent[25]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.jar
>> constituent[26]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/codehaus/plexus/plexus-component-annotations/1.0-alpha-1/plexus-component-annotations-1.0-alpha-1.jar
>> constituent[27]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/codehaus/plexus/plexus-component-api/1.0-alpha-32/plexus-component-api-1.0-alpha-32.jar
>> constituent[28]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar
>> constituent[29]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar
>> constituent[30]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/specs/geronimo-javaee-deployment_1.1MR3_spec/1.0/geronimo-javaee-deployment_1.1MR3_spec-1.0.jar
>> constituent[31]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-cli/2.1.4/geronimo-cli-2.1.4.jar
>> constituent[32]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-commands/2.1.4/geronimo-commands-2.1.4.jar
>> constituent[33]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-deploy-config/2.1.4/geronimo-deploy-config-2.1.4.jar
>> constituent[34]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-deploy-jsr88/2.1.4/geronimo-deploy-jsr88-2.1.4.jar
>> constituent[35]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-deploy-tool/2.1.4/geronimo-deploy-tool-2.1.4.jar
>> constituent[36]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-system/2.1.4/geronimo-system-2.1.4.jar
>> constituent[37]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-plugin/2.1.4/geronimo-plugin-2.1.4.jar
>> constituent[38]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-common/2.1.4/geronimo-common-2.1.4.jar
>> constituent[39]:
>> file:/usr/local/geronimo-tomcat6-javaee5-2.1.4/repository/org/apache/geronimo/framework/geronimo-crypto/2.1.4/geronimo-crypto-2.1.4.jar
>> ---------------------------------------------------
>> java.lang.Exception: Failed to start: Geronimo Server
>>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>         at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>         at
>> org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:535)
>>         at
>> groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2356)
>>         at
>> groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1255)
>>         at
>> groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1185)
>>         at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:809)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:230)
>>         at
>> org.apache.geronimo.commands.ProcessLauncher.launch(ProcessLauncher.groovy:102)
>>         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:597)
>>         at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>         at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>         at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>         at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>         at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778)
>>         at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:198)
>>         at
>> org.apache.geronimo.commands.StartServerCommand.doExecute(StartServerCommand.groovy:197)
>>         at
>> org.apache.geronimo.gshell.command.CommandSupport.execute(CommandSupport.java:101)
>>         at
>> org.apache.geronimo.gshell.plugin.PlexusCommandWrapper.execute(PlexusCommandWrapper.java:71)
>>         at
>> org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:209)
>>         at
>> org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:96)
>>         at
>> org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17)
>>         at
>> org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:57)
>>         at
>> org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:79)
>>         at
>> org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17)
>>         at
>> org.apache.geronimo.gshell.DefaultCommandLineBuilder$1.execute(DefaultCommandLineBuilder.java:95)
>>         at
>> org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:86)
>>         at
>> org.apache.geronimo.gshell.DefaultShell.execute(DefaultShell.java:123)
>>         at org.apache.geronimo.gshell.GShell.execute(GShell.java:120)
>>         at org.apache.geronimo.gshell.cli.Main.boot(Main.java:246)
>>         at org.apache.geronimo.gshell.cli.Main.main(Main.java:266)
>>         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:597)
>>         at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>         at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>         at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>>         at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>>         at
>> org.apache.geronimo.gshell.bootstrap.Launcher.main(Launcher.java:59)
>> Caused by: : Java returned: 1
>>         at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
>>         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:597)
>>         at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>         at org.apache.tools.ant.Task.perform(Task.java:348)
>>         at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:199)
>>         at
>> groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:153)
>>         at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:149)
>>         at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
>>         at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:784)
>>         at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>         at
>> org.apache.geronimo.commands.StartServerCommand$_doExecute_closure2.doCall(StartServerCommand.groovy:117)
>>         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:597)
>>         at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>         at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>         at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>         at
>> org.apache.geronimo.commands.StartServerCommand$_doExecute_closure2.doCall(StartServerCommand.groovy)
>>         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:597)
>>         at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>         at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>         at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>         at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:927)
>>         at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>         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:597)
>>         at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>         at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>         at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>         at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>         at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
>>         at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>         at
>> org.apache.geronimo.commands.ProcessLauncher.invokeMethod(ProcessLauncher.groovy)
>>         at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:371)
>>         at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:322)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:112)
>>         at
>> org.apache.geronimo.commands.ProcessLauncher$_launch_closure1.doCall(ProcessLauncher.groovy:63)
>>         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:597)
>>         at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>         at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>         at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>         at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>         at
>> org.apache.geronimo.commands.ProcessLauncher$_launch_closure1.doCall(ProcessLauncher.groovy)
>>         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:597)
>>         at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>         at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>         at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>         at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>         at groovy.lang.Closure.call(Closure.java:292)
>>         at groovy.lang.Closure.call(Closure.java:287)
>>         at groovy.lang.Closure.run(Closure.java:368)
>>         at java.lang.Thread.run(Thread.java:619)
>>
>> WARNING: Abnormal JVM shutdown detected
>> Shutting down...
>>
>>
>> Best Regards
>>
>> Christian Fichtl
>>
>>
>
>
> --
> Ivan
>

Mime
View raw message