Wednesday 21 March 2018

Install Oracle Weblogic Server 12c in Ubuntu/Unix

Install Oracle Weblogic Server 12c in Ubuntu/Unix


  1. Install JDK 1.8 (we will need Oracle JDK. OpenJDK will not be supported.)
  2. Downlolad weblogic from below URL:



3. Keep this  fmw_12.2.1.3.0_wls_Disk1_1of1.zip downloaded file under ‘/home/sachin/weblogic’ folder and extract it.


$cd /home/sachin/weblogic


$unzip  fmw_12.2.1.3.0_wls_Disk1_1of1.zip (To extract zip file)
4. Run this extracted jar from zip file file

5. Click on next button, you will see below screen.


6. We can update the weblogic while installing. As of now, we will skip updates and click on next button.



7. Set ORACLE_HOME and click on next button.




8. Select installation type as ‘Weblogic Server’ and click on next button.




9. Click on next button


10. We will see installation summary as shown below . Then click on Install button.



11. Setup will show progress


12. Once setup finishes all steps, click on next button. We will see Installation complete wizard. Click on Finish button.




13. It will ask create new domain or use existing domain. Here we will create new domain and click on next button.




14. Select Product templates and click on next button.




15. Set username(weblogic) and password(weblogic@1) for weblogic server


16. Set development mode and click on nect button

17. If needed, do some Advanced configuration (Here we are not doing  any)and click on next button.


18. Check configuration summary and click on Create  button.




19. We will see progress of all the steps and then click on Next button


20. We will see domain location and Admin Server url. This is end of installation of weblogic server.




21. Start weblogic server
Go to domain location: /home/sachin/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain
And run $ sh startWebLogic.sh




22. We will see weblogic start up as shown below:




Enter username and password and click on Login button.




24. Congratullation!!!, you are able to access WebLogic ServerAdministration Console 12c

Happy Learning!!!

Wednesday 14 March 2018

git: cannot open git-receive-pack

I was trying to import git repo in eclipse. it was imported successfully but when I tried to push changes to upstream, I found 'git: cannot open git-receive-pack' in eclipse. Then I realized, before few days, I had configured SSL cert private key in my eclipse, So to get rid off from this error, below steps I have followed.

If your git configured with SSL cert or it is outdated, We are getting such an error.
Solution:
Solution1 - From terminal - > git config http.sslVerify false
Solution2 - If you are using eclipse, then
  1. open preferences via application menu Window => Preferences (or on OSX Eclipse => Settings).
  2. Navigate to Team => Git => Configuration
  3. click Add entry..., then put http.sslVerify in the key box and false in the value box.


Its done!!!



Extract error records while inserting into db table using JDBCIO apache beam in java

 I was inserting data into postgres db using apache beam pipeline. it works perfectly with JdbcIO write of apache beam library. But, now, i ...