Wednesday, April 18, 2012

How to avoid loading error in soapui on ubuntu 11.04 (ERROR [SoapUI] An error occured [no protocol: POECommonEPrescribeService-wsdl-soapui-project.xml])

 When you start soapui in ubuntu 11.04 you may see following error.

sanjeewa@sanjeewa-TECRA-M11:/media/9558-83FD/software/soapui-4.0.0/bin$ sh
= SOAPUI_HOME = /media/9558-83FD/software/soapui-4.0.0
Configuring log4j from [/media/9558-83FD/software/soapui-4.0.0/bin/soapui-log4j.xml]
10:55:27,301 INFO  [DefaultSoapUICore] initialized soapui-settings from [/media/9558-83FD/software/soapui-4.0.0/soapui-settings.xml]
10:55:29,001 INFO  [WorkspaceImpl] Loading workspace from [/media/9558-83FD/software/soapui-4.0.0/bin/../../TestPBE-workspace.xml]
10:55:29,285 INFO  [SoapUI] File [/media/9558-83FD/software/soapui-4.0.0/bin/POECommonEPrescribeService-wsdl-soapui-project.xml] does not exist, trying URL instead
10:55:29,285 ERROR [SoapUI] An error occured [no protocol: POECommonEPrescribeService-wsdl-soapui-project.xml], see error log for details
10:55:30,144 INFO  [SoapUI] Used java version: 1.6.0_21
Exception in thread "XpcMessageLoop" java.lang.RuntimeException: Library libgthread-2.0 not found at any known locations !
    at com.jniwrapper.linux.utils.LinuxLibraryLoader.(
    at com.jniwrapper.gdk.GdkMultithreading.(
    at com.jniwrapper.gdk.GdkMultithreading.getInstance(
    at com.jniwrapper.gtk.GTK.initialize(
    at com.teamdev.xpcom.a.b.a.a.(Unknown Source)
    at com.teamdev.xpcom.XpcMessageLoop.(Unknown Source)
    at com.teamdev.xpcom.XpcMessageLoop.getInstance(Unknown Source)
    at com.teamdev.xpcom.b$ Source)
Caused by: Library libgthread-2.0 not found at any known locations !
    ... 8 more
You can fix this issue by disabling browser component. To do that open file locates inside bin folder of the soapui distribution and edit it. you have to uncomment following line.

 JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true"

Then save it and start soapui again.

No comments:

Post a Comment