You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by kelvin goodson <ke...@gmail.com> on 2007/09/17 15:22:43 UTC
jaxp.properties trip hazard -- FAQ material
I've been playing with the RC1a release candidate and came across a
problem particular to my environment which took me a while to figure
out. When trying to run a sample I was getting ...
C:\Release\apache-tuscany-sca-1.0-incubating\tuscany-sca-1.0-incubating\samples\calculator>ant
run
Buildfile: build.xml
run:
[java] Exception in thread "main"
javax.xml.stream.FactoryConfigurationError: Provider null could not be
instantiat
ed: java.lang.NullPointerException
[java] at
javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:75)
[java] at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:136)
[java] at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
[java] at
javax.xml.stream.XMLOutputFactory.newInstance(XMLOutputFactory.java:98)
[java] at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallyS
mallRuntimeBuilder.java:176)
[java] at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:114)
[java] at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:101)
[java] at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)
[java] at
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)
[java] at calculator.CalculatorClient.main(CalculatorClient.java:31)
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 1 second
C:\Release\apache-tuscany-sca-1.0-incubating\tuscany-sca-1.0-incubating\samples\calculator>ant
run
The problem was that I had at some time in the past, altered by IBM
1.5 JRE environment so that it had a jaxp.properties file (I had
followed the instructions in the jaxp.properties.sample file).
Removing the jaxp.properties file allowed the sample to execute. I'll
see about adding this to an FAQ on the wiki.
Kelvin.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org