Raymond Augé rotty3000

View load.js
1 2 3 4 5 6 7 8 9 10
(function (document) {
var slideString = function() {
return window.location.hash.substring(1);
};
 
var setHash = function(hash) {
var id = hash;
var elem = document.getElementById(id);
 
if (elem) {
View log.log
1 2 3 4 5 6 7 8 9 10
Mar 11, 2014 5:31:26 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
Mar 11, 2014 5:31:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Mar 11, 2014 5:31:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Mar 11, 2014 5:31:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 499 ms
Mar 11, 2014 5:31:26 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
View LoginPortletActionFilter.java
1 2 3 4 5 6 7 8 9 10
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
View 4_threads.lob
1 2 3 4 5 6 7 8
[java] Benchmark Mode Thr Count Sec Mean Mean error Units
[java] c.l.j.p.e.EventsPerformanceTest.array thrpt 4 200 1 40868.206 68.055 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.eventProcessorUtil_process_classNames thrpt 4 200 1 16099.645 28.735 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.eventProcessorUtil_process_registered thrpt 4 200 1 32784.652 60.586 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.list thrpt 4 200 1 41045.476 82.463 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.serviceTrackerCollection thrpt 4 200 1 41143.900 69.304 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.serviceTrackerCollection_ToArray thrpt 4 200 1 35950.619 223.727 ops/ms
View 4_thread_summary_result.log
1 2 3 4 5 6 7 8
[java] Benchmark Mode Thr Count Sec Mean Mean error Units
[java] c.l.j.p.e.EventsPerformanceTest.array thrpt 4 200 1 40868.206 68.055 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.eventProcessorUtil_process_classNames thrpt 4 200 1 16099.645 28.735 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.eventProcessorUtil_process_registered thrpt 4 200 1 32784.652 60.586 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.list thrpt 4 200 1 41045.476 82.463 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.serviceTrackerCollection thrpt 4 200 1 41143.900 69.304 ops/ms
[java] c.l.j.p.e.EventsPerformanceTest.serviceTrackerCollection_ToArray thrpt 4 200 1 35950.619 223.727 ops/ms
View SampleOSGiPortlet_One.java
1 2 3 4 5 6 7 8 9 10
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
View readme.md

Liferay is in the initial phase of semantically versioning all it's java source code. Yay! What?

If you don't know what semantic versioning is, here are two essential references on the subject:

http://semver.org/

Summary

Given a version number MAJOR.MINOR.PATCH, increment the:

View notes.md
  • edit <profile_root>/config/cells/<cell_name>/nodes/<node_name>/app.policy
  • in each "grant" section replace content by permission java.security.AllPermission;
  • add the following to the end of the same file
grant codeBase "file:${was.install.root}/lib/-" {
  permission java.security.AllPermission;
};
View error.log
1 2 3 4 5 6 7 8 9 10
[03/10/13 9:17:45:822 EDT] 0000012c ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause /html/common/themes/portal.jsp: com.ibm.websphere.servlet.error.ServletErrorReport: java.lang.NoClassDefFoundError: com.liferay.taglib.theme.IncludeTag &#40;initialization failure&#41;
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
at com.ibm._jsp._portal._jspService(_portal.java:443)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.wsspi.webcontainer.servlet
View gist:6629177
1 2 3 4 5 6 7 8 9 10
[#|2013-09-19T20:08:49.110+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=43;_ThreadName=AutoDeployer;|20:08:49,104 ERROR [AutoDeployer][ServerCapabilitiesUtil:92] Unable to determine server capabilities
java.lang.UnsupportedOperationException
at org.eclipse.osgi.framework.util.Headers.entrySet(Headers.java:299)
at com.liferay.portal.server.DeepNamedValueScanner._scanMap(DeepNamedValueScanner.java:468)
at com.liferay.portal.server.DeepNamedValueScanner._scan(DeepNamedValueScanner.java:442)
at com.liferay.portal.server.DeepNamedValueScanner._scanObject(DeepNamedValueScanner.java:522)
at com.liferay.portal.server.DeepNamedValueScanner._scan(DeepNamedValueScanner.java:451)
at com.liferay.portal.server.DeepNamedValueScanner._scanObject(DeepNamedValueScanner.java:522)
at com.liferay.portal.server.DeepNamedValueScanner._scan(DeepNamedValueScanner.java:451)
at com.liferay.portal.server.DeepNamedValueScanner._scanObject(DeepNamedValueScanner.java:522)
Something went wrong with that request. Please try again.