[ http://issues.apache.org/jira/browse/GERONIMO-2366?page=all ]

Heinz Drews updated GERONIMO-2366:
----------------------------------

    Affects Version/s: 1.1

> Server terminates if problems occur with keystores
> --------------------------------------------------
>
>                 Key: GERONIMO-2366
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2366
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 1.1
>         Environment: Linux, Windows XP, 
>            Reporter: Heinz Drews
>
> ServiceModule does not handle exceptions originating from keystore problems 
> completely.
> This causes that the server is terminated instaed of placing the GBean into 
> failed state.
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED 
> state: abstractName="geron
> imo/j2ee-security/1.1/car?ServiceModule=geronimo/j2ee-security/1.1/car,j2eeType=Keystore,name=vimes.org.keystore"
> java.lang.IllegalArgumentException: Invalid keystore file 
> (var/security/keystores/vimes.org.keystore = 
> /opt/geronimo-1.1/var/security/keystores/vimes.org.ke
> ystore)
>         at 
> org.apache.geronimo.security.keystore.FileKeystoreInstance.doStart(FileKeystoreInstance.java:113)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:512)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:493)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c5b9d230.startConfiguration(<generated>)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to