![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CollabraSuite, BEA Edition J2EE components require specific services and security to be configured and deployed. The following table summarizes the configuration created by the CollabraSuite, BEA Edition Domain Extension Template:
Integrating CollabraSuite, BEA Edition J2EE components into a WebLogic portal requires specific files to be configured and deployed into the portal application. The following summarizes the configuration performed by the CollabraSuite, BEA Edition Portal Extension Template:
<portalApplication>/<portalProject>/WEB-INF/lib
. They can be found on the distribution CD under the lib directory. <portalApplication>/<portalProject>/WEB-INF/web.xml
:<taglib>
<taglib-uri>csuite-taglib.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/csuite-taglib.jar</taglib-location>
</taglib>
<portalApplication>/<portalProject>/WEB-INF/web.xml:
<ejb-ref>
<ejb-ref-name>ejb/CSuiteAdmin</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.collabraspace.csuite.server.i9n.interfaces.CSuiteAdminRemoteHome</home>
<remote>com.collabraspace.csuite.server.i9n.interfaces.CSuiteAdminRemote</remote>
</ejb-ref>
<ejb-ref>
<ejb-ref-name>ejb/CSuiteCollaboration</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.collabraspace.csuite.server.i9n.interfaces.CSuiteCollaborationRemoteHome</home>
<remote>com.collabraspace.csuite.server.i9n.interfaces.CSuiteCollaborationRemote</remote>
</ejb-ref>
<ejb-reference-description>
<ejb-ref-name>ejb/CSuiteAdmin</ejb-ref-name>
<jndi-name>ejb/CSuiteAdmin</jndi-name>
</ejb-reference-description>
<ejb-reference-description>
<ejb-ref-name>ejb/CSuiteCollaboration</ejb-ref-name>
<jndi-name>ejb/CSuiteCollaboration</jndi-name>
</ejb-reference-description>
The process of upgrading an existing installation of CollabraSuite is similar to the process of creating a new installation.
config.xml
and the CollabraSuite.ear
file back into the original domain. This will allow you to update a domain with CollabraSuite, BEA Edition while preserving any local modifications.config.xml
file from the copied domain into the original domain<portalApplication>/<portalProject>/WEB-INF/lib
. They can be found on the distribution CD under the lib directory.
This section discusses deployment of CollabraSuite into a WebLogic cluster. This section can safely be skipped for single server installations.
Note: | Clustering is not supported with the PointBase database. |
Use the WebLogic Domain Configuration wizard to extend a cluster domain as described in the Extend the Domain section of this guide.
In WebLogic 8.1 SP4 or later, the CollabraSuite components will automatically be targeted to the cluster. In earlier versions you may have to target the CollabraSuite components to the cluster manually.
Confirm the following configuration for the CollabraSuite JMS Connection factory:
When running in a cluster, the system clocks of all server nodes must be synchronized by using Network Timing Protocol (NTP) or some similar means of clock synchronization. When system clocks are not synchronized, incorrect event timestamps will occur and CollabraSuite users may be disconnected from the application.
Please see the Supported Configurations Guide for supported platforms and known limitations associated with particular configurations.
When using PointBase with WebLogic 8.1, take the following special steps when extending a domain:
> cd %DOMAIN_DIR%
> setDomainEnv.cmd
> %WL_HOME%\common\bin\startPointBase.cmd -port=9093 -ini=%DOMAIN_DIR%\pointbase.ini
% cd $DOMAIN_DIR
% . setDomainEnv.sh
% ${WL_HOME}/common/bin/startPointBase.sh -port=9093 -ini=${DOMAIN_DIR}/pointbase.ini
> cd %DOMAIN_DIR%
> setDomainEnv.cmd
> %WL_HOME%\common\bin\stopPointBase.cmd -port=9093 -name=workshop
% cd $DOMAIN_DIR
% . setDomainEnv.sh
% ${WL_HOME}/common/bin/stopPointBase.sh -port=9093 -name=workshop
When using MySQL with WebLogic, some documentation states that the MySQL JDBC driver JAR file should be placed in the JDK's jre/lib/ext
directory. However, this causes errors when deploying J2EE applications in WebLogic. Instead, follow these steps to deploy with MySQL:
WL_HOME/server/ext/jdbc/mysql
directory in the WebLogic installation and place the MySQL JDBC driver JAR file in it. For this example, the MySQL JDBC driver JAR file is mysql-connector-java-3.1.12-bin.jar.
WL_HOME\common\bin\commEnv.cmd
script and add the following lines to the bottom of the file:SET DATABASE_CLASSPATH=
%WL_HOME%\server\ext\jdbc\mysql\mysql-connector-java-3.1.12-bin.jar
SET WEBLOGIC_CLASSPATH=%WEBLOGIC_CLASSPATH%;%DATABASE_CLASSPATH%
WL_HOME/common/bin/commEnv.sh
script and add the following lines to the bottom of the file:DATABASE_CLASSPATH=
${WL_HOME}/server/ext/jdbc/mysql/mysql-connector-java-3.1.12-bin.jar
export DATABASE_CLASSPATH
WEBLOGIC_CLASSPATH=${WEBLOGIC_CLASSPATH}:${DATABASE_CLASSPATH}
When using MySQL with WebLogic, some documentation states that the MySQL JDBC driver JAR file should be placed in the JDK's jre/lib/ext
directory. However, this causes errors when deploying J2EE applications in WebLogic. Instead, follow these steps to deploy with MySQL:
WL_HOME\common\bin\config.cmd
and add the text in bold:IF "%ARGUMENTS%" == "" (
%JAVA_HOME%\bin\javaw %MEM_ARGS% -Xbootclasspath/a:%DATABASE_CLASSPATH% -jar configwiz.jar %ARGUMENTS%
) ELSE (
%JAVA_HOME%\bin\java %MEM_ARGS% -Xbootclasspath/a:%DATABASE_CLASSPATH% -jar configwiz.jar %ARGUMENTS%
)
WL_HOME\common\bin\config.sh
and add the text in bold:"${JAVA_HOME}/bin/java" ${MEM_ARGS} -Xbootclasspath/a:${DATABASE_CLASSPATH} -jar configwiz.jar ${ARGUMENTS}
Note: | See the Known Limitations section of the Supported Configurations Guide for the compatible versions of MySQL. |
![]() ![]() ![]() |