WebSphere Application Server - WebSphere auto-deploy code from deployment manager?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > September 2006 > WebSphere auto-deploy code from deployment manager?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author WebSphere auto-deploy code from deployment manager?

2006-09-29, 1:53 pm

I updated a single class file in an already deployed application on WAS 5.1 on Solaris, then I restarted the app server and the new class is picked up. And then I restarted just the app server again, suspecting there were some network problems, then I not
iced the single class file that I updated was rolled back to the previous version from the full deployment (i.e. deploy via deployment manager). Why is this case? What would trigger WAS to aut-deploy code from DM? Thanks in advance and welcome any comme
nts.
Charly Oz

2006-09-29, 7:59 pm

Andy,

I am assuming that you have a clustered application server manged by a DM.

By default the DM is configured to synchronise it's repository with the
NodeAgents at specified intervals. If you changed the file directly on the
NA, then this would be over-written when the DM synchronises (Although I'm
sure that this should have happened on the first restart of your app
server).

Assumptions in tact, there are a few things to think about here:
1) Change the file in the DM repository and then sync the DM with the NA to
roll-out the file.

2) Alternatively, the auto-sync can be disabled, and you can change the file
on the NA, but this will also:
- Stop other synchronisation between the DM & NA
- Over-write your changed file when you do manually sync
- Give you the older version of the changed file when exporting the
deployed app from the DM for backup purposes.

More details on using wsadmin to automate some of the above can be found at:
WAS 5.1 InfoCenter:
http://publib.boulder.ibm.com/infoc.../v5r1/index.jsp
dW WAS Sample Scripts:
http://www-128.ibm.com/developerwor...pleScripts.html

Hope this helps.

Charly.

<andy.liu@aiminvestments.com> wrote in message
news:951684224.1159543882020.JavaMail.wassrvr@ltsgwas010.sby.ibm.com...
>I updated a single class file in an already deployed application on WAS 5.1
>on Solaris, then I restarted the app server and the new class is picked up.
>And then I restarted just the app server again, suspecting there were some
>network problems, then I noticed the single class file that I updated was
>rolled back to the previous version from the full deployment (i.e. deploy
>via deployment manager). Why is this case? What would trigger WAS to
>aut-deploy code from DM? Thanks in advance and welcome any comments.



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com