Environment
Novell GroupWise
Situation
Configuring GroupWise Webaccess stops with "Error in background function"
Resolution
- Launch a terminal session
- Type export JAVA_HOME=/usr/lib64/jvm/jre
- 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
- Open the /etc/profile for editing
- Go to the bottom of the file, right above the line that reads # End of /etc/profile
- Insert export JAVA_HOME=/user/lib64/jvm/jre
- Launch a new terminal session
- The bottom lines should read as below
export JAVA_HOME=/usr/lib64/jvm/jre
# End of /etc/profile
#
Cause
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/PmwBase.py", line 1747, in __call__
return apply(self.func, args)
File "/home/build/work/asc/linux_image/groupwise/gwinst/frontend.py", line 299, in action
None
File "/home/build/work/asc/linux_image/groupwise/gwinst/frontend.py", line 624, in action
None
File "/home/build/work/asc/linux_image/groupwise/gwinst/frontend.py", line 928, in CheckPlatformSLE
None
File "/root/image/2007.11.09/gwinst/python/lib/python2.3/UserDict.py", line 19, in __getitem__
def __getitem__(self, key): return self.data[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
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/PmwBase.py", line 1747, in __call__
return apply(self.func, args)
File "/home/build/work/asc/linux_image/groupwise/gwinst/frontend.py", line 299, in action
None
File "/home/build/work/asc/linux_image/groupwise/gwinst/frontend.py", line 624, in action
None
File "/home/build/work/asc/linux_image/groupwise/gwinst/frontend.py", line 928, in CheckPlatformSLE
None
File "/root/image/2007.11.09/gwinst/python/lib/python2.3/UserDict.py", line 19, in __getitem__
def __getitem__(self, key): return self.data[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