How to restore old was profile from filesystem - websphere

I had some profile in the WebSphere application server but due to some issue i had to re install the WAS. now i want to load that old profile which still exist in my file system. is there any way to get that profile back?

There is a WebSphere feature called swinging profiles that you may find helpful https://www.ibm.com/docs/en/was-nd/8.5.5?topic=server-swinging-profiles-between-product-installations

Related

SCCM deployment removed but application still getting deployed

An action was taken last month to delete deployments from an Application that was made available as required install earlier last month. There are no longer any deployments associated with the package but some users have reported that they just got the application installed on their computer from the same package.
Not sure why would that be as there are no associated deployments with the package anymore. The original application package was pushed out to user collection.
Any help identifying potential causes would be greatly appreciated.
You can try installing the Configuration Manager Support Center on a model device, then search the Content tab for the application.
If it does appear there, it might indicate a problem with policy update. Check the PolicyAgent.log and PolicyAgentProvider.log for possible errors.
It may also be because of dependency / supersedence, check the references tab in the application's Properties.
If it does not appear you can check the AppEnforce.log to verify that the application installation was performed by the SCCM Agent, and at what time.

Restore MQ Explorer without backup but install directory

I did Windows upgrade for my machine but I didn't backup my IBM WebSphere environment. However, I copied the whole IBM MQ Installation directory into another folder. Is it possible to restore all IBM MQ environment from the folder I kept without backup?
My MQ version is 8.0.0.4.
If you also backed up your registry and restore the MQ entries, the binaries, and the data, and make sure the files go to the exact same location, then you are good.
If not, there is still hope. First, make sure you have the install media uncompressed in a directory somewhere and your backups safely compressed to a zip file or copied off the Windows host.
Next, follow the instructions in the Spring Cleaning a Windows MQ Installation article to remove all traces of the old installation from the machine.
Reinstall MQ and/or Explorer from scratch, including up to Fix Pack 4 since that's what you had before. This will create the registry entries and a clean set of configuration files.
Now go and define queue managers with the same name as the old ones.
Finally, restore the old QMgr data files over top of the new QMgr data files. If using Explorer, restore its workspace over the new workspace. Be sure to re-install any plug-ins such as SupportPac MS0P as well.
Good luck!

Websphere manageprofile files don't exist in my current installation

I have just downloaded and extracted Websphere locally in my computer and I can't find the manageprofiles command files (both .ssh and .bat). The version of Websphere is 8.5.5.4. Reading its documentation, it assumes that both files should be placed under the bin directory, but they are missing. I have also searched the web trying to download them manually, finding no answer.
Does anybody have any idea of what is happenning, and how may I proceed?
If you "extracted" it and didn't "install" it, it's probably what's termed the "WebSphere Liberty Profile" and not the traditional application server profile.
"manageprofiles" is not used in Liberty. If your instructions include it, you may need the traditional application server which is also available as a trial.
As covener wrote manageprofiles is in traditional WAS. In Liberty just go to the bin folder and issue:
server create yourServerName
then start it using:
server start yourServerName
and you are good to go ;-)

How do I automatically clean up my $JBOSS_HOME/standalone/tmp directory?

I’m using JBoss 7.1.3.Final on my dev machine, a Mac 10.9.1. I’m trying to get my /tmp/vfs directory to clean itself up (with a max caching time of a day), so I added this line to my $JBOSS_HOME/bin/standalone.conf file …
JAVA_OPTS="$JAVA_OPTS -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.IterableTimedVFSCache -Djboss.vfs.cache.TimedPolicyCaching.lifetime=86400"
I confirmed that the system properties are getting loaded when I start my server. However, after restart, I still see directories in the $JBOSS_HOME/standalone/tmp/vfs that are more than a day old. Is something about the above wrong or is there another parameter I need to add to get that directory to clean out?
You do not need to set VFS system properties.
Also your properties come from VFS2 that was used AS5/6 times.
AS7+ has newer/different implementation of VFS and handles this things differently.
There ware few bugs in 7.1.x in this area and ware fixed in WildFly 8 Beta1.
See jira for more info about this.
I would recommend you upgrading to WildFly 8.

RAD 8 does not recognize that WAS has started

I have recently experienced a new problem using RAD 8.0.2. When I launch a WAS server from within RAD, with or without any apps published to it, WAS will start and will show output in the console. I can even access the server from my web browser. However, RAD never recognizes that WAS has started successfully and after the timeout limit is reached, RAD claims that the server failed to start. I have tried this with WAS 6.1 and 7.0 test environments and WebSphere Portal 6.1 external environment and I always get the same result. Naturally, this makes development extremely difficult and I am anxious to get this fixed. Any help would be greatly appreciated! - John
May be an SSL certificate expiration problem, try this
http://www-01.ibm.com/support/docview.wss?uid=swg21514601
I don't think the issue is with RAD 8.0. I had similar issue which is caused by overridden .Metadata properties. Please follow the steps mentioned below.
Close RAD
Kill Java and Javaw.exe on the TaskManager which runs in the background to run eclipse/RAD
Remove the .Metadata properties from the workspace path( Remember when you remove this properties, the workspace settings and the server will be removed from your workspace)
Open RAD as Administrator, it automatically creates .metadata in your workspace path. But, it would be a default (without the workspace settings).
Need to update the user libraries in your workspace and add the servers again( The server settings would be still available as the Server profile was never changed). These settings would update your .Metadata on your workspace.
Try toggling the SOAP and RMI option to see if that helps you.
Sometimes it has trouble and it always works if you switch the protocols that RAD uses to connect to Test envionment server.
Also as a sanity check ensure that the port numbers that are specified in the server configuration in RAD is correct. There are chances that an incorrect port number could be a culprit too.
HTH
Manglu
I could solve the problem by deleting the server profile "AppSrv1" (Windows -> Preferences -> Servers) and by creating a new one using the profile management tool at the same page.

Resources