[jboss-user] [JBossWS] - Help on running jbossws sample

brian069 do-not-reply at jboss.com
Sat Sep 30 16:09:55 EDT 2006


Hi,

I am new to jboss. When I tried to run the test case shipped with jbossws, I got the following error. Any idea what was happening.

The test method (public void testTrivialAccess() throws Exception) is in the 
TrivialServiceRpcTestCase, but the testcase report says the operation name is unknown.

Your help is greatly appreciated.

brian

=====output from running ant=========

ant -Dtest=org.jboss.test.ws.samples.rpcstyle.TrivialServiceRpcTestCase one-test
Buildfile: build.xml

init:
     [echo] jboss.home  = D:/Program Files/jboss-4.0.4.GA
     [echo] tomcat.home = C:/jakarta-tomcat-5.0.19
     [echo] java.home   = c:\j2sdk1.4.2_04\jre
     [echo] node0       = xxxxx
one-test:
    [junit] Running org.jboss.test.ws.samples.rpcstyle.TrivialServiceRpcTestCase
    [junit] java.lang.IllegalStateException: Unsupported target server
    [junit]     at org.jboss.test.ws.JBossWSTestHelper.getDeployer(JBossWSTestHe
lper.java:91)
    [junit]     at org.jboss.test.ws.JBossWSTestHelper.deploy(JBossWSTestHelper.
java:45)
    [junit]     at org.jboss.test.ws.JBossWSTestSetup.setUp(JBossWSTestSetup.jav
a:70)
    [junit]     at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.extensions.TestSetup.run(TestSetup.java:25)
    [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.032 sec
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
run(JUnitTestRunner.java:297)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
launch(JUnitTestRunner.java:672)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
main(JUnitTestRunner.java:567)
    [junit] Test org.jboss.test.ws.samples.rpcstyle.TrivialServiceRpcTestCase FA
ILED
[junitreport] Transform time: 6156ms

========testcase report==========


    java.lang.IllegalStateException: Unsupported target server
	at org.jboss.test.ws.JBossWSTestHelper.getDeployer(JBossWSTestHelper.java:91)
	at org.jboss.test.ws.JBossWSTestHelper.undeploy(JBossWSTestHelper.java:53)
	at org.jboss.test.ws.JBossWSTestSetup.setUp(JBossWSTestSetup.java:75)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
	at junit.extensions.TestSetup.run(TestSetup.java:25)

  

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

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



More information about the jboss-user mailing list