java ee - Stateful session bean doesnt work in production - NoSuchObjectLocalException -


i have problem deployed java web application containing 1 stateful session bean. works fine until try invoke bean. exception:

javax.ejb.nosuchobjectlocalexception: ejb not exist. session-key: 1f0090bf8a25c4d1-6500a82656529888-2 

i tried google , have found exception means stateful session bean corresponding session-key not exist or reason destroyed. on localhost works fine.

according article on web there might database error causing session bean destroyed. have found nothing in mysql error log. other stateless session beans work fine , operates on database without problems.

i stucked here , dont know try. have ideas can wrong? there anythig have setup in jdbc connection pool or resource manage session beans work?

update: believe these error messages log explain error in way:

[#|2013-05-09t18:32:31.386+0000|info|glassfish3.1.2|org.shoal.ha.cache.command.load_request|_threadid=27;_threadname=thread-2;|skipped loading of 1f0090bf8a25c4d1-6500a8265c5d6306-c since there 1 instance running in cluster.|#]  [#|2013-05-09t18:32:31.386+0000|severe|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.util.cache|_threadid=27;_threadname=thread-2;|nru-cz.compoundsearch.resources.similarityresource: cannot load  backupstore key: <1f0090bf8a25c4d1-6500a8265c5d6306-c>|#]  [#|2013-05-09t18:32:31.387+0000|warning|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_threadid=27;_threadname=thread-2;|ejb5184:a system exception occurred during invocation on ejb similarityresource, method: public java.util.list cz.compoundsearch.resources.similarityresource.returnresults(java.lang.integer,java.lang.integer)|#] 

where invoke ejb? in session bean ? in controller ? go entity , if dont change single char in name...

this situation happen me , problem switch mistake character name (...)facade

some uppercase letter changed mistake

try see this

works me


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -