//AMIS Technology Blog » wlst

Posts tagged wlst

Vacatures bij AMIS services

WLST script to add DataSource and DBAdapter EIS Connection Factory

5

Creating a EIS ConnectionFactory in your Database Adapter can be done with the WebLogic Administration Console, but of course this is also “scriptable”. What I needed was a script that created a Data Source with EIS Connection factory bound to the specific datasource.

First I created a properties file, let’s call it DsCf.properties. Everything between <> should be replaced with your own values:

# Propertie file for creating datasource and EIS DB Adapter # Created by Michel Schildmeijer # Domain settings domainname="&lt;your WLS DOMAIN&gt;" adminurl=&lt;WLS HOST:Admin Port&gt; adminusername=weblogic adminpassword=&lt;passwd weblogic&gt; #datasource settings datasourcename=&lt;Name DataSource&gt; datasourcedatabasename=&lt;database&gt; datasourcetarget=&lt;targeted manaegd server&gt; datasourcefilename= datasourcename + '.xml' datasourcejndiname= 'jdbc/' + datasourcename datasourcedriverclass=oracle.jdbc.OracleDriver datasourceurl=jdbc:oracle:thin:@&lt;db host&gt;:1521:&lt;db sid&gt; datasourceusername=&lt;db user&gt; datasourcepassword=&lt;db user password datasourcetestquery=SQL SELECT * FROM DUAL #EIS Connection Factory settings connfactname=eis/DB/&lt;Connection factory More >
Vacatures bij AMIS services

WebLogic 11g start and stop automation

12

There are many ways of starting and stopping your Oracle WebLogic 11g  environments, You can stop your Admin and Managed Server Instances through the Adminsitration console, use the the start and stop scripts shipped with the Oracle WebLogic software and domain creation, or use a tool like WLST to manipulate your entire environment.

In this blog I will  use the different kinds of techniques to stop and start your Oracle WebLogic Server environment, even in case of a physical host reboot (planned or unplanned)

For this I used the common UNIX shell scripting in combination with WLST

(more…)

Go to Top