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