You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <ja...@hp.com> on 2003/12/30 17:14:42 UTC
o.a.g..security.*ModuleConfiguration broke Geronimo-Nova integration
Hi,
I don't want to spread FUD, but the latest changes to
org.apache.geronimo.security.*ModuleConfiguration classes broke the
Geronimo-Nova integration. It's now impossible to deploy EJBs.
Once I made a few changes to EJBModuleDeploymentPlanner (which would
incur sending the email to openejb-dev mailing list), now I'm studying
the following stack trace:
[java] 17:02:56,145 WARN [DeploymentController] Unable to complete
deployment job 3
[java] org.apache.geronimo.kernel.deployment.DeploymentException:
[geronimo.security:type=EJBModuleConfiguration,contextID=mymodulename]
java.lang.reflect.InvocationTargetException
[java] at
org.apache.geronimo.kernel.deployment.task.DeployGeronimoMBean.perform(DeployGeronimoMBean.java:169)
[java] at
org.apache.geronimo.kernel.deployment.DeploymentPlan.execute(DeploymentPlan.java:107)
[java] at
org.apache.geronimo.kernel.deployment.DeploymentController.executePlans(DeploymentController.java:270)
[java] at
org.apache.geronimo.kernel.deployment.DeploymentController.executeJob(DeploymentController.java:194)
[java] at
org.apache.geronimo.kernel.deployment.DeploymentController.access$200(DeploymentController.java:89)
[java] at
org.apache.geronimo.kernel.deployment.DeploymentController$DeploymentWaiter.run(DeploymentController.java:324)
[java] at java.lang.Thread.run(Thread.java:534)
[java] Caused by: java.lang.reflect.InvocationTargetException
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
[java] at
org.apache.geronimo.kernel.service.ParserUtil.instantiate(ParserUtil.java:409)
[java] at
org.apache.geronimo.kernel.service.ParserUtil.instantiate(ParserUtil.java:421)
[java] at
org.apache.geronimo.kernel.deployment.task.DeployGeronimoMBean.perform(DeployGeronimoMBean.java:152)
[java] ... 6 more
[java] Caused by:
org.apache.geronimo.security.GeronimoSecurityException: Unable to find
PolicyConfigurationFactory
[java] at
org.apache.geronimo.security.AbstractModuleConfiguration.<init>(AbstractModuleConfiguration.java:94)
[java] at
org.apache.geronimo.security.EJBModuleConfiguration.<init>(EJBModuleConfiguration.java:86)
[java] ... 13 more
[java] Caused by: java.lang.ClassNotFoundException: Property
javax.security.jacc.PolicyConfigurationFactory.provider not set
[java] at
javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfigurationFactory.java:118)
[java] at java.security.AccessController.doPrivileged(Native
Method)
[java] at
javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:112)
[java] at
org.apache.geronimo.security.AbstractModuleConfiguration.<init>(AbstractModuleConfiguration.java:91)
[java] ... 14 more
Jacek
Integration tests (was Re: o.a.g..security.*ModuleConfiguration
broke Geronimo-Nova integration)
Posted by Jacek Laskowski <ja...@hp.com>.
David Jencks wrote:
> This certainly points up that relying entirely on unit tests allows us
> (or at least me) to miss problems that even a simple
> functional/integration test would pick up.
I've been thinking about the functional/integration tests a lot and am
not yet able to figure out how to manage the task. I don't have any idea
where to start. Is there anyone who would like to point me to some
references/articles/software that finally push me ahead?
> Can you send me the module you are trying to deploy?
Done in a separate message.
> thanks
> david jencks
Jacek
Re: o.a.g..security.*ModuleConfiguration broke Geronimo-Nova integration
Posted by David Jencks <da...@coredevelopers.net>.
This certainly points up that relying entirely on unit tests allows us
(or at least me) to miss problems that even a simple
functional/integration test would pick up.
Can you send me the module you are trying to deploy?
thanks
david jencks
On Tuesday, December 30, 2003, at 08:14 AM, Jacek Laskowski wrote:
> Hi,
>
> I don't want to spread FUD, but the latest changes to
> org.apache.geronimo.security.*ModuleConfiguration classes broke the
> Geronimo-Nova integration. It's now impossible to deploy EJBs.
>
> Once I made a few changes to EJBModuleDeploymentPlanner (which would
> incur sending the email to openejb-dev mailing list), now I'm studying
> the following stack trace:
>
> [java] 17:02:56,145 WARN [DeploymentController] Unable to
> complete deployment job 3
> [java] org.apache.geronimo.kernel.deployment.DeploymentException:
> [geronimo.security:type=EJBModuleConfiguration,contextID=mymodulename]
> java.lang.reflect.InvocationTargetException
> [java] at
> org.apache.geronimo.kernel.deployment.task.DeployGeronimoMBean.perform(
> DeployGeronimoMBean.java:169)
> [java] at
> org.apache.geronimo.kernel.deployment.DeploymentPlan.execute(Deployment
> Plan.java:107)
> [java] at
> org.apache.geronimo.kernel.deployment.DeploymentController.executePlans
> (DeploymentController.java:270)
> [java] at
> org.apache.geronimo.kernel.deployment.DeploymentController.executeJob(D
> eploymentController.java:194)
> [java] at
> org.apache.geronimo.kernel.deployment.DeploymentController.access$200(D
> eploymentController.java:89)
> [java] at
> org.apache.geronimo.kernel.deployment.DeploymentController$DeploymentWa
> iter.run(DeploymentController.java:324)
> [java] at java.lang.Thread.run(Thread.java:534)
> [java] Caused by: java.lang.reflect.InvocationTargetException
> [java] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [java] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
> AccessorImpl.java:39)
> [java] at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
> structorAccessorImpl.java:27)
> [java] at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> [java] at
> org.apache.geronimo.kernel.service.ParserUtil.instantiate(ParserUtil.ja
> va:409)
> [java] at
> org.apache.geronimo.kernel.service.ParserUtil.instantiate(ParserUtil.ja
> va:421)
> [java] at
> org.apache.geronimo.kernel.deployment.task.DeployGeronimoMBean.perform(
> DeployGeronimoMBean.java:152)
> [java] ... 6 more
> [java] Caused by:
> org.apache.geronimo.security.GeronimoSecurityException: Unable to find
> PolicyConfigurationFactory
> [java] at
> org.apache.geronimo.security.AbstractModuleConfiguration.<init>(Abstrac
> tModuleConfiguration.java:94)
> [java] at
> org.apache.geronimo.security.EJBModuleConfiguration.<init>(EJBModuleCon
> figuration.java:86)
> [java] ... 13 more
> [java] Caused by: java.lang.ClassNotFoundException: Property
> javax.security.jacc.PolicyConfigurationFactory.provider not set
> [java] at
> javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfiguratio
> nFactory.java:118)
> [java] at java.security.AccessController.doPrivileged(Native
> Method)
> [java] at
> javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFa
> ctory(PolicyConfigurationFactory.java:112)
> [java] at
> org.apache.geronimo.security.AbstractModuleConfiguration.<init>(Abstrac
> tModuleConfiguration.java:91)
> [java] ... 14 more
>
> Jacek
>