Blank Sametime.ini

This morning it was brought to my attention that Sametime was not working for a customer. Last night the server was stopped and Windows patches applied and then started back up. In the Log.nsf I saw the following exceptions:

26/06/2012 23:35:39   Servlet engine initialization was successful
26/06/2012 23:35:40   HTTP JVM: com.lotus.sametime.configuration.DominoBootstrapServlet: init
26/06/2012 23:35:40   HTTP JVM: Exception in thread “Thread-2”
26/06/2012 23:35:40   HTTP JVM: java.lang.NullPointerException
26/06/2012 23:35:40   HTTP JVM:     at java.util.Hashtable.put(Hashtable.java:632)
26/06/2012 23:35:40   HTTP JVM:     at com.lotus.sametime.admin.util.INIStream.putIniPropertiesValue(Unknown Source)
26/06/2012 23:35:40   HTTP JVM:     at com.lotus.sametime.admin.util.INIStream.setSectionValue(Unknown Source)
26/06/2012 23:35:40   HTTP JVM:     at com.lotus.sametime.bootstrap.impl.DominoBootstrap.setProperty(Unknown Source)
26/06/2012 23:35:40   HTTP JVM:     at com.lotus.sametime.configuration.DominoBootstrapThread.setClusterName(Unknown Source)
26/06/2012 23:35:40   HTTP JVM:     at com.lotus.sametime.configuration.DominoBootstrapThread.runNotes(Unknown Source)
26/06/2012 23:35:40   HTTP JVM:     at lotus.domino.NotesThread.run(Unknown Source)
26/06/2012 23:35:40   HTTP JVM: com.lotus.sametime.configuration.DominoConfigurationServlet: init
26/06/2012 23:35:44   HTTP JVM: com.lotus.sametime.admin.authentication.AccessControlServlet: init
26/06/2012 23:35:44   HTTP JVM: com.lotus.sametime.admin.DominoAdminXPathRequestServletJAXP: init
26/06/2012 23:35:44   HTTP JVM: Error occurred while loading Servlet (admin)
26/06/2012 23:35:44   HTTP JVM:
—–Servlet Information—–
Servlet name:  admin
Servlet class: com.lotus.sametime.admin.DominoAdminXPathRequestServletJAXP
Servlet state: <Error>
Configuration parameters: Statistics.Servlet.Name=stats AccessControl.Roles=[SametimeAdmin];[SametimeMonitor];[DatabaseAdmin] ServletURL=admin Language.Resource.Relative.Path=strings/ Static.Resource.Relative.URL=/sametime/stadmin Default.Language.Suffix=en Static.Resource.Relative.Path=/domino/html/sametime/stadmin XML.File.Pa
26/06/2012 23:35:44   HTTP JVM: javax.servlet.ServletException: Exception while initializing admin servlet:null: Exception while initializing admin servlet:null
26/06/2012 23:35:44   HTTP JVM: com.lotus.sametime.meetingmanagement.remote.servlet.MMAPIServlet: init
26/06/2012 23:35:44   HTTP JVM: com.lotus.sametime.calendar.NotesCalendarServlet: init
26/06/2012 23:35:44   HTTP JVM: com.lotus.sametime.materials.servlets.FileUploadServlet: init
26/06/2012 23:35:44   HTTP JVM: com.lotus.sametime.materials.servlets.RAPFileServlet: init
26/06/2012 23:35:44   HTTP JVM: com.lotus.sametime.statistics.StatisticsServlet: init
26/06/2012 23:35:44   HTTP JVM: com.lotus.sametime.admin.policy.PolicyServlet: init
26/06/2012 23:35:45   HTTP JVM: com.lotus.sametime.admin.namechange.NameChangeServlet: init
26/06/2012 23:35:45   HTTP JVM: com.lotus.sametime.mtk.meeting.MeetingServlet: init
26/06/2012 23:35:45   HTTP JVM: com.lotus.sametime.telephonyservlet.TelephonyServlet: init
26/06/2012 23:35:55   HTTP JVM: com.ibm.sametime.userinfo.servlets.UserInfoServlet: init
26/06/2012 23:35:55   HTTP JVM: com.lotus.sametime.startup.SametimeStartupServlet: init
26/06/2012 23:35:58   HTTP Server: Started

I went down the route of checking that the various jars were still on the OS, I have seen this in the past here with other posts in the forums but all jars were present. I finished examining the Sametime.log in D:\Lotus\Domino and on closing it my eyes glanced to the Sametime.ini which was showing as 0KB……… Looking at the time date stamp I can see that the file was modified when the OS was starting up by cross-referencing the Windows event viewer.

Restoring the file from a back up and stopping and starting Domino did the trick but I’m no nearer knowing why….. Good old Windows…..

Advertisements