-
1. Re: Deployment error on wildfly 9.0.2
jaikiran Dec 29, 2015 7:24 AM (in response to bonatech)Are there any TLDs referenced within your war file?
-
2. Re: Deployment error on wildfly 9.0.2
bonatech Dec 29, 2015 10:12 AM (in response to jaikiran)Thanks jaikiran for your answer,
Yes There are TLDs,
c-rt.tld,
fmt.tld,
fmt-rt.tld
project.tld
sql.tld
sql-rt.tld
structs-bean.tld
structs-bean-el.tld
structs-html.tld
structs-html-el.tld
structs-logic.tld
structs-logic-el.tld
structs-nested.tld
syructs-templates.tld
structs-tiles.tld
x.tld
x-rt.tld
I am using structs for the project. The deployment is ok with wildfly 8.2.0 but when I tried to deploy on wildfly 9.0.2, I get that error.
Thanks
-
3. Re: Deployment error on wildfly 9.0.2
jaikiran Dec 29, 2015 10:19 AM (in response to bonatech)Where exactly in the deployment are those tlds located?
P.S: Could someone with relevant permissions move this thread to WildFly forum?
-
4. Re: Deployment error on wildfly 9.0.2
bonatech Dec 29, 2015 10:44 AM (in response to jaikiran)There are located in WEB-INF folder of my Web project.
Sorry if I posted in the wrong forum, I am new and I don't know exactly how it works.
I just moved it to Wildfly forum.
Thanks
-
5. Re: Deployment error on wildfly 9.0.2
jaikiran Dec 29, 2015 11:33 AM (in response to bonatech)Joel SIMO wrote:
There are located in WEB-INF folder of my Web project.
I don't have the WildFly code open right now, so can't confirm whether this is a bug in the code or a deployment issue. In the meantime, can you try and reproduce this against the latest released 10.0.0.CR5 version of WildFly? If it still an issue there, can you please attach a sample application to reproduce this? (For attaching, click on the "Use advanced editor" link on the top right corner of the window, when you click reply. That will open a advanced editor which has a button that allows uploading attachments).
Joel SIMO wrote:
Sorry if I posted in the wrong forum, I am new and I don't know exactly how it works.
That's alright. Usually, someone with admin permissions help out with such threads.
Joel SIMO wrote:
I just moved it to Wildfly forum.
Thanks!
-
6. Re: Deployment error on wildfly 9.0.2
bonatech Dec 30, 2015 11:08 AM (in response to jaikiran)I have tried but still have the same error.
The attachment contains a simple app that reproduce the same error.
Thanks in advance.
-
myapp.zip 20.6 KB
-
-
7. Re: Deployment error on wildfly 9.0.2
jaikiran Dec 31, 2015 3:24 AM (in response to bonatech)Which operating system are you on? Windows OS? Can you post the exact OS vendor and version and also the Java vendor and version. FWIW, this does look like a bug, but I haven't been able to reproduce this on *nix OS yet.
-
8. Re: Deployment error on wildfly 9.0.2
mayerw01 Dec 31, 2015 6:16 AM (in response to bonatech)Maybe this is related to your issue Wildfly 8.2.0 Final - IllegalArgumentException: Cannot compare relative and absolute paths
-
9. Re: Deployment error on wildfly 9.0.2
ctomc Jan 4, 2016 11:48 AM (in response to bonatech)Not sure exactly what is going on but your jboss-deployment-structure.xml is for sure wrong.
<jboss-deployment-structure>
<ear-subdeployments-isolated>false</ear-subdeployments-isolated>
<deployment>
<exclusions> <-- this only excludes on top level deployment, not also for sub deployment, so your war & jar module, add sub-deployment tag -->
<module name="org.hibernate" slot="main" />
<module name="org.javassist" slot="main" />
<module name="org.jboss.as.jsf-injection" slot="mojarra-1.2_15" />
<module name="org.glassfish.javax.el" slot="main" />
<module name="javax.el.api"/>
</exclusions>
<exclude-subsystems>
<subsystem name="weld" />
<subsystem name="org.hibernate" /> <-- there is no such subsystem, that is module name -->
<subsystem name="org.hibernate.validator" /> <-- there is no such subsystem, that is module name -->
<subsystem name="org.glassfish.javax.el" /> <-- there is no such subsystem, that is module name -->
</exclude-subsystems>
</deployment>
</jboss-deployment-structure>
if you want to exclude hibernate validator & default hibernate being activated subsystem, than exclude subsystems "jpa" and "bean-validation"