Problem in creating the repository server


I have tried to configure the Repository Server for IS Clustering. While running the shell script from IntegrationServer/reposerver/bin directory it is giving the following error.

/usr04/WebMIS6666/IntegrationServer/lib/looks-all.jar:/usr04/WebMIS6666/IntegrationServer/lib/kunststoff.jar -Xms128M -Xmx256M
Exception in thread “main” java.lang.InternalError: Can’t connect to X11 window server using ‘:0.0’ as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
at sun.awt.motif.MToolkit.(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at java.awt.Toolkit$
at Method)
at java.awt.Toolkit.getDefaultToolkit(
at java.awt.SystemColor.updateSystemColors(
at java.awt.SystemColor.(
at com.webMethods.caffeine.utils.NonLocalizableConstants.(
at com.webMethods.caffeine.i18n.Icons.(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at com.wm.proxy.Proxy.invokeStaticMethod(

Please explain the reason of the problem and also how to solve it.

The problem is because the repoUI needs a display to run… I don’t think there’s a no-gui option (most of the webMethods tools have this)…
So a couple of options:

  • use X port forwarding, you could set up cygwin and run an X server on your local machine, SSH in with X11 forwarding on and then you can get a full GUI just running on your local machine…
  • run the repo setup on another machine and look what it does to the config files.
  • edit the config files yourself by hand

Of the available options, I’d probably try a combination of the last two…

Nathan Lee - WmUnit, test driven webMethods development

You will need to set your DISPLAY variable to point back to your X server (running most likely on your desktop). If you have firewalls in-between you will need to get them opened up for X communications between the server and your workstation.

Kick off X on your workstation (I use Reflections, but there are many alternatives) and telnet or ssh to your server. Set your DISPLAY to your workstation (DISPLAY=;export DISPLAY) and then kick off the script for the repoui.

If you are clustering you will need to modify the, and to include the jdbc driver (ojdbc14.jar for Oracle 9.x) in the CLASSPATH. I also noticed you will need to create a logs directory under the reposerver directory or you won’t be able to start.

Hope this helps.