I found the following web site that provides simple instructions to help learn about web logic. The following is the URL of the first page. Links to the subsequent page is found at the bottom of the page.
http://onlineappsdba.com/index.php/2008/07/22/oracle-weblogic-installation-steps/
More documentation on Weblogic is found here.
The documentation for creating a domain is found here.
Here is an overview about domains within WebLogic.
Showing posts with label WebLogic. Show all posts
Showing posts with label WebLogic. Show all posts
Tuesday, September 29, 2009
Friday, September 25, 2009
Daemonize a process in Unix
In unix when we run a command, it will usually run in the foreground and take over our terminal.
For long running processes, we can add & to create a child process to run the background. This will allow you to continue to use the terminal while waiting for the process to finish. However, for that process is still tied to the parent process and will terminate if you exit from your terminal.
Sometimes we want to start a process and let it continue to run even after we exit out of our terminal. This can be done using the nohup command.
For example, if we want to start the WebLogic server and have it continue serving out our web application even after we log out of the server. To do that just type:
nohup ./startWebLogic.sh &
All output will be redirected to a file called nohup.out but the WebLogic server process will continue to run even after we have logged out of the server.
For long running processes, we can add & to create a child process to run the background. This will allow you to continue to use the terminal while waiting for the process to finish. However, for that process is still tied to the parent process and will terminate if you exit from your terminal.
Sometimes we want to start a process and let it continue to run even after we exit out of our terminal. This can be done using the nohup command.
For example, if we want to start the WebLogic server and have it continue serving out our web application even after we log out of the server. To do that just type:
nohup ./startWebLogic.sh &
All output will be redirected to a file called nohup.out but the WebLogic server process will continue to run even after we have logged out of the server.
Thursday, September 17, 2009
Installing WebLogic server on Sun Solaris x86
In order to install Weblogic server on Sun Solaris x86, you need to first upgrade the JDK to at least version 1.6. The instruction on how to do that is found here.
Sun Solaris u6 still has JDK version 1.5.
Next download the generic installer from the Oracle website.
To install go to the folder than contains the jar file downloaded (in this example server103_generic.jar and type:
java -jar server103_generic.jar
You can actually decide where you want to install it. By default, it will attempt to install it in /usr/local/bea folder.
In order to install the Workshop, you need to have Eclipse and WTP. I have not successfully done that so far. I tried to use the base Eclipse 3.5 but it still won't let me install. So I excluded that in my test installation.
After install, if you want access the console, you need to first start the server. This is found under:
/usr/local/bea/wlserver_10.3/samples/domains/wl_server/bin
Just type
./startWeblogic.sh
add & if you don't want to lock up your terminal. You can then access the console using
http://localhost:7001
You can then click on Start Administration Console to initiate and get into the Console.
Sun Solaris u6 still has JDK version 1.5.
Next download the generic installer from the Oracle website.
To install go to the folder than contains the jar file downloaded (in this example server103_generic.jar and type:
java -jar server103_generic.jar
You can actually decide where you want to install it. By default, it will attempt to install it in /usr/local/bea folder.
In order to install the Workshop, you need to have Eclipse and WTP. I have not successfully done that so far. I tried to use the base Eclipse 3.5 but it still won't let me install. So I excluded that in my test installation.
After install, if you want access the console, you need to first start the server. This is found under:
/usr/local/bea/wlserver_10.3/samples/domains/wl_server/bin
Just type
./startWeblogic.sh
add & if you don't want to lock up your terminal. You can then access the console using
http://localhost:7001
You can then click on Start Administration Console to initiate and get into the Console.
Subscribe to:
Posts (Atom)