TomEE
  1. TomEE
  2. TOMEE-152

EAR upgrade issue from OpenEJB3/Tomcat6 to TomEE

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Romain Manni-Bucau added a comment -

      maybe try to rename commons jar to bar-...

      in tomee we now have some exclusions and some commons lib are excluded

      if bar tip works you can configure exclusions through conf/exclusions.list (1 jar prefix by line)

      Show
      Romain Manni-Bucau added a comment - maybe try to rename commons jar to bar-... in tomee we now have some exclusions and some commons lib are excluded if bar tip works you can configure exclusions through conf/exclusions.list (1 jar prefix by line)
      Hide
      Chris Bates added a comment -

      Basic ear structure and example files.

      <EAR structure>
      foo-outage/lib/<util jars>
      foo/META-INF
      foo/META-INF/MANIFEST.MF
      foo/application.xml
      foo/foo-ws.jar
      foo/foo-ejb.jar
      foo/foo-ws.war

      <EAR MANIFIEST.MF>
      Manifest-Version: 1.0
      Implementation-Title: Foo (FOO Web) Jar/War
      Implementation-Version: 1.99.0-SNAPSHOT
      javaVersion: 1.6.0_22
      svnBranch:
      Built-By: fooUser
      Created-By: Apache Maven
      projectName: Foo (Outage Web) Jar/War
      osVersion: 2.6.18-128.el5
      osName: Linux
      osArch: amd64
      Implementation-Vendor-Id: com.foo
      svnRevisionNum:
      Build-Jdk: 1.6.0_22
      projectVersion: 1.99.0-SNAPSHOT
      Archiver-Version: Plexus Archiver

      <application.xml>
      ?xml version="1.0" encoding="UTF-8"?>
      <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" id="Application_ID" version="5">
      <display-name>foo-ear</display-name>
      <module>
      <ejb>foo-ejb.jar</ejb>
      </module>
      <module>
      <web>
      <web-uri>foo-ws.war</web-uri>
      <context-root>foo-ws</context-root>
      </web>
      </module>
      <module>
      <web>
      <web-uri>foo.war</web-uri>
      <context-root>foo</context-root>
      </web>
      </module>
      </application>

      Show
      Chris Bates added a comment - Basic ear structure and example files. <EAR structure> foo-outage/lib/<util jars> foo/META-INF foo/META-INF/MANIFEST.MF foo/application.xml foo/foo-ws.jar foo/foo-ejb.jar foo/foo-ws.war <EAR MANIFIEST.MF> Manifest-Version: 1.0 Implementation-Title: Foo (FOO Web) Jar/War Implementation-Version: 1.99.0-SNAPSHOT javaVersion: 1.6.0_22 svnBranch: Built-By: fooUser Created-By: Apache Maven projectName: Foo (Outage Web) Jar/War osVersion: 2.6.18-128.el5 osName: Linux osArch: amd64 Implementation-Vendor-Id: com.foo svnRevisionNum: Build-Jdk: 1.6.0_22 projectVersion: 1.99.0-SNAPSHOT Archiver-Version: Plexus Archiver <application.xml> ?xml version="1.0" encoding="UTF-8"?> <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd " id="Application_ID" version="5"> <display-name>foo-ear</display-name> <module> <ejb>foo-ejb.jar</ejb> </module> <module> <web> <web-uri>foo-ws.war</web-uri> <context-root>foo-ws</context-root> </web> </module> <module> <web> <web-uri>foo.war</web-uri> <context-root>foo</context-root> </web> </module> </application>
      Hide
      Chris Bates added a comment -

      Jars in Ear/lib. Ive replaced internal names with "foo" to protect the innocent.

      rw-rr- 1 cbates 502 146388 Feb 28 19:31 XmlSchema-1.4.5.jar
      rw-rr- 1 cbates 502 124332 Feb 28 19:31 activation-1.2.jar
      rw-rr- 1 cbates 502 248639 Feb 28 19:31 annogen-0.1.0.jar
      rw-rr- 1 cbates 502 116205 Feb 28 19:31 antlr-runtime-3.1.1.jar
      rw-rr- 1 cbates 502 7464917 Feb 28 19:31 arapi-7.5.jar
      rw-rr- 1 cbates 502 63966 Feb 28 19:31 avalon-framework-4.1.3.jar
      rw-rr- 1 cbates 502 198321 Feb 28 19:31 axiom-api-1.2.7.jar
      rw-rr- 1 cbates 502 152197 Feb 28 19:31 axiom-dom-1.2.7.jar
      rw-rr- 1 cbates 502 126546 Feb 28 19:31 axiom-impl-1.2.7.jar
      rw-rr- 1 cbates 502 20562 Feb 28 19:31 axis2-aar-maven-plugin-1.4.jar
      rw-rr- 1 cbates 502 773761 Feb 28 19:31 axis2-adb-1.4.jar
      rw-rr- 1 cbates 502 168742 Feb 28 19:31 axis2-adb-codegen-1.4.jar
      rw-rr- 1 cbates 502 241693 Feb 28 19:31 axis2-codegen-1.4.jar
      rw-rr- 1 cbates 502 1286691 Feb 28 19:31 axis2-kernel-1.4.jar
      rw-rr- 1 cbates 502 329586 Feb 28 19:31 backport-util-concurrent-2.1.jar
      rw-rr- 1 cbates 502 102194 Feb 28 19:31 batik-anim-1.8pre.jar
      rw-rr- 1 cbates 502 434341 Feb 28 19:31 batik-awt-util-1.8pre.jar
      rw-rr- 1 cbates 502 628062 Feb 28 19:31 batik-bridge-1.8pre.jar
      rw-rr- 1 cbates 502 164908 Feb 28 19:31 batik-codec-1.8pre.jar
      rw-rr- 1 cbates 502 342046 Feb 28 19:31 batik-css-1.8pre.jar
      rw-rr- 1 cbates 502 224884 Feb 28 19:31 batik-dom-1.8pre.jar
      rw-rr- 1 cbates 502 10895 Feb 28 19:31 batik-ext-1.8pre.jar
      rw-rr- 1 cbates 502 172584 Feb 28 19:31 batik-gui-util-1.8pre.jar
      rw-rr- 1 cbates 502 265668 Feb 28 19:31 batik-gvt-1.8pre.jar
      rw-rr- 1 cbates 502 85333 Feb 28 19:31 batik-parser-1.8pre.jar
      rw-rr- 1 cbates 502 131686 Feb 28 19:31 batik-rasterizer-1.8pre.jar
      rw-rr- 1 cbates 502 67251 Feb 28 19:31 batik-script-1.8pre.jar
      rw-rr- 1 cbates 502 625373 Feb 28 19:31 batik-svg-dom-1.8pre.jar
      rw-rr- 1 cbates 502 159262 Feb 28 19:31 batik-transcoder-1.8pre.jar
      rw-rr- 1 cbates 502 152822 Feb 28 19:31 batik-util-1.8pre.jar
      rw-rr- 1 cbates 502 31767 Feb 28 19:31 batik-xml-1.8pre.jar
      rw-rr- 1 cbates 502 610790 Feb 28 19:31 c3p0-0.9.1.2.jar
      rw-rr- 1 cbates 502 316178 Feb 28 19:31 cglib-2.2_beta1_nodep.jar
      rw-rr- 1 cbates 502 37516 Feb 28 19:31 classworlds-1.1-alpha-2.jar
      rw-rr- 1 cbates 502 188671 Feb 28 19:31 commons-beanutils-1.7.0.jar
      rw-rr- 1 cbates 502 90001 Feb 28 19:31 commons-chain-1.1.jar
      rw-rr- 1 cbates 502 46725 Feb 28 19:31 commons-codec-1.3.jar
      rw-rr- 1 cbates 502 571259 Feb 28 19:31 commons-collections-3.2.jar
      rw-rr- 1 cbates 502 143847 Feb 28 19:31 commons-compress-1.0.jar
      rw-rr- 1 cbates 502 148783 Feb 28 19:31 commons-digester-2.0.jar
      rw-rr- 1 cbates 502 53082 Feb 28 19:31 commons-fileupload-1.2.jar
      rw-rr- 1 cbates 502 305001 Feb 28 19:31 commons-httpclient-3.1.jar
      rw-rr- 1 cbates 502 87776 Feb 28 19:31 commons-io-1.3.2.jar
      rw-rr- 1 cbates 502 52915 Feb 28 19:31 commons-logging-1.1.jar
      rw-rr- 1 cbates 502 62086 Feb 28 19:31 commons-pool-1.3.jar
      rw-rr- 1 cbates 502 362717 Feb 28 19:31 commons-vfs-1.0.jar
      rw-rr- 1 cbates 502 189284 Feb 28 19:31 concurrent-1.3.4.jar
      rw-rr- 1 cbates 502 4366956 Feb 28 19:31 core-3.4.2.v_883_R34x.jar
      rw-rr- 1 cbates 502 22518 Feb 28 19:31 db-connection-tester-1.3.0-MS2-SNAPSHOT.jar
      rw-rr- 1 cbates 502 508451 Feb 28 19:31 device-personality-1.6-MS6.jar
      rw-rr- 1 cbates 502 313898 Feb 28 19:31 dom4j-1.6.1.jar
      rw-rr- 1 cbates 502 1116697 Feb 28 19:31 drools-compiler-5.3.1.Final.jar
      rw-rr- 1 cbates 502 2083065 Feb 28 19:31 drools-core-5.3.1.Final.jar
      rw-rr- 1 cbates 502 7742 Feb 28 19:31 dumbster-1.5.jar
      rw-rr- 1 cbates 502 97471 Feb 28 19:31 el-ri-1.2_04-b10-p01.jar
      rw-rr- 1 cbates 502 25162 Feb 28 19:31 flexjson-1.6.jar
      rw-rr- 1 cbates 502 312600 Feb 28 19:31 hibernate-envers-3.6.0-SNAPSHOT.jar
      rw-rr- 1 cbates 502 352254 Feb 28 19:31 httpclient-4.1.2.jar
      rw-rr- 1 cbates 502 105799 Feb 28 19:31 httpclient-cache-4.1.2.jar
      rw-rr- 1 cbates 502 181200 Feb 28 19:31 httpcore-4.1.2.jar
      rw-rr- 1 cbates 502 152058 Feb 28 19:31 httpcore-nio-4.0-beta1.jar
      rw-rr- 1 cbates 502 26890 Feb 28 19:31 httpmime-4.1.2.jar
      rw-rr- 1 cbates 502 156390 Feb 28 19:31 jackson-core-lgpl-1.4.2.jar
      rw-rr- 1 cbates 502 391929 Feb 28 19:31 jackson-mapper-lgpl-1.4.2.jar
      rw-rr- 1 cbates 502 463412 Feb 28 19:31 janino-2.5.15.jar
      rw-rr- 1 cbates 502 106733 Feb 28 19:31 jaxb-api-2.2.3.jar
      rw-rr- 1 cbates 502 890196 Feb 28 19:31 jaxb-impl-2.2.3.jar
      rw-rr- 1 cbates 502 3133503 Feb 28 19:31 jaxb-xjc-2.2.3.jar
      rw-rr- 1 cbates 502 1075396 Feb 28 19:31 jaxb1-impl-2.2.3.jar
      rw-rr- 1 cbates 502 226529 Feb 28 19:31 jaxen-1.1.jar
      rw-rr- 1 cbates 502 542693 Feb 28 19:31 jboss-common-core-2.2.14.GA.jar
      rw-rr- 1 cbates 502 19371 Feb 28 19:31 jboss-ejb3-ext-api-1.0.0.jar
      rw-rr- 1 cbates 502 43842 Feb 28 19:31 jboss-ejb3-ext-api-impl-1.0.0.jar
      rw-rr- 1 cbates 502 41157 Feb 28 19:31 jboss-ha-server-api-1.1.1.GA.jar
      rw-rr- 1 cbates 502 86272 Feb 28 19:31 jboss-ha-server-cache-jbc-2.0.0.GA.jar
      rw-rr- 1 cbates 502 175808 Feb 28 19:31 jboss-javaee-5.1.0.GA.jar
      rw-rr- 1 cbates 502 11924 Feb 28 19:31 jboss-logging-spi-2.0.5.GA.jar
      rw-rr- 1 cbates 502 10899 Feb 28 19:31 jboss-transaction-api-1.0.1.GA.jar
      rw-rr- 1 cbates 502 1152731 Feb 28 19:31 jbosscache-core-3.1.0.GA.jar
      rw-rr- 1 cbates 502 190234 Feb 28 19:31 jbosscache-pojo-3.0.0.GA.jar
      rw-rr- 1 cbates 502 333861 Feb 28 19:31 jbossha-5.1.0.GA.jar
      rw-rr- 1 cbates 502 488686 Feb 28 19:31 jcommon-1.0.16.jar
      rw-rr- 1 cbates 502 153253 Feb 28 19:31 jdom-1.0.jar
      rw-rr- 1 cbates 502 1425742 Feb 28 19:31 jfreechart-1.0.13.jar
      rw-rr- 1 cbates 502 534827 Feb 28 19:31 joda-time-1.6.jar
      rw-rr- 1 cbates 502 871260 Feb 28 19:31 js-1.7R2.jar
      rw-rr- 1 cbates 502 208589 Feb 28 19:31 jsch-0.1.41.jar
      rw-rr- 1 cbates 502 45539 Feb 28 19:31 jsr173_1.0_api-1.0.jar
      rw-rr- 1 cbates 502 16923 Feb 28 19:31 jstl-1.1.0.jar
      rw-rr- 1 cbates 502 166397 Feb 28 19:31 knowledge-api-5.3.1.Final.jar
      rw-rr- 1 cbates 502 367444 Feb 28 19:31 log4j-1.2.14.jar
      rw-rr- 1 cbates 502 72150 Feb 28 19:31 logkit-1.0.1.jar
      rw-rr- 1 cbates 502 388864 Feb 28 19:31 mail-1.4.jar
      rw-rr- 1 cbates 502 551210 Feb 28 19:31 mvel-1.3.3-java1.5.jar
      rw-rr- 1 cbates 502 729308 Feb 28 19:31 mvel2-2.1.0.drools4.jar
      rw-rr- 1 cbates 502 723660 Feb 28 19:31 mysql-connector-java-5.1.8.jar
      rw-rr- 1 cbates 502 32900 Feb 28 19:31 neethi-2.0.4.jar
      rw-rr- 1 cbates 502 56785 Feb 28 19:31 notification-common-1.1-MS5.jar
      rw-rr- 1 cbates 502 1977444 Feb 28 19:31 ojdbc6-11.1.0.6.0-Production.jar
      rw-rr- 1 cbates 502 12771 Feb 28 19:31 opencsv-2.2.jar
      rw-rr- 1 cbates 502 123220 Feb 28 19:31 oscache-2.3.jar
      rw-rr- 1 cbates 502 202091 Feb 28 19:31 foo-common-1.3.0-MS2-SNAPSHOT.jar
      rw-rr- 1 cbates 502 944156 Feb 28 19:31 foo-ejb-1.3.0-MS2-SNAPSHOT-tests.jar
      rw-rr- 1 cbates 502 749716 Feb 28 19:31 pdf-transcoder-1.0beta2.jar
      rw-rr- 1 cbates 502 17090 Feb 28 19:31 portlet-api-1.0.jar
      rw-rr- 1 cbates 502 52429 Feb 28 19:31 shale-remoting-1.0.4.jar
      rw-rr- 1 cbates 502 21796 Feb 28 19:31 slf4j-api-1.5.5.jar
      rw-rr- 1 cbates 502 9648 Feb 28 19:31 slf4j-log4j12-1.5.5.jar
      rw-rr- 1 cbates 502 103236 Feb 28 19:31 snmp-support-0.3.3.jar
      rw-rr- 1 cbates 502 344837 Feb 28 19:31 snmp4j-1.8.1.jar
      rw-rr- 1 cbates 502 2708329 Feb 28 19:31 spring-2.0.8.jar
      rw-rr- 1 cbates 502 393259 Feb 28 19:31 standard-1.1.2.jar
      rw-rr- 1 cbates 502 172023 Feb 28 19:31 stringtemplate-3.2.jar
      rw-rr- 1 cbates 502 46326 Feb 28 19:31 wagon-provider-api-1.0-beta-2.jar
      rw-rr- 1 cbates 502 37506 Feb 28 19:31 whirlycache-1.0.1.1.jar
      rw-rr- 1 cbates 502 149442 Feb 28 19:31 woden-api-1.0M8.jar
      rw-rr- 1 cbates 502 225594 Feb 28 19:31 woden-impl-dom-1.0M8.jar
      rw-rr- 1 cbates 502 148429 Feb 28 19:31 wsdl4j-1.6.2.jar
      rw-rr- 1 cbates 502 520092 Feb 28 19:31 wstx-asl-3.2.4.jar
      rw-rr- 1 cbates 502 2730442 Feb 28 19:31 xalan-2.7.0.jar
      rw-rr- 1 cbates 502 1223877 Feb 28 19:31 xercesImpl-2.9.0.jar
      rw-rr- 1 cbates 502 194354 Feb 28 19:31 xml-apis-2.9.0.jar
      rw-rr- 1 cbates 502 85686 Feb 28 19:31 xml-apis-ext-1.3.04.jar
      rw-rr- 1 cbates 502 124724 Feb 28 19:31 xmlParserAPIs-2.6.2.jar
      rw-rr- 1 cbates 502 431568 Feb 28 19:31 xom-1.1.jar
      rw-rr- 1 cbates 502 24956 Feb 28 19:31 xpp3_min-1.1.4c.jar
      rw-rr- 1 cbates 502 481672 Feb 28 19:31 xstream-1.4.2.jar

      Show
      Chris Bates added a comment - Jars in Ear/lib. Ive replaced internal names with "foo" to protect the innocent. rw-r r - 1 cbates 502 146388 Feb 28 19:31 XmlSchema-1.4.5.jar rw-r r - 1 cbates 502 124332 Feb 28 19:31 activation-1.2.jar rw-r r - 1 cbates 502 248639 Feb 28 19:31 annogen-0.1.0.jar rw-r r - 1 cbates 502 116205 Feb 28 19:31 antlr-runtime-3.1.1.jar rw-r r - 1 cbates 502 7464917 Feb 28 19:31 arapi-7.5.jar rw-r r - 1 cbates 502 63966 Feb 28 19:31 avalon-framework-4.1.3.jar rw-r r - 1 cbates 502 198321 Feb 28 19:31 axiom-api-1.2.7.jar rw-r r - 1 cbates 502 152197 Feb 28 19:31 axiom-dom-1.2.7.jar rw-r r - 1 cbates 502 126546 Feb 28 19:31 axiom-impl-1.2.7.jar rw-r r - 1 cbates 502 20562 Feb 28 19:31 axis2-aar-maven-plugin-1.4.jar rw-r r - 1 cbates 502 773761 Feb 28 19:31 axis2-adb-1.4.jar rw-r r - 1 cbates 502 168742 Feb 28 19:31 axis2-adb-codegen-1.4.jar rw-r r - 1 cbates 502 241693 Feb 28 19:31 axis2-codegen-1.4.jar rw-r r - 1 cbates 502 1286691 Feb 28 19:31 axis2-kernel-1.4.jar rw-r r - 1 cbates 502 329586 Feb 28 19:31 backport-util-concurrent-2.1.jar rw-r r - 1 cbates 502 102194 Feb 28 19:31 batik-anim-1.8pre.jar rw-r r - 1 cbates 502 434341 Feb 28 19:31 batik-awt-util-1.8pre.jar rw-r r - 1 cbates 502 628062 Feb 28 19:31 batik-bridge-1.8pre.jar rw-r r - 1 cbates 502 164908 Feb 28 19:31 batik-codec-1.8pre.jar rw-r r - 1 cbates 502 342046 Feb 28 19:31 batik-css-1.8pre.jar rw-r r - 1 cbates 502 224884 Feb 28 19:31 batik-dom-1.8pre.jar rw-r r - 1 cbates 502 10895 Feb 28 19:31 batik-ext-1.8pre.jar rw-r r - 1 cbates 502 172584 Feb 28 19:31 batik-gui-util-1.8pre.jar rw-r r - 1 cbates 502 265668 Feb 28 19:31 batik-gvt-1.8pre.jar rw-r r - 1 cbates 502 85333 Feb 28 19:31 batik-parser-1.8pre.jar rw-r r - 1 cbates 502 131686 Feb 28 19:31 batik-rasterizer-1.8pre.jar rw-r r - 1 cbates 502 67251 Feb 28 19:31 batik-script-1.8pre.jar rw-r r - 1 cbates 502 625373 Feb 28 19:31 batik-svg-dom-1.8pre.jar rw-r r - 1 cbates 502 159262 Feb 28 19:31 batik-transcoder-1.8pre.jar rw-r r - 1 cbates 502 152822 Feb 28 19:31 batik-util-1.8pre.jar rw-r r - 1 cbates 502 31767 Feb 28 19:31 batik-xml-1.8pre.jar rw-r r - 1 cbates 502 610790 Feb 28 19:31 c3p0-0.9.1.2.jar rw-r r - 1 cbates 502 316178 Feb 28 19:31 cglib-2.2_beta1_nodep.jar rw-r r - 1 cbates 502 37516 Feb 28 19:31 classworlds-1.1-alpha-2.jar rw-r r - 1 cbates 502 188671 Feb 28 19:31 commons-beanutils-1.7.0.jar rw-r r - 1 cbates 502 90001 Feb 28 19:31 commons-chain-1.1.jar rw-r r - 1 cbates 502 46725 Feb 28 19:31 commons-codec-1.3.jar rw-r r - 1 cbates 502 571259 Feb 28 19:31 commons-collections-3.2.jar rw-r r - 1 cbates 502 143847 Feb 28 19:31 commons-compress-1.0.jar rw-r r - 1 cbates 502 148783 Feb 28 19:31 commons-digester-2.0.jar rw-r r - 1 cbates 502 53082 Feb 28 19:31 commons-fileupload-1.2.jar rw-r r - 1 cbates 502 305001 Feb 28 19:31 commons-httpclient-3.1.jar rw-r r - 1 cbates 502 87776 Feb 28 19:31 commons-io-1.3.2.jar rw-r r - 1 cbates 502 52915 Feb 28 19:31 commons-logging-1.1.jar rw-r r - 1 cbates 502 62086 Feb 28 19:31 commons-pool-1.3.jar rw-r r - 1 cbates 502 362717 Feb 28 19:31 commons-vfs-1.0.jar rw-r r - 1 cbates 502 189284 Feb 28 19:31 concurrent-1.3.4.jar rw-r r - 1 cbates 502 4366956 Feb 28 19:31 core-3.4.2.v_883_R34x.jar rw-r r - 1 cbates 502 22518 Feb 28 19:31 db-connection-tester-1.3.0-MS2-SNAPSHOT.jar rw-r r - 1 cbates 502 508451 Feb 28 19:31 device-personality-1.6-MS6.jar rw-r r - 1 cbates 502 313898 Feb 28 19:31 dom4j-1.6.1.jar rw-r r - 1 cbates 502 1116697 Feb 28 19:31 drools-compiler-5.3.1.Final.jar rw-r r - 1 cbates 502 2083065 Feb 28 19:31 drools-core-5.3.1.Final.jar rw-r r - 1 cbates 502 7742 Feb 28 19:31 dumbster-1.5.jar rw-r r - 1 cbates 502 97471 Feb 28 19:31 el-ri-1.2_04-b10-p01.jar rw-r r - 1 cbates 502 25162 Feb 28 19:31 flexjson-1.6.jar rw-r r - 1 cbates 502 312600 Feb 28 19:31 hibernate-envers-3.6.0-SNAPSHOT.jar rw-r r - 1 cbates 502 352254 Feb 28 19:31 httpclient-4.1.2.jar rw-r r - 1 cbates 502 105799 Feb 28 19:31 httpclient-cache-4.1.2.jar rw-r r - 1 cbates 502 181200 Feb 28 19:31 httpcore-4.1.2.jar rw-r r - 1 cbates 502 152058 Feb 28 19:31 httpcore-nio-4.0-beta1.jar rw-r r - 1 cbates 502 26890 Feb 28 19:31 httpmime-4.1.2.jar rw-r r - 1 cbates 502 156390 Feb 28 19:31 jackson-core-lgpl-1.4.2.jar rw-r r - 1 cbates 502 391929 Feb 28 19:31 jackson-mapper-lgpl-1.4.2.jar rw-r r - 1 cbates 502 463412 Feb 28 19:31 janino-2.5.15.jar rw-r r - 1 cbates 502 106733 Feb 28 19:31 jaxb-api-2.2.3.jar rw-r r - 1 cbates 502 890196 Feb 28 19:31 jaxb-impl-2.2.3.jar rw-r r - 1 cbates 502 3133503 Feb 28 19:31 jaxb-xjc-2.2.3.jar rw-r r - 1 cbates 502 1075396 Feb 28 19:31 jaxb1-impl-2.2.3.jar rw-r r - 1 cbates 502 226529 Feb 28 19:31 jaxen-1.1.jar rw-r r - 1 cbates 502 542693 Feb 28 19:31 jboss-common-core-2.2.14.GA.jar rw-r r - 1 cbates 502 19371 Feb 28 19:31 jboss-ejb3-ext-api-1.0.0.jar rw-r r - 1 cbates 502 43842 Feb 28 19:31 jboss-ejb3-ext-api-impl-1.0.0.jar rw-r r - 1 cbates 502 41157 Feb 28 19:31 jboss-ha-server-api-1.1.1.GA.jar rw-r r - 1 cbates 502 86272 Feb 28 19:31 jboss-ha-server-cache-jbc-2.0.0.GA.jar rw-r r - 1 cbates 502 175808 Feb 28 19:31 jboss-javaee-5.1.0.GA.jar rw-r r - 1 cbates 502 11924 Feb 28 19:31 jboss-logging-spi-2.0.5.GA.jar rw-r r - 1 cbates 502 10899 Feb 28 19:31 jboss-transaction-api-1.0.1.GA.jar rw-r r - 1 cbates 502 1152731 Feb 28 19:31 jbosscache-core-3.1.0.GA.jar rw-r r - 1 cbates 502 190234 Feb 28 19:31 jbosscache-pojo-3.0.0.GA.jar rw-r r - 1 cbates 502 333861 Feb 28 19:31 jbossha-5.1.0.GA.jar rw-r r - 1 cbates 502 488686 Feb 28 19:31 jcommon-1.0.16.jar rw-r r - 1 cbates 502 153253 Feb 28 19:31 jdom-1.0.jar rw-r r - 1 cbates 502 1425742 Feb 28 19:31 jfreechart-1.0.13.jar rw-r r - 1 cbates 502 534827 Feb 28 19:31 joda-time-1.6.jar rw-r r - 1 cbates 502 871260 Feb 28 19:31 js-1.7R2.jar rw-r r - 1 cbates 502 208589 Feb 28 19:31 jsch-0.1.41.jar rw-r r - 1 cbates 502 45539 Feb 28 19:31 jsr173_1.0_api-1.0.jar rw-r r - 1 cbates 502 16923 Feb 28 19:31 jstl-1.1.0.jar rw-r r - 1 cbates 502 166397 Feb 28 19:31 knowledge-api-5.3.1.Final.jar rw-r r - 1 cbates 502 367444 Feb 28 19:31 log4j-1.2.14.jar rw-r r - 1 cbates 502 72150 Feb 28 19:31 logkit-1.0.1.jar rw-r r - 1 cbates 502 388864 Feb 28 19:31 mail-1.4.jar rw-r r - 1 cbates 502 551210 Feb 28 19:31 mvel-1.3.3-java1.5.jar rw-r r - 1 cbates 502 729308 Feb 28 19:31 mvel2-2.1.0.drools4.jar rw-r r - 1 cbates 502 723660 Feb 28 19:31 mysql-connector-java-5.1.8.jar rw-r r - 1 cbates 502 32900 Feb 28 19:31 neethi-2.0.4.jar rw-r r - 1 cbates 502 56785 Feb 28 19:31 notification-common-1.1-MS5.jar rw-r r - 1 cbates 502 1977444 Feb 28 19:31 ojdbc6-11.1.0.6.0-Production.jar rw-r r - 1 cbates 502 12771 Feb 28 19:31 opencsv-2.2.jar rw-r r - 1 cbates 502 123220 Feb 28 19:31 oscache-2.3.jar rw-r r - 1 cbates 502 202091 Feb 28 19:31 foo-common-1.3.0-MS2-SNAPSHOT.jar rw-r r - 1 cbates 502 944156 Feb 28 19:31 foo-ejb-1.3.0-MS2-SNAPSHOT-tests.jar rw-r r - 1 cbates 502 749716 Feb 28 19:31 pdf-transcoder-1.0beta2.jar rw-r r - 1 cbates 502 17090 Feb 28 19:31 portlet-api-1.0.jar rw-r r - 1 cbates 502 52429 Feb 28 19:31 shale-remoting-1.0.4.jar rw-r r - 1 cbates 502 21796 Feb 28 19:31 slf4j-api-1.5.5.jar rw-r r - 1 cbates 502 9648 Feb 28 19:31 slf4j-log4j12-1.5.5.jar rw-r r - 1 cbates 502 103236 Feb 28 19:31 snmp-support-0.3.3.jar rw-r r - 1 cbates 502 344837 Feb 28 19:31 snmp4j-1.8.1.jar rw-r r - 1 cbates 502 2708329 Feb 28 19:31 spring-2.0.8.jar rw-r r - 1 cbates 502 393259 Feb 28 19:31 standard-1.1.2.jar rw-r r - 1 cbates 502 172023 Feb 28 19:31 stringtemplate-3.2.jar rw-r r - 1 cbates 502 46326 Feb 28 19:31 wagon-provider-api-1.0-beta-2.jar rw-r r - 1 cbates 502 37506 Feb 28 19:31 whirlycache-1.0.1.1.jar rw-r r - 1 cbates 502 149442 Feb 28 19:31 woden-api-1.0M8.jar rw-r r - 1 cbates 502 225594 Feb 28 19:31 woden-impl-dom-1.0M8.jar rw-r r - 1 cbates 502 148429 Feb 28 19:31 wsdl4j-1.6.2.jar rw-r r - 1 cbates 502 520092 Feb 28 19:31 wstx-asl-3.2.4.jar rw-r r - 1 cbates 502 2730442 Feb 28 19:31 xalan-2.7.0.jar rw-r r - 1 cbates 502 1223877 Feb 28 19:31 xercesImpl-2.9.0.jar rw-r r - 1 cbates 502 194354 Feb 28 19:31 xml-apis-2.9.0.jar rw-r r - 1 cbates 502 85686 Feb 28 19:31 xml-apis-ext-1.3.04.jar rw-r r - 1 cbates 502 124724 Feb 28 19:31 xmlParserAPIs-2.6.2.jar rw-r r - 1 cbates 502 431568 Feb 28 19:31 xom-1.1.jar rw-r r - 1 cbates 502 24956 Feb 28 19:31 xpp3_min-1.1.4c.jar rw-r r - 1 cbates 502 481672 Feb 28 19:31 xstream-1.4.2.jar
      Hide
      Chris Bates added a comment -

      Attempting to migrate from tomcat6/openejb3 to tomee-beta2.

      When deploying onto tomee there appears to be a classpath resolution issue causing classes in foo/lib to not be found.
      The HttpConnectionManager class is in [EarProject]/lib/commons-httpclient-3.1.jar.
      The ear container does not specify a MANIFEST for either the containing wars or the ear itself and relies on openejb to "discover" the jars in the lib directory.

      012-03-14 18:38:46,150 - WARN - Error deploying application /tmp/apache-tomee-plus-1.0.0-beta-2/webapps/foo.ear
      java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpConnectionManager
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
      at java.lang.Class.privateGetPublicMethods(Class.java:2547)
      at java.lang.Class.getMethods(Class.java:1410)
      at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.processApplicationExceptions(AnnotationDeployer.java:2400)
      at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1927)
      at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1458)
      at org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:293)
      at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
      at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
      at org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:983)
      at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:123)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1242)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1400)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1410)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1389)
      at java.lang.Thread.run(Thread.java:680)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpConnectionManager
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:91)
      at org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:64)
      ... 19 more

      Show
      Chris Bates added a comment - Attempting to migrate from tomcat6/openejb3 to tomee-beta2. When deploying onto tomee there appears to be a classpath resolution issue causing classes in foo/lib to not be found. The HttpConnectionManager class is in [EarProject] /lib/commons-httpclient-3.1.jar. The ear container does not specify a MANIFEST for either the containing wars or the ear itself and relies on openejb to "discover" the jars in the lib directory. 012-03-14 18:38:46,150 - WARN - Error deploying application /tmp/apache-tomee-plus-1.0.0-beta-2/webapps/foo.ear java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpConnectionManager at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.privateGetPublicMethods(Class.java:2547) at java.lang.Class.getMethods(Class.java:1410) at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.processApplicationExceptions(AnnotationDeployer.java:2400) at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1927) at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1458) at org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:293) at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263) at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693) at org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:983) at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:123) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1242) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1400) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1410) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1389) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpConnectionManager at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:91) at org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:64) ... 19 more

        People

        • Assignee:
          Unassigned
          Reporter:
          David Blevins
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:

            Development