Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Charles Moulliard cmoulliard

🏠
Working from home
View GitHub Profile
View -
public class WebServiceRouting {
@Inject @ContextName("cxf")
private CamelContext ctx;
View -
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.fusesource.workshop.cdi.cxf.WebServiceCamelCdiDeploymentTest
[ main] Version INFO WELD-000900 1.1.5 (Final)
Oct 18, 2013 5:15:17 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.config.ConfigurationExtension activated=true
Oct 18, 2013 5:15:17 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension activated=true
Oct 18, 2013 5:15:17 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
View -
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.fusesource.workshop.cdi.cxf.WebServiceCamelCdiDeploymentTest
[ main] Version INFO WELD-000900 1.1.5 (Final)
Oct 18, 2013 6:38:43 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension activated=true
Oct 18, 2013 6:38:43 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.exclude.GlobalAlternative activated=true
Oct 18, 2013 6:38:43 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
View -
ID: 2
Address: http://localhost:9090/cxf/service
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml;charset=UTF-8
Headers: {accept-encoding=[gzip,deflate], Content-Length=[273], content-type=[text/xml;charset=UTF-8], Host=[localhost:9090], SOAPAction=["http://service.workshop.fusesource.org/getDocumentById"], User-Agent=[Jakarta Commons-HttpClient/3.1]}
Payload: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.workshop.fusesource.org">
<soapenv:Header/>
<soapenv:Body>
<ser:documentId>
View -
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.fusesource.workshop.cdi.cxf.WebServiceCamelCdiDeploymentTest
[ main] Version INFO WELD-000900 1.1.5 (Final)
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.config.ConfigurationExtension activated=true
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension activated=true
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
View -
karaf@root> ERROR: Bundle org.ops4j.pax.cdi.extender [73] EventDispatcher: Error during dispatch. (org.ops4j.lang.Ops4jException: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
Exception 0 :
com.google.common.collect.ComputationException: java.lang.reflect.MalformedParameterizedTypeException
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:172)
at org.jboss.weld.manager.BeanManagerImpl.createAnnotatedType(BeanManagerImpl.java:1033)
at org.ops4j.pax.cdi.extension.impl.OsgiExtension.beforeBeanDiscovery(OsgiExtension.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
View -
2013-10-21 13:20:29,742 [int Extender: 3] ERROR BlueprintContainerImpl - Unable to start blueprint container for bundle org.apache.cxf.cxf-rt-transports-http
org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.IncompatibleClassChangeError: class org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator has interface org.objectweb.asm.ClassVisitor as super class
at org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:115)
at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:933)
at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907)
at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888)
at org.apache.aries.blueprint.container.Bea
View -
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>routing</artifactId>
<groupId>org.fusesource.workshop</groupId>
<version>1.0</version>
View -
2013-10-22 07:27:23,954 [int Extender: 2] INFO BlueprintContainerImpl - Bundle RouteTest is waiting for namespace handlers [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0]
2013-10-22 07:27:24,107 [int Extender: 1] ERROR BlueprintContainerImpl - Unable to start blueprint container for bundle resources
org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.IncompatibleClassChangeError: Implementing class
at org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:115)
at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)
at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)
at org.apache.aries.blueprint.containe
View -
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<!-- OSGI blueprint property placeholder -->
<cm:property-placeholder id="route.parameters" persistent-id="route.parameters" update-strategy="reload">