[ 
http://issues.apache.org/jira/browse/GERONIMO-604?page=comments#action_61406 ]
     
John Sisson commented on GERONIMO-604:
--------------------------------------

Hopefully the following is enough information for you to reproduce the problem..

1. Started Geronimo (recently built at svn version 158697):

java -jar bin/server.jar

===========================================================

2. In another window, started the Secure plan:

java -jar bin/deployer.jar start org/apache/geronimo/Secure
Username: system
Password: manager
Started org/apache/geronimo/Secure

===========================================================
3. Started the debug console:

java -jar bin/deployer.jar start org/apache/geronimo/DebugConsole
Username: system
Password: manager
Started org/apache/geronimo/DebugConsole

And view the console at http://127.0.0.1:8080/debug-tool/ , I see that there is 
only one entry that has failed:

name=demo-properties-realm,type=SecurityRealm [failed]

=============================================================
4. Looked in geronimo.log and found the following:

16:15:11,747 INFO  [ConfigurationManagerImpl] Loaded Configuration 
geronimo.config:name="org/apache/geronimo/Secure"
16:15:11,747 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.config:name="org/apache/geronimo/Secure" State changed from stopped to 
starting
16:15:11,778 DEBUG [Configuration] ClassPath for org/apache/geronimo/Secure 
resolved to []
16:15:11,809 INFO  [Configuration] Started configuration 
org/apache/geronimo/Secure
16:15:11,809 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.config:name="org/apache/geronimo/Secure" State changed from starting 
to running
16:15:11,809 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.security:type=LoginModule,name=demo-properties-login State changed 
from stopped to starting
16:15:11,809 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.security:type=LoginModule,name=demo-properties-login State changed 
from starting to running
16:15:11,809 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.security:type=ConfigurationEntry,jaasId=jaasTest State changed from 
stopped to starting
16:15:11,809 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.security:type=ConfigurationEntry,jaasId=jaasTest State changed from 
starting to running
16:15:11,809 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.security:type=SecurityRealm,name=demo-properties-realm State changed 
from stopped to starting
16:15:11,825 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.security:type=SecurityRealm,name=demo-properties-realm State changed 
from starting to failed
16:15:11,825 ERROR [GBeanInstanceState] Error while starting; GBean is now in 
the FAILED state: 
objectName="geronimo.security:type=SecurityRealm,name=demo-properties-realm"
java.lang.IllegalArgumentException: Could not get GBeanInfo for target object: 
geronimo.server:j2eeType=LoginModule,J2EEServer=geronimo,J2EEApplication=null,J2EEModule=org/apache/geronimo/Secure,name=demo-properties-login
        at 
org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.createKernelGBeanInvokers(ProxyMethodInterceptor.java:185)
        at 
org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.createGBeanInvokers(ProxyMethodInterceptor.java:101)
        at 
org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.<init>(ProxyMethodInterceptor.java:66)
        at 
org.apache.geronimo.kernel.proxy.ProxyManager$ManagedProxyFactory.createProxy(ProxyManager.java:90)
        at 
org.apache.geronimo.kernel.proxy.ProxyManager.createProxy(ProxyManager.java:49)
        at 
org.apache.geronimo.security.realm.GenericSecurityRealm.processConfiguration(GenericSecurityRealm.java:178)
        at 
org.apache.geronimo.security.realm.GenericSecurityRealm.<init>(GenericSecurityRealm.java:107)
        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:274)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:806)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:331)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:111)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:133)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:494)
        at 
org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:339)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:141)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:494)
        at 
org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:339)
        at org.apache.geronimo.kernel.Kernel.startConfiguration(Kernel.java:386)
        at 
org.apache.geronimo.kernel.KernelGBean.startConfiguration(KernelGBean.java:89)
        at 
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.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:118)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:745)
        at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:299)
        at 
org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
        at 
mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
        at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
        at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
        at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
        at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
        at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
        at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
        at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
        at $Proxy0.invoke(Unknown Source)
        at 
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
        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:324)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
        at java.lang.Thread.run(Thread.java:534)


> Gbean error starting configuration org/apache/geronimo/Secure
> -------------------------------------------------------------
>
>          Key: GERONIMO-604
>          URL: http://issues.apache.org/jira/browse/GERONIMO-604
>      Project: Geronimo
>         Type: Bug
>   Components: security
>  Environment: svn revision 156721
>     Reporter: John Sisson
>     Assignee: Alan Cabrera
>     Priority: Blocker

>
> 22:20:02,888 INFO  [Configuration] Started configuration 
> org/apache/geronimo/Secure
> 22:20:02,982 ERROR [GBeanInstanceState] Error while starting; GBean is not in 
> the FAILED state: 
> objectName="geronimo.security:type=SecurityRealm,name=demo-properties-realm"
> java.lang.IllegalArgumentException: Could not get GBeanInfo for target 
> object: geronimo.server:j2eeType=LoginModule,J2EEServer=geron
> imo,J2EEApplication=null,J2EEModule=org/apache/geronimo/Secure,name=demo-properties-login
>         at 
> org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.createKernelGBeanInvokers(ProxyMethodInterceptor.java:185)
>         at 
> org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.createGBeanInvokers(ProxyMethodInterceptor.java:101)
>         at 
> org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.<init>(ProxyMethodInterceptor.java:66)
>         at 
> org.apache.geronimo.kernel.proxy.ProxyManager$ManagedProxyFactory.createProxy(ProxyManager.java:90)
>         at 
> org.apache.geronimo.kernel.proxy.ProxyManager.createProxy(ProxyManager.java:49)
>         at 
> org.apache.geronimo.security.realm.GenericSecurityRealm.processConfiguration(GenericSecurityRealm.java:178)
>         at 
> org.apache.geronimo.security.realm.GenericSecurityRealm.<init>(GenericSecurityRealm.java:107)
>         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:274)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:806)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:331)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:111)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:133)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:494)
>         at 
> org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:339)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:141)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:494)
>         at 
> org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:339)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:185)

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to