[jbossws-dev] [Design of JBoss Web Services] - Baby steps: test suite problems

karypid do-not-reply at jboss.com
Thu Aug 6 05:49:43 EDT 2009


Hi,

JBossWS development 101:

Step 1: Checkout / compile according to http://jbossws.jboss.org/mediawiki/index.php?title=Building_From_Source.... DONE.

Step 2: Run the test suites according to http://jbossws.jboss.org/mediawiki/index.php?title=Running_The_Test_Suites.... FAILED.

Here is the output:
generate-sources:
  | [INFO] ------------------------------------------------------------------------
  | [ERROR] BUILD ERROR
  | [INFO] ------------------------------------------------------------------------
  | [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
  | D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests\scripts\antrun-wstools.xml:44: The following error occurred while executing this line:
  | D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests\scripts\antrun-wstools.xml:99: Error running jbossws:
  | 
  | Cannot load wsdl: D\:\\aiq\\jbossws\\work\\jbossws-native\\modules\\testsuite\\native-tests\\target/test-resources/../wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/wsdl/hello-service.wsdl

Here is some more context:

D:\aiq\jbossws\work\jbossws-native>mvn -Psmoketest,jboss510 test
  | 
  | ...
  | wsconsume:
  | [wsconsume] Consuming wsdl: D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests/src/test/resources/benchmark/jaxws/doclit/WEB-INF/wsdl/BenchmarkWebService.wsdl
  | [wsconsume] Consuming wsdl: D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests/src/test/resources/interop/soapwsdl/BaseDataTypesDocLitB/WEB-INF/wsdl/service.wsdl
  | [wsconsume] Consuming wsdl: D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests/src/test/resources/interop/soapwsdl/BaseDataTypesDocLitW/WEB-INF/wsdl/service.wsdl
  | [wsconsume] Consuming wsdl: D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests/src/test/resources/interop/soapwsdl/BaseDataTypesRpcLit/WEB-INF/wsdl/service.wsdl
  | [wsconsume] Consuming wsdl: D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests/src/test/resources/jaxws/samples/wssecuritypolicy/WEB-INF/wsdl/HelloService.wsdl
  | [wsconsume] Consuming wsdl: D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests/src/test/resources/jaxws/samples/wssecurityAnnotatedpolicy/META-INF/wsdl/HelloService.wsdl
  | [wsconsume] Consuming wsdl: D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests/src/test/resources/jaxws/samples/wssecurity/META-INF/wsdl/HelloService.wsdl
  | [INFO] Executed tasks
  | [INFO] [build-helper:add-test-source {execution: add-source}]
  | [INFO] Test Source directory: D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests\target\wsconsume\java added.
  | [INFO] [resources:resources {execution: default-resources}]
  | [WARNING] Using platform encoding (Cp1253 actually) to copy filtered resources, i.e. build is platform dependent!
  | [INFO] skip non existing resourceDirectory D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests\src\main\resources
  | [INFO] [compiler:compile {execution: default-compile}]
  | [INFO] No sources to compile
  | [INFO] [resources:testResources {execution: default-testResources}]
  | [WARNING] File encoding has not been set, using platform encoding Cp1253, i.e. build is platform dependent!
  | [WARNING] Using platform encoding (Cp1253 actually) to copy filtered resources, i.e. build is platform dependent!
  | [INFO] Copying 3 resources
  | [INFO] Copying 7 resources to ../test-classes
  | [INFO] Copying 1725 resources to ../test-resources
  | [INFO] Copying 582 resources to ../test-resources
  | [INFO] [compiler:testCompile {execution: default-testCompile}]
  | [INFO] Compiling 90 source files to D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests\target\test-classes
  | [INFO] [antrun:run {execution: wstools}]
  | [INFO] Executing tasks
  | 
  | generate-sources:
  | [INFO] ------------------------------------------------------------------------
  | [ERROR] BUILD ERROR
  | [INFO] ------------------------------------------------------------------------
  | [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
  | D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests\scripts\antrun-wstools.xml:44: The following error occurred while executing this line:
  | D:\aiq\jbossws\work\jbossws-native\modules\testsuite\native-tests\scripts\antrun-wstools.xml:99: Error running jbossws:
  | 
  | 
  | Cannot load wsdl: D\:\\aiq\\jbossws\\work\\jbossws-native\\modules\\testsuite\\native-tests\\target/test-resources/../wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/wsdl/hello-service.wsdl
  | [INFO] ------------------------------------------------------------------------
  | [INFO] For more information, run Maven with the -e switch
  | [INFO] ------------------------------------------------------------------------
  | [INFO] Total time: 42 seconds
  | [INFO] Finished at: Thu Aug 06 12:38:46 EEST 2009
  | [INFO] Final Memory: 52M/94M
  | [INFO] ------------------------------------------------------------------------
Can somebody help? I am using:

- Sun JDK 1.6.0_14
- Ant 1.7.0
- Maven 2.2.0
- JBoss AS 5.1.0.GA (not head of development trunk, the release tag)
- JBossWS-Native 3.2.0 (head of development trunk).

Here is verification that the stack was installed successfully in the server I built:

12:20:50,599 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 12:20:50,599 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200908042216)
  | ...
  | 12:20:56,066 INFO  [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc.
  | 12:20:56,066 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
  | 12:20:56,066 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 14.0-b16,Sun Microsystems Inc.
  | 12:20:56,066 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | ...
  | 12:21:22,588 INFO  [AbstractServerConfig] JBoss Web Services - Native Server
  | 12:21:22,588 INFO  [AbstractServerConfig] 3.2.0-SNAPSHOT
  | 12:21:24,368 INFO  [AttributeCallbackItem] Owner callback not implemented.
  | ...


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248398#4248398

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248398


More information about the jbossws-dev mailing list