[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

IBM Websphere .war file

Posted on 2008-10-06
9
Medium Priority
?
1,806 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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 2000 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

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month19 days, 2 hours left to enroll

834 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