Skip to content

Instantly share code, notes, and snippets.

Avatar
🏃‍♂️
running

Olivier Lamy olamy

🏃‍♂️
running
View GitHub Profile
View gist:898184
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Apr 1, 2011 1:55:18 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class net.stax.appserver.webapp.FirstServletContextListener
java.lang.NoClassDefFoundError: org/apache/log4j/AppenderSkeleton
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at com.staxnet.appserver.jmx.ApplicationObjectFactory$InjectableClassLoader.initClass(ApplicationObjectFactory.java:75)
at com.staxnet.appserver.jmx.ApplicationObjectFactory$InjectableClassLoader.loadClass(ApplicationObjectFactory.java:58)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
View gist:1027195
<profile>
<id>m2e</id>
<properties>
<m2BuildDirectory>target</m2BuildDirectory>
</properties>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
View gist:1063843
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<executions>
<execution>
<id>attach-descriptor</id>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
@olamy
olamy / gist:1064676
Created Jul 5, 2011
replace version in pom.xml
View gist:1064676
find . -name pom.xml | xargs -n1 perl -pi -e "s/1.0-SNAPSHOT/1.1-SNAPSHOT/g" {} \;
View gist:1124016
public void testProxiedRequest()
throws Exception
{
ProxyInfo proxyInfo = createProxyInfo();
TestHeaderHandler handler = new TestHeaderHandler();
runTestProxiedRequest( proxyInfo, handler );
}
View gist:1134927
not
<jaxrs:server id="bookservice" address="/">
<jaxrs:serviceBeans>
<ref bean="bookstore"/>
<ref bean="bookstoreInterface"/>
</jaxrs:serviceBeans>
</jaxrs:server>
but
View gist:1135074
to prevent
Cannot convert value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session'
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<exclusions>
<exclusion>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-javamail</artifactId>
View gist:1141642
2011-08-12 09:26:56,178 [qtp16720915-18] DEBUG org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor - Cleanup thread local variables
2011-08-12 09:26:56,183 [qtp16720915-18] WARN org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://services.rest.redback.codehaus.org/}DefaultUserService has thrown exception, unwinding now
java.lang.NullPointerException
at org.codehaus.redback.rest.services.interceptors.AbstractInterceptor.getRedbackAuthorization(AbstractInterceptor.java:55)
at org.codehaus.redback.rest.services.interceptors.AuthenticationInterceptor.handleRequest(AuthenticationInterceptor.java:58)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:185)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:88)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:118)
at org.apache
View gist:1141905
svn co http://svn.codehaus.org/redback/redback/trunk/ redback
cd redback
mvn install -Dtest=LoginServiceTest -DfailIfNoTests=false -pl redback-rest/redback-rest-services/ -am
everthing is in the modules under redback-rest
interface and beans in redback-rest/redback-rest-api/
impl and test in redback-rest/redback-rest-services/
View gist:1148687
INFO: Loaded all jobs
16 août 2011 10:51:15 jenkins.model.Jenkins$6 onTaskFailed
GRAVE: Failed NullIdDescriptorMonitor.verifyId
java.lang.Error: java.lang.reflect.InvocationTargetException
at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114)
at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:795)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
You can’t perform that action at this time.