• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Migrating JBoss AS 5 project to JBoss AS 7

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm attempting to migrate a fairly large project from JBoss AS5 to AS7. The project is built with ant, the build process is pretty complex. I'm running into a lot of problems.

The first thing I did was read through the AS7 documentation - https://docs.jboss.org/author/display/AS7/, focusing on 'How do I migrate my application from AS5 or AS6 to AS7?' https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7

I managed to set up a new data source and import my project into AS7. When I try to build the project I'm getting a lot of class loading errors, which I expected.



Our build.xml sets 'build.classpath' for use during the 'compile' stage of the build process




does AS7 not honor these ant directives?

I tried to solve this by creating an *ear/meta-inf/MANIFEST.MF file that references the class path




This doesn't seem to work - I am still getting the package javax.jms does not exist errors.

I'm going by the class loading procedures documented in the AS7 manual - what am I doing wrong?

Is it because i'm using ant? Should I switch to maven? My project and build are fairly complex, and I'm not sure if it will be worth going down that route if there's a simple solution to fix these errors with ant in AS7.

Any advice appreciated - thanks!
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's continue here http://community.jboss.org/thread/170822?tstart=0
 
crispy bacon. crispy tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic