aspose file tools*
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
Author

Re- Deploying application in Websphere 4.0

manoj
Greenhorn

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 - http://blog.kartikshah.info
manoj
Greenhorn

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
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Re- Deploying application in Websphere 4.0