When deploying applications under Oracle WebLogic Server, you can use the following methods depending on the server startup mode:
Production mode as startup mode
Automatic deployment is globally inactive.
The following three deployment possibilities are available:
Deployment in the browser using the WebLogic Server Administration Console
Deployment using the
weblogic.Deployer
toolDeployment with the Oracle WebLogic Scripting Tool
Development mode as startup mode
The WebLogic Server instances can deploy and update applications automatically if these files are present in the directory
domain_name/autodeploy
. Oracle recommends only using this method for applications in "single-server" configurations.This method is not generally recommended for the BeanConnect resource adapter.
For the BeanConnect resource adapter, it is advisable to use one of the deployment methods that are also possible in production mode in development mode, see below.
Example:
Proceed as follows to deploy the resource adapter in the browser using the WebLogic Server Administration Console:
Create the file
weblogic-ra.xml
.Add
weblogic-ra.xml
to theMETA-INF
sub-directory of the BeanConnect RAR archive:jar uf BC65A00.rar META-INF/ weblogic-ra.xml
Start the web browser, log in at the WebLogic Server Administration Console and perform the following steps:
Navigate to <domainName>>Deployments
and click install
. Navigate to the directory containing the BeanConnect RAR archive, select the archive and click <Next>
. The WebLogic Server Administration Console now performs other operations.
Recommendation: Choose a value less than 100 (default value) for the deployment order, e.g. 98
.
This means that applications that are dependent on the resource adapter can be added subsequently via autodeployment.
For the other two deployment methods (weblogic.Deployer tool and WebLogic Scripting Tool), please note the comments in the documentation for Oracle WebLogic Server under "Deploying Applications and Modules with weblogic.Deployer" or "Oracle WebLogic Scripting Tool". ol".