This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12:16:25,021 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "error-reporting-1.0-SNAPSHOT.jar")]) - failure description: { | |
"WFLYCTL0412: Required services that are not installed:" => [ | |
"jboss.deployment.unit.\"error-reporting-1.0-SNAPSHOT.jar\".component.OkEjb5.WeldInstantiator", | |
"jboss.deployment.unit.\"error-reporting-1.0-SNAPSHOT.jar\".component.OkEjb1.WeldInterceptorBindingsService", | |
"jboss.deployment.unit.\"error-reporting-1.0-SNAPSHOT.jar\".component.OkEjb1.START", | |
"jboss.deployment.unit.\"error-reporting-1.0-SNAPSHOT.jar\".component.OkEjb7.WeldInstantiator", | |
"jboss.deployment.unit.\"error-reporting-1.0-SNAPSHOT.jar\".component.OkEjb3.WeldInterceptorBindingsService", | |
"jboss.deployment.unit.\"error-reporting-1.0-SNAPSHOT.jar\".component.OkEjb1.WeldInstantiator", | |
"jboss.deployment.unit.\"error-reporting-1.0-SNAPSHOT.jar\".component.OkEjb5.START", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl=org.apache.xerces | |
org.apache.xerces.jaxp.DocumentBuilderImpl=org.apache.xerces | |
org.apache.xerces.jaxp.JAXPConstants=org.apache.xerces | |
org.apache.xerces.jaxp.SAXParserFactoryImpl=org.apache.xerces | |
org.apache.xerces.jaxp.SAXParserImpl=org.apache.xerces | |
org.apache.xerces.xs.PSVIProvider=org.apache.xerces | |
org.apache.xalan.xsltc.trax.TransformerFactoryImpl=org.apache.xalan | |
org.apache.xalan.xsltc.compiler.SourceLoader=org.apache.xalan | |
org.apache.xalan.xsltc.trax.TransformerImpl=org.apache.xalan | |
org.apache.xalan.xsltc.DOMCache=org.apache.xalan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New invocation | |
00002346 00 00 00 07 32 b9 00 46 9e fb 30 ....2..F ..0 | |
00002351 00 00 03 12 30 b9 00 46 9e 61 fe 03 03 9e 0c 04 ....0..F .a...... | |
00002361 04 09 00 00 00 22 6f 72 67 2e 6a 62 6f 73 73 2e ....."or g.jboss. | |
00002371 65 6a 62 2e 63 6c 69 65 6e 74 2e 45 4a 42 49 64 ejb.clie nt.EJBId | |
00002381 65 6e 74 69 66 69 65 72 62 0e 35 e3 b8 0f cc a8 entifier b.5..... | |
00002391 00 00 00 04 00 00 00 07 61 70 70 4e 61 6d 65 16 ........ appName. | |
000023A1 00 00 00 00 08 62 65 61 6e 4e 61 6d 65 16 00 00 .....bea nName... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.servlet.ServletContextEvent; | |
import javax.servlet.ServletContextListener; | |
import javax.servlet.annotation.WebListener; | |
/** | |
* @author Stuart Douglas | |
*/ | |
@WebListener | |
public class SessionIDChangeListener implements ServletContextListener { | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:stop-servers | |
/server-group=lb:add(profile=load-balancer, socket-binding-group=load-balancer-sockets) | |
/host=master/server-config=la:add(group=lb) | |
/server-group=ha:add(profile=ha, socket-binding-group=ha-sockets) | |
/host=master/server-config=s1:add(group=ha, socket-binding-port-offset=100) | |
deploy ~/workspace/modcluster-example/load-balancing-demo/target/clustering-demo.war --server-groups=ha | |
/server-group=ha:start-servers | |
/server-group=lb:start-servers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MagicLand { | |
static { | |
try { | |
Field field = Math.class.getDeclaredField("randomNumberGenerator"); | |
field.setAccessible(true); | |
field.set(null, new Random() { | |
@Override | |
public double nextDouble() { | |
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MagicLand { | |
public static void main(String[] args) { | |
for (int i = 0; i < (Math.random() * 500) + 2; i++) { | |
if (Unicorn.pat()) { | |
System.out.println("UNICORN #1: PAT THIS UNICORN ONCE"); | |
} | |
} | |
for (int i = 0; i < (Math.random() * 500) + 2; i++) { | |
if (Unicorn.pat()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MagicLand { | |
static { | |
try { | |
Field field = Math.class.getDeclaredField("randomNumberGenerator"); | |
field.setAccessible(true); | |
field.set(null, new Random() { | |
@Override | |
public double nextDouble() { | |
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Working backwards: | |
HEAD(Effectivly 'Use our LTQ') = 96k | |
Do not use linked transfer queue in the buffer pool = 117k | |
Add a per-thread queue to the buffer pool = 110k | |
Fix problem where class cannot be linked due to a catch clause for a missing exception type = 108k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subsystem name="undertow" > | |
<worker accept-threads="5" read-threads="5" write-threads="5" > | |
<high-water-mark value="10000" /> | |
... more options.... | |
</worker> | |
<http-listener name="listener1" socket="my-binding" handler="myHandlerChain"> | |
<tcp-nodelay value="true" > | |
</http-listener> |