Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saved Search not Populating records as expected in dataverse.harvard.edu #7398

Closed
djbrooke opened this issue Nov 6, 2020 · 1 comment · Fixed by #7510
Closed

Saved Search not Populating records as expected in dataverse.harvard.edu #7398

djbrooke opened this issue Nov 6, 2020 · 1 comment · Fixed by #7510
Assignees

Comments

@djbrooke
Copy link
Contributor

djbrooke commented Nov 6, 2020

In Harvard Dataverse we have a saved search set up to update the COVID19 Dataverse:

https://dataverse.harvard.edu/dataverse/covid19

It appears to not be running as expected. I grabbed two log entries that may or may not be helpful:

[2020-10-14T00:04:39.699-0400] [Payara 5.2020] [WARNING] [AS-EJB-00056] [javax.enterprise.ejb.container] [tid: _ThreadID=237 _ThreadName=__ejb-thread-pool1] [timeMillis: 1602648279699] [levelValue: 900] [[ A system exception occurred during an invocation on EJB SavedSearchServiceBean, method: public void edu.harvard.iq.dataverse.search.savedsearch.SavedSearchServiceBean.makeLinksForAllSavedSearchesTimer()]]

[2020-10-14T00:04:39.698-0400] [Payara 5.2020] [WARNING] [] [org.glassfish.api.invocation.InvocationManagerImpl] [tid: _ThreadID=237 _ThreadName=__ejb-thread-pool1] [timeMillis: 1602648279698] [levelValue: 900] [[ postInvoke not called with top of the invocation stack. Expected: EjbInvocation componentId=dataverse-5.1.1_/,isLocal=true,isRemote=false,isBusinessInterface=true,isWebService=false,isMessageDriven=false,isHome=false,clientInterface=interface edu.harvard.iq.dataverse.search.__EJB31_Generated__SearchServiceBean__Intf__,method=public abstract edu.harvard.iq.dataverse.search.SolrQueryResponse edu.harvard.iq.dataverse.search.__EJB31_Generated__SearchServiceBean__Intf__.search(edu.harvard.iq.dataverse.engine.command.DataverseRequest,java.util.List,java.lang.String,java.util.List,java.lang.String,java.lang.String,int,boolean,int) throws edu.harvard.iq.dataverse.search.SearchException,ejb=edu.harvard.iq.dataverse.search.SearchServiceBean@70e673d5,exception=javax.ejb.EJBTransactionRolledbackException: Exception thrown from bean: javax.ejb.EJBException: Attempt to invoke when container is in STOPPED,exceptionFromBeanMethod=javax.ejb.EJBException: Attempt to invoke when container is in STOPPED,invId=0,wasCancelCalled=false,yetToSubmitStatus=true but was: EjbInvocation componentId=dataverse-5.1.1_/,isLocal=true,isRemote=false,isBusinessInterface=false,isWebService=false,isMessageDriven=false,isHome=false,clientInterface=null,method=public void edu.harvard.iq.dataverse.search.savedsearch.SavedSearchServiceBean.makeLinksForAllSavedSearchesTimer(),ejb=edu.harvard.iq.dataverse.search.savedsearch.SavedSearchServiceBean@43cf72a7,exception=javax.ejb.EJBTransactionRolledbackException: Exception thrown from bean: javax.ejb.EJBException: Attempt to invoke when container is in STOPPED,exceptionFromBeanMethod=null,invId=0,wasCancelCalled=false,yetToSubmitStatus=true]] [2020-10-14T00:04:39.699-0400] [Payara 5.2020] [WARNING] [AS-EJB-00056] [javax.enterprise.ejb.container] [tid: _ThreadID=237 _ThreadName=__ejb-thread-pool1] [timeMillis: 1602648279699] [levelValue: 900] [[ A system exception occurred during an invocation on EJB SavedSearchServiceBean, method: public void edu.harvard.iq.dataverse.search.savedsearch.SavedSearchServiceBean.makeLinksForAllSavedSearchesTimer()]] [2020-10-14T00:04:39.699-0400] [Payara 5.2020] [WARNING] [] [javax.enterprise.ejb.container] [tid: _ThreadID=237 _ThreadName=__ejb-thread-pool1] [timeMillis: 1602648279699] [levelValue: 900] [[

@djbrooke
Copy link
Contributor Author

djbrooke commented Nov 18, 2020

  • Timer appears to fire successfully, exception is thrown
  • It succeeds outside the timer (for one specific saved search (COVID Dataverse), at least)
  • Investigate if this can be set up into multiple transactions if there's an issue with all searches failing because of one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants