Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Deployment in Websphere

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I wanted the procedure in deploying a web app into Websphere. The way that i had seen it done was -
1. Create a .war file of the app
2. Dump it into a shared folder.

After 10 minutes, the app got deployed automatically.

How do i do that? Any help would be appreciated

Regards,
Kash
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not aware of that procedure. Are you sure it was with WebSphere? That looks more like JBoss or WebLogic?
 
Kash Mhai
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am pretty sure. It is websphere. One of the links in IBM also tells this - http://publib.boulder.ibm.com/infocenter/wasinfo/v5r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/trun_app_hotupgrade.html
 
Jorge Ribeiro
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I see references about how to do dynamic reloading but not hot deployment. To be very honest I think (but I might be wrong) that it is not possible to hot deploy an application in WebSphere by just copying an ear file to a certain directory. That's something you typically do with JBoss and WebLogic.
So if you just want to reload a component of an already installed application go ahead and follow the instructions given in the page you mentioned. Otherwise, if you want to deploy a new application, I would advice to use a jacl script or some ant scripts. You can always do it programmatically, but that will involve more work.
 
author
Posts: 4223
33
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paulo is correct, WAS is extremely fussy about application installation. Everything must be done through a script or manually through a console. The advantages are that the scripts can be *quite* powerful and in the long run lead to far better building/installation than simply copying an EAR file.

Think of WAS in this manner as encouraging better development practices rather than bothing you with the extra burden of writing a script.
[ November 09, 2005: Message edited by: Scott Selikoff ]
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm not sur I understood what you mean.

I propose to use ANT's script.

This script can create your .war, with delay deploy the war file into WAS app directory.

Hope it will be help you
 
Scott Selikoff
author
Posts: 4223
33
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create the WAR using ANT scripts, but you can't just copy it to a directory to install it. The ANT script can install the EAR, but only using a IBM or 3rd party connection solution such as:

http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/javadoc/ae/com/ibm/websphere/ant/tasks/InstallApplication.html
 
author
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WebSphere Application Server has a feature called WebSPhere Rapid Deploy that enables you to drop an EAR file into a directory and it will auto install:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.etools.wrd.freeform.doc/topics/rwrdbat.html
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roland is right. However this is applicable only to WAS6 and not to earlier versions.

Thanks,
WeebProgrammer.
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic