Known problems
Jobs ending with an out of memory error
If jobs are ending with an out of memory error, the probable reason is that the Proteios SE server has not been configured to use more than the default memory allocated. The server administrator should then change the Tomcat memory settings, see: server administration
Error message instead of login screen
(Only concerning 2.0 or earlier)
After installation of Proteios 2.0 there is an error message: java.lang.NullPointerException
at org.proteios.action.Loader.addActions(Loader.java:81)...
The reason for this error is that the file path of the Apache Tomcat server contains space characters, which leads to problems when loading some files. It has been solved in the 2.1 version of Proteios. In the meantime there is a quick solution (Windows description):
- Move the proteios directory from webapps to c:\proteios2.
- Edit the tomcat/config/server.xml file so that appBase="c:/proteios2".
- Restart Tomcat
Not possible to add sample
(Resolved in 2.0 and later)
If an error message occurs when you try to add a sample, saying that it is not possible to insert the sample data into the database, it could be related to some old database constraints. This only applies to installations where the database has not been reinstalled after build 1978 (beta1 and before). The problem is related to some old not-null constrains that are not updated properly by Hibernate on database upgrade. In the (long) error message there is a complaint about the field normalized_volume being null. The simple solution is to upgrade to the newest version of Proteios, run the installation script and drop the database. But if you need to keep the database, the following will also do:
Login to mysql and connect to the proteios database. Then issue the following commands:
ALTER TABLE biomaterials MODIFY normalized_volume FLOAT NULL;
ALTER TABLE biomaterials MODIFY pixel_x_coord INT NULL;
ALTER TABLE biomaterials MODIFY pixel_y_coord INT NULL;
ALTER TABLE biomaterials MODIFY volume FLOAT NULL;
ALTER TABLE biomaterials MODIFY apparent_mass FLOAT NULL;
ALTER TABLE biomaterials MODIFY apparent_pi FLOAT NULL;
ALTER TABLE separationmethods MODIFY massStart INT NULL;
ALTER TABLE separationmethods MODIFY massEnd INT NULL;
ALTER TABLE separationmethods MODIFY percentAcrylamide INT NULL;
commit;
