• 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

iAS deployment

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
am using iAS6.0 sp1(NT) and trying to deploy a .war file. I have class files and html files in a directory different from the iAS install directory. The deployment tool sometimes is so frustrating and behaves differently at different times.
1.Why does it create <app-name>/tmp/war/<app-name>/Web-inf instead of <app-name>/web-inf ?
2.How does it assume paths? very rarely it asks for the root-dir.No said pattern for this behaviour.
3.Is there a way I can edit .war file without using the deploy tool ? It will be so much easy to add all paths if I can edit direct. I am getting real upset with these tools.
4.Appreciate if somebody can point to a cleaner set of deployment document other than the admin guide. The bahaviour is very much different than what is said in the docs.
Thanks
R
 
Author
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In annswer to your questions:
1. Not sure.
2. When you go through the process of importing files, it asks you to resolve them. This established the root dir. It can be admittedly confusing.
3. Sure. Lots of ways actually. The jar command line tool is one way. Another is Ant (see below).
4. Look through some of the sample apps. Most have fairly detailed deployment instructions.
Frankly, I tend to use Ant for a lot of my deployment work. I'll sometimes use the deploy tool to create a starting set of deployment descriptors, or sometimes I'll use a descriptor from a previous project. But once I have those set up, I just use Ant to build the WAR, JAR and EAR files. All of the sample applications include Ant build files (build.xml) that demonstrate how to lay out a development filesystem, and how to use Ant to assemble an applicaiton.
The deploy tool is pretty cool in that it lets you build deployment descriptors with a GUI. But for day to day work, it's much easier to use Ant. (IMO)
David
 
reply
    Bookmark Topic Watch Topic
  • New Topic