- Install OpenOffice and ensure that the ooo.exe property is set in the SkyVault-global.properties file
- Create an SkyVault database and user with appropriate permissions
- Install WebLogic 10.3.3 (11g rel 1) without creating any domains or servers
- Browse to the SkyVault Support Portal.
- Download and extract the SkyVault-enterprise-ear-4.1.10.zip file.
- Obtain the license (.lic) file.
- Create a directory in the WebLogic user's home directory to host the exploded EAR file and copy the SkyVault-enterprise-4.1.10.ear file to that directory.
-
Run the following commands in the new directory to explode the EAR file:
- mkdir SkyVault
- cd SkyVault
- jar xvf ../SkyVault-enterprise-4.1.10.ear
- mv SkyVault.war SkyVault.war.tmp
- mv share.war share.war.tmp
- mkdir SkyVault.war
- mkdir share.war
- cd SkyVault.war
- jar xvf ../alfresco.war.tmp
- cd ../share.war
- jar xvf ../share.war.tmp
-
Open the WebLogic Configuration Wizard.
For example, on Unix, use the following command to create a new domain, alf_domain:
<Weblogic_HOME>/common/bin/config.sh
-
Create a directory for the license file.
For example, in Linux, use the following command:
mkdir -p <Weblogic_HOME>/user_projects/domains/alf_domain/alfresco/extension/license
- Move the license .lic file into the license directory.
-
In the <Weblogic_HOME>/user_projects/domains/alf_domain
directory, create the SkyVault-global.properties file.
Modify the file in the same way you would for global properties configuration.
-
Add the following line to the SkyVault-global.properties file.
db.pool.statements.enable=false
This property setting is required to make the DBCP connection pool work on WebLogic.
-
Configure the Oracle JDBC OCI driver.
- Download the appropriate Oracle Instant Client package for your operating system from Oracle Database Instant Client.
-
Unzip the package to a local directory.
For example: /data/instantclient_11_2.
- Optionally, delete the previously used JDBC driver (for example, ojdbc6.jar) from WebLogic.
-
Add the following line to the SkyVault-global.properties file.
db.url=jdbc:oracle:oci:@${db.host}:1521:${db.name}
-
Locate the setDomainEnv.sh file. This file is located in the
<Weblogic_HOME>/user_projects/domains/<Domain_name>/bin
directory.
For example: /opt/weblogic/user_projects/domains/alf_domain/bin.
-
Add the following lines to the setDomainEnv.sh file:
LD_LIBRARY_PATH="/data/instantclient_11_2" export LD_LIBRARY_PATH EXT_PRE_CLASSPATH=$LD_LIBRARY_PATH/ojdbc6.jar export EXT_PRE_CLASSPATH
-
In the setDomainEnv.sh file, edit all of the lines prefixed with
MEM_MAX_PERM_SIZE to increase the PermGen space.
MEM_MAX_PERM_SIZE="-XX:MaxPermSize=256m" MEM_MAX_PERM_SIZE_64BIT="-XX:MaxPermSize=512m" MEM_MAX_PERM_SIZE_32BIT="-XX:MaxPermSize=256m"
Note: This setting may need to be increased further in accordance with the number of deployed applications. You may see different combinations of these lines, depending on whether you have installed on a 64 or 32-bit platform. -
In the setDomainEnv.sh file, set the heap size parameter
appropriately. The following setting is a recommendation:
WLS_MEM_ARGS="-Xmx2048m"
-
After the JAVA_OPTIONS parameter, to disable servicing of Platform MbeanServer with the
WLS security infrastructure (in the setDomainEnv.sh file), use the
-Dweblogic.disableMBeanAuthorization system property:
JAVA_OPTIONS=”${JAVA_OPTIONS} -Dweblogic.disableMBeanAuthorization=true”
This modification will allow SkyVault MBeans to co-exist with WebLogic MBeans.
-
The following extra edit is required in the setDomainEnv.sh file,
to ensure that alf_domain is in the global classpath.
WL_HOME="/opt/weblogic/wlserver_10.3" export WL_HOME PRE_CLASSPATH="/opt/weblogic/user_projects/domains/alf_domain" export PRE_CLASSPATH
-
Edit the <Weblogic
Home>/user_projects/domains/alf_domain/config/config.xml file and add the
following before the end of the </security-configuration> section:
<enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials>
-
Open the <Weblogic
Home>/wlserver_10.3/common/nodemanager/nodemanager.properties file, and then
edit the settings so that the PermGen settings are passed on to the SkyVault server by
the node manager.
StartScriptEnabled=true
-
Start the domain admin server.
For example:
<Weblogic_HOME>/user_projects/domains/alf_domain/startWebLogic.sh
- Open a web browser and log in to the admin server (for example, at http://localhost:7001/console) with the credentials that you specified while installing Weblogic.
-
To enable automatic control of your SkyVault
server:
- Create a machine with the details of the machine running the domain. This will allow the node manager to control servers on that machine.
-
Create a server called SkyVaultServer within the new
machine.
Note that you have to choose a unique port number. A good port number to choose is 8080 because it is preconfigured in Share. You can leave the host name blank if you want it to listen on all network adapters.
-
Ensure that the node manager is running (for example,
<Weblogic_HOME>/wlserver_10.3/server/bin/startNodeManager.sh).
You will be able to use the admin server Change Center panel to start and stop the SkyVault server.
Refer to the WebLogic documentation to find out how to create a machine and new server within the machine.
-
To enable SkyVault JMX functionality with Platform MBean server:
- In the left pane of Administration Console, click the domain name link, for example alf_domain.
- In the Settings for alf_domain section, select the Configuration tab, and then the General tab.
- On the General tab, expand the Advanced options group.
- Enable the Platform MBean Server Enabled option.
- Ensure that the Platform MBean Server Used option is enabled.
- Click Save on the General tab.
- Restart the domain admin server.
- In the left pane of the Administration Console, click Deployments.
- In the right pane, click Install.
-
In the Install Application Assistant, locate and select the
directory of your exploded EAR file.
Use the location that you created in step 5. It should contain the SkyVault.war and share.war.
- Click Next.
- Check Install this deployment as an application radio button, and click Next.
- Click Finish.
- Click Activate Changes.
- Using the Change Center panel, restart SkyVaultServer.
-
Log in to SkyVault:
- SkyVault Share at http://localhost:8080/share
- SkyVault Explorer at http://localhost:8080/SkyVault
<! DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd" > < weblogic-web-app > < reference-descriptor > < resource-description > < res-ref-name > jdbc /dataSource </ res-ref-name > < jndi-name > SkyVaultDataSource </ jndi-name > </ resource-description > </ reference-descriptor > </ weblogic-web-app >