Hi All,
I have one query , my query is that i want to write some script to open a database or any server command that should be run when we open the domino server , bcz i want to write some script to open the database as server starts & close after open. can i do this. please help me ASAP.
I am facing this problem when i want to access discussion forum databse by websphere portal . it does not work till i opend it manually on click over. if it will open first time till server does not shut down ,it works properly.
Thanx & regards
zubair a khan
Subject: Can we write script for domino server
Not sure if it helps, but you can create a server task (using for example Java) and load the task at start of the server.
Java code refreshes a view or does some other action which required for the websphere thing to work.
You compile the Java code and make a REFRESHER.BAT file with following content:
java myapp
The you modify the notes.ini file to include REFRESHER.BAT task:
ServerTasks=Update,Replica,AMgr,AdminP,CalConn,Sched,HTTP,REFRESHER.BAT
Instead of using task, you can do the same thing by creating a servlet and including it into servlets.properties file.
servlets.startup=myapp
/Andrei