Skip to content

Instantly share code, notes, and snippets.

AUI().use("autocomplete", "autocomplete-highlighters", function (A) {
A.one('#<portlet:namespace/>academyName').plug(A.Plugin.AutoComplete, {
resultHighlighter: 'phraseMatch',
resultListLocator: 'orgs',
resultTextLocator: 'name',
queryDelimiter: ',',
minQueryLength: 3,
source: function(query) {
22:13:31,241 INFO [NetacadUserGroupRoleLocalServiceImpl:154] User: koencoelingh has no SFDC Contact ID! Should he? We were trying to add the following:
22:13:31,241 INFO [NetacadUserGroupRoleLocalServiceImpl:161] User koencoelingh is getting role: NetAcad Student for groupId: 1372748
22:13:31,830 INFO [DCTServiceUtil:45] Create Request for 108800 with email [email protected] productId ICND2-ST-NWA-640-816 and transactionId 32900957
22:13:32,108 WARN [VoucherRequestPersistenceImpl:464] No VoucherRequest exists with the primary key 0
22:13:32,112 ERROR [NetacadUserLocalServiceImpl:210]
com.instructure.voucher.NoSuchRequestException: No VoucherRequest exists with the primary key 0
at com.instructure.voucher.service.persistence.VoucherRequestPersistenceImpl.findByPrimaryKey(VoucherRequestPersistenceImpl.java:467)
at sun.reflect.GeneratedMethodAccessor3568.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.
19:00:54,609 ERROR [JGroupsCachePeer:109] Error serializing data, it will not be sent: [JGroupEventMessage [event=BOOTSTRAP_RESPONSE, cacheName=SalesforceQuery, serializableKey=Select Id from AccountContactRole where Acco
untId = '0018000000vkzccAAA' AND ContactId = '0038000001MD3v8AAD' AND Role = 'NetAcad Staff', element=[ key = Select Id from AccountContactRole where AccountId = '0018000000vkzccAAA' AND ContactId = '0038000001MD3v8AAD' A
ND Role = 'NetAcad Staff', value=com.sforce.soap.partner.QueryResult@4d0, version=1, hitCount=0, CreationTime = 1359054053825, LastAccessTime = 1359054053825 ]], JGroupEventMessage [event=BOOTSTRAP_RESPONSE, cacheName=Sal
esforceQuery, serializableKey=SELECT Institution_ID__c, Name FROM Account WHERE RecordTypeId = '01280000000BeAaAAK' and Institution_ID__c in ('10395'), element=[ key = SELECT Institution_ID__c, Name FROM Account WHERE Rec
ordTypeId = '01280000000BeAaAAK' and Institution_ID__c in ('10395'), value=com.sforce.soap.partner.QueryResult@877206aa, version=1, hitC
[longfalcon@leviathan downloads]$ nslookup netacadadvantage-test.cisco.instructure.com
Server: 10.0.101.251
Address: 10.0.101.251#53
Non-authoritative answer:
netacadadvantage-test.cisco.instructure.com canonical name = ec2-50-16-5-117.compute-1.amazonaws.com.
Name: ec2-50-16-5-117.compute-1.amazonaws.com
Address: 50.16.5.117
[longfalcon@leviathan downloads]$ nslookup netacadadvantage.netacadtrial.com
lportal.public=> select * from quartz2_scheduler_state;
sched_name | instance_name | last_checkin_time | checkin_interval
--------------------------------------+---------------------------------------------------------------+-------------------+------------------
VoucherQuartzSchedulerEngineInstance | liferayapp01-vpc.us-east-1.cisco-prod.insops.net1357859538594 | 1358967918705 | 20000
VoucherQuartzSchedulerEngineInstance | liferayapp07-vpc.us-east-1.cisco-prod.insops.net1357340106079 | 1358967918709 | 20000
VoucherQuartzSchedulerEngineInstance | liferayapp02-vpc.us-east-1.cisco-prod.insops.net1357859607490 | 1358967921197 | 20000
VoucherQuartzSchedulerEngineInstance | liferayapp06-vpc.us-east-1.cisco-prod.insops.net1357340098321 | 1358967918980 | 20000
VoucherQuartzSchedulerEngineInstance | liferayapp03-vpc.us-east-1.cisco-prod.insops.net1357858845064 | 135896792198
16:58:44,926 ERROR [PortletServlet:97] javax.portlet.PortletException: org.apache.jasper.JasperException: An exception occurred processing JSP page /manage/update_academy.jsp at line 210
207: }
208:
209: boolean contactAdmin = PortletPermissionUtil.contains(
210: permissionChecker, organization.getGroupId(), null,
211: CiscoConstants.CISCO_PERMISSIONS_PORTLET_ID,
212: CiscoConstants.PERMISSION_UPDATE_ACADEMY_CONTACT);
213: %>
14:54:34,584 ERROR [BasePortalLifecycle:45] java.lang.IllegalMonitorStateException
java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239)
at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
at com.liferay.portal.kernel.concurrent.LockRegistry.freeLock(LockRegistry.java:132)
at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:104)
at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)