• 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

Wierd issue with ANT Build :argh:

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using ANT build script to create the jar file. When I tried to deploy this to JBoss server, I got errors.

I then tried to unjar the file into another folder and then jar it back using 'jar' command. When I deployed this to JBoss server, this time it got deployed.

This is hapenning on a continuous basis. I am able to replicate this all the time. I am not able to find out what is causing this.

The error is as follows:



Any ideas??

Thanks,
Peter
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm a little out of practice on JBoss, but as I recall, the "not installed yet" message often means that a pre-requisite resource actually didn't load at all, either because it was defective or it wasn't in the classpath. In which case, you may find an earlier console message (probably about 30 miles upstream) that says what happened.
 
Peter Vennel
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tim.

I was not sure if this is a JBoss issue. But I will post this to JBoss forum to see if anyone had experienced this behavior.

"pre-requisite resource actually didn't load at all"
I totally agree with you on this. What I fail to understand is that why does it work when I unjar the same jar file and then jar them back running 'Jar' from dos prompt.

Peter.
 
Peter Vennel
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem resolved.

It was a very silly mistake. I had the ANT build script create'meta-inf' instead of 'META-INF'. Somehow when I unjarred and jarred them back manually, the folder was correctly changed to 'META-INF'.

Now after I modified my build script, it got deployed fine.

Thanks for all the help.

Peter.
 
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read 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