Access Keys:
Skip to content (Access Key - 0)

Portal

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (13)

View Page History
{code}export JBOSS_HOME=$HOME/portal-liferay/apache-tomcat-5.5.27
{code}
h2. Start the Application Server

{anchor:Adjust DNS Cache Settings}
h2. Adjust DNS Cache Settings
----
h3. JBoss
----
On Windows, do the following:
# Navigate to %JBOSS_HOME%\bin.
# Double-click run.bat
Java's default DNS cache settings are to cache forever. This can cause issues if the IP address of an external service (e.g. Yahoo! Geocoder) changes. To avoid this, we need to adjust the cache settings. This can be done on the command line or in the java.security file. For the command-line approach, just add another option to the JAVA_OPTS environment variable:

On Unix/Linux/Mac, you should do something like this:

{code} cd $JBOSS_HOME/bin
chmod u+x *
./run.sh > portal.log &
{code}
h3. Tomcat
JAVA_OPTS=-Xms256m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Dsun.net.inetaddr.ttl=60
---- {code}
*Windows*
# Navigate to %CATALINA_HOME%\bin
# Double-click startup.bat

*Tomcat*
{code}cd $CATALINA_HOME\bin
chmod u+x *.sh
./startup.sh
For the java.security file approach, you need to use a different property name. Add the following to $JAVA_HOME/lib/security/java.security.
{code}
networkaddress.cache.ttl=60
{code}

{anchor:Adjust maxBytes}
h2. Adjust maxBytes
----



h2. Start the Application Server
----
h3. JBoss
----
On Windows, do the following:
# Navigate to %JBOSS_HOME%\bin.
# Double-click run.bat

On Unix/Linux/Mac, you should do something like this:

{code} cd $JBOSS_HOME/bin
chmod u+x *
./run.sh > portal.log &
{code}
h3. Tomcat
----
*Windows*
# Navigate to %CATALINA_HOME%\bin
# Double-click startup.bat

*Tomcat*
{code}cd $CATALINA_HOME\bin
chmod u+x *.sh
./startup.sh
{code}


{anchor:Import the Site Structure}
h2. Import the Site Structure
Last edited by
William Stephens (636 days ago) , ...
Adaptavist Theme Builder Powered by Atlassian Confluence