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!
Related
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 ;-)
I'm dealing with an ugly error.
I want to install Rational Application Developer 8.5, but the launchpad doesn't work.
Hence, I installed the IBM installation Manager and I set the repository:
File -> Preferences -> Repository
I added the repository.config and I restarted the application.
Unfortunately when I start to configure the installation I get this error:
"Installation Manager non trova i file dei dischi seguenti: 1,2,3,4,5 in IBM® Rational® Application Developer for WebSphere® Software 8.5.1."
Translated:
Installation Manager doesn't find the files of the following disks: 1,2,3,4,5 in IBM® Rational® Application Developer for WebSphere® Software 8.5.1.
I tried to use the master zip as it is suggested here --> https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014848922&ps=25
But this solution was not good for me.
Any suggestion?
I solved the problem.
My RAD software were issue in twelve chunks. I extracted them in order to have a zip file.
I extracted it and I got 5 zip files. I extracted the first four in a folder and the last one in another folder (SETUP).
I used the install.exe inside the SETUP\installation_x86 folder and I went ahead even if I had some warning. When It asked me the first disk I let it point to the folder that I extracted (not the setup, the other one).
When I installed RAD with Websphere 7.0, I got a slew of folders created in my home directory:
%USERPROFILE%\IBM
%USERPROFILE%\Logs
%USERPROFILE%\PMT
%USERPROFILE%\updilogs
%USERPROFILE%\waslogs
%USERPROFILE%\web2feplogs
I am using Windows 7, so I actually use my home directory for various things, and hate that I have all these folders polluting my home directory (more than half of which are sitting empty).
Which of these can I delete? If RAD/Websphere need the directories, is there any way I can configure RAD/Websphere to have them to where they're supposed to be (that is, under %USERPORFILE%\AppData)?
(And I have hidden files/folders showing for work-related reasons, so I can't just hide them)
OK, so:
The %USERPROFILE%\IBM directory is the default directory for RAD to create new workspaces in. I am guessing that this directory was created when you first invoked RAD and it asked you where you would like a workspace created. Check the contents of that directory. If it only contains RAD workspaces, you can delete it (or move the individual workspace directories elsewhere).
I am not aware of a %USERPROFILE%\Logs directory created by wither RAD or WebSphere. Can you list some of the directory's contents?
The %USERPROFILE%\PMT directory wouldn't have been created by WebSphere or RAD. PMT stands for Profile Management Tool - a GUI that WebSphere provides for managing WebSphere profiles. Can you list some of the directory's contents?
%USERPROFILE%\updilogs are logs created by the installer of the WebSphere Update Installer (read that again). You cannot override it. You can delete this directory.
%USERPROFILE%\waslogs are logs created by the installer of WAS itself. You cannot override it. You can delete this directory.
%USERPROFILE%\web2feplogs are logs created by the installer of the WAS Web 2.0 Feature Pack. You cannot override it. You can delete this directory.
EDIT as per comment: The PMT\workspace directory seems to be of the format of an Eclipse workspace. I suspect this one was created when you (or a program that you ran) fired up the Profile Management Tool in GUI mode. As far as I know, this directory can be deleted but it will resurface next time you run PMT in GUI mode.
As we tried to deploy a new project that connects to an Oracle database, we encountered some problems..
On my development workstation, I have my Oracle dll's installed in c:\app\oracle\product\11.2.0\client_1\BIN but on the development web server, it's in stalled in c:\oracle\product\11.2.0\client_1\BIN (noticed NOT in the app folder).
When an application is deployed, those dll's that are referenced need to be in the same location on both machines. So needless to say, we get an error from the development server.
In order to fix this, we tried a few things -
Move the Oracle install to c:\app... on my machine and rebuild from my development machine. This didn't work because there are relative dll's that rely on that path.
Because 1 didn't work, we tried to reset the environment path variables to c:\oracle on my machine. That didn't work.
tried to copy the needed dll's into my bin directory because my understanding is Visual Studio will build from the GAC, then from the bin directory. That didn't work.
Knowing that re-installing Oracle on the development server to c:\app\Oracle isn't an option, has anyone else come across this problem?
You need to make sure that your Oracle install is setup correctly. I have a few utilities that can assist with this.
Step 1 -
The utilities below will confirm first that .net works with Oracle on your server
http://tsells.wordpress.com/2010/02/18/oracle-connection-tester-for-net-applications/
Step 2 -
If the utility above worked - then go to step 3. Otherwise - .net can't see oracle on this machine. Check your path statement first - make sure the oracle bin directory is pointing to is the correct one. If not - change it and try again.
If this doesn't work - I recommend uninstalling oracle completely and reinstalling. Use the following steps.
Stop any services (start - run - services.msc) below that are running
oracle mts recovery
Distributed Transaction Coordinator
Delete all oracle directories from the file system (C:\app, C:\Program Files | C:\Program Files (x86(
Remove Oracle entries from the system path
Remove any Oracle entries from the environment variables (if they exist) such as ORACLE_HOME
Open the registry editor (start -- run -- regedit) and remove any oracle entries from the following key
HKLM\Software\
HKLM\Software\Wow6432Node (64 bit machines only)
Empty Recycle bin (makes me feel better) :)
Reboot the machine
Download one of the two items
Oracle Client Installation (full)
ODAC (Oracle Data Providers)
Install them (make sure if you choose the client version - you use a minimum of the runtime install) - do NOT use the instant client - it never seems to work properly.
Copy the TNSNames.ora file over
Test with the utility again. It should be successful.
Step 3 -
If the utility above worked - then you need to make sure the bit level of your application matches the bit level of the Oracle client installation. For the app - this will be the bit level of the application pool.
Notes - the oracle.dataaccess.dll file in the bin folder is used to help create the images (ngen, aspnet compilation). Once you attempt to call the oracle data provider for .net - it is routed to your client installation to perform the actually data access.
At work, we have a windows server 2003 with IIS and Subversion installed. We use it to publish and test locally
our ASP.NET websites. Every programmer has Tortoise installed on his PC and can update/commit content to the server. Hosting the repositories is working fine.
But the files kept in those repositories needs then to be copied to our local IIS (virtual directories).
What is an easy way to publish those subversion repositories to our local IIS?
Edit:
Thanks to puetzk I added a simple bat file that gets executed every time a commit occurs (check the subversion documentation about hooks). My bat file only contains:
echo off
setlocal
:: Localize the working copy where IIS points)
pushd E:\wwwroot\yourapp\trunk
:: Update your working copy
svn update
endlocal
exit
Just keep the web server's file area as a working copy, and perform an svn up in it whenever you want to "publish". Configure it to hide the contents of the .svn folders if they seem untidy to you (I don't specifically know how to do this, but I assume it can be done). They will already have the filesystem hidden bit, which may take care of this.
If you want it really automatic (updates as soon as someone commits), use a post-commit hook script on the SVN server to kick off the first process.
Others in the comments have suggested using export instead of checkout. That can work too, and avoids the .svn clutter, but has two drawbacks. One, it has to redownload the entire contents every time, not just the modified files (since it didn't keep the .svn dir to remember what it has). If you have a lot of files, this will be much slower. Two, update replaces the file atomically (writes the new version in .svn/tmp, then moves it into place). Export writes the file gradually into it's destination as it downloads. That means export could deliver an incomplete file to someone who browsed it at just the wrong time.
SVN doesn't support IIS; you can however run the standalone svnserve server as a windows service.
There's the SVN FAQ entry about it, and this blog post on Vertigo Software blog may be helpful too.
UPDATE:
After your clarification, I see that what you are looking for is a way to automatically update the code on the server after it's checked in. Look into CruiseControl.NET, after looking at the subversion integration tutorial it looks like it should do what you want.
UPDATE 2: This tutorial describes integrating Subversion, CruiseControl.NET and Nant.
maybe SVNIsapi can solve the problem (http://www.svnisapi.com). Cause it only utilizes an IIS installation, therefore you don't need an APACHE server or an SVNSERVER service. Secondly it should be possible to stack the ASP.NET ISAPI plugin onto the processing of SVNISAPI, so that a ASP.NET (.aspx) page will interpreted after read from the repository.
Cheers
Paolo
Use can use the free Visual-SVN Server to quickly install Subversion with Apache front end. It also have a nice MMC snap-in for managing the server and repositories.
You will than be able to access subversion with HTTP or HTTPS, but the port number must be different from the one your local IIS uses (default port for Visual-SVN server is 8080).
If you really need to access the repositories using your local IIS port 80, you can try SVN-IIS which acts as a bridge between your IIS and Apache. I haven't tried this one myself though.