geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-3035) Can't deploy ejb jar using offline deployer
Date Wed, 28 Mar 2007 05:07:32 GMT
Can't deploy ejb jar using offline deployer
-------------------------------------------

                 Key: GERONIMO-3035
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3035
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 2.0-M4
            Reporter: David Jencks


The offline deployer seems to be able to find the appropriate jsr-88 bits so it doesn't blow
up, but when trying to deploy the manifestcp ear (from testsuite/deployment-testsuite) openejb
can't seem to find jaxb.
I can deploy the same ear in the console.

Here's the stack trace:

david-jencks-powerbook-g4-17:~/geronimo/svn/geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/target/geronimo-tomcat6-jee5-2.0-SNAPSHOT
david$ java -jar bin/deployer.jar  --offline deploy ../../../../testsuite/deployment-testsuite/manifestcp-tests/manifestcp-ear/target/manifestcp-ear-2.0-SNAPSHOT.ear

23:59:47,832 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFoundException:
/Users/david/geronimo/svn/geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/target/geronimo-tomcat6-jee5-2.0-SNAPSHOT/var/config/config-substitutions.properties
(No such file or directory) trying to open properties file /Users/david/geronimo/svn/geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/target/geronimo-tomcat6-jee5-2.0-SNAPSHOT/var/config/config-substitutions.properties
00:00:03,904 WARN  [TomcatModuleBuilder] Web application web.war does not contain a WEB-INF/geronimo-web.xml
deployment plan.  This may or may not be a problem, depending on whether you have things like
resource references that need to be resolved.  You can also give the deployer a separate deployment
plan file on the command line.
00:00:04,042 ERROR [Deployer] Deployment failed due to 
org.apache.geronimo.common.DeploymentException: Failed parsing descriptors for module: /tmp/geronimo-deploymentUtil43563.tmpdir
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:225)
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:154)
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder$$FastClassByCGLIB$$cd80af20.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.ModuleBuilder$$EnhancerByCGLIB$$9d1033d.createModule(<generated>)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:746)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:370)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:268)
        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$$40fe7d52.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.doDeploy(AbstractDeployCommand.java:116)
        at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
        at java.lang.Thread.run(Thread.java:613)
Caused by: org.apache.openejb.OpenEJBException: Cannot unmarshall the ejb-jar.xml file: jar:file:/tmp/geronimo-deploymentUtil43563.tmpdir!/META-INF/ejb-jar.xml:
null
        at org.apache.openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.java:231)
        at org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:53)
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:223)
        ... 33 more
Caused by: javax.xml.bind.JAXBException
 - with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory in classloader org.apache.geronimo.configs/jsr88-cli/2.0-SNAPSHOT/car]
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:195)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:381)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
        at org.apache.openejb.jee.JaxbJavaee.getContext(JaxbJavaee.java:68)
        at org.apache.openejb.jee.JaxbJavaee.unmarshal(JaxbJavaee.java:82)
        at org.apache.openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.java:226)
        ... 35 more
Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory in classloader
org.apache.geronimo.configs/jsr88-cli/2.0-SNAPSHOT/car
        at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:305)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:191)
        ... 41 more
Deployer operation failed: org.apache.geronimo.common.DeploymentException: Failed parsing
descriptors for module: /tmp/geronimo-deploymentUtil43563.tmpdir
org.apache.geronimo.common.DeploymentException: org.apache.geronimo.common.DeploymentException:
Failed parsing descriptors for module: /tmp/geronimo-deploymentUtil43563.tmpdir
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:383)
        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.doDeploy(AbstractDeployCommand.java:116)
        at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
        at java.lang.Thread.run(Thread.java:613)
Caused by: org.apache.geronimo.common.DeploymentException: Failed parsing descriptors for
module: /tmp/geronimo-deploymentUtil43563.tmpdir
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:225)
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:154)
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder$$FastClassByCGLIB$$cd80af20.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.ModuleBuilder$$EnhancerByCGLIB$$9d1033d.createModule(<generated>)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:746)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:370)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:268)
        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$$40fe7d52.getDeploymentPlan(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:232)
        ... 10 more
Caused by: org.apache.openejb.OpenEJBException: Cannot unmarshall the ejb-jar.xml file: jar:file:/tmp/geronimo-deploymentUtil43563.tmpdir!/META-INF/ejb-jar.xml:
null
        at org.apache.openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.java:231)
        at org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:53)
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:223)
        ... 33 more
Caused by: javax.xml.bind.JAXBException
 - with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory in classloader org.apache.geronimo.configs/jsr88-cli/2.0-SNAPSHOT/car]
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:195)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:381)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
        at org.apache.openejb.jee.JaxbJavaee.getContext(JaxbJavaee.java:68)
        at org.apache.openejb.jee.JaxbJavaee.unmarshal(JaxbJavaee.java:82)
        at org.apache.openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.java:226)
        ... 35 more
Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory in classloader
org.apache.geronimo.configs/jsr88-cli/2.0-SNAPSHOT/car
        at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:305)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:191)
        ... 41 more

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


Mime
View raw message