geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Kashyap" <goyathlay.geron...@gmail.com>
Subject OpenEJBException: Unable to determine module type
Date Wed, 21 Feb 2007 03:52:01 GMT
This is an exception I'm seeing quite recently. I used to able to
deploy the junit.jar before. Now this is what happens :

C:\Apache\geronimo-jetty6-jee5-2.0-SNAPSHOT\bin>deploy --user system --password
manager deploy "C:\Documents and Settings\Administrator\.m2\repository\junit\jun
it\3.8.1\junit-3.8.1.jar" C:\Apache\geronimo\trunk\testsuite\enterprise-testsuit
e\ejbcontainer-tests\target\test-classes\META-INF\junit-plan.xml
Using GERONIMO_BASE:   C:\Apache\geronimo-jetty6-jee5-2.0-SNAPSHOT
Using GERONIMO_HOME:   C:\Apache\geronimo-jetty6-jee5-2.0-SNAPSHOT
Using GERONIMO_TMPDIR: C:\Apache\geronimo-jetty6-jee5-2.0-SNAPSHOT\var\temp
Using JRE_HOME:        C:\jdk1.5.0_08\jre
    Error: Unable to distribute junit-3.8.1.jar:
    org.apache.openejb.OpenEJBException: Unable to determine module type
    for jar:
    file:/C:/Apache/geronimo-jetty6-jee5-2.0-SNAPSHOT/var/temp/geronimo-deployer
2155.tmpdir/junit-3.8.1.jar:
    Unknown module type

        Unable to determine module type for jar:
    file:/C:/Apache/geronimo-jetty6-jee5-2.0-SNAPSHOT/var/temp/geronimo-deployer
2155.tmpdir/junit-3.8.1.jar:
    Unknown module type

        Unknown module type


----------
junit-plan.xml:

<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
  <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
    <dep:moduleId>
      <dep:groupId>junit</dep:groupId>
      <dep:artifactId>junit</dep:artifactId>
      <dep:version>3.8.1</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
  </dep:environment>
</module>

Mime
View raw message