Skip to content

Instantly share code, notes, and snippets.

View luksa's full-sized avatar

Marko Lukša luksa

View GitHub Profile
#foo
#Fri Jan 11 12:21:28 CET 2013
loggers=org.jgroups,org.jboss.vfs,org.hibernate.search,org.picketbox,org.hornetq,org.infinispan,org.picketlink,org.apache.lucene,org.jboss.modules,org.jboss.capedwarf,org.apache.velocity,org.jboss.as,org.javassist
logger.useParentHandlers=true
logger.handlers=CAPEDWARF
logger.level=FINER
handler.CAPEDWARF.level=ALL
handler.CAPEDWARF.module=org.jboss.as.capedwarf
java.io.NotSerializableException: org.jboss.arquillian.testenricher.cdi.MethodParameterInjectionPoint
- field (class "org.jboss.weld.serialization.InjectionPointHolder$NoopInjectionPointIdentifier", name: "ip", type: "interface javax.enterprise.inject.spi.InjectionPoint")
- object (class "org.jboss.weld.serialization.InjectionPointHolder$NoopInjectionPointIdentifier", org.jboss.weld.serialization.InjectionPointHolder$NoopInjectionPointIdentifier@4717c9d1)
- field (class "org.jboss.weld.serialization.InjectionPointHolder", name: "identifier", type: "interface org.jboss.weld.serialization.InjectionPointHolder$InjectionPointIdentifier")
- object (class "org.jboss.weld.serialization.InjectionPointHolder", org.jboss.weld.serialization.InjectionPointHolder@23c0ce0d)
- field (class "org.jboss.weld.injection.SerializableForwardingInjectionPoint", name: "ip", type: "class org.jboss.weld.serialization.InjectionPointHolder")
- object (class "org.jboss.weld.injection.SerializableForwardingInjectionPoint", org.jbos
22:32:00,423 ERROR [stderr] (default task-54) Exception in thread "default task-54" org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.SessionScoped
22:32:00,423 ERROR [stderr] (default task-54) at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:670)
22:32:00,423 ERROR [stderr] (default task-54) at org.jboss.weld.util.ForwardingBeanManager.getContext(ForwardingBeanManager.java:181)
22:32:00,423 ERROR [stderr] (default task-54) at org.jboss.weld.tests.contexts.sessionInvalidation.MySessionListener.sessionDestroyed(MySessionListener.java:37)
22:32:00,423 ERROR [stderr] (default task-54) at io.undertow.servlet.core.ApplicationListeners.sessionDestroyed(ApplicationListeners.java:235)
22:32:00,424 ERROR [stderr] (default task-54) at io.undertow.servlet.core.SessionListenerBridge.sessionDestroyed(SessionListenerBridge.java:45)
22:32:00,424 ERROR [stderr] (default task-54) at io.undertow.server.session.SessionLis
#/bin/sh
echo ssh-ing to docker container $1 \(port `docker port $1 22 | sed 's/.*://'`\)
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PreferredAuthentications=password fabric8@localhost -p `docker port $1 22 | sed 's/.*://'`
@luksa
luksa / gist:d95ecf318b5e57f811bd
Last active August 29, 2015 14:02
ssh into fabric8 docker container by container id (e.g. sshf 5043fb)
#/bin/sh
# Store this into a file called "sshf" and do a chmod +x on it.
# Then simply do a "docker ps" to see the container id and then invoke "sshf <container id>" to ssh into
# that container
echo ssh-ing to docker container $1 \(port `docker port $1 22 | sed 's/.*://'`\)
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PreferredAuthentications=password fabric8@localhost -p `docker port $1 22 | sed 's/.*://'`
2014-06-27 09:03:36,222 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "io.fabric8.generated.fabric-profile-1.0.0.jar" (runtime-name: "io.fabric8.generated.fabric-profile-1.0.0.jar")
2014-06-27 09:03:36,229 DEBUG [org.jboss.as.server.deployment] (MSC service thread 1-1) Found Extension-Name manifest entry null in /content/io.fabric8.generated.fabric-profile-1.0.0.jar
2014-06-27 09:03:36,231 ERROR [org.jboss.as.controller.management-operation] (pool-3-thread-1) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "io.fabric8.generated.fabric-profile-1.0.0.jar")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"io.fabric8.generated.fabric-profile-1.0.0.jar\".REGISTER is missing [jboss.wildfly.gravia.Repository]"]}
2014-06-27 09:03:36,232 ERROR [org.jboss.as.server] (pool-3-thread-1) JBAS015870: Deploy of deployment "io.fabric8.generated.fabric-profile-1.0.0.jar" was rolled back
@luksa
luksa / openshift-wildfly-config.json
Last active August 29, 2015 14:12
An OpenShift V3 Application Config for deploying two replicas of WildFly
{
"kind": "Config",
"id": "wildfly-config",
"apiVersion": "v1beta1",
"name": "JBoss WildFly",
"description": "Creates a JBoss WildFly cluster",
"items": [
{
"kind": "Service",
"id": "wildfly-http-service",
if (foo == null) {
synchronized (this) {
if (foo == null) {
foo = createFoo();
}
}
}
return foo;
$ sudo iptables --list -t nat -n
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
KUBE-SERVICES all -- 0.0.0.0/0 0.0.0.0/0 /* kubernetes service portals */
DOCKER all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)