[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - Where to find support for AWT - needed for webservice tests

ldimaggi@redhat.com do-not-reply at jboss.com
Tue Mar 27 14:52:36 EDT 2007


I'm trying to resolve the following problem running the 4.0.5 and 4.2.0 test suites with 1.4.2 JVMs on RHEL5 - the webservice tests (for example:  org.jboss.test.webservice.admindevel.ExampleTestCase.testHelloString(ExampleTestCase) fail with an exception caused by:

      Caused by: java.lang.UnsatisfiedLinkError: no awt in java.library.path

I've gotten around this problem on RHEL4 by installing the xorg-x11-deprecated-libs package and failures with Java 1.5 on RHEL5 by installing the libXp package, but there are still about ~200 web service testcase failures with the 1.4.2 JVMs (Sun and BEA).

Has anyone tried the test suites on RHEL5 yet? Thanks...



testHelloString Error   Call invocation failed: Could not transmit message; nested exception is: javax.xml.soap.SOAPException: Could not transmit message

java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is: 
        javax.xml.soap.SOAPException: Could not transmit message
        at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718)
        at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
        at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
        at $Proxy3.helloString(Unknown Source)
        at org.jboss.test.webservice.admindevel.ExampleTestCase.testHelloString(ExampleTestCase.java:64)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: javax.xml.soap.SOAPException: Could not transmit message
        at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:204)
        at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687)
        ... 25 more
Caused by: java.lang.UnsatisfiedLinkError: no awt in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
        at sun.awt.DebugHelper.(DebugHelper.java:29)
        at java.awt.Component.(Component.java:506)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at org.jboss.ws.soap.attachment.ContentHandlerRegistry.(ContentHandlerRegistry.java:51)
        at org.jboss.ws.xop.XOPMarshallerImpl.(XOPMarshallerImpl.java:57)
        at org.jboss.ws.jaxrpc.encoding.SimpleSerializer.serialize(SimpleSerializer.java:60)
        at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:157)
        at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:817)
        at org.jboss.ws.soap.SOAPContentElement.handleMTOMTransitions(SOAPContentElement.java:1015)
        at org.jboss.ws.soap.SOAPContentElement.write(SOAPContentElement.java:968)
        at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:171)
        at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184)
        at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184)
        at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184)

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

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



More information about the jboss-dev-forums mailing list