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

deploying a war file

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I used Weblogic but company now uses Websphere. How do I deploy a war file? It keep give me the message of

"Specify the context root for the WAR module"

Do I need to setup any path? BTW is any document show how to deploy and configure ISRA, too? Thanks a bunch.

John
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you need to specify the context path when you deploy a war.

Thanks

Lin
[ May 04, 2006: Message edited by: LIN FENG ]
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
on websphere 5.x , you can work with war, you just have too fill the root context too.

a websphere application you have always an application name ( for example 'APPLI1' ) like :
http:\\yourserver.com\APPLI1\index.html

when you install with a war file, you just have to precise too this root context 'APPLI1'
 
John McDonald
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for all of your generous reply but where do I set it? Thanks again.
J.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi John
On the first screen in the admin console after you select install application below the text box where you specify the file to be uploaded I think there is another text box that asks for the context root if its a WAR you are deploying.

Another route I have used in the past, which I'm not 100% sure of the impact it would have on deploying WARs in the same way on the same server (I'm sure someone in here will tell me) ,is to use the default EAR that comes with WebSphere. In the application.xml of the default EAR all you need to do is add your WAR and remove any other WARs that are associated with the Default EAR. Export the EAR which only has a reference to your WAR and you should be able to deploy it without the context root error. Not the best solution but when your under pressure it may save your eardrums a bashing from the man in the suit.
 
You showed up just in time for the waffles! And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic