Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-66879

Service Builder throws Unknown Entity for external data source

    Details

    • Fix Priority:
      4

      Description

      Have SB entity that has an external data source and session factory pointing at an external database.

      Code generates okay, but generating exception when trying to use Dynamic Query:

      19:52:37,794 ERROR [http-nio-8080-exec-2][RdrSyncDetailLocalServiceImpl:124] Error invoking sync: org.hibernate.MappingException: Unknown entity: com.example.model.impl.RdrBankOrganizationImpl
      com.liferay.portal.kernel.exception.SystemException: org.hibernate.MappingException: Unknown entity: com.example.model.impl.RdrBankOrganizationImpl
                      at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:267)
                      at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.findWithDynamicQuery(BasePersistenceImpl.java:180)
                      at com.example.service.base.RdrBankOrganizationLocalServiceBaseImpl.dynamicQuery(RdrBankOrganizationLocalServiceBaseImpl.java:179)
                      at com.example.service.impl.RdrBankOrganizationLocalServiceImpl.getOrganizationsUpdatedSince(RdrBankOrganizationLocalServiceImpl.java:66)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:498)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
                      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
                      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
                      at com.sun.proxy.$Proxy566.getOrganizationsUpdatedSince(Unknown Source)
                      at com.example.service.impl.BankOrganizationLocalServiceImpl.synchronizeOrganizations(BankOrganizationLocalServiceImpl.java:100)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:498)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
                      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
                      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
                      at com.sun.proxy.$Proxy558.synchronizeOrganizations(Unknown Source)
                      at com.example.service.impl.RdrSyncDetailLocalServiceImpl.synchronizeWithRDR(RdrSyncDetailLocalServiceImpl.java:68)
                      at com.example.service.impl.RdrSyncDetailLocalServiceImpl.updateRDRSynchronization(RdrSyncDetailLocalServiceImpl.java:108)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:498)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
                      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
                      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
                      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
                      at com.sun.proxy.$Proxy572.updateRDRSynchronization(Unknown Source)
                      at com.example.service.RdrSyncDetailLocalServiceUtil.updateRDRSynchronization(RdrSyncDetailLocalServiceUtil.java:271)
                      at com.example.service.RdrSyncDetailLocalServiceUtil$updateRDRSynchronization.call(Unknown Source)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at Script1.run(Script1.groovy:7)
                      at com.liferay.portal.scripting.groovy.internal.GroovyExecutor.eval(GroovyExecutor.java:64)
                      at com.liferay.portal.scripting.internal.ScriptingImpl.eval(ScriptingImpl.java:87)
                      at com.liferay.portal.scripting.internal.ScriptingImpl.exec(ScriptingImpl.java:122)
                      at com.liferay.server.admin.web.portlet.action.EditServerMVCActionCommand.runScript(EditServerMVCActionCommand.java:463)
                      at com.liferay.server.admin.web.portlet.action.EditServerMVCActionCommand.doProcessAction(EditServerMVCActionCommand.java:206)
                      at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:61)
                      at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:354)
                      at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:93)
                      at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:249)
                      at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
                      at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(CheckboxParametersPortletFilter.java:57)
                      at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)
                      at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
                      at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
                      at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$PortletServletWrapper.service(ServletContextHelperRegistrationImpl.java:427)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
                      at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
                      at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
                      at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:447)
                      at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
                      at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
                      at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)
                      at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:119)
                      at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
                      at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:529)
                      at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:575)
                      at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:334)
                      at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.processAction(MonitoringInvokerPortlet.java:189)
                      at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:412)
                      at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:116)
                      at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:94)
                      at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
                      at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:114)
                      at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:314)
                      at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
                      at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:75)
                      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
                      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
                      at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:169)
                      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
                      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
                      at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:568)
                      at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:545)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
                      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:99)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:307)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
                      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
                      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
                      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
                      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
                      at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:172)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
                      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.security.sso.ntlm.internal.servlet.filter.NtlmPostFilter.processFilter(NtlmPostFilter.java:107)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:99)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:307)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:268)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
                      at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:260)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
                      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
                      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
                      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
                      at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
                      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
                      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
                      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
                      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
                      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
                      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                      at java.lang.Thread.run(Thread.java:745)
      Caused by: org.hibernate.MappingException: Unknown entity: com.example.model.impl.RdrBankOrganizationImpl
                      at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:693)
                      at org.hibernate.impl.SessionImpl.getOuterJoinLoadable(SessionImpl.java:1731)
                      at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1697)
                      at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
                      at com.liferay.portal.dao.orm.hibernate.DynamicQueryImpl.list(DynamicQueryImpl.java:140)
                      at com.liferay.portal.dao.orm.hibernate.DynamicQueryImpl.list(DynamicQueryImpl.java:126)
                      at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.findWithDynamicQuery(BasePersistenceImpl.java:177)
                      ... 263 more
      

        Attachments

        1. module-hbm.xml
          208 kB
        2. module-spring.xml
          8 kB
        3. RdrBankEmployeeFinderImpl.java
          2 kB
        4. rdr-ds-spring.xml
          2 kB
        5. service.xml
          155 kB

          Activity

            People

            Assignee:
            michael.han Michael Han (Inactive)
            Reporter:
            david.nebinger David Nebinger
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 2 weeks ago

                Packages

                Version Package