Veridata and boot.properties file
I’m spending some time building out an Oracle WebLogic/Veridata system at home. This is mostly for testing and general understanding purposes. One of the things I’ve noticed with the WebLogic server requires the username and password before the WebLogic server will start. After providing the name and password, the terminal window has to stay open because, closing it will kill the WebLogic server that is running. This leads to two interesting question and simple resolutions.
1. How can I automatically pass the username and password to WebLogic?
2. How to I keep WebLogic running upon closing my terminal window?
The answers to the questions are quite simple. Let’s take a look at the first question.
How can I automatically pass the username and password to WebLogic?
This is done by using a “boot.properties” file. This file needs to be placed in the security directory under the server that you want to automatically log in. In my case, I had to create a security directory and the boot.properties file under the AdminServer directory. The below steps are what I used:
$ /opt/app/oracle/product/12.2.0.1/middleware/user_projects/domains/base_domain/ $ cd ./servers $ cd ./AdminServer $ mkdir security $ touch boot.properties $ vi boot.properties
Once the boot.properties file is open for editing, simply put in the username and password you want the WebLogic server to use. In this case, I’m using a standard password setup.
After creating the boot.properties, file, you can go back and start the WebLogic Server and should not be prompted for a userid and password. You can see this during the startup of the Weblogic server as seen in the below image. Additionally, if you go and look at the boot.properties file, the username and password will be encrypted as well.
This same approach can be done with the Veridata components of the configuration. You just have to remember to create a security directory under the Veridata server directory as you did for the Weblogic server.
Now for the second question:
How to keep WebLogic Server running upon closing my terminal window?
With the boot.properties file in place, you can start the WebLogic/Veridata server(s) by using the “nohup” option. “Nohup” will allow you to keep the server processes running in the background.
Using these two options, you can very easily automate the starting/restarting of the WebLogic/Veridata server(s).
Enjoy!
about.me:http://about.me/dbasolved
Current Oracle Certs
Bobby Curtis
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
I see that your dbasolved.com website could be missing out on approximately 1,000 visitors daily. Our AI powered traffic system is tailored to boost your site’s visibility: https://ln.run/VZn5V
We’re offering a free trial that includes 4,000 targeted visitors to show the potential benefits. After the trial, we can supply up to a quarter million targeted visitors per month. This service could greatly amplify your website’s reach and visitors.
The prednisone azathioprine treatment achieved complete response medicamento priligy estudios clinicos 7778 euros Reporting by Jason Hovet and Robert Mueller; Editing by DavidHolmes Rashad NfTtykTQiWlPUoMZWd 5 29 2022
Good day! Do you know if they make any plugins to assist with SEO?
I’m trying to get my website to rank for some targeted keywords
but I’m not seeing very good results. If you know of any please share.
Kudos! You can read similar text here: Bij nl