Pages

Friday, August 3, 2012

Download & Installing " OSGi JPA " Feature Pack using Installation Manager on WAS 7.0


Installing OSGi and JPA Fix Pack 1.0.0.1 Feature Pack using Installation Manager and Augmenting the Profile.
  1. Download WAS import software to enable import option on installation manager-                                        http://public.dhe.ibm.com/software/websphere/downloads/was/import/ 
  2. Download required OSGI and JPA feature pack-  http://www-01.ibm.com/support/docview.wss?uid=swg27020060
  3. Or you can download a whole package from this link- http://www-01.ibm.com/software/webservers/appserv/was/featurepacks/osgi/instopt/index.html
  4. Extract file to safe location. Better to extract it in IBM\Installation Manager Location (option)

Installation Instructions:

Perform the following tasks to install Feature Pack for OSGi & JPA Version 1.0.0.1 on WebSphere Application Server Version 7.0.0.9:
  1. Install WebSphere Application Server V7.0.
  2. Install WebSphere Application Server Fix Pack 7.0.0.9 using the Update Installer 7.0.
  3. Install IBM Installation Manager. You can download and unpack a compressed file containing the Installation Manager appropriate for your operating system from the IBM Installation Manager Web site.
  4. After Installation, start /open IBM Installation Manager.
  5. We need to add repositories. Repository is a location where updates or extensions to the packages are stored.
  6. Adding a repositories-
    • Go to File > Preferences in installation manager. Click on "Add Repository". Browse for repository.config files from the extract (ariesjpa and WAS import repositories zip files).
    • WAS import repo config file location : \local-repositories\repository.config
    • Feature Pack config file location: < ariesjpa_ repositories > \ariesjpa\ repository.config


  • ***Before importing Make sure to stop all (WAS Processes) servers and applications on the WebSphere Application Server installation that is being imported. ****
  • Import WebSphere Application Server into Installation Manager.






  • Install OSGi and JPA Fix Pack 1.0.0.1 using Update option on IBM Installation Manager main page. This can also be done by using either Web-based Repository or Local Repository.






  • If you want you can check “Show all Versions” and click on “Check for other versions, fixes and extensions”

**Install Feature Pack for OSGi and JPA Version 1.x using IBM Installation Manager. This can be done by using either Web-based Repository or Local Repository. Whenever possible, you should use the remote Web-based repositories so that you are accessing the most up-to-date WebSphere Application Server base-product import and feature pack installation files. The feature-pack version of IBM Installation Manager is preconfigured to use both the local repositories (if they are set up) and the remote repositories. **







Augmentation:
  1. After completing the installation of a feature pack, it requires to augment a profile to make the required profile compatible with a particular feature pack.
  2.  You can augment the profile using the manageprofiles command or Profile Management tool (GUI).
  3. Here I am going with Profile management tool:




**Note: It will allow selecting only one at a time

  1. Select the particular profile to apply feature Pack.
  2. After selecting click on “Augment”.




**Note: It will allow selecting only one at a time.



After installing JPA feature then start doing same exercise for OSGI.

Done !



Suggestions are always welcome..!  Without signing also you can send your comments.

Wednesday, August 1, 2012

Oracle sql developer - " Unable to find Java Virtual Machine ... "

After successful installation of Oracle 64 bit, When we try to open sql developer ( sqldeveloper.exe) , it ends up with the following error message:


"Unable to find Java Virtual Machine. To point to a location of a Java Virtual Machine, please refer to the Oracle Install Guide(java\install.html)."





Issue Resolved:

I found that the Oracle - SQL developer is NOT supported on 64 bit JDKHence I installed a 32 bit / x86 JDK and updated java loaction at sqldeveloper config file.

  1. JDK Installation url:  http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html 
  2. Select windows x86, download and install jdk
  3. Edit the “sqldeveloper.conf
  4. Location of conf file:  <OracleHome>\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
  5.  Now point “SetJavaHome” to your 32 bit JDK location. 

Example: “SetJavaHome C:\Program Files (x86) \Java\jdk1.6.0_25



Suggestions are always welcome..!  Without signing also you can send your comments.