Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2582

WELD with Jersey webapp fails to deploy on weblogic 12c if beans.xml is packaged in jar file

XMLWordPrintable

      If webapp is structured in below structure, it fails to deploy in weblogic 12c

      MainApp

      _________WEB-INF/lib
      _______ abc.jar
      ______ beans.xml

      Error from weblogic logs is :
      <org.jboss.weld.environment.deployment.discovery.DefaultBeanArchiveScanner> <BEA-000000> <Unable to adapt URL: zip:/################################/.metadata/.plugins/org.eclipse.core.resources/.projects/WeldTest/beadep/eclispe_common/WeldTest/WEB-INF/lib/KMWeldDependecy.jar!/META-INF/beans.xml, using its external form instead>

      1. Possible reason is DefaultBeanArchiveScanner doesn't support the beans.xml url with zip prefix. Even though it can be parsed same as jar prefix.

              Unassigned Unassigned
              latesh21 Latesh Dulani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: