Configuring GroupWise Webaccess stops with "Error in background function"

  • 7015214
  • 17-Jun-2014
  • 17-Jun-2014


Novell GroupWise


Configuring GroupWise Webaccess stops with "Error in background function"


  1. Launch a terminal session
  2. Type export JAVA_HOME=/usr/lib64/jvm/jre
  3. Re-run the webaccess configuration and it should complete

The above fix only corrects the issue for that running terminal session, if desired, the JAVA_HOME variable can be fixed permanently by following the instructions below

  1. Open the /etc/profile for editing
  2. Go to the bottom of the file, right above the line that reads # End of /etc/profile
  3. Insert export JAVA_HOME=/user/lib64/jvm/jre
  4. Launch a new terminal session
  5. The bottom lines should read as below
export JAVA_HOME=/usr/lib64/jvm/jre
# End of /etc/profile


JAVA_HOME variable was not set properly

Additional Information

Error seen shows something similar to below

Error in background function

Error: 1
KeyError Exception in Tk callback
  Function: <bound method FrontendRow.action of <frontend.FrontendRow instance at 0xf46d652c>> (type: <type 'instancemethod'>)
  Args: (<Tkinter.Event instance at 0xf46df5cc>,)
  Event type: ButtonRelease (type num: 5)
Traceback (innermost last):
  File "/root/Desktop/gw12.0.3-115815_full_linux_multi/gwinst/python/lib/python2.3/site-packages/Pmw/Pmw_1_2/lib/", line 1747, in __call__
    return apply(self.func, args)
  File "/home/build/work/asc/linux_image/groupwise/gwinst/", line 299, in action
  File "/home/build/work/asc/linux_image/groupwise/gwinst/", line 624, in action
  File "/home/build/work/asc/linux_image/groupwise/gwinst/", line 928, in CheckPlatformSLE
  File "/root/image/2007.11.09/gwinst/python/lib/python2.3/", line 19, in __getitem__
    def __getitem__(self, key): return[key]
KeyError: 'JAVA_HOME'

  Event contents:
    char: ??
    delta: 1
    focus: True
    height: 0
    keycode: 1
    keysym: ??
    keysym_num: 1
    num: 1
    send_event: False
    serial: 1597
    state: 272
    time: -2051154670
    type: 5
    widget: .-194260404.-194260116.-194157940.-194157204
    width: 0
    x: 87
    x_root: 588
    y: 15
    y_root: 360