Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.1
-
Security Level: public (Regular issues)
-
None
Description
Created a webapp with seam-gen script (JBoss Seam 2.0.2.SP1). It deploys fine, but when I pointed out to deploy directory of Geronimo additional file seam_rozpoczynamy-dev-ds.xml is deployed too by default and it causes NPE to be thrown. I can disable the file to be deployed yet the NPE should not be thrown anyway.
16:36:02,563 INFO [DirectoryMonitor] At startup, found C:\geronimo\deploy\seam_rozpoczynamy.ear with deploy time 1212929201328 and file time 1212928085578 16:36:08,875 INFO [DirectoryHotDeployer] Deploying seam_rozpoczynamy-dev-ds.xml 16:36:09,094 ERROR [DirectoryHotDeployer] Unable to deploy: Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (planFile=C:\geronimo\deploy\seam_rozpoczynamy-dev-ds.xml) org.apache.geronimo.common.DeploymentException: Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (planFile=C:\geronimo\deploy\seam_rozpoczynamy-dev-ds.xml) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:233) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) 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:585) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) 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:595) ... 16:37:26,219 INFO [DirectoryHotDeployer] Undeploying seam_rozpoczynamy-dev-ds.xml 16:37:26,938 ERROR [DirectoryHotDeployer] Unable to undeploy java.lang.NullPointerException at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:174) at org.apache.geronimo.deployment.hot.DirectoryHotDeployer.fileRemoved(DirectoryHotDeployer.java:355) at org.apache.geronimo.deployment.hot.DirectoryMonitor.scanDirectory(DirectoryMonitor.java:325) at org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:216) at java.lang.Thread.run(Thread.java:595)