mr_suleyman
18th April 2007, 09:00
Hi Dear Friends,
I wrote basic shell script for setting SESSION_TIMEOUT value.
#!/usr/bin/ksh
export SESSION_TIMEOUT=5
sleep 5
exec $BSE/bin/bshell6.1 $*
I added this script into ipc_info file and I gave full permission to script.
Firstly I tried without sleep command nothing changed. I got following error.
Can't get server info for sshell
My second question is which one is valid for running baan. SESSION_TIMEOUT on baan config file or in ipc_info script.
Thanks !
Markus Schmitz
18th April 2007, 14:12
Hi,
the script looks ok to me, even though:
- In our scripts we tend to use the Sh shell and not the ksh, but that should not be the problem.
- the sleep comman should not be required.
The error sound to me different anyway. It looks like you configured you bw gui in the command field something like "sshell" and the entry in ips_info is not called sshell?
Maybe send an example of your ipc_info file and this will expplain things.
In regards to the setting: Settings in environment variables take precedence over settings in any config file.
Regards
Markus
mr_suleyman
18th April 2007, 14:29
Hi,
In baan gui config file I changed bshell name to sshell and here is my ipc_info
line
bbshell s 0 0 p ${BSE}/util/sshell
Thanks ...
mr_suleyman
18th April 2007, 14:32
Sorry I awared of something. I write wrong shell name on gui
not sshell it should be bbshell.
I should be blind !
Thanks
mr_suleyman
18th April 2007, 14:56
In fact it works well. But it doesn't solve my real problem. My aim is to test which command has more priority. I see that SESSION_TIMEOUTcommand on baan gui removed other commands on shell script or all config file. I sent this thread before. But there is a possiblity to apply policy for baan gui. User can changed somethins on it. (password,username,IP...).
We use timeout parameter for stopping useless baan programs. But some user learnt this open point by anyway.
How can handle it without applying policy to BW config file.
Thanks...