Sumeeth Tewar Posted March 25, 2020 Share Posted March 25, 2020 I am trying to externally save library on the file system with commands: config config-library-external-data-storage --enabled=true --external-storage=FILE_SYSTEM --force config config-library-external-file-storage --path=DEFAULT config import-config -c "file system storage is being introduced." But as soon as i do the above and restart spotfire server I get error as: Spotfire Server fails to start. ERROR: (Error creating bean with name 'informationModel' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed;) com.spotfire.server.ServerInitializationException: java.lang.NullPointerException From the support tibco site I found resolution as specified in this page: https://support.tibco.com/s/article/Spotfire-Server-fails-to-start-ERROR-Error-creating-bean-with-name-informationModel-defined-in-ServletContext-resource-WEB-INF-applicationContext-xml-Invocation-of-init-method-failed However, I tried with both resolutions mentioned, but do not work and I still get the same error. once I turn off the external storage, the server is fine back again! Link to comment Share on other sites More sharing options...
Shashank Gurnalkar Posted March 26, 2020 Share Posted March 26, 2020 Are you able to start it with startup.bat file Run the batch file(<spotfire server install path>tomcatbinstartup.bat). Instead of using --force parameter, can you try to empty the library first The prescribed procedure for switching is to export the entire library, empty the library (delete all the elements from Library Administrator), change the configuration, and then import the library. What is the stack trace you see in server and catalina logs (..tomcatlogs) Link to comment Share on other sites More sharing options...
Sumeeth Tewar Posted March 26, 2020 Author Share Posted March 26, 2020 I enabled debug logs on the server, but its the same stacktrace nothing more, it is exactly the same stacktrace as given in the link I have attached with the question. I am using windows service for spotfire server to start/restart server. what is the difference in using startup.bat Link to comment Share on other sites More sharing options...
Shashank Gurnalkar Posted March 26, 2020 Share Posted March 26, 2020 The process is the same, it's just that it is executed by the logged-in user to the machine or Admin user (if you do right-click >> Run as Administrator). If the above suggestions are not helping, it will require proper troubleshooting. Create a case with TIBCO Support if you have access to it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now