Solved

IBM Websphere .war file

Posted on 2008-10-06
9
1,749 Views
Last Modified: 2013-12-11
I have a .war file installed in websphere 5.1. I need to chaneg a couple of class files as replacement . Can I directly replace the files by browsing to the .ear directopry?

Also if i have to redeploy the whole application with the changes i have, where cna i get teh war file fromt eh existing deployed war file in websphere?

0
Comment
Question by:anup001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 1

Expert Comment

by:sravy
ID: 22655519
Hi,
you can definitely add files inside .war in installed Apps
you will have to compile the class files and property files inorder to obtain the .war file.
0
 

Author Comment

by:anup001
ID: 22656307
i get  a 500 error when ir eplace the new file. Just to amke sure when I put back the odl class file also its giving 500 error. These class files are correct. Am  doing something wrong? I am also boungin the server and restarting the app.
0
 
LVL 1

Expert Comment

by:sravy
ID: 22660554
try this:
stop all app servers mapped to the application, replace files, delete cache , tranlog , start servers.  
0
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 

Author Comment

by:anup001
ID: 22660595
how do i delete cache?
0
 
LVL 1

Expert Comment

by:sravy
ID: 22660737
check DMGR config>temp has the .ear/.war
full synchronization of nA's and restart before u bring up the servers.
0
 

Author Comment

by:anup001
ID: 22660817
u mean go to the DMGR config directory? Could you please ellaborate a  little?
0
 
LVL 1

Expert Comment

by:sravy
ID: 22661049
go to profiles>dmgr>config>temp delete any .war/ear if present..
were you able to hit the application before making the change.
check systemout log ,system err logs too.
0
 

Author Comment

by:anup001
ID: 22661580
thanks!
0
 
LVL 1

Accepted Solution

by:
hu8mypho earned 500 total points
ID: 22885332
you can use the admin console to export the war and download to desktop, import into AST or RAD and make needed changes, re-export the war with appropriate descriptors to deploy.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question