No one has updated the app client builder for javaee 5 stuff yet. Feel free to jump in.

thanks
david jencks

On Feb 12, 2007, at 3:35 PM, Jacek Laskowski wrote:

Hi,

Just tried to deploy JBoss Seam demo application -
jboss-seam-registration.ear - onto Geronimo The Latest and found that
it did not support a application client without DD.

According to the Java EE 5 spec - EE.9.6Packaging and Deployment (p. 174) reads:

Application clients (...) may include a deployment descriptor similar
to other Java EE application components.

and

If the deployment descriptor is not included, or is included but not
marked metadata-complete, annotations on the main class of the
application client may also be used to describe the resources needed
by the application.

I took a look at AppClientModuleBuilde:createModule (line 206) and
when there's no DD Geronimo attempts to read
"META-INF/application-client.xml" that does not exist.

Does it mean that Geronimo doesn't support application clients without
DD? Is there a jira issue already reported in case it does not? Am I
missing something?

It threw the following exception upon deployment:

00:09:28,453 ERROR [DirectoryHotDeployer] Unable to deploy: Module was
not an application client: jboss-seam.jar
org.apache.geronimo.common.DeploymentException: Module was not an
application client: jboss-seam.jar
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules (EARConfigBuilder.java:734) at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan (EARConfigBuilder.java:355) at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan (EARConfigBuilder.java:257) at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$ $FastClassByCGLIB$$38e56ec6.invoke(<generated>)
       at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke (FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:127) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (GBeanInstance.java:820) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke (RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke (RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept (ProxyMethodInterceptor.java:96) at org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$ $EnhancerByCGLIB$$5a1cdb12.getDeploymentPlan(<generated>) at org.apache.geronimo.deployment.Deployer.deploy (Deployer.java:232) at org.apache.geronimo.deployment.Deployer.deploy (Deployer.java:124) at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$ $734a235d.invoke(<generated>)
       at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke (FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:127) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (GBeanInstance.java:855) at org.apache.geronimo.kernel.basic.BasicKernel.invoke (BasicKernel.java:239) at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDe ploy(AbstractDeployCommand.java:114) at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run (DistributeCommand.java:60)
       at java.lang.Thread.run(Thread.java:595)

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to