Skip to content

Instantly share code, notes, and snippets.

12:55:20,952 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./ag-push: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ag-push: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:216)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:86)
at org.wildfly.extension.undertow.de
@lfryc
lfryc / gist:2bd19370d59b66f0e7eb
Created May 1, 2014 13:23
Data Synchronization Projects
http://couchdb.apache.org/
https://cloudant.com/blog/pouchdb/#.U2I4w3Un9XM
http://remotestorage.io/
https://github.com/creationix/jsgit
@lfryc
lfryc / ByNG.java
Last active August 29, 2015 14:00
Graphene / Angular integration
package io.graphene.ng;
import java.lang.annotation.Annotation;
import java.util.List;
import org.jboss.arquillian.graphene.findby.ByJQuery;
import org.jboss.arquillian.graphene.spi.findby.LocationStrategy;
import org.openqa.selenium.By;
import org.openqa.selenium.SearchContext;
import org.openqa.selenium.WebElement;
/**
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
@lfryc
lfryc / gist:9366205
Last active August 29, 2015 13:57
Docker for arquillian.github.com development with Awestruct
image based on paintedfox/ruby
download and run image (as root)
$ docker pull lfryc/arquillian-awestruct
$ docker run -p 4242:4242 -i -t lfryc/arquillian-awestruct /bin/bash
this has exposed the running system on your machine's port 4242
once in the image:
@lfryc
lfryc / Foo.java
Created February 5, 2014 10:19 — forked from jhuska/Foo.java
@Override
public boolean canEnhance(InstanceOrCallableInstance instance, Class<?> droneType, Class<? extends Annotation> qualifier) {
if (RemoteWebDriver.class == droneType || ReusableRemoteWebDriver.class == droneType) {
return true;
}
Class<?> realInstanceClass = instance.asInstance(droneType).getClass();
if (RemoteWebDriver.class == realInstanceClass || ReusableRemoteWebDriver.class == realInstanceClass)
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 8.x
#author :Dmitriy Sukharev
#date :20131222
#usage :/bin/bash wildfly-install.sh
WILDFLY_VERSION=8.0.0.CR1
WILDFLY_FILENAME=wildfly-$WILDFLY_VERSION
WILDFLY_ARCHIVE_NAME=$WILDFLY_FILENAME.tar.gz
/**
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
/**
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
@lfryc
lfryc / gist:7892521
Created December 10, 2013 15:33
jboss-javaee6-webapp fails on WildFly 8.0.0.Beta2-SNAPSHOT Caused by: javax.faces.application.ViewExpiredException: viewId:/index.jsf - View /index.jsf could not be restored.
16:31:58,758 DEBUG [org.jboss.weld.Conversation] (default task-4) WELD-000327: Resuming conversation with id null
16:31:58,761 FINE [javax.enterprise.resource.webcontainer.jsf.application] (default task-4) servletPath /index.jsf
16:31:58,761 FINE [javax.enterprise.resource.webcontainer.jsf.application] (default task-4) pathInfo null
16:31:58,761 FINE [javax.enterprise.resource.webcontainer.jsf.application] (default task-4) URL pattern of the FacesServlet executing the current request .jsf
16:31:58,762 FINE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (default task-4) execute(com.sun.faces.context.FacesContextImpl@5849fd1d)
16:31:58,762 FINE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (default task-4) Entering RestoreViewPhase
16:32:06,149 FINE [javax.enterprise.resource.webcontainer.jsf.application] (default task-4) URL pattern of the FacesServlet executing the current request .jsf
16:32:06,149 FINE [javax.enterprise.resource.webcontainer.jsf.application] (default task-4) Unable to