Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

POM file dependencies for WilfFly 8 throw a runtime exception

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, everybody. I have another issue I need help with. We've recently converted from JBoss to Wildfly 8. Currently I'm trying to build an ear file in order to deploy it to Wildfly 8. It builds and deploys fine, but when I'm using an uploader, which is a part of the application, it gives me the following exception:



Looks like it's complaining about commons-logging jar, which I included as a dependency (I tried marking it as provided, but to no avail). Here's my pom.xml file, to give a better picture. Thanks in advance.

 
Sheriff
Posts: 22644
123
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What went wrong when you marked it as provided? You may have to include module "org.apache.commons.logging" in your jboss-deployment-structure.xml file though.
 
Boris Golman
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was using flash uploader on the app, deployed using the pom file I've posted here. When I'm trying to upload a file, that's when the exception is thrown in the log file. I've tried adding logging to jboss-deployment-structure, now I'm getting this exception (axis.jar is included in my ear file):


 
A wop bop a lu bob a womp bam boom. Tutti frutti ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic