0 Replies Latest reply on Mar 27, 2007 2:52 PM by Len DiMaggio

    Where to find support for AWT - needed for webservice tests

    Len DiMaggio Apprentice

      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)