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 (JIRA)" <ji...@apache.org> on 2008/06/08 16:47:45 UTC

[jira] Created: (GERONIMO-4110) NPE upon deployment of unrecognized xml file (seam-gen based application)

NPE upon deployment of unrecognized xml file (seam-gen based application)
-------------------------------------------------------------------------

                 Key: GERONIMO-4110
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4110
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment, Hot Deploy Dir
    Affects Versions: 2.1.1
            Reporter: Jacek Laskowski


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.

{code}
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)
{code}

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


[jira] Assigned: (GERONIMO-4110) NPE upon deployment of unrecognized xml file (seam-gen based application)

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

Jarek Gawor reassigned GERONIMO-4110:
-------------------------------------

    Assignee: Jarek Gawor

> NPE upon deployment of unrecognized xml file (seam-gen based application)
> -------------------------------------------------------------------------
>
>                 Key: GERONIMO-4110
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4110
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment, Hot Deploy Dir
>    Affects Versions: 2.1.1
>            Reporter: Jacek Laskowski
>            Assignee: Jarek Gawor
>
> 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.
> {code}
> 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)
> {code}

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


[jira] Resolved: (GERONIMO-4110) NPE upon deployment of unrecognized xml file (seam-gen based application)

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

Jarek Gawor resolved GERONIMO-4110.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
                   2.1.2

Committed a fix for this issue to trunk (revision 673093) and branches/2.1 (revision 673095).


> NPE upon deployment of unrecognized xml file (seam-gen based application)
> -------------------------------------------------------------------------
>
>                 Key: GERONIMO-4110
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4110
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment, Hot Deploy Dir
>    Affects Versions: 2.1.1
>            Reporter: Jacek Laskowski
>            Assignee: Jarek Gawor
>             Fix For: 2.1.2, 2.2
>
>
> 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.
> {code}
> 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)
> {code}

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