This topic covers installing ARCHIBUS Web Central with the Oracle WebLogic application server. The text presumes you are familiar with this application server.
Note: The exact name of the WebLogic directory on your machine will depend on the version of WebLogic installed on your machine. To cover all versions, the below directions use the format "weblogicxx" as the directory name.
If you are using WebLogic 8.x, see Installing ARCHIBUS Web Central with BEA WebLogic 8.x later in this topic.
Build the deployment ARCHIBUS .WAR file in to an Enterprise Archive (.EAR) file that contains your ARCHIBUS license file.
\temp
\temp\tools
WebLogic\_ear_buildarea
folder into the \temp
folderai-licenses.bin
file into the \temp\tools
folder. weblogic.xml
file that contains the entries below, and place this weblogic.xml
file in the ARCHIBUS WEB-INF folder.<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns="http://www.w3.org/2001/XMLSchema-instance">
<session-descriptor>
<cookie-http-only>false</cookie-http-only>
</session-descriptor>
</weblogic-web-app>
temp\tools
folder and start _MakeEarFile.bat.
The process will create the .ear
file. It will take a minute or two.archibus.ear
file in the \temp\_ear_buildarea
folder.Note: WebLogic 10.3 and later turn on the “cookie-http-only” attribute in the servlet session descriptor by default. This default disables JavaScript from obtaining the contents of a session cookie. However, the Direct-Web Remoting (DWR) subsystem that ARCHIBUS uses for AJAX screen refreshes needs to have access to the session cookie in the JavaScript, as DWR uses the session cookie as a token to protect against cross-site request forgeries (CSRF). ARCHIBUS recommends that sites concerned with session spoofing and cross-site scripting use HTTPS. Notice that the “cookie-http-only” attribute value is sticky for the HTTP session in WebLogic 10.3.1 - WebLogic 10.3.3, meaning that the first webapp sets it and subsequent webapps cannot override the value.
\\bea\user_projects\<domain name>
Application servers that use Java 6, such as Oracle WebLogic 10 , require a Java 6-compatible version of the Basic Rules Compiler. The manual deployment procedure for this version is as follows. For information, see Installing the Basic Rule Compiler on Java 6 Web Servers,
Accessing online help from Web Central (either through the Help command or right-clicking on the Process Navigator) automatically brings you to the latest help systems that are stored on www.archibus.com.
Since these help systems are continually updated, accessing online help from these locations ensures that you are working with the very latest help release from ARCHIBUS, Inc.
However, some sites wish to have users access the online help from the company's network. In this case, you can install the help systems on your network by obtaining them from the ARCHIBUS DVD. Follow this procedure:
Use WinZip or another archive utility to expand \help\archibus-help.zip (located on the product DVD) into a temporary directory, preserving all subfolders.
The expansion process will create a series of folders:
Create an “archibus_help” folder in Oracle\Middleware\user_projects\domains\base_domain\.
From the temporary location, copy the \system\ and \user\ directories to the Oracle\Middleware\user_projects\domains\base_domain\archibus_help directory on your system.
Start the Weblogic Admin server and login to the Admin Server Console.
In the Domain Structure section, select the Deployments link.
Click Lock & Edit and click Install.
The Install Application Assistant page opens. Navigate to the location of the archibus_help project, select the radio button for archibus_help, choose Next.
The next page opens and ‘Install this deployment as an application’ is selected by default. Choose Next.
When the next page opens, keep all default values. Choose Next.
When the next page opens, keep all default values. Choose Finish.
The Setting for Archibus page opens. Choose Save.
‘Settings updated successfully’ displays. Choose Activate Changes.
Under ‘Domain Structure’ select ‘Deployments’.
The Summary of Deployments page opens. Check the box next to archibus, and click ‘Start’ and ‘Servicing all requests’.
The Start Application Assistant page opens. Choose Yes.
There are a few ways to access the locally installed help systems.
http://localhost:9080/archibus/help/user/archibus.htm
http://localhost:9080/archibus/help/system/afm-sysman.htm
WEBINF\Config\help.properties
file and assign the new URL to Help.url
.Note: You can follow the same procedure for localized versions of ARCHIBUS Help. The only difference is that you add the abbreviation for the locale to the "user" folder in the URL, such as http://localhost:9080/archibus/help/user_it/archibus.htm
for the Italian version of ARCHIBUS Help. Localized versions of System Management Help are not available.
Note: ARCHIBUS does not formally support WebLogic 8.x.
Note: The Web Central WAR file does not include WEB-INF/lib/jsp-api.jar file because it is not necessary for the currently supported servers, which already include this jar file. However, if you are using an older version of the application servers, such as Web Logic 8, download this jar file and copy it to the WEB-INF/lib folder.
Before installing ARCHIBUS, you must first create a domain.
Typically you will name this folder C:\bea\user_projects\domains\archibus\archibus. As such, your config folder, for instance, is located at C:\bea\user_projects\domains\archibus\archibus\WEB-INF\config.
WEB-INF\config\context\compatibility.afm-config.xml
file per the
standard instructions. See also the following web site: http://e-docs.bea.com/wls/docs81/deployment/overview.html
Start the server by clicking on Start/Programs/WebLogic Platform
/User Projects/archibus/Start Server, or by running C:\bea\user_projects\domains\archibus\startWebLogic.cmd
.
You will need to provide the administrative username and password that you specified when you created your WebLogic domain using the Configuration Wizard.
Next, add a new Web Application Domain through the Admin Console.
The default parser provided with the WebLogic server is written to an older standard than that required by ARCHIBUS Web Central. You must install the parser version required by ARCHIBUS Web Central.
To do so, you must copy the parser JAR files into “endorsed” folder.
See Also
http://e-docs.bea.com/wls/docs81/faq/xml.html
Copyright © 1984-2014, ARCHIBUS, Inc. All rights reserved. |