[CITE-Forum] Running WFS 2.0.0 tests locally

Andreas Schmitz schmitz at occamlabs.de
Tue Apr 30 07:31:12 EDT 2013


Hi all,

I've just given it another try to run the WFS 2.0.0 tests locally.

For that, I've used the new
teamengine-console-4.0-beta3-SNAPSHOT-bin.tar.gz (which I built
locally).

Then I extracted the ets-wfs-2.0-r3-SNAPSHOT-with-direct-deps.zip into
the lib directory of the unpacked teamengine console, and extracted
ets-wfs-2.0-r3-SNAPSHOT-ctl-scripts.zip into the scripts folder.

Then I run bin/unix/test.sh -source=wfs/2.0-r3-SNAPSHOT/wfs-suite.ctl
and get the following errors (amongst others):

java.lang.Exception: Error invoking function {http://www.opengis.net/cite/iso19142}run-ets-wfs
java.lang.NoClassDefFoundError: org/geotoolkit/factory/Hints$Key
        at com.occamlab.te.TECore.callFunction(TECore.java:987)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at net.sf.saxon.functions.ExtensionFunctionCall.invokeMethod(ExtensionFunctionCall.java:533)
        at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:256)
        at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:147)
        at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
        at net.sf.saxon.expr.Expression.process(Expression.java:461)
        at net.sf.saxon.instruct.DocumentInstr.evaluateItem(DocumentInstr.java:282)
        at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:295)
        at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:341)
        at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:542)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
        at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:551)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
        at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
        at net.sf.saxon.expr.LetExpression.process(LetExpression.java:380)
        at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:300)
        at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:175)
        at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:343)
        at net.sf.saxon.Controller.transformDocument(Controller.java:1736)
        at net.sf.saxon.Controller.transform(Controller.java:1560)
        at net.sf.saxon.s9api.XsltTransformer.transform(XsltTransformer.java:190)
        at com.occamlab.te.TECore.executeTemplate(TECore.java:512)
        at com.occamlab.te.TECore.executeTest(TECore.java:654)
        at com.occamlab.te.TECore.execute_test(TECore.java:346)
        at com.occamlab.te.TECore.execute_suite(TECore.java:389)
        at com.occamlab.te.TECore.execute(TECore.java:251)
        at com.occamlab.te.Test.main(Test.java:354)
Caused by: java.lang.NoClassDefFoundError: org/geotoolkit/factory/Hints$Key
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2413)
        at java.lang.Class.getConstructor0(Class.java:2723)
        at java.lang.Class.newInstance0(Class.java:345)
        at java.lang.Class.newInstance(Class.java:327)
        at org.testng.internal.ClassHelper.newInstance(ClassHelper.java:49)
        at org.testng.TestNG.initializeConfiguration(TestNG.java:906)
        at org.testng.TestNG.run(TestNG.java:1005)
        at com.occamlab.te.spi.executors.testng.TestNGExecutor.execute(TestNGExecutor.java:113)
        at org.opengis.cite.iso19142.TestNGController.doTestRun(TestNGController.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.occamlab.te.TECore.callFunction(TECore.java:976)
        ... 30 more
Caused by: java.lang.ClassNotFoundException: org.geotoolkit.factory.Hints$Key
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 45 more

So it seems some libraries are missing. What extra libraries do I
need? Or do I need to use another teamengine package?

Best regards,
Andreas Schmitz
-- 
Occam Labs UG (haftungsbeschränkt)
Godesberger Allee 139
53175 Bonn, Germany
Phone:  +49 228 937 988 65
Mobile: +49 151 184 39 348
http://www.occamlabs.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20130430/51265c84/attachment.pgp>


More information about the CITE-Forum mailing list