qcri-social / AIDR

Artificial Intelligence for Digital Response
http://aidr.qcri.org/
GNU Affero General Public License v3.0
98 stars 37 forks source link

DB Manager PropertyNotSetException #26

Open jmgtan opened 9 years ago

jmgtan commented 9 years ago

Kept on getting PropertyNotSetException in the db-manager module. The fetch manager and the collector works but calling is-crisis-exists throws an error because of this exception, also is user exists. I'm unable to start the classifier because of it.

The following is an example of the log:

[2015-05-03T08:44:35.057+0000] [glassfish 4.0] [SEVERE] [ejb.stateless_ejbcreate_exception] [javax.enterprise.system.container.ejb.com.sun.ejb.containers] [tid: _ThreadID=19 _ThreadName=http-listener-1(2)] [timeMillis: 1430642675057] [levelValue: 1000] [[
  EJB5070: Exception creating stateless session bean : [CrisisResourceFacadeImp]]]

[2015-05-03T08:44:35.057+0000] [glassfish 4.0] [WARNING] [ejb.system_exception] [javax.enterprise.system.container.ejb.com.sun.ejb.containers] [tid: _ThreadID=19 _ThreadName=http-listener-1(2)] [timeMillis: 1430642675057] [levelValue: 900] [[
  EJB5184:A system exception occurred during an invocation on EJB CrisisResourceFacadeImp, method: public qa.qcri.aidr.dbmanager.dto.CrisisDTO qa.qcri.aidr.dbmanager.ejb.remote.facade.imp.CrisisResourceFacadeImp.getCrisisByCode(java.lang.String) throws qa.qcri.aidr.common.exception.PropertyNotSetException]]

[2015-05-03T08:44:35.058+0000] [glassfish 4.0] [WARNING] [] [javax.enterprise.system.container.ejb.com.sun.ejb.containers] [tid: _ThreadID=19 _ThreadName=http-listener-1(2)] [timeMillis: 1430642675058] [levelValue: 900] [[

javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB