Skip to content

Instantly share code, notes, and snippets.

View rogelio-blanco's full-sized avatar

Rogelio Blanco rogelio-blanco

  • Costa Rica
View GitHub Profile
@rogelio-blanco
rogelio-blanco / license-as-csv.ftl
Created May 23, 2018 04:32
license-maven-plugin as csv using freemarker template
<#-- To render the third-party file.
URL: https://gist.github.com/matthesrieke/8819894
Available context :
- dependencyMap a collection of Map.Entry with
key are dependencies (as a MavenProject) (from the maven project)
values are licenses of each dependency (array of string)
- licenseMap a collection of Map.Entry with
09:30:40,219 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ServerService Thread Pool -- 79) No Spring WebApplicationInitializer types detected on classpath
09:30:42,634 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ServerService Thread Pool -- 79) com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
09:30:43,228 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ServerService Thread Pool -- 79) JBWEB000289: Servlet CMIS threw load() exception: java.lang.NullPointerException
at com.dotcms.repackage.org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.init(CmisAtomPubServlet.java:122) [dot.chemistry-opencmis-server-bindings-0.8.0_4.jar:0.8.0]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbo
15:20:32,865 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ServerService Thread Pool -- 84) No Spring WebApplicationInitializer types detected on classpath
15:20:35,239 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ServerService Thread Pool -- 84) com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
15:20:47,001 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ServerService Thread Pool -- 84) JBWEB000289: Servlet Init threw load() exception: java.lang.IllegalStateException: Detected both jcl-over-slf4j.jar AND slf4j-jcl.jar on the class path, preempting StackOverflowError. See also http://www.slf4j.org/codes.html#jclDelegationLoop for more details.
at com.dotcms.repackage.org.slf4j.impl.JCLLoggerFactory.<clinit>(JCLLoggerFactory.java:54) [dot.slf4j-jcl-1.7.12_2.jar:1.7.12]
at com.dotcms.repackage.org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:72) [dot.sl
15:02:16,342 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-11) Setting the server's publish address to be http://localhost:8080/MultiFilingService
15:02:16,342 INFO [org.apache.cxf.common.injection.ResourceInjector] (MSC service thread 1-11) failed to resolve resource com.dotcms.repackage.org.apache.chemistry.opencmis.server.impl.webservices.MultiFilingService/wsContext
15:02:16,346 INFO [org.jboss.ws.cxf.deployment] (MSC service thread 1-11) JBWS024074: WSDL published to: file:/Users/rogelioblanco/EAP-6.4.0/standalone/data/wsdl/dotcms.war/MultiFilingServiceService.wsdl
15:02:16,347 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-11) Creating Service {http://webservices.impl.server.opencmis.chemistry.apache.org.repackage.dotcms.com/}AclServiceService from class com.dotcms.repackage.org.apache.chemistry.opencmis.commons.impl.jaxb.ACLServicePort
15:02:16,368 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-11) Setting the server's pu
12:17:16,688 INFO [org.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=com.dotcms.repackage.org.apache.chemistry.opencmis.server.impl.webservices.ObjectService
address=http://localhost:8080/ObjectService
implementor=com.dotcms.repackage.org.apache.chemistry.opencmis.server.impl.webservices.ObjectService
serviceName={http://webservices.impl.server.opencmis.chemistry.apache.org.repackage.dotcms.com/}ObjectServiceService
portName={http://webservices.impl.server.opencmis.chemistry.apache.org.repackage.dotcms.com/}ObjectServicePort
annotationWsdlLocation=null
wsdlLocationOverride=null
mtomEnabled=false
12:17:16,688 INFO [org.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=com.dotcms.repackage.org.apache.chemistry.opencmis.server.impl.webservices.PolicyService
address=http://localhost:8080/PolicyService
@rogelio-blanco
rogelio-blanco / post-hook-test.java
Created September 9, 2015 19:22
Post Hook Test
package com.dotmarketing.osgi.hooks;
import java.util.List;
import com.dotmarketing.beans.Host;
import com.dotmarketing.beans.Permission;
import com.dotmarketing.exception.DotDataException;
import com.dotmarketing.portlets.categories.model.Category;
import com.dotmarketing.portlets.contentlet.business.ContentletAPIPostHookAbstractImp;
import com.dotmarketing.portlets.contentlet.model.Contentlet;
package com.dotmarketing.osgi.hooks;
import java.util.List;
import com.dotmarketing.beans.Host;
import com.dotmarketing.beans.Permission;
import com.dotmarketing.exception.DotDataException;
import com.dotmarketing.portlets.categories.model.Category;
import com.dotmarketing.portlets.contentlet.business.ContentletAPIPreHookAbstractImp;
import com.dotmarketing.portlets.contentlet.model.Contentlet;
14-Jul-2015 20:11:20.661 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
14-Jul-2015 20:11:20.661 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
14-Jul-2015 20:11:20.724 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
14-Jul-2015 20:11:20.786 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
14-Jul-2015 20:11:20.833 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
14-Jul-2015 20:11:20.896 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
14-Jul-2015 20:11:20.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
14-Jul-2015 20:11:20.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
14-Jul