Skip to content

Instantly share code, notes, and snippets.

View NolanChan's full-sized avatar

Nolan Chan NolanChan

View GitHub Profile
20-Apr-2017 01:05:37.030 SEVERE [localhost-startStop-1] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
java.lang.ClassNotFoundException: com.liferay.support.tomcat.webresources.ExtResourceSet
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:116)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1178)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1338)
20-Apr-2017 01:05:37.030 SEVERE [localhost-startStop-1] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
java.lang.ClassNotFoundException: com.liferay.support.tomcat.webresources.ExtResourceSet
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:116)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1178)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1338)
@NolanChan
NolanChan / gist:0bd9a977dda3cc07dff4e0ae5edbc934
Created January 24, 2017 23:59
Wiki-web npm install error
[exec] BUILD FAILED
[exec]
[exec] Total time: 2 mins 7.002 secs
[exec]
[exec] FAILURE: Build failed with an exception.
[exec]
[exec] * What went wrong:
[exec] Execution failed for task ':apps:collaboration:wiki:wiki-web:npmInstall'.
[exec] > java.io.IOException: Process '[/Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/bin/node, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/lib/node_modules/npm/bin/npm-cli.js, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/lib/node_modules/npm/bin/npm-cli.js, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/lib/node_modules/npm/bin/npm-cli.js, --cache, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/.cache, --loglevel, warn, --progress, true, install, --cache, /Users/nolancha
[exec] :apps:foundation:contacts:contacts-web:[email protected] /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web
[exec] └── (empty)
[exec]
[exec]
[exec] Note: Some input files use or override a deprecated API.
[exec] Note: Recompile with -Xlint:deprecation for details.
[exec] Note: /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/foundation/contacts/contacts-web/src/main/java/com/liferay/contacts/web/internal/portlet/ContactsCenterPortlet.java uses unchecked or unsafe operations.
[exec] Note: Recompile with -Xlint:unchecked for details.
[exec] npm WARN [email protected] No description
[exec] npm WARN [email protected] No repository field.
10-Nov-2016 16:33:28.625 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/nolanchan/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
10-Nov-2016 16:33:28.779 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
10-Nov-2016 16:33:28.801 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-Nov-2016 16:33:28.804 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
10-Nov-2016 16:33:28.806 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-Nov-2016 16:33:28.806 INFO [main] org.apache.catalina.startup.Catalina.load Initialization proce
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:701)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:567)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1896)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(XMLEntityScanner.java:1761)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(XMLEntityScanner.java:1799)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:156)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
2016-10-23 04:43:18.358997 -0700 INFO [PID-32475] [TID-ov9js6q6g] [aea935faed2632ebd79add9823e90450] [d3f0640b-da4b-4f53-aa31-04142836dde9] ***************WICKED***************
"***************[\"/Users/nolanchan/.rvm/gems/ruby-2.2.3@lale/bin/wkhtmltopdf\", \"-q\", \"--orientation\", \"Landscape\", \"file:////var/folders/pw/h5sfvhcs311938wgb1btv9tm0000gn/T/wicked_pdf20161023-32475-1fhdlqe.html\", \"/var/folders/pw/h5sfvhcs311938wgb1btv9tm0000gn/T/wicked_pdf_generated_file20161023-32475-jqbu5q.pdf\"]***************"
2016-10-23 04:43:23.462944 -0700 INFO [PID-32475] [TID-ov9js6q6g] [aea935faed2632ebd79add9823e90450] [d3f0640b-da4b-4f53-aa31-04142836dde9] method=GET path=/circles/1/members.pdf format=pdf controller=Circle::MembersController action=index status=200 duration=5461.45 view=1.34 db=213.20 params={"circle_id":"1"}
E, [2016-10-23T16:43:23.468704 #32475] ERROR -- : app error: Protocol wrong type for socket (Errno::EPROTOTYPE)
E, [2016-10-23T16:43:23.468886 #32475] ERROR -- : /Users/nolanchan/.rvm/gems
16:58:03,542 INFO [localhost-startStop-1][DialectDetector:148] Found dialect com.liferay.portal.dao.orm.hibernate.HSQLDialect
16:58:05,585 INFO [localhost-startStop-1][BundleStartStopLogger:35] STARTED org.eclipse.osgi_3.10.200.v20150831-0856 [0]
16:58:05,647 ERROR [Refresh Thread: Equinox Container: 307ff3de-d38f-0016-15d5-cf9c991ff654][AppResolverHook:72] Unable to resolve com.liferay.util.taglib
java.lang.IllegalStateException: Module has been uninstalled.
at org.eclipse.osgi.internal.framework.EquinoxBundle.checkValid(EquinoxBundle.java:938)
at org.eclipse.osgi.internal.framework.EquinoxBundle.getEntry(EquinoxBundle.java:661)
at com.liferay.portal.app.license.resolver.AppResolverHook._getAppLicenseProperties(AppResolverHook.java:146)
at com.liferay.portal.app.license.resolver.AppResolverHook._filterResolvable(AppResolverHook.java:95)
at com.liferay.portal.app.license.resolver.AppResolverHook.filterResolvable(AppResolverHook.java:69)
at org.eclipse.osgi.internal.framework.OSGiFrameworkHooks$CoreRes
org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.search.elasticsearch [46]_ Unresolved requirement: Import-Package: com.liferay.portal.search.analysis_ -> Export-Package: com.liferay.portal.search.analysis; bundle-symbolic-name="com.liferay.portal.search"; bundle-version="3.1.3"; version="2.0.1"_ com.liferay.portal.search [142]_ Unresolved requirement: Import-Package: com.liferay.portal.kernel.search.facet.faceted.searcher; version="[1.1.0,2.0.0)"_ [Sanitized]
at org.eclipse.osgi.container.Module.start(Module.java:429)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.
@NolanChan
NolanChan / error
Last active September 23, 2016 17:33
[exec] You are running an old version of liferay-theme-tasks
[exec] Run npm update liferay-theme-tasks to install newest version
[exec] Current version: 1.3.7 Latest version: 1.3.9
.
.
.
[exec] ├── [email protected]
[exec] └─┬ [email protected]
[exec] └── [email protected]
[exec]