geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4772) <attribute name="global">false</attribute> in security realm result in deployment error and no option to set it to true
Date Thu, 30 Jul 2009 11:01:14 GMT
<attribute name="global">false</attribute> in security realm result in deployment
error and no option to set it to true
-----------------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-4772
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4772
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.2
         Environment: os:win2003 jdk : 1.6
            Reporter: viola.lu
            Assignee: viola.lu
            Priority: Minor


1.Create a  data pool named securitydatabase in console first ,secondly create a security
realm named:derby_security_realm 
2.Deploy  sample file to geronimo server but errors exist:
eployment Failed
Unable to resolve reference "ConfigurationFactory"
    in gbean default/MyWebApp/1249005002828/car?J2EEApplication=null,j2eeType=WebModule,name=default/MyWebApp/1249005002828/car
    to a gbean matching the pattern [?name=derby_security_realm#org.apache.geronimo.security.jaas.ConfigurationFactory]
    due to: No matches for referencePatterns: [?name=derby_security_realm#org.apache.geronimo.security.jaas.ConfigurationFactory]
org.apache.geronimo.common.DeploymentException: Unable to resolve reference "ConfigurationFactory"
    in gbean default/MyWebApp/1249005002828/car?J2EEApplication=null,j2eeType=WebModule,name=default/MyWebApp/1249005002828/car
    to a gbean matching the pattern [?name=derby_security_realm#org.apache.geronimo.security.jaas.ConfigurationFactory]
    due to: No matches for referencePatterns: [?name=derby_security_realm#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:45)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	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:850)
	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:735)

This is cozed by <attribute name="global">false</attribute> in security realm,
which is new in 2.2, and this option configuration doesn't exist  in advanced.jsp page, by
default it's set to "false", and if no security realm dependency in security realm page, there
will be deployment exceptions.Even if i set this attribute to ture,  console will convert
it to false.

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


Mime
View raw message