Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » Problems with SCA Java Component Project and JAX-WS Java First Project
Problems with SCA Java Component Project and JAX-WS Java First Project [message #589189] Wed, 09 May 2007 03:59
Stephane Drapeau is currently offline Stephane Drapeau
Messages: 198
Registered: July 2009
Senior Member
Hi everybody,

I have some problems with the SOATools Platform. I was very carefull
with the installation, I really don't know what is missing.
According to the requirements, I installed:
- eclipse-SDK-3.2
- emf-sdo-xsd-SDK-2.2.0
- GEF-SDK-3.2
- JEM-SDK-1.2
- wtp-sdk-R-1.5.0-200606281455
- GMF-runtime-1.0.2

When I tried to use the SOATools I saw that it is also necessary to install:
- dtp-sdk_1.0_200612211
- emft-ocl-SDK-1.0.1
- emft-query-SDK-1.0.1
- emft-transaction-SDK-1.0.1
- emft-validation-SDK-1.0.1
- uml2-SDK-2.0.2
- org.apache.tuscany_1.0-incubator-M1
- org.apache.cxf_2.0-incubator-M1

I also installed the runtimes Apache-CXF and Apache-Tuscany.

Here are some details about my problems:

1) When I try to use the STP build S200702011041, I'm not able to set
Tuscany runtime (Window->Preferences->SOA Tools->SCA->Java).

2) When I try to use the builds S200702152118 and I200703081110, I have
these two problems:

a) During the creation of a new SCA Java Component Project I have this
exception:
java.lang.NoSuchMethodError:
javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/Str ing;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFacto ry;
at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXU tils.java:97)
at
org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StA XUtils.java:111)
at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImp l.java:381)
at
org.apache.tuscany.tools.java2wsdl.generate.Java2WSDLGenerat orImpl.serializeWSDLDocument(Java2WSDLGeneratorImpl.java:116 )
at
org.apache.tuscany.tools.java2wsdl.generate.Java2WSDLGenerat orImpl.generateWSDL(Java2WSDLGeneratorImpl..java:143)
at
org.apache.tuscany.tools.java2wsdl.generate.Java2WSDLGenerat orImpl.generateWSDL(Java2WSDLGeneratorImpl.java:166)
at
org.eclipse.stp.sc.sca.java.builders.ScaJavaToWsdlBuilder.ge nerate(ScaJavaToWsdlBuilder.java:111)
at
org.eclipse.stp.sc.sca.java.builders.ScaJavaToWsdlBuilder.bu ildOneJavaFile(ScaJavaToWsdlBuilder.java:64)
at
org.eclipse.stp.sc.common.builders.ScJavaBuilder.visitResour ceFile(ScJavaBuilder.java:126)
at
org.eclipse.stp.sc.common.builders.ScJavaBuilder.access$0(Sc JavaBuilder.java:114)
at
org.eclipse.stp.sc.common.builders.ScJavaBuilder$ScBuildDelt aVisitor.visit(ScJavaBuilder.java:187)
at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67)
at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48)
at
org.eclipse.stp.sc.common.builders.ScJavaBuilder.incremental Build(ScJavaBuilder.java:85)
at
org.eclipse.stp.sc.common.builders.ScJavaBuilder.build(ScJav aBuilder.java:61)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:603)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:167)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:230)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:233)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:252)
at
org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:285)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:154)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:217)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

b) When I launch the stand-alone Web server (JAX-WS Java First Project)
I have this exception:
Exception in thread "main"
org.springframework.beans.factory.xml.XmlBeanDefinitionStore Exception:
Line 1 in XML document from class path resource [] is invalid; nested
exception is org.xml.sax.SAXParseException: Content is not allowed in
prolog.
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper. createSAXParseException(Unknown
Source)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper. fatalError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.rep ortError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.rep ortError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFat alError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl$PrologDispatcher.dispatch(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown Source)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
Source)
at
org.springframework.beans.factory.xml.DefaultDocumentLoader. loadDocument(DefaultDocumentLoader.java:76)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:351)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
at
org.springframework.beans.factory.support.AbstractBeanDefini tionReader.loadBeanDefinitions(AbstractBeanDefinitionReader. java:131)
at
org.springframework.context.support.AbstractXmlApplicationCo ntext.loadBeanDefinitions(AbstractXmlApplicationContext.java :108)
at
org.springframework.context.support.AbstractXmlApplicationCo ntext.loadBeanDefinitions(AbstractXmlApplicationContext.java :79)
at
org.springframework.context.support.AbstractRefreshableAppli cationContext.refreshBeanFactory(AbstractRefreshableApplicat ionContext.java:100)
at
org.springframework.context.support.AbstractApplicationConte xt.refresh(AbstractApplicationContext.java:313)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringB usFactory.java:73)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringB usFactory.java:61)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringB usFactory.java:52)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:68)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:57)
at
org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(Provide rImpl.java:63)
at
org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoi nt(ProviderImpl.java:73)
at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
at fr.obeo.test.jax.HelloWorldServer.<init>(HelloWorldServer.java:37)
at fr.obeo.test.jax.HelloWorldServer.main(HelloWorldServer.java :41)

I tried also with Eclipse 3.3 and corresponding STP plugins and I have
the same problems.

Do you have any idea how to resolve my problems?

Thanks

St├ęphane
Previous Topic:eclipse overwrits configurations each after each setting apply !!!???
Next Topic:SCA graphical editor
Goto Forum:
  


Current Time: Tue Jul 22 11:47:36 EDT 2014

Powered by FUDForum. Page generated in 0.02252 seconds