powered by Jive Software

Unable to embedded database in the openfire console

Hi All

I had installed Openfire server on my linux machine, adn from the console i am able to create an administration account by embeding a database to the Openfire console. but couple of days back i had restarted my openfire server from then onwards i am getting this exception while tring to embedd a database to open fire console.

java.lang.NullPointerException

   at org.jivesoftware.util.JiveGlobals.deleteXMLProperty(JiveGlobals.java:493)

   atorg.jivesoftware.openfire.admin.setup.setup_002dprofile_002dsettings_jsp._jsp Service(setup_002dprofile_002dsettings_jsp.java:77)

   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

   atorg.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler. java:1093)

   at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

   atcom.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:5 2)

   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

   at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:66)

   atorg.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler. java:1084)

   at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:42)

   atorg.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler. java:1084)

   at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:70)

java.io.IOException: XML properties file must be writable: openfire.xml

at org.jivesoftware.util.XMLProperties.(XMLProperties.java:110)

at org.jivesoftware.util.XMLProperties.(XMLProperties.java:63)

at org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:772)

at org.jivesoftware.util.JiveGlobals.getXMLProperty(JiveGlobals.java:275)

at org.jivesoftware.openfire.admin.setup.setup_002dprofile_002dsettings_jsp._jspSe rvice(setup_002dprofile_002dsettings_jsp.java:68)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:66)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:42)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:70)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:99)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:206)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.Server.handle(Server.java:324)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)

at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843 )

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

can anyone please help me on this ,how to overcome this issue in future i f restart the server

Regards

Rakesh
Cópia de print usuarios.xls (121344 Bytes)

I am guessing that when you restarted, it was as a different user that doesn’t have the permissions required to update the openfire.xml file.