]
Ted Jones commented on TEIIDDES-2791:
-------------------------------------
In 6.3, the spring module was changed to remove jars and dependencies that CXF wars will
require, including the TD generated WAR.
6.2:
{code:java}
<module xmlns="urn:jboss:module:1.1"
name="org.springframework.spring">
<resources>
<resource-root path="spring-beans-3.2.12.RELEASE.jar"/>
<resource-root path="spring-context-3.2.12.RELEASE.jar"/>
<resource-root path="spring-core-3.2.12.RELEASE.jar"/>
<resource-root path="spring-asm-3.1.4.RELEASE.jar"/>
<resource-root path="spring-expression-3.2.12.RELEASE.jar"/>
<resource-root path="spring-aop-3.2.12.RELEASE.jar"/>
<resource-root path="spring-tx-3.2.12.RELEASE.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="org.apache.commons.logging"/>
</dependencies>
</module>
{code}
6.3:
{code:java}
<module xmlns="urn:jboss:module:1.1"
name="org.springframework.spring">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<resources>
<resource-root
path="spring-beans-${version.org.springframework}.jar"/>
<resource-root
path="spring-context-${version.org.springframework}.jar"/>
<resource-root
path="spring-core-${version.org.springframework}.jar"/>
<!--
<resource-root path="spring-asm.jar"/>
<resource-root path="spring-aop.jar"/>
<resource-root path="spring-expression.jar"/>
<resource-root path="spring-tx.jar"/>
-->
</resources>
<dependencies>
<module name="javax.api"/>
</dependencies>
</module>
{code}
Problem with SOAP war generated in TD
-------------------------------------
Key: TEIIDDES-2791
URL:
https://issues.jboss.org/browse/TEIIDDES-2791
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 10.0
Reporter: Matus Makovy
Priority: Critical
Attachments: ProductInfoVdb.war, Untitled.zip
I don't know if this is a Teiid or Teiid Designer issue.
When I generate a SOAP war from VDB and try to deploy it to server, I get following
exception:
{code}
Deployment failed: ProductInfoVdb.war: {"outcome" : "failed",
"failure-description" : {"JBAS014671: Failed services" :
{"jboss.deployment.unit.\"ProductInfoVdb.war\".INSTALL" :
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"ProductInfoVdb.war\".INSTALL: JBAS018733: Failed to
process phase INSTALL of deployment \"ProductInfoVdb.war\"\n Caused by:
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory\n Caused by:
java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory from [Module
\"org.springframework.spring:main\" from local module loader @ed17bee (finder:
local module finder @2a33fae0 (roots:
/Users/mmakovy/server-installer/dv-6.3.0.DR3/target/jboss-eap-6.4/modules,/Users/mmakovy/server-installer/dv-6.3.0.DR3/target/jboss-eap-6.4/modules/system/layers/dv,/Users/mmakovy/server-installer/dv-6.3.0.DR3/target/jboss-eap-6.4/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.3.CP,/Users/mmakovy/server-installer/dv-6.3.0.DR3/target/jboss-eap-6.4/modules/system/layers/base))]"}},
"rolled-back" : true}
{code}
The whole "test script" should be accessible here:
https://mojo.redhat.com/docs/DOC-995324
This happens *only with DV-6.3.0.DR3*. When I deploy this war to DV 6.2 server,
everything works as expected.
I attached project in zip file (Untitled.zip) and generated WAR. The WAR file was
generated in TD 10.0.0.Beta2, but I tried to generate the war in 9.0.5 Designer and the
result was the same.
I marked this as Critical, but if it is a Designer issue I think it should be marked as
blocker.