Solved

IBM Websphere .war file

Posted on 2008-10-06
9
1,699 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
  • 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
 

Author Comment

by:anup001
ID: 22660595
how do i delete cache?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to connect Remote application using URLConnection in java 1 64
Using BigFix Actions 7 112
reflections, dynamic class loading 3 66
Problem to Eclipse 16 119
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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.…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

864 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now