Forums

Home » Liferay Sync

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Rewati Raman
how to write CUstom-sql impl class
June 16, 2012 5:29 AM
Answer

Rewati Raman

Rank: Junior Member

Posts: 97

Join Date: February 24, 2012

Recent Posts

creating impl class
with name bookFinderImpl its working and creating the bookFInder interface
but if im trying to change the name instead of bookUpdateImpl it is not creating bookUpdate interface


my structure of class declaration is like this
it is working....

class bookFinderImpl extends BasepersistenceImpl implements bookFinder{


}

but if im writing like this its not working

class bookUpdateImpl extends BasepersistenceImpl implements bookUpdate{


}


need some guidence i am new to custom sql



thanks in advance....
David H Nebinger
RE: how to write CUstom-sql impl class
June 16, 2012 7:56 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 8666

Join Date: September 1, 2006

Recent Posts

You cannot just change the name of a generated class.

There is an underlying contract that ServiceBuilder expects, and this contract is satisfied mostly through the use of named class lookups. If the entity is named "book", there are associated classes such as bookLocalServiceImpl, bookModelImpl, and also bookFinderImpl.

It doesn't matter if the code compiles, by changing the name you've broken the contract.

Leave the names as-is, or at least tell us why you feel you need to change the name...
Rewati Raman
RE: how to write CUstom-sql impl class
June 17, 2012 10:52 PM
Answer

Rewati Raman

Rank: Junior Member

Posts: 97

Join Date: February 24, 2012

Recent Posts

thanks for the reply...
Ben Carson
RE: how to write CUstom-sql impl class
August 29, 2012 3:26 PM
Answer

Ben Carson

Rank: Junior Member

Posts: 25

Join Date: January 9, 2012

Recent Posts

David,
Thank you so much for this explanation. I have spent almost the entire day trying to generate to get Service Builder to generate custom SQL finder code from my AgreementFinderImpl class for my ServiceAgreementLocalServiceImpl class. As soon as I read your post, I changed my finder class to ServiceAgreementFinderImpl and viola, everything generated.

The assumed contract that you mentioned is an oversight on Mr. Sezov's part, as I've been going over Chapter 7 of Liferay in Action repeatedly, trying to solve this issue. Thank goodness for the awesome Liferay community. emoticon
Jacob Katz
RE: how to write CUstom-sql impl class
September 12, 2012 7:21 AM
Answer

Jacob Katz

Rank: New Member

Posts: 1

Join Date: September 12, 2012

Recent Posts

After getting past the step of getting the correct name for my finder, I was able to generate all the correct files and get everything compiled. However, upon trying to deploy and use the new finder, I seem to be getting the notorious "BeanLocator is null" issue. Of course searching for solutions to that issue here is a needle in a haystack, but I'm wondering if someone might have some additional insight.

We're using many other services created by the service builder on our site with no problems. It seems to be specifically the custom SQL finder that is causing an issue.

This is on Liferay 6.0.5 CE. Here's a stack trace:
  1
  22012-09-12 14:00:48,808 DEBUG [the.package.path.portlet.editing.display.ProjectEditingController] (http-0.0.0.0-8080-5) Exception:
  3com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set
  4        at com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate(PortletBeanLocatorUtil.java:40)
  5        at the.package.path.service.persistence.ProcedureFinderUtil.getFinder(ProcedureFinderUtil.java:23)
  6        at the.package.path.service.persistence.ProcedureFinderUtil.getLatestProcedureNumber(ProcedureFinderUtil.java:18)
  7        at the.package.path.service.impl.ProcedureLocalServiceImpl.getProcedureRevisionNumber(ProcedureLocalServiceImpl.java:55)
  8        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  9        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 10        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11        at java.lang.reflect.Method.invoke(Method.java:597)
 12        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 13        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 14        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 15        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
 16        at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
 17        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 18        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 19        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 20        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 21        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 22        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 23        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 24        at $Proxy755.getProcedureRevisionNumber(Unknown Source)
 25        at the.package.path.service.ProcedureLocalServiceUtil.getProcedureRevisionNumber(ProcedureLocalServiceUtil.java:242)
 26        at the.package.path.portlet.projects.BaseProjectController.getProcedureRevisionNumber(BaseProjectController.java:768)
 27        at the.package.path.portlet.projects.BaseProjectController.mapProcedures(BaseProjectController.java:354)
 28        at the.package.path.portlet.projects.BaseProjectController.mapRevision(BaseProjectController.java:289)
 29        at the.package.path.portlet.editing.display.ProjectEditingController.renderProjectEditing(ProjectEditingController.java:202)
 30        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 31        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 32        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 33        at java.lang.reflect.Method.invoke(Method.java:597)
 34        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:654)
 35        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:160)
 36        at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:330)
 37        at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:318)
 38        at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleRender(AnnotationMethodHandlerAdapter.java:266)
 39        at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:742)
 40        at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:531)
 41        at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:479)
 42        at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
 43        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)
 44        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
 45        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
 46        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 47        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 48        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 49        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
 50        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
 51        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
 52        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:638)
 53        at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:723)
 54        at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:425)
 55        at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source)
 56        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 57        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 58        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
 59        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
 60        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
 61        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 62        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 63        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 64        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
 65        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
 66        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
 67        at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:3723)
 68        at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1180)
 69        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:160)
 70        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:94)
 71        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:256)
 72        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:181)
 73        at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(Unknown Source)
 74        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 75        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 76        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
 77        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
 78        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
 79        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 80        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 81        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 82        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
 83        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
 84        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
 85        at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:361)
 86        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:618)
 87        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:229)
 88        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 89        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 90        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:152)
 91        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 92        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 93        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 94        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:508)
 95        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:485)
 96        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 97        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 98        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 99        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
100        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
101        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
102        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
103        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
104        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
105        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
106        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
107        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
108        at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
109        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
110        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
111        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
112        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
113        at com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:88)
114        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
115        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
116        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
117        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
118        at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:137)
119        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
120        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
121        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
122        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
123        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
124        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
125        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
126        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
127        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
128        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
129        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
130        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
131        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
132        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
133        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
134        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
135        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
136        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:133)
137        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
138        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
139        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
140        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
141        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
142        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
143        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
144        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
145        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
146        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
147        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
148        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
149        at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:261)
150        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
151        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
152        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
153        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
154        at com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:88)
155        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
156        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
157        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
158        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
159        at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:126)
160        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
161        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
162        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
163        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
164        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
165        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
166        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
167        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
168        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
169        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:221)
170        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
171        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
172        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
173        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
174        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
175        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
176        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
177        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
178        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
179        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
180        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
181        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
182        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:45)
183        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
184        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
185        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
186        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
187        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
188        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
189        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
190        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
191        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
192        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
193        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
194        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
195        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
196        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
197        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)
198        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
199        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
200        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
201        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
202        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:239)
203        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
204        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
205        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
206        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
207        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
208        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
209        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
210        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
211        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
212        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
213        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
214        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
215        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
216        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
217        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
218        at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
219        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
220        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
221        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
222        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
223        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
224        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
225        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
226        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
227        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
228        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
229        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
230        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
231        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
232        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
233        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
234        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
235        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
236        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
237        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
238        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
239        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
240        at java.lang.Thread.run(Thread.java:662)


Any advice would be much appreciated.