You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Łukasz Budnik (JIRA)" <ji...@apache.org> on 2010/01/04 14:47:54 UTC

[jira] Created: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

EJB Web Service security not working at all in G 2.2
----------------------------------------------------

                 Key: GERONIMO-5011
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.2
         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
            Reporter: Łukasz Budnik
            Priority: Blocker


EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.

openejb-jar.xml:

<enterprise-beans>
	<session>
		<ejb-name>HelloWebService</ejb-name>
		<web-service-security>
            <security-realm-name>geronimo-admin</security-realm-name>
   	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
       	    <auth-method>BASIC</auth-method>
		</web-service-security>
	</session>
</enterprise-beans>

Causes the following errors in log:

org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
	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:597)
	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:619)
2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
java.lang.IllegalArgumentException: Unknown pattern type: null
	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
	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:597)
	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:619)
2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService


It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Resolved: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

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

Delos Dai resolved GERONIMO-5011.
---------------------------------

    Resolution: Fixed

Right, you need to add role mapping the deployment plan.

But I also find the @RunAs will cause other exceptions after I added role mapping. It's due to the exception thrown in getSubjectForRole() of ApplicationPrincipalRoleConfigurationManager. With my fix in revision #947890, a default subject is returned instead of an exception.Then, the @RunAs works fiine. 

> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Assignee: Delos Dai
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: secure-ejb-web-service.zip
>
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Closed: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

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

viola.lu closed GERONIMO-5011.
------------------------------


After add @runas("admin") to  EJB : JaxwBean class of jaxws-ejb-sec test suite, its tests can run well. Latest build 2010.05.28-06:12:10.425-0400, so close it.

> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Assignee: Delos Dai
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: secure-ejb-web-service.zip
>
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Updated: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

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

Shawn Jiang updated GERONIMO-5011:
----------------------------------

    Fix Version/s: 2.2.1

> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: secure-ejb-web-service.zip
>
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Updated: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

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

Łukasz Budnik updated GERONIMO-5011:
------------------------------------

    Attachment: secure-ejb-web-service.zip

Maven2 EJB project illustrating Web Service security bug.

to build it execute:

mvn package

> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Priority: Blocker
>         Attachments: secure-ejb-web-service.zip
>
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Assigned: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

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

Delos Dai reassigned GERONIMO-5011:
-----------------------------------

    Assignee: Delos Dai

> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Assignee: Delos Dai
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: secure-ejb-web-service.zip
>
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Commented: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

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

Ivan commented on GERONIMO-5011:
--------------------------------

The first exception is a known issue, but it should not break the deployment.
For the sencond exception, could you attach a sample application which could reproduce it ?

> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Priority: Blocker
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Issue Comment Edited: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

Posted by "Łukasz Budnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796573#action_12796573 ] 

Łukasz Budnik edited comment on GERONIMO-5011 at 1/5/10 7:50 AM:
-----------------------------------------------------------------

Attached Maven2 EJB project illustrating Web Service security bug.

to build it execute:

mvn package

After deployment (using web console) the message will be:

The application was successfully deployed.
The application was successfully started.

But by looking at the log file you will see errors which I included in original issue report.

thanks,
Łukasz

      was (Author: lukasz):
    Maven2 EJB project illustrating Web Service security bug.

to build it execute:

mvn package

After deployment (using web console) the message will be:

The application was successfully deployed.
The application was successfully started.

But by looking at the log file you will see errors which I included in original issue report.

thanks,
Łukasz
  
> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Priority: Blocker
>         Attachments: secure-ejb-web-service.zip
>
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Commented: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

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

Ivan commented on GERONIMO-5011:
--------------------------------

Hi, Łukasz
    At the first glance at it, I think you might need a securty setting in the deployment plan, which would define the mapping relation between the role and user/group principal.
There are some samples in the testsuite, please refer to 
https://svn.apache.org/repos/asf/geronimo/server/branches/2.2/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec

> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Priority: Blocker
>         Attachments: secure-ejb-web-service.zip
>
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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


[jira] Issue Comment Edited: (GERONIMO-5011) EJB Web Service security not working at all in G 2.2

Posted by "Łukasz Budnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796573#action_12796573 ] 

Łukasz Budnik edited comment on GERONIMO-5011 at 1/5/10 7:40 AM:
-----------------------------------------------------------------

Maven2 EJB project illustrating Web Service security bug.

to build it execute:

mvn package

After deployment (using web console) the message will be:

The application was successfully deployed.
The application was successfully started.

But by looking at the log file you will see errors which I included in original issue report.

thanks,
Łukasz

      was (Author: lukasz):
    Maven2 EJB project illustrating Web Service security bug.

to build it execute:

mvn package
  
> EJB Web Service security not working at all in G 2.2
> ----------------------------------------------------
>
>                 Key: GERONIMO-5011
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5011
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 with Tomcat 6, Windows XP, Java 6
>            Reporter: Łukasz Budnik
>            Priority: Blocker
>         Attachments: secure-ejb-web-service.zip
>
>
> EJB Web Service security was working in 2.1.x. Now, there are exceptions thrown.
> openejb-jar.xml:
> <enterprise-beans>
> 	<session>
> 		<ejb-name>HelloWebService</ejb-name>
> 		<web-service-security>
>             <security-realm-name>geronimo-admin</security-realm-name>
>    	        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>        	    <auth-method>BASIC</auth-method>
> 		</web-service-security>
> 	</session>
> </enterprise-beans>
> Causes the following errors in log:
> org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
> 2010-01-04 14:37:18,213 INFO  [OpenEJB] Auto-deploying ejb HelloWebService: EjbDeployment(deployment-id=secure-ejb-web-service/HelloWebService)
> 2010-01-04 14:37:18,229 INFO  [config] Enterprise application "org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car" loaded.
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car?EJBModule=org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car,J2EEApplication=null,j2eeType=StatelessSessionBean,name=HelloWebService
> 	at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:128)
> 	at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:165)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:541)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,041 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: Unknown pattern type: null
> java.lang.IllegalArgumentException: Unknown pattern type: null
> 	at org.apache.geronimo.gbean.ReferencePatterns.<init>(ReferencePatterns.java:44)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePatterns(GBeanData.java:173)
> 	at org.apache.geronimo.gbean.GBeanData.setReferencePattern(GBeanData.java:165)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:220)
> 	at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
> 	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:597)
> 	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:619)
> 2010-01-04 14:37:19,057 INFO  [JAXWSServiceBuilder] Configuring EJB JAX-WS Web Service: HelloWebService at /HelloWebServiceService/HelloWebService
> It says that the JAX-WS Web Service is exposed, but you cannot access it.

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