Skip to content

Instantly share code, notes, and snippets.

View olamy's full-sized avatar
🏃‍♂️
running

Olivier Lamy olamy

🏃‍♂️
running
View GitHub Profile
mb-olamy:bin olamy$ ./archiva console
Running Apache Archiva...
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 |
jvm 1 | WARNING - Unable to load the Wrapper's native library because none of the
jvm 1 | following files:
public class PathTrackingEntry
{
/**
* a generated id to follow up the path call
*/
private String trackingId;
/**
* the current entry id
Feb 18, 2014 12:09:10 PM hudson.model.ItemGroupMixIn loadChildren
WARNING: could not load /x1/jenkins/jenkins-home/jobs/ServiceMix-Features/modules/org.apache.servicemix.examples$cxf-http-osgi
java.io.FileNotFoundException: /x1/jenkins/jenkins-home/jobs/ServiceMix-Features/modules/org.apache.servicemix.examples$cxf-http-osgi/config.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at hudson.XmlFile.read(XmlFile.java:140)
at hudson.model.Items.load(Items.java:222)
at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:101)
at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:761)
at hudson.model.Items.load(Items.java:223)
unit test start:
classA#methodA start level 1
classA#methodA stop level 1 -> save new trackingID
classB#methodA start -> level1
classB#methodA stop -> level1 -> save new trackingID
sucks!!! :-)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
<version>2</version>
<repositoryScanning><fileTypes>
<fileType>
<id>artifacts</id>
<patterns>
<pattern>**/*.pom</pattern>
<pattern>**/*.jar</pattern>
<pattern>**/*.ear</pattern>
@olamy
olamy / gist:9773108
Created March 25, 2014 22:44
Jenkins loading not cleaning
Mar 25, 2014 10:43:32 PM hudson.model.ItemGroupMixIn loadChildren
WARNING: could not load /x1/jenkins/jenkins-home/jobs/DeltaSpike Examples/modules/org.apache.deltaspike.cdise$deltaspike-cdise-api
java.io.FileNotFoundException: /x1/jenkins/jenkins-home/jobs/DeltaSpike Examples/modules/org.apache.deltaspike.cdise$deltaspike-cdise-api/config.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at hudson.XmlFile.read(XmlFile.java:140)
at hudson.model.Items.load(Items.java:275)
at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:105)
at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:761)
at hudson.model.Items.load(Items.java:276)
zip file
/lib/springbot generated jar
/agent/javaagent jars
/conf/
/bin
pom contains dependencies to javaagent jars and I don't want them included in the springbot generated jar
<redbackRuntimeConfiguration>
...
<userManagerImpls><userManagerImpl>jdo</userManagerImpl><userManagerImpl>ldap</userManagerImpl></userManagerImpls>
<rbacManagerImpls><rbacManagerImpl>ldap</rbacManagerImpl><rbacManagerImpl>jdo</rbacManagerImpl></rbacManagerImpls>
...
</redbackRuntimeConfiguration>
### Keybase proof
I hereby claim:
* I am olamy on github.
* I am olamy (https://keybase.io/olamy) on keybase.
* I have a public key whose fingerprint is F254 B356 17DC 255D 9344 BCFA 873A 8E86 B437 2146
To claim this, I am signing this object:
@olamy
olamy / gist:7eaab4ca6cf2841af2e7
Created October 10, 2014 00:43
Apache Maven and JDK 8
Read https://jira.codehaus.org/browse/MEXEC-145
Simply add -XX:CICompilerCount=1 -XX:TieredStopAtLevel=1 to MAVEN_OPTS