Posts

Showing posts from 2015

Windows command line Tricks for Better, Faster Administration

Image
Windows CMD commands for life made easy for WebLogic, OFMW, WebSphere, Tomcat, JBoss Administrators. Windows shortcuts will shave our time more. Especially working on Windows 8.1 is more complex than previous so I pulled out some of the important commands which will make your life easy. Some of them are collected from the daily works in OFMW administrator. Mapping of SHELL command with CMD commands How to set the proxy in CMD? You need to run the following command in the CMD to set the proxy. set HTTP_PROXY=http://your_proxy:your_port set HTTPS_PROXY=https://your_proxy:your_port How to add a IP, DNS to your Windows hosts file? The Linux OS maintains /etc/hosts and it can be editable only by root user. Whereas, in Windows OS same file is available at c:\windows\system32\drivers\etc\hosts. This will be same for Windows 7 and Windows 8.1. You could also check in the hot Windows 10. Hence the command to edit this : start notepad c:\windows\system32\drivers\etc\hosts ...

WebLogic Wrapper Scripts

Image
Administrators with automation skill would perform than many admins. Requirement makes you to write automation scripts. I was working on Oracle Virtual Box, which is running SSH service. Hence I am able to connected thru PUTTy to the ubuntu Guest Linux server. By making Static IP configuration on the additional network adapter this was happen to possible.  Everything going good! when I ran the WebLogic server from the PuTTY. It is working until when it is connected and alive. Once I went for break/Lunch the Windows system went to sleep then WebLogic server stopped due to PuTTY session inactive. To avoid this we can use the Wrapper start scripts.  Idea behind the wrapper script/ psuedo code Using the startWebLogic.sh script in background using & use the nohup -- no hungup to run the process even the PuTTY inactive or closed The log file generated by starting WebLogic server redirected to a separate file. The Standard error file also merged with standard output log...