Hi All,

I am trying to build Servicemix 3.2 and getting test failure in
deployables/serviceengines/servicemix-lwcontainer.

Test  org.apache.servicemix.lwcontainer.LwContainerComponentTest is trying
to look for the servicemix-quartz-3.2.2-SNAPSHOT-installer.zip in default
~/.m2/repository location whereas my repository is located in non-default
location and is specified in maven settings.xml

Does anyone came across such problem? If yes, what's the
solution/workaround? I have attached failure log file here.

Regards,

Ulhas Bhole
-------------------------------------------------------------------------------
Test set: org.apache.servicemix.lwcontainer.LwContainerComponentTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.674 sec <<< 
FAILURE!
testEndpoints(org.apache.servicemix.lwcontainer.LwContainerComponentTest)  Time 
elapsed: 0.198 sec  <<< ERROR!
java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
<jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message"; 
version="1.0">
<jbi-task-result>
<frmwk-task-result>
<frmwk-task-result-details>
<task-result-details>
<task-id>installComponent</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>file:///home/ubhole/.m2/repository/org/apache/servicemix/servicemix-quartz/3.2.2-SNAPSHOT/servicemix-quartz-3.2.2-SNAPSHOT-installer.zip</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<loc-token/>
<loc-message>java.io.FileNotFoundException: 
/home/ubhole/.m2/repository/org/apache/servicemix/servicemix-quartz/3.2.2-SNAPSHOT/servicemix-quartz-3.2.2-SNAPSHOT-installer.zip
 (No such file or directory)</loc-message>
<stack-trace><![CDATA[javax.jbi.management.DeploymentException: 
java.io.FileNotFoundException: 
/home/ubhole/.m2/repository/org/apache/servicemix/servicemix-quartz/3.2.2-SNAPSHOT/servicemix-quartz-3.2.2-SNAPSHOT-installer.zip
 (No such file or directory)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.unpackLocation(AutoDeploymentService.java:595)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:276)
        at 
org.apache.servicemix.jbi.framework.AdminCommandsService.installComponent(AdminCommandsService.java:62)
        at 
org.apache.servicemix.jbi.container.InstallComponent.doDeploy(InstallComponent.java:66)
        at 
org.apache.servicemix.jbi.container.DeploySupport.deploy(DeploySupport.java:58)
        at 
org.apache.servicemix.lwcontainer.LwContainerComponentTest.testEndpoints(LwContainerComponentTest.java:123)
Caused by: java.io.FileNotFoundException: 
/home/ubhole/.m2/repository/org/apache/servicemix/servicemix-quartz/3.2.2-SNAPSHOT/servicemix-quartz-3.2.2-SNAPSHOT-installer.zip
 (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
        at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
        at java.net.URL.openStream(URL.java:1007)
        at 
org.apache.servicemix.jbi.util.FileUtil.unpackArchive(FileUtil.java:154)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.unpackLocation(AutoDeploymentService.java:582)
        ... 31 more
]]></stack-trace>
</exception-info>
</task-result-details>
</frmwk-task-result-details>
</frmwk-task-result>
</jbi-task-result>
</jbi-task>
        at 
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125)
        at 
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:115)
        at 
org.apache.servicemix.jbi.framework.AdminCommandsService.installComponent(AdminCommandsService.java:66)
        at 
org.apache.servicemix.jbi.container.InstallComponent.doDeploy(InstallComponent.java:66)
        at 
org.apache.servicemix.jbi.container.DeploySupport.deploy(DeploySupport.java:58)
        at 
org.apache.servicemix.lwcontainer.LwContainerComponentTest.testEndpoints(LwContainerComponentTest.java:123)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

Reply via email to