File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Re- Deploying  application in Websphere 4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Re- Deploying  application in Websphere 4.0" Watch "Re- Deploying  application in Websphere 4.0" New topic

Re- Deploying application in Websphere 4.0


Joined: Jun 24, 2002
Posts: 25
I have a application that is already deployed in the Websphere 4.0 environment. Now I have a new ear file for the same application that has to be deployed in the Websphere environment.What should I do with the old deployed application :
1)Should I remove it so that I can deploy the new one.
2)Can I redploy the new one without removing the old one.
3)Is there any way out without deleting the old one.
All inputs will be appreciated.
Kartik Shah
Ranch Hand

Joined: Dec 07, 2000
Posts: 102
There are number of ways you can achieve this depending on your project/ear file configuration
1. You can change the context of the application. For the new ear file you can say context is /ProjectNameNew and deploy it. the url of the project will be different. This depends on the project configuration as you might have to change all the path to images and js files. In my project I always take the root path for images from xml file so I change the path in xml file and images will pop up)
2. You can create new server group other than Default Server and deploy the new application on it. ( But I think you will still need to change the context ...not sure I think this depends on the the project configuration )
Though just pointers in direction, I thought it might help you.

Kartik Shah
SCJP, SCDJWS, IBM Certified Websphere & XML, PMP & Six Sigma -

Joined: Jun 24, 2002
Posts: 25
Can I redeploy the same application without deleting the old one but by overwriting the old application deployed.I dont want any changes to the ear file for this new deployement.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
Read the section in the InfoCenter about "hot deployment", which will list out your options. IMHO, though, you are safest if you simply delete the old one and re-install the new version.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: Re- Deploying application in Websphere 4.0
jQuery in Action, 3rd edition