You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "janel Zhang (JIRA)" <ji...@apache.org> on 2010/09/10 04:39:32 UTC

[jira] Created: (GERONIMO-5602) SPNEGO support in Geronimo failed.

SPNEGO support in Geronimo failed.
----------------------------------

                 Key: GERONIMO-5602
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5602
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: testsuite
    Affects Versions: 3.0
         Environment: OS:Windows 7
Server:Geronimo 3.0 Build 2010.09.08-09:38:48.805+0800 
JVM:IBM 1.6.0
            Reporter: janel Zhang
             Fix For: 3.0
         Attachments: file-realm-demo-2.1.0.0.war, spnego_properties_realm_tester1.xml

1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
 Unable to resolve reference "ConfigurationFactory"
    in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
    to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
ty.jaas.ConfigurationFactory]
    due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
imo.security.jaas.ConfigurationFactory]
org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
figurationFactory"
    in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
    to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
ty.jaas.ConfigurationFactory]
    due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
imo.security.jaas.ConfigurationFactory]
        at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
(DeploymentContext.java:534)
        at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:872)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
245)
        at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
eploy(AbstractDeployCommand.java:116)
        at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
tributeCommand.java:61)
        at java.lang.Thread.run(Thread.java:736)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-5602) SPNEGO support in Geronimo failed.

Posted by "janel Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

janel Zhang updated GERONIMO-5602:
----------------------------------

    Attachment: file-realm-demo-2.1.0.0.war
                spnego_properties_realm_tester1.xml

> SPNEGO support in Geronimo failed.
> ----------------------------------
>
>                 Key: GERONIMO-5602
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5602
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 3.0
>         Environment: OS:Windows 7
> Server:Geronimo 3.0 Build 2010.09.08-09:38:48.805+0800 
> JVM:IBM 1.6.0
>            Reporter: janel Zhang
>             Fix For: 3.0
>
>         Attachments: file-realm-demo-2.1.0.0.war, spnego_properties_realm_tester1.xml
>
>
> 1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
> 2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
>  Unable to resolve reference "ConfigurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
> org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
> figurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
>         at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
> (DeploymentContext.java:534)
>         at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:872)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 245)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:116)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:61)
>         at java.lang.Thread.run(Thread.java:736)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-5602) SPNEGO support in Geronimo failed.

Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Han Hong Fang updated GERONIMO-5602:
------------------------------------

    Attachment: file-realm-demo-2.1.0.0(updated).war

Add following dependency into the geronimo-web.xml, and this is required since G2.2 when refers to a security realm.
      
       <dep:dependencies>
	        <dep:dependency>
	        	<dep:groupId>console.realm</dep:groupId>
	        	<dep:artifactId>SpnegoTest</dep:artifactId>
	        	<dep:version>1.0</dep:version>
	        	<dep:type>car</dep:type>
	        </dep:dependency>
        </dep:dependencies>

I made the above change and re-build the war file. Please have a try. Thanks!

> SPNEGO support in Geronimo failed.
> ----------------------------------
>
>                 Key: GERONIMO-5602
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5602
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 3.0
>         Environment: OS:Windows 7
> Server:Geronimo 3.0 Build 2010.09.08-09:38:48.805+0800 
> JVM:IBM 1.6.0
>            Reporter: janel Zhang
>            Assignee: Han Hong Fang
>             Fix For: 3.0
>
>         Attachments: file-realm-demo-2.1.0.0(updated).war, file-realm-demo-2.1.0.0.war, spnego_properties_realm_tester1.xml
>
>
> 1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
> 2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
>  Unable to resolve reference "ConfigurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
> org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
> figurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
>         at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
> (DeploymentContext.java:534)
>         at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:872)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 245)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:116)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:61)
>         at java.lang.Thread.run(Thread.java:736)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-5602) SPNEGO support in Geronimo failed.

Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Han Hong Fang closed GERONIMO-5602.
-----------------------------------

    Resolution: Invalid

Close this JIRA based on janel's posting.

> SPNEGO support in Geronimo failed.
> ----------------------------------
>
>                 Key: GERONIMO-5602
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5602
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 3.0
>         Environment: OS:Windows 7
> Server:Geronimo 3.0 Build 2010.09.08-09:38:48.805+0800 
> JVM:IBM 1.6.0
>            Reporter: janel Zhang
>            Assignee: Han Hong Fang
>             Fix For: 3.0
>
>         Attachments: file-realm-demo-2.1.0.0(updated).war, file-realm-demo-2.1.0.0.war, spnego_properties_realm_tester1.xml
>
>
> 1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
> 2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
>  Unable to resolve reference "ConfigurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
> org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
> figurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
>         at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
> (DeploymentContext.java:534)
>         at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:872)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 245)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:116)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:61)
>         at java.lang.Thread.run(Thread.java:736)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-5602) SPNEGO support in Geronimo failed.

Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Han Hong Fang reassigned GERONIMO-5602:
---------------------------------------

    Assignee: Han Hong Fang

> SPNEGO support in Geronimo failed.
> ----------------------------------
>
>                 Key: GERONIMO-5602
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5602
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 3.0
>         Environment: OS:Windows 7
> Server:Geronimo 3.0 Build 2010.09.08-09:38:48.805+0800 
> JVM:IBM 1.6.0
>            Reporter: janel Zhang
>            Assignee: Han Hong Fang
>             Fix For: 3.0
>
>         Attachments: file-realm-demo-2.1.0.0.war, spnego_properties_realm_tester1.xml
>
>
> 1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
> 2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
>  Unable to resolve reference "ConfigurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
> org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
> figurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
>         at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
> (DeploymentContext.java:534)
>         at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:872)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 245)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:116)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:61)
>         at java.lang.Thread.run(Thread.java:736)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-5602) SPNEGO support in Geronimo failed.

Posted by "janel Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

janel Zhang updated GERONIMO-5602:
----------------------------------

    Component/s: security
                     (was: testsuite)

1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
 Unable to resolve reference "ConfigurationFactory"
    in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
    to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
ty.jaas.ConfigurationFactory]
    due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
imo.security.jaas.ConfigurationFactory]
org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
figurationFactory"
    in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
    to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
ty.jaas.ConfigurationFactory]
    due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
imo.security.jaas.ConfigurationFactory]
        at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
(DeploymentContext.java:534)
        at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:872)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
245)
        at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
eploy(AbstractDeployCommand.java:116)
        at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
tributeCommand.java:61)
        at java.lang.Thread.run(Thread.java:736)



> SPNEGO support in Geronimo failed.
> ----------------------------------
>
>                 Key: GERONIMO-5602
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5602
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 3.0
>         Environment: OS:Windows 7
> Server:Geronimo 3.0 Build 2010.09.08-09:38:48.805+0800 
> JVM:IBM 1.6.0
>            Reporter: janel Zhang
>             Fix For: 3.0
>
>         Attachments: file-realm-demo-2.1.0.0.war, spnego_properties_realm_tester1.xml
>
>
> 1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
> 2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
>  Unable to resolve reference "ConfigurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
> org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
> figurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
>         at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
> (DeploymentContext.java:534)
>         at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:872)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 245)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:116)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:61)
>         at java.lang.Thread.run(Thread.java:736)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-5602) SPNEGO support in Geronimo failed.

Posted by "janel Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912915#action_12912915 ] 

janel Zhang commented on GERONIMO-5602:
---------------------------------------

I have tried,It can be deployed without error.Thanks!

> SPNEGO support in Geronimo failed.
> ----------------------------------
>
>                 Key: GERONIMO-5602
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5602
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 3.0
>         Environment: OS:Windows 7
> Server:Geronimo 3.0 Build 2010.09.08-09:38:48.805+0800 
> JVM:IBM 1.6.0
>            Reporter: janel Zhang
>            Assignee: Han Hong Fang
>             Fix For: 3.0
>
>         Attachments: file-realm-demo-2.1.0.0(updated).war, file-realm-demo-2.1.0.0.war, spnego_properties_realm_tester1.xml
>
>
> 1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
> 2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
>  Unable to resolve reference "ConfigurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
> org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
> figurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
>         at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
> (DeploymentContext.java:534)
>         at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:872)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 245)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:116)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:61)
>         at java.lang.Thread.run(Thread.java:736)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.