This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLESPACE &1 | |
DATAFILE '&2/&1..dbf' SIZE 32M AUTOEXTEND ON NEXT 32M MAXSIZE 4096M; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -Xms1024m -Xmx2048m -XX:MaxPermSize=512m \ | |
-Dweblogic.management.allowClearTextPasswords=true \ | |
-Dweblogic.management.GenerateDefaultConfig=true \ | |
-Dweblogic.management.username=weblogic \ | |
-Dweblogic.management.password=weblogic1 \ | |
weblogic.Server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROFILE=newProfile | |
# Create new profile | |
manageprofiles.sh -create \ | |
-profileName $PROFILE \ | |
-profilePath /opt/ibm/was/v7/profiles/$PROFILE \ | |
-templatePath /opt/ibm/was/v7/profileTemplates/default \ | |
-enableAdminSecurity false \ | |
-startingPort 31764 \ | |
-isDefault false \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET DEFINE ON | |
CREATE USER &1 IDENTIFIED BY password | |
DEFAULT TABLESPACE &2 | |
TEMPORARY TABLESPACE &3; | |
GRANT LPORTAL TO &1; | |
GRANT READ, WRITE ON DIRECTORY data_pump_dir TO &1; | |
ALTER USER &1 QUOTA UNLIMITED ON &2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/portal-impl/src/com/liferay/portal/service/impl/RoleLocalServiceImpl.java b/portal-impl/src/com/liferay/portal/service/impl/RoleLocalServiceImpl.java | |
index 65167cc..e6c8cf1 100644 | |
--- a/portal-impl/src/com/liferay/portal/service/impl/RoleLocalServiceImpl.java | |
+++ b/portal-impl/src/com/liferay/portal/service/impl/RoleLocalServiceImpl.java | |
@@ -828,7 +828,7 @@ public class RoleLocalServiceImpl extends RoleLocalServiceBaseImpl { | |
public Collection<Role> getTeamRoles(long groupId, long[] skipRoleIds) | |
throws PortalException, SystemException { | |
- Map<Team, Role> roles = getTeamRoleMap(groupId, null); | |
+ Map<Team, Role> roles = getTeamRoleMap(groupId, skipRoleIds); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.sun.management.HotSpotDiagnosticMXBean; | |
import java.lang.management.ManagementFactory; | |
import javax.management.MBeanServer; | |
/** | |
* Demonstrates heap allocation problem with String.substring() | |
* http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-May/010257.html | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.liferay.support.scheduler; | |
import com.liferay.portal.kernel.log.Log; | |
import com.liferay.portal.kernel.log.LogFactoryUtil; | |
import com.liferay.portal.kernel.messaging.DestinationNames; | |
import com.liferay.portal.kernel.messaging.Message; | |
import com.liferay.portal.kernel.portlet.LiferayPortletConfig; | |
import com.liferay.portal.kernel.scheduler.CronTrigger; | |
import com.liferay.portal.kernel.scheduler.SchedulerEngine; | |
import com.liferay.portal.kernel.scheduler.SchedulerEngineUtil; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
count=30 | |
delay=1 | |
pid=`jps -v | grep liferay | awk '{ print $1 }'` | |
if [ -n "${1}" ]; then | |
pid=$1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-06-22 12:24:48 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.72-b04 mixed mode): | |
"Attach Listener" daemon prio=10 tid=0x00007f90f8001800 nid=0x35ce waiting on condition [0x0000000000000000] | |
java.lang.Thread.State: RUNNABLE | |
Locked ownable synchronizers: | |
- None | |
"http-bio-9080-exec-1" daemon prio=10 tid=0x00007f9124065800 nid=0x3559 runnable [0x00007f901a611000] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"http-bio-9080-exec-1" daemon prio=10 tid=0x00007f9124065800 nid=0x3559 runnable [0x00007f901a611000] | |
java.lang.Thread.State: RUNNABLE | |
-------------------------------------------------------------------------------------------------------------------- | |
--------------------------------------- [[ WHAT DOES THE SUB-COMPONENT DO?]] --------------------------------------- | |
-------------------------------------------------------------------------------------------------------------------- | |
at java.net.SocketInputStream.socketRead0(Native Method) | |
at java.net.SocketInputStream.read(SocketInputStream.java:152) | |
at java.net.SocketInputStream.read(SocketInputStream.java:122) | |
at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:145) | |
at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:114) |
OlderNewer