[
https://issues.apache.org/jira/browse/CAMEL-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13803304#comment-13803304
]
Babak Vahdat commented on CAMEL-6774:
-------------------------------------
O.K. I managed to fix those Karaf tests.
Just realized that there're other failing tests by the {{camel-itest-osgi}}
module with or without of the fix for this ticket. Are we already aware of
this? Is there any ticket around for this?
These are the ones failing for me but I didn't look into them:
{code}
BeanValidatorTest.validateShouldSuccessWithExpliciteDefaultGroup:47 » Validation
BeanValidatorTest.testBeanValidatorRoute:36 » Validation Unable to create a
Co...
CamelBlueprint4Test.testRouteWithXSLT:42->AbstractIntegrationTest.getOsgiService:87
» Runtime
XsltBlueprintRouteTest>CamelTestSupport.setUp:218->doPostSetup:68->AbstractIntegrationTest.getOsgiService:87
» Runtime
DisruptorTest>CamelTestSupport.setUp:217->CamelTestSupport.doSetUp:311->CamelTestSupport.startCamelContext:477
» ResolveEndpointFailed
DisruptorTest>CamelTestSupport.setUp:217->CamelTestSupport.doSetUp:311->CamelTestSupport.startCamelContext:477
» ResolveEndpointFailed
DisruptorVmTest>CamelTestSupport.setUp:217->CamelTestSupport.doSetUp:311->CamelTestSupport.startCamelContext:477
» ResolveEndpointFailed
GroovyTest.testGroovyLanguage:38 » ClassNotFound groovy.lang.Script
HdfsBlueprintRouteTest.testWriteAndReadString:50->AbstractIntegrationTest.getOsgiService:87
» Runtime
JaxbDataFormatTest>CamelTestSupport.setUp:217->CamelTestSupport.doSetUp:311->CamelTestSupport.startCamelContext:477
» JAXB
GroovyScriptOsgiTest.testLanguage:47 » ClassNotFound groovy.lang.Script
{code}
> Karaf and servlet 2.5/3.0 due recent jetty upgrade causes karaf problems!
> -------------------------------------------------------------------------
>
> Key: CAMEL-6774
> URL: https://issues.apache.org/jira/browse/CAMEL-6774
> Project: Camel
> Issue Type: Bug
> Components: karaf
> Affects Versions: 2.13.0
> Reporter: Claus Ibsen
> Assignee: Babak Vahdat
> Priority: Critical
> Fix For: 2.13.0
>
>
> Running tests in tests/camel-itest-karaf fails with features that uses
> servlet 2.5 api with Karaf 2.3.3.
> {code}
> test:org.apache.camel.itest.karaf.CamelJettyTest.test:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/2.3.3/tar.gz}(org.apache.camel.itest.karaf.CamelJettyTest)
> Time elapsed: 10.706 sec <<< FAILURE!
> java.lang.AssertionError: Cannot get component with name: jetty
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.assertTrue(Assert.java:43)
> at org.junit.Assert.assertNotNull(Assert.java:526)
> at
> org.apache.camel.itest.karaf.AbstractFeatureTest.testComponent(AbstractFeatureTest.java:64)
> at
> org.apache.camel.itest.karaf.CamelJettyTest.test(CamelJettyTest.java:32)
> {code}
> I suspect its the recent jetty 8.x and servlet 3 upgrade that is causing
> problems.
--
This message was sent by Atlassian JIRA
(v6.1#6144)