You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jacky Liu (JIRA)" <ji...@apache.org> on 2011/05/23 11:01:49 UTC

[jira] [Updated] (GERONIMO-5972) Unable to resolve reference "ConfigurationFactory"

     [ https://issues.apache.org/jira/browse/GERONIMO-5972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacky Liu updated GERONIMO-5972:
--------------------------------

    Attachment: WebAppWithAnnotation.rar

> Unable to resolve reference "ConfigurationFactory"
> --------------------------------------------------
>
>                 Key: GERONIMO-5972
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5972
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: sample apps
>    Affects Versions: 3.0
>         Environment: ppcLinuxSLES11.1
> IBM jdk java6_64
> Geronimo build on 20110519
>            Reporter: Jacky Liu
>            Priority: Minor
>              Labels: samples
>         Attachments: WebAppWithAnnotation.rar
>
>
> 1.Start the server.
> 2.Open a browser window and access Admin Console at http://localhost:8080/console
> 3.Run the sql in db-realm-test.sql against SystemDatabase using DB Manager portlet.
> 4.Deploy db-md5-base64.xml Note:  This does not require an archive/
> 5.Deploy db-md5-test-webapp.war using db-md5-test-plan.xml   ERROR OCCURS!!
> 6.Open a browser window and access http://localhost:8080/db-md5-test/secure/secure.jsp using UID/PWD: system/manager
> 7.Deploy db-sha1-hex.xml Note: This does not require an archive.
> 8.Deploy db-sha1-test-webapp.war using db-sha1-test-plan.xml
> 9.Open a new browser window and access http://localhost:8080/db-sha1-test/secure/secure.jsp using UID/PWD: system/manager
> 10.Cleanup the database by running  cleanup.sql against SystemDatabase  using DB Manager portlet.
> Error Messages:
> The db-md5-base64.xml has been deployed successfully, but db-md5-test-webapp.war cannot be deployed successfully using db-md5-test-plan.xml.
> ERROR MESSAGE:
> Unable to resolve reference "ConfigurationFactory"
>     in gbean tests/db-md5-test/1.0/war?J2EEApplication=null,j2eeType=WebModule,name=tests/db-md5-test/1.0/war
>     to a gbean matching the pattern [?name=db-md5-base64#org.apache.geronimo.security.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=db-md5-base64#org.apache.geronimo.security.jaas.ConfigurationFactory]
> org.apache.geronimo.common.DeploymentException: Unable to resolve reference "ConfigurationFactory"
>     in gbean tests/db-md5-test/1.0/war?J2EEApplication=null,j2eeType=WebModule,name=tests/db-md5-test/1.0/war
>     to a gbean matching the pattern [?name=db-md5-base64#org.apache.geronimo.security.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=db-md5-base64#org.apache.geronimo.security.jaas.ConfigurationFactory]
>     at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData(DeploymentContext.java:550)
>     at org.apache.geronimo.deployment.Deployer.install(Deployer.java:352)
>     at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:267)
>     at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>     at java.lang.reflect.Method.invoke(Method.java:611)
>     at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>     at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.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.doDeploy(AbstractDeployCommand.java:116)
>     at org.apache.geronimo.deployment.plugin.local

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira