• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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: 22821
132
Eclipse IDE Spring 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):


 
Acetylsalicylic acid is aspirin. This could be handy too:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic