JUnit Tests Fail with .InsecureProtocolException:
com.ibm.team.repository.common.transport.InsecureProtocolException: CRJAZ0096I Attempting to connect to "/jazz/team/service/com.ibm.team.repository.service.tests.remotetests.IRemoteTestService" using insecure "http" protocol - suggest using "https" protocol.
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:252)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:514)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:504)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy16.run(Unknown Source)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:44)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:74)
at
I am calling my JUnit tests from a build.xml and have been stumbling upon this error
Has any body faced this error ,
I please need help in resolving this quickly
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:252)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:514)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:504)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy16.run(Unknown Source)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:44)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:74)
at
I am calling my JUnit tests from a build.xml and have been stumbling upon this error
Has any body faced this error ,
I please need help in resolving this quickly
8 answers
com.ibm.team.repository.common.transport.InsecureProtocolException: CRJAZ0096I Attempting to connect to "/jazz/team/service/com.ibm.team.repository.service.tests.remotetests.IRemoteTestService" using insecure "http" protocol - suggest using "https" protocol.
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:252)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:514)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:504)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy16.run(Unknown Source)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:44)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:74)
at
I am calling my JUnit tests from a build.xml and have been stumbling upon this error
Has any body faced this error ,
I please need help in resolving this quickly
The error arises when the server is not running and HTTP request comes back with error. Please check that the correct teamserver.properties is used and that the database connection is properly setup ( if you use Derby, the path to derby db ). If you can share the setup details, parameters to unit test and VM arguments I should be able to diagnose the problem further.
--Dan Kogan
Jazz Server Team
When the junit tests run, they assume that the server is running in an
unsecure mode. Are you running the server out of your workspace, or
from Tomcat? When running junit tests, the best approach is to run the
server from your workspace.
Matt Lavin
Jazz Server Team
suresh.nelamangala wrote:
I am calling my JUnit tests from a build.xml and have been stumbling
upon this error
Has any body faced this error ,
I please need help in resolving this quickly
unsecure mode. Are you running the server out of your workspace, or
from Tomcat? When running junit tests, the best approach is to run the
server from your workspace.
Matt Lavin
Jazz Server Team
suresh.nelamangala wrote:
com.ibm.team.repository.common.transport.InsecureProtocolException:
CRJAZ0096I Attempting to connect to
"/jazz/team/service/com.ibm.team.repository.service.tests.remotetests.IRemoteTestService"
using insecure "http" protocol - suggest using
"https" protocol.
at
com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:252)
at
com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:514)
at
com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:504)
at
com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at
com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at
com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy16.run(Unknown Source)
at
com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:44)
at
com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:74)
at
I am calling my JUnit tests from a build.xml and have been stumbling
upon this error
Has any body faced this error ,
I please need help in resolving this quickly
<junit showoutput="true" fork="false" failureproperty="testFailed">
<jvmarg value="${bootVMArgument}"/>
<jvmarg value="${outVMArgument}"/>
<jvmarg value="-Dcom.ibm.team.core.tests.repo=local"/>
<jvmarg value="-Dcom.ibm.team.repository.db.jdbc.location=C:/JAZZ/jazz/server/repositoryDB_With_Data"/>
<formatter type="xml" />
<test name="com.ibm.epm.tara.junits.testcases.AllTestsTara"
todir="${workingDir}/test.results"
outfile="junit.Tara.AllTests.results" />
<classpath>
<pathelement path="C:\\TaraJunitWorkspace\\working_dir"/>
</classpath>
</junit>
This is my code snippet from the build.xml
The tomcat server , I start from the location C:/JAZZ/jazz/server/server.startup.bat
<jvmarg value="${bootVMArgument}"/>
<jvmarg value="${outVMArgument}"/>
<jvmarg value="-Dcom.ibm.team.core.tests.repo=local"/>
<jvmarg value="-Dcom.ibm.team.repository.db.jdbc.location=C:/JAZZ/jazz/server/repositoryDB_With_Data"/>
<formatter type="xml" />
<test name="com.ibm.epm.tara.junits.testcases.AllTestsTara"
todir="${workingDir}/test.results"
outfile="junit.Tara.AllTests.results" />
<classpath>
<pathelement path="C:\\TaraJunitWorkspace\\working_dir"/>
</classpath>
</junit>
This is my code snippet from the build.xml
The tomcat server , I start from the location C:/JAZZ/jazz/server/server.startup.bat
I have resolved those errors i was getting. it was due to a missing JVM Argument. whic is fixed.
Now , I have ran into a new exception :cry:
com.ibm.team.repository.common.internal.marshal.MarshallingException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:486)
at com.ibm.team.repository.transport.client.RemoteTeamService.demarshallEnvelope(RemoteTeamService.java:539)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:505)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy14.run(Unknown Source)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:44)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:74)
at com.ibm.epm.junit.testcases.AbstractEPMServiceTestCase.run(AbstractEPMServiceTestCase.java:288)
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:81)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:189)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLLoadImpl.load(WebServicesXMLLoadImpl.java:76)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:483)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2464)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2296)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1250)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1347)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:981)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:964)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:695)
at com.ibm.team.repository.common.internal.marshal.util.SAXWrapper.startElement(SAXWrapper.java:81)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179)
I wonder if I have to set multiple class paths and make sure, I point to all these jars located in the jazz folder.
Now , I have ran into a new exception :cry:
com.ibm.team.repository.common.internal.marshal.MarshallingException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:486)
at com.ibm.team.repository.transport.client.RemoteTeamService.demarshallEnvelope(RemoteTeamService.java:539)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:505)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy14.run(Unknown Source)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:44)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:74)
at com.ibm.epm.junit.testcases.AbstractEPMServiceTestCase.run(AbstractEPMServiceTestCase.java:288)
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:81)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:189)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLLoadImpl.load(WebServicesXMLLoadImpl.java:76)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:483)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2464)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2296)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1250)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1347)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:981)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:964)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:695)
at com.ibm.team.repository.common.internal.marshal.util.SAXWrapper.startElement(SAXWrapper.java:81)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179)
I wonder if I have to set multiple class paths and make sure, I point to all these jars located in the jazz folder.
The ECore model that contributes the
'http://schemas.xmlsoap.org/soap/envelope/' URI space is in the
com.ibm.team.repository.common.transport plugin. Do you have that
plugin in your classpath?
If that does not solve your problem, can you post the full log relating
to that failure, and can you add the -consoleLog argument to the launch
to get extra details?
-
Matt Lavin
Jazz Server Team
On Fri, 2008-11-07 at 11:08 +0000, suresh.nelamangala wrote:
'http://schemas.xmlsoap.org/soap/envelope/' URI space is in the
com.ibm.team.repository.common.transport plugin. Do you have that
plugin in your classpath?
If that does not solve your problem, can you post the full log relating
to that failure, and can you add the -consoleLog argument to the launch
to get extra details?
-
Matt Lavin
Jazz Server Team
On Fri, 2008-11-07 at 11:08 +0000, suresh.nelamangala wrote:
I have resolved those errors i was getting. it was due to a missing
JVM Argument. whic is fixed.
Now , I have ran into a new exception :cry:
com.ibm.team.repository.common.internal.marshal.MarshallingException:
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package
with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5,
56)
at
com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:486)
at
com.ibm.team.repository.transport.client.RemoteTeamService.demarshallEnvelope(RemoteTeamService.java:539)
at
com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:505)
at
com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at
com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at
com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy14.run(Unknown Source)
at
com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:44)
at
com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:74)
at
com.ibm.epm.junit.testcases.AbstractEPMServiceTestCase.run(AbstractEPMServiceTestCase.java:288)
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException:
Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not
found. (, 5, 56)
at
org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:81)
at
org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:189)
at
com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLLoadImpl.load(WebServicesXMLLoadImpl.java:76)
at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at
com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:483)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package
with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5,
56)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2464)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2296)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1250)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1347)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:981)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:964)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:695)
at
com.ibm.team.repository.common.internal.marshal.util.SAXWrapper.startElement(SAXWrapper.java:81)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at
org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179)
I wonder if I have to set multiple class paths and make sure, I point
to all these jars located in the jazz folder.
I encount this problem too. Could you tell me how to modify the VM Argument?
I have resolved those errors i was getting. it was due to a missing JVM Argument. whic is fixed.
Now , I have ran into a new exception :cry:
com.ibm.team.repository.common.internal.marshal.MarshallingException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:486)
at com.ibm.team.repository.transport.client.RemoteTeamService.demarshallEnvelope(RemoteTeamService.java:539)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:505)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy14.run(Unknown Source)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:44)
at com.ibm.team.repository.service.tests.remotetests.RemoteServiceTestCaseHelper.run(RemoteServiceTestCaseHelper.java:74)
at com.ibm.epm.junit.testcases.AbstractEPMServiceTestCase.run(AbstractEPMServiceTestCase.java:288)
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:81)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:189)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLLoadImpl.load(WebServicesXMLLoadImpl.java:76)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:483)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 5, 56)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2464)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2296)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1250)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1347)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:981)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:964)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:695)
at com.ibm.team.repository.common.internal.marshal.util.SAXWrapper.startElement(SAXWrapper.java:81)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179)
I wonder if I have to set multiple class paths and make sure, I point to all these jars located in the jazz folder.
I too am having this problem. I am unsure of the exact circumstances when this error may arise. I have checked and I do have the required Jar available at runtime.
Hope you can help.
Cheers, Andrew
I'm also seeing this problem. For me its occurring during a call to SourceControlUtility.getWorkspace. I have the required jar on the classpath. This issue doesn't always occur. Sometimes the code executes correctly and returns the workspace. However once it fails it will never work unless I restart the process.
The exception I'm getting is:
com.ibm.team.repository.common.internal.marshal.MarshallingException:
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://schemas.xmlsoap.org/soap/envelope/' not found. (, 7, 56)
I have the required jar on the classpath com.ibm.team.repository.common.transport-1.0.2.I200910052001.jar.