"Unable to resolve reference 'ConfigurationFactory'" Expception
---------------------------------------------------------------

                 Key: GERONIMO-5350
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5350
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: console
    Affects Versions: 2.2.1
         Environment: Windows 2003 SP2
            Reporter: viola.lu
            Priority: Minor
         Attachments: EJBSecurity.zip

1.Copy  attached dw_users.properties, dw_groups.properties to 
$server_home/var/security
2.Deploy attached SampleSecurityRealm-plan.xml plan to server via admin console 
or command deploy.sh/bat --user system --password manager deploy you_plan.xml

3.Deploy  EJB simple-ejb-app.jar to server 
4.Deploy simple-web-app.war , but there is an error:
The application was not deployed.
Unable to resolve reference "ConfigurationFactory"
    in gbean 
dw/simple-web-app/1.0/war?J2EEApplication=null,j2eeType=WebModule,name=dw/simple-web-app/1.0/war
    to a gbean matching the pattern 
[?name=SampleSecurityRealm#org.apache.geronimo.security.jaas.ConfigurationFactory]
    due to: No matches for referencePatterns: 
[?name=SampleSecurityRealm#org.apache.geronimo.security.jaas.ConfigurationFactory]
org.apache.geronimo.common.DeploymentException: Unable to resolve reference 
"ConfigurationFactory"
    in gbean 
dw/simple-web-app/1.0/war?J2EEApplication=null,j2eeType=WebModule,name=dw/simple-web-app/1.0/war
    to a gbean matching the pattern 
[?name=SampleSecurityRealm#org.apache.geronimo.security.jaas.ConfigurationFactory]
    due to: No matches for referencePatterns: 
[?name=SampleSecurityRealm#org.apache.geronimo.security.jaas.ConfigurationFactory]
        at 
org.apache.geronimo.deployment.DeploymentContext.getConfigurationData(DeploymentContext.java:656)
        at org.apache.geronimo.deployment.Deployer.install(Deployer.java:339)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:263)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:136)
        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:592)
        at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:851)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
        at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
        at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
        at java.lang.Thread.run(Thread.java:595)


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

Reply via email to