Skip to content

Instantly share code, notes, and snippets.

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

Olivier Lamy olamy

🏃‍♂️
running
View GitHub Profile
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)
<profile>
<id>m2e</id>
<properties>
<m2BuildDirectory>target</m2BuildDirectory>
</properties>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<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 July 5, 2011 11:28
replace version in pom.xml
find . -name pom.xml | xargs -n1 perl -pi -e "s/1.0-SNAPSHOT/1.1-SNAPSHOT/g" {} \;
public void testProxiedRequest()
throws Exception
{
ProxyInfo proxyInfo = createProxyInfo();
TestHeaderHandler handler = new TestHeaderHandler();
runTestProxiedRequest( proxyInfo, handler );
}
not
<jaxrs:server id="bookservice" address="/">
<jaxrs:serviceBeans>
<ref bean="bookstore"/>
<ref bean="bookstoreInterface"/>
</jaxrs:serviceBeans>
</jaxrs:server>
but
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>
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
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/
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)