Solved

IBM Websphere .war file

Posted on 2008-10-06
9
1,691 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

22 Experts available now in Live!

Get 1:1 Help Now