When starting tomcat I get a SEVERE exception for both Master and Prod1 - NullPointerException at com.rb.util.core.a405.deleteTempFiles (a405.java:376). Any ideas what I have done wrong? I should add that this is a new install on Ubuntu. Using RB built on 4 Nov.
I will take a look.
Please make sure that you have ROLLBASE_HOME environment variable set correctly.
ROLLBASE_HOME/config/shared.properties file must exist (path must be valid)
Thanks Pavel,
I've set ROLLBASE_HOME, with no change. The section of catalina.out relevant to prod1 and master reports:
==>> Production Server is starting
java.lang.NullPointerException....etc
==>> Master Server is starting
ROLLBASE_ROOT=/usr/share/tomcat6/rollbase
java.lang.NullPointerException....etc
And master/system/monitor.jsp reports:
ROLLBASE_ROOT: /usr/share/tomcat6/rollbase
Host Name : dev.myactivesuite.com
Build Date: 04/11/2011
License : Free Evaluation
=================================
And all components are DOWN
I'm sure its bound to be something simple, but can't think what.
Fil
Not sure if this is relevant, but on Ubuntu, the rollbase config goes in /usr/share/tomcat6 and the actual webapp war files in /var/lib/tomcat6/webapps. To get around errors with storage on other components I had to define the StorageDir property in the Storage Server component in components.xml
F
Also, just in case it is relevant, there are no records in the DB as yet (ie the initial user has not been created). I assume this is because master and prod1 are dying before master(??) gets a chance to check and create the user.
The system may need to create a bunch of sub-directories in ROLLBASE_HOME. That may include StorageDir (unless specified explicitly in components.xml)
Please make sure that permissions are granted to create sub-directories in ROLLBASE_HOME, as well as files (read, write, delete).
Bingo! That did it - added permissions for tomcat6 to rw to ROLLBASE_HOME. Thanks. I'll write up a little step by step install/setup on Ubuntu and post it.
Fil
Fil,
Many thanks for your willingness to write up and share your findings with Ubuntu
Regards,
Matt