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
<repositories> | |
<repository> | |
<id>jboss-eap-repository</id> | |
<url>http://maven.repository.redhat.com/techpreview/all</url> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> |
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
<build> | |
<!-- Maven will append the version to the finalName (which is the name | |
given to the generated war, and hence the context root) --> | |
<finalName>${project.artifactId}</finalName> | |
<plugins> | |
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>${version.war.plugin}</version> | |
<configuration> | |
<!-- Java EE 6 doesn't require web.xml, Maven needs to catch up! --> |
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
<HTML> | |
<HEAD> | |
<TITLE>JBossEAP6.0 JSP snoop page</TITLE> | |
<%@ page import="javax.servlet.http.HttpUtils,java.util.Enumeration" %> | |
<%@ page import="java.lang.management.*" %> | |
<%@ page import="java.util.*" %> | |
</HEAD> | |
<BODY> | |
<H1>WebApp JSP Snoop page</H1> |
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
<!-- It is either needed to turn on pre-emptive authentication for the repository server by --> | |
<server> | |
<id>guvnor-m2-repo</id> | |
<username>admin</username> | |
<password>admin</password> | |
<configuration> | |
<wagonProvider>httpclient</wagonProvider> | |
<httpConfiguration> | |
<all> | |
<usePreemptive>true</usePreemptive> |
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
#!/bin/bash | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 start|stop|pause|unpause|<any valid docker cmd>" | |
exit 1 | |
fi | |
for c in $(sudo docker ps -a | awk '{print $1}' | sed "1 d") | |
do | |
sudo docker $1 $c |
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
java -cp . com.your.project.MainClass -Djgroups.bind_addr=127.0.0.1 -Djava.net.preferIPv4Stack=true |
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
<infinispan | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:infinispan:config:7.0 http://www.infinispan.org/schemas/infinispan-config-7.0.xsd" | |
xmlns="urn:infinispan:config:7.0"> | |
<jgroups> | |
<stack-file name="udp" path="default-configs/default-jgroups-udp.xml"/> | |
<stack-file name="tcp" path="default-configs/default-jgroups-tcp.xml"/> | |
</jgroups> | |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<infinispan | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:infinispan:config:7.0 http://www.infinispan.org/schemas/infinispan-config-7.0.xsd" | |
xmlns="urn:infinispan:config:7.0"> | |
<cache-container default-cache="default" > | |
<local-cache name="evictionCache"> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:camel="http://camel.apache.org/schema/spring" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> | |
<bean id="helloBean" class="br.net.rafaeltuelho.MyBean"/> | |
<bean id="route" class="br.net.rafaeltuelho.MyCamelRouteImpl"/> |
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
<distributionManagement> | |
<repository> | |
<id>releases</id> | |
<name>Releases</name> | |
<url>http://my.internal.nexus.com/nexus/content/repositories/releases</url> | |
</repository> | |
<snapshotRepository> | |
<id>snapshots</id> | |
<name>Snapshots</name> | |
<url>http://my.internal.nexus.com/nexus/content/repositories/snapshots</url> |