page erroring out in a web application

HI,
I have a java application. I built it using maven.
I am getting the following error in logs :

DEBUG 2014-02-21 15:19:57,127 [http-bio-8080-exec-1][] com.yatra.mobile.flight.manager.FlightsMobileManager - {} Get Page Search Results API url: http://dev.yatra.com:8080/ccwebapp/mobile/flight/mdomwap/getFlights.htm?searchId=800776d5-aa92-410e-a3ec-615888ade66a
 INFO 2014-02-21 15:20:46,187 [http-bio-8080-exec-1][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} Setting cookie for sessionId: 205a2e47-2b21-4071-a5e2-de26f17ae571
 INFO 2014-02-21 15:25:29,943 [http-bio-8080-exec-7][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} Setting session id in thread local: 205a2e47-2b21-4071-a5e2-de26f17ae571
 INFO 2014-02-21 15:25:31,020 [http-bio-8080-exec-4][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} Setting session id in thread local: 205a2e47-2b21-4071-a5e2-de26f17ae571
DEBUG 2014-02-21 15:25:31,021 [http-bio-8080-exec-4][] com.yatra.mobile.web.controller.HomeController - {} User-agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
 INFO 2014-02-21 15:25:31,390 [http-bio-8080-exec-8][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} Setting session id in thread local: 205a2e47-2b21-4071-a5e2-de26f17ae571
ERROR 2014-02-21 15:25:32,284 [http-bio-8080-exec-8][] com.yatra.mobile.web.controller.HomeController - {} Getting exception while rendering banner
org.apache.http.client.HttpResponseException: Internal Server Error
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:68)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:54)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:945)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
	at com.yatra.platform.http.YTHttpClient.getAjaxResponse(YTHttpClient.java:39)
	at com.yatra.mobile.web.controller.HomeController.banner(HomeController.java:57)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
 INFO 2014-02-21 15:25:33,296 [http-bio-8080-exec-8][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} Setting session id in thread local: 205a2e47-2b21-4071-a5e2-de26f17ae571
 INFO 2014-02-21 15:25:43,233 [http-bio-8080-exec-5][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} Setting session id in thread local: 205a2e47-2b21-4071-a5e2-de26f17ae571
 INFO 2014-02-21 15:25:43,425 [http-bio-8080-exec-5][] com.yatra.mobile.flight.web.controller.FlightMobileHomeController - {} searchRequestParams FlightsSearchRequestMO[type=O,adultCount=1,childCount=0,infantCount=0,serviceClass=Economy,nonStop=false,refundable=false,preferredAirlineCodes=<null>,preferredTimeRanges=<null>,sectors=[FlightSectorMO[departureDate=2014-03-12,returnDate=2014-02-23,departureCity=Delhi,arrivalCity=Mumbai,departureCityCode=DEL,arrivalCityCode=BOM]]]
DEBUG 2014-02-21 15:25:43,426 [http-bio-8080-exec-5][] com.yatra.mobile.flight.manager.FlightsMobileManager - {} Get search id api url: http://dev.yatra.com:8080/ccwebapp/mobile/flight/mdomwap/getSearchInteractionId.htm?tripType=ONEWAY&noOfAdults=1&noOfChildren=0&noOfInfants=0&travelClass=Economy&tripList[0].origin=DEL&tripList[0].destination=BOM&tripList[0].departureDate=2014-03-12
ERROR 2014-02-21 15:26:06,797 [http-bio-8080-exec-5][] com.yatra.mobile.flight.manager.HttpClientManager - {} Exception while fetching session id
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing ) after argument list (<Unknown source>#1) in <Unknown source> at line number 1
	at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
	at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
	at javax.script.AbstractScriptEngine.eval(Unknown Source)
	at com.yatra.mobile.flight.manager.HttpClientManager.setSessionIdIntoThreadLocal(HttpClientManager.java:52)
	at com.yatra.mobile.flight.manager.HttpClientManager.doGet(HttpClientManager.java:32)
	at com.yatra.mobile.flight.manager.FlightsMobileManager.getSearchId(FlightsMobileManager.java:39)
	at com.yatra.mobile.flight.web.controller.FlightMobileHomeController.Wait(FlightMobileHomeController.java:87)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
DEBUG 2014-02-21 15:26:06,797 [http-bio-8080-exec-5][] com.yatra.mobile.flight.manager.FlightsMobileManager - {} Get search id api returning result: 2461d6fe-d996-4657-8b6a-0057ad887d56
 INFO 2014-02-21 15:26:07,210 [http-bio-8080-exec-5][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} Setting session id in thread local: 205a2e47-2b21-4071-a5e2-de26f17ae571
DEBUG 2014-02-21 15:26:07,212 [http-bio-8080-exec-5][] com.yatra.mobile.flight.manager.FlightsMobileManager - {} Get Page Search Results API url: http://dev.yatra.com:8080/ccwebapp/mobile/flight/mdomwap/getFlights.htm?searchId=2461d6fe-d996-4657-8b6a-0057ad887d56

Open in new window


DEBUG 2014-02-21 15:25:43,437 [http-bio-8080-exec-6][] com.yatra.platform.cache.Caching - {} caching invoke for getTenantId, with args 1 = /ccwebapp/mobile/flight/mdomwap/getSearchInteractionId.htm

ERROR 2014-02-21 15:25:58,100 [http-bio-8080-exec-6][] com.yatra.platform.cache.Caching - {} Error in getting cache instance with name tenantCache
net.sf.ehcache.CacheException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at net.sf.ehcache.constructs.nonstop.NonstopExecutorServiceImpl.execute(NonstopExecutorServiceImpl.java:101)
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1112)
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1156)
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:705)
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:423)
	at net.sf.ehcache.CacheManager.init(CacheManager.java:357)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:242)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:853)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:740)
	at com.yatra.platform.cache.impl.ehcache.EHCacheImpl.<init>(EHCacheImpl.java:27)
	at com.yatra.platform.cache.impl.ehcache.EHCacheImpl.getDefaultInstance(EHCacheImpl.java:50)
	at com.yatra.platform.cache.Caching.doCaching(Caching.java:57)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy317.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigClient.getTenantId(TenantConfigClient.java:87)
	at com.yatra.platform.tenant.TenantUriInterceptor.preHandle(TenantUriInterceptor.java:45)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:594)
	at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:463)
	at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:451)
	at com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:149)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.__tc_getserializationStrategy(ValueModeHandlerSerialization.java)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.loadReferences(ValueModeHandlerSerialization.java:53)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerHibernate.loadReferences(ValueModeHandlerHibernate.java:6)
	at org.terracotta.modules.ehcache.store.ClusteredStore.initalizeTransients(ClusteredStore.java:305)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStoreInternal(TerracottaClusteredInstanceFactory.java:256)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStore(TerracottaClusteredInstanceFactory.java:229)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.createStore(TerracottaClusteredInstanceFactory.java:123)
	at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.createStore(StandaloneTerracottaClusteredInstanceFactory.java:67)
	at net.sf.ehcache.terracotta.ClusteredInstanceFactoryWrapper.createStore(ClusteredInstanceFactoryWrapper.java:93)
	at net.sf.ehcache.CacheManager.createTerracottaStore(CacheManager.java:506)
	at net.sf.ehcache.Cache.initialise(Cache.java:1068)
	at net.sf.ehcache.CacheManager$2.call(CacheManager.java:1114)
	at net.sf.ehcache.CacheManager$2.call(CacheManager.java:1112)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at net.sf.ehcache.constructs.nonstop.NonstopThreadPool$WorkerThreadLocal$1.run(NonstopThreadPool.java:180)
	at net.sf.ehcache.constructs.nonstop.NonstopThreadPool$Worker.run(NonstopThreadPool.java:222)
	... 1 more
Caused by: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.getDeclaredMethods(Unknown Source)
	at com.tc.aspectwerkz.reflect.impl.java.JavaClassInfo.<init>(JavaClassInfo.java:125)
	at com.tc.aspectwerkz.reflect.impl.java.JavaClassInfo.getClassInfo(JavaClassInfo.java:157)
	at com.tc.object.TCClassFactoryImpl.getOrCreate(TCClassFactoryImpl.java:71)
	at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:567)
	... 21 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.type.Type
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
	at com.terracotta.express.ClusteredStateLoader.loadClass(ClusteredStateLoader.java:127)
	... 28 more
DEBUG 2014-02-21 15:25:58,101 [http-bio-8080-exec-6][] com.yatra.platform.cache.Caching - {} Caching key for tenantCache cache for method getTenantId with args 1 = /ccwebapp/mobile/flight/mdomwap/getSearchInteractionId.htm is /ccwebapp/mobile/flight/mdomwap/getSearchInteractionId.htm
DEBUG 2014-02-21 15:25:58,102 [http-bio-8080-exec-6][] com.yatra.platform.cache.Caching - {} Cache instance is null for cache name tenantCache, proceeding with original call
ERROR 2014-02-21 15:25:59,112 [http-bio-8080-exec-6][] com.yatra.platform.cache.Caching - {} Exception while fetching the return value - {}
javax.xml.ws.WebServiceException: Could not send Message.
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
	at $Proxy342.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigDecorator.getTenantId(TenantConfigDecorator.java:67)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
	at com.yatra.platform.cache.Caching.doCaching(Caching.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy317.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigClient.getTenantId(TenantConfigClient.java:87)
	at com.yatra.platform.tenant.TenantUriInterceptor.preHandle(TenantUriInterceptor.java:45)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: ConnectException invoking http://services.yatra.com:6060/TenantConfigService/multiTenant: Connection refused: connect
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1458)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1443)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:659)
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
	... 47 more
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1395)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1337)
	at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
	at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1415)
	... 57 more
ERROR 2014-02-21 15:25:59,114 [http-bio-8080-exec-6][] com.yatra.platform.tenant.TenantUriInterceptor - {} Error while getting tenantId for the uri /ccwebapp/mobile/flight/mdomwap/getSearchInteractionId.htm
javax.xml.ws.WebServiceException: Could not send Message.
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
	at $Proxy342.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigDecorator.getTenantId(TenantConfigDecorator.java:67)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
	at com.yatra.platform.cache.Caching.doCaching(Caching.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy317.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigClient.getTenantId(TenantConfigClient.java:87)
	at com.yatra.platform.tenant.TenantUriInterceptor.preHandle(TenantUriInterceptor.java:45)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: ConnectException invoking http://services.yatra.com:6060/TenantConfigService/multiTenant: Connection refused: connect
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1458)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1443)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:659)
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
	... 47 more
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1395)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1337)
	at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
	at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1415)
	... 57 more
 WARN 2014-02-21 15:25:59,116 [http-bio-8080-exec-6][] com.yatra.platform.tenant.TenantUriInterceptor - {} Setting default tenantId null for the url /ccwebapp/mobile/flight/mdomwap/getSearchInteractionId.htm
 WARN 2014-02-21 15:25:59,116 [http-bio-8080-exec-6][] com.yatra.platform.tenant.TenantUriInterceptor - {} default tenantId null is not set
 INFO 2014-02-21 15:25:59,117 [http-bio-8080-exec-6][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} ***********retreving YatraSession for 205a2e47-2b21-4071-a5e2-de26f17ae571****************** 
DEBUG 2014-02-21 15:25:59,783 [http-bio-8080-exec-6][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} ***********got YatraSession com.yatra.mobile.beans.common.YatraSession@1f4d52a8[
  sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571
  deviceId=<null>
  appVersion=<null>
  createdAt=Fri Feb 21 15:18:36 IST 2014
  status=true
  ipAddress=127.0.0.1
]****************** 
 INFO 2014-02-21 15:25:59,784 [http-bio-8080-exec-6][] com.yatra.mobile.interceptor.MobileInterceptor - {sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571} ******AppVersion is null,deviceId is null, tenantScope is ********
DEBUG 2014-02-21 15:25:59,896 [http-bio-8080-exec-6][] com.yatra.mobile.manager.MobileFlightsSearchManager - {sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571} Search Criteria Request: FlightSearchCriteria[tripType=ONEWAY,tripList=[TripCriteria[origin=DEL,destination=BOM,departureDate=2014-03-12]],noOfAdults=1,noOfChildren=0,noOfInfants=0,travelClass=Economy,showOnlyRefundableFlights=false,showOnlyNonStopFlights=false,hourRanges=<null>,domain=<null>]
 INFO 2014-02-21 15:25:59,897 [http-bio-8080-exec-6][] com.yatra.mobile.manager.MobileFlightsSearchManager - {sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571} Search Interaction Id: 2461d6fe-d996-4657-8b6a-0057ad887d56
DEBUG 2014-02-21 15:26:07,221 [http-bio-8080-exec-3][] com.yatra.platform.cache.Caching - {} caching invoke for getTenantId, with args 1 = /ccwebapp/mobile/flight/mdomwap/getFlights.htm

ERROR 2014-02-21 15:26:28,315 [http-bio-8080-exec-3][] com.yatra.platform.cache.Caching - {} Error in getting cache instance with name tenantCache
net.sf.ehcache.CacheException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at net.sf.ehcache.constructs.nonstop.NonstopExecutorServiceImpl.execute(NonstopExecutorServiceImpl.java:101)
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1112)
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1156)
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:705)
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:423)
	at net.sf.ehcache.CacheManager.init(CacheManager.java:357)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:242)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:853)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:740)
	at com.yatra.platform.cache.impl.ehcache.EHCacheImpl.<init>(EHCacheImpl.java:27)
	at com.yatra.platform.cache.impl.ehcache.EHCacheImpl.getDefaultInstance(EHCacheImpl.java:50)
	at com.yatra.platform.cache.Caching.doCaching(Caching.java:57)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy317.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigClient.getTenantId(TenantConfigClient.java:87)
	at com.yatra.platform.tenant.TenantUriInterceptor.preHandle(TenantUriInterceptor.java:45)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:594)
	at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:463)
	at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:451)
	at com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:149)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.__tc_getserializationStrategy(ValueModeHandlerSerialization.java)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.loadReferences(ValueModeHandlerSerialization.java:53)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerHibernate.loadReferences(ValueModeHandlerHibernate.java:6)
	at org.terracotta.modules.ehcache.store.ClusteredStore.initalizeTransients(ClusteredStore.java:305)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStoreInternal(TerracottaClusteredInstanceFactory.java:256)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStore(TerracottaClusteredInstanceFactory.java:229)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.createStore(TerracottaClusteredInstanceFactory.java:123)
	at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.createStore(StandaloneTerracottaClusteredInstanceFactory.java:67)
	at net.sf.ehcache.terracotta.ClusteredInstanceFactoryWrapper.createStore(ClusteredInstanceFactoryWrapper.java:93)
	at net.sf.ehcache.CacheManager.createTerracottaStore(CacheManager.java:506)
	at net.sf.ehcache.Cache.initialise(Cache.java:1068)
	at net.sf.ehcache.CacheManager$2.call(CacheManager.java:1114)
	at net.sf.ehcache.CacheManager$2.call(CacheManager.java:1112)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at net.sf.ehcache.constructs.nonstop.NonstopThreadPool$WorkerThreadLocal$1.run(NonstopThreadPool.java:180)
	at net.sf.ehcache.constructs.nonstop.NonstopThreadPool$Worker.run(NonstopThreadPool.java:222)
	... 1 more
Caused by: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.getDeclaredMethods(Unknown Source)
	at com.tc.aspectwerkz.reflect.impl.java.JavaClassInfo.<init>(JavaClassInfo.java:125)
	at com.tc.aspectwerkz.reflect.impl.java.JavaClassInfo.getClassInfo(JavaClassInfo.java:157)
	at com.tc.object.TCClassFactoryImpl.getOrCreate(TCClassFactoryImpl.java:71)
	at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:567)
	... 21 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.type.Type
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
	at com.terracotta.express.ClusteredStateLoader.loadClass(ClusteredStateLoader.java:127)
	... 28 more
DEBUG 2014-02-21 15:26:28,316 [http-bio-8080-exec-3][] com.yatra.platform.cache.Caching - {} Caching key for tenantCache cache for method getTenantId with args 1 = /ccwebapp/mobile/flight/mdomwap/getFlights.htm is /ccwebapp/mobile/flight/mdomwap/getFlights.htm
DEBUG 2014-02-21 15:26:28,316 [http-bio-8080-exec-3][] com.yatra.platform.cache.Caching - {} Cache instance is null for cache name tenantCache, proceeding with original call
ERROR 2014-02-21 15:26:29,318 [http-bio-8080-exec-3][] com.yatra.platform.cache.Caching - {} Exception while fetching the return value - {}
javax.xml.ws.WebServiceException: Could not send Message.
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
	at $Proxy342.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigDecorator.getTenantId(TenantConfigDecorator.java:67)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
	at com.yatra.platform.cache.Caching.doCaching(Caching.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy317.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigClient.getTenantId(TenantConfigClient.java:87)
	at com.yatra.platform.tenant.TenantUriInterceptor.preHandle(TenantUriInterceptor.java:45)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: ConnectException invoking http://services.yatra.com:6060/TenantConfigService/multiTenant: Connection refused: connect
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1458)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1443)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:659)
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
	... 47 more
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1395)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1337)
	at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
	at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1415)
	... 57 more
ERROR 2014-02-21 15:26:29,320 [http-bio-8080-exec-3][] com.yatra.platform.tenant.TenantUriInterceptor - {} Error while getting tenantId for the uri /ccwebapp/mobile/flight/mdomwap/getFlights.htm
javax.xml.ws.WebServiceException: Could not send Message.
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
	at $Proxy342.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigDecorator.getTenantId(TenantConfigDecorator.java:67)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
	at com.yatra.platform.cache.Caching.doCaching(Caching.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy317.getTenantId(Unknown Source)
	at com.yatra.platform.tenant.TenantConfigClient.getTenantId(TenantConfigClient.java:87)
	at com.yatra.platform.tenant.TenantUriInterceptor.preHandle(TenantUriInterceptor.java:45)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: ConnectException invoking http://services.yatra.com:6060/TenantConfigService/multiTenant: Connection refused: connect
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1458)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1443)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:659)
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
	... 47 more
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1395)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1337)
	at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
	at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1415)
	... 57 more
 WARN 2014-02-21 15:26:29,321 [http-bio-8080-exec-3][] com.yatra.platform.tenant.TenantUriInterceptor - {} Setting default tenantId null for the url /ccwebapp/mobile/flight/mdomwap/getFlights.htm
 WARN 2014-02-21 15:26:29,321 [http-bio-8080-exec-3][] com.yatra.platform.tenant.TenantUriInterceptor - {} default tenantId null is not set
 INFO 2014-02-21 15:26:29,321 [http-bio-8080-exec-3][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} ***********retreving YatraSession for 205a2e47-2b21-4071-a5e2-de26f17ae571****************** 
DEBUG 2014-02-21 15:26:29,407 [http-bio-8080-exec-3][] com.yatra.mobile.interceptor.SessionHandlerInterceptor - {} ***********got YatraSession com.yatra.mobile.beans.common.YatraSession@1b4bbab5[
  sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571
  deviceId=<null>
  appVersion=<null>
  createdAt=Fri Feb 21 15:18:36 IST 2014
  status=true
  ipAddress=127.0.0.1
]****************** 
 INFO 2014-02-21 15:26:29,407 [http-bio-8080-exec-3][] com.yatra.mobile.interceptor.MobileInterceptor - {sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571} ******AppVersion is null,deviceId is null, tenantScope is ********
DEBUG 2014-02-21 15:26:29,416 [http-bio-8080-exec-3][] com.yatra.mobile.manager.MobileFlightsSearchManager - {sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571, InteractionId=2461d6fe-d996-4657-8b6a-0057ad887d56, interactionType=FlightSearch} Interaction id: 2461d6fe-d996-4657-8b6a-0057ad887d56, sectorId: null, applyFilter: false, FlightsFilter: FlightsFilter [rangeFilters=[], booleanFilters=[], multiSelectFilters=[]], paginate: false, pageNumber: 1, resultsPerPage: 10
 INFO 2014-02-21 15:26:29,416 [http-bio-8080-exec-3][] com.yatra.mobile.manager.MobileFlightsSearchManager - {sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571, InteractionId=2461d6fe-d996-4657-8b6a-0057ad887d56, interactionType=FlightSearch} Getting search result from flight pagination cache for search id: 2461d6fe-d996-4657-8b6a-0057ad887d56
DEBUG 2014-02-21 15:26:49,533 [http-bio-8080-exec-3][] com.yatra.platform.cache.util.CachingUtil - {sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571, InteractionId=2461d6fe-d996-4657-8b6a-0057ad887d56, interactionType=FlightSearch} Error in retreiveing entry with key [2461d6fe-d996-4657-8b6a-0057ad887d56] in cache flightsPaginationCache
ERROR 2014-02-21 15:26:49,534 [http-bio-8080-exec-3][] com.yatra.mobile.manager.MobileFlightsSearchManager - {sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571, InteractionId=2461d6fe-d996-4657-8b6a-0057ad887d56, interactionType=FlightSearch} Exception occuring while search flights
com.yatra.base.common.exception.InternalServiceException: net.sf.ehcache.CacheException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at com.yatra.platform.cache.util.CachingUtil.get(CachingUtil.java:98)
	at com.yatra.mobile.manager.MobileFlightsSearchManager.getFlightSearchResponseForPagination(MobileFlightsSearchManager.java:340)
	at com.yatra.mobile.manager.MobileFlightsSearchManager.getFlightSearchResults(MobileFlightsSearchManager.java:91)
	at com.yatra.mobile.controller.MobileFlightController.getFlightSearchResults(MobileFlightController.java:182)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.ehcache.CacheException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at net.sf.ehcache.constructs.nonstop.NonstopExecutorServiceImpl.execute(NonstopExecutorServiceImpl.java:101)
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1112)
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1156)
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:705)
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:423)
	at net.sf.ehcache.CacheManager.init(CacheManager.java:357)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:242)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:853)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:740)
	at com.yatra.platform.cache.impl.ehcache.EHCacheImpl.<init>(EHCacheImpl.java:27)
	at com.yatra.platform.cache.impl.ehcache.EHCacheImpl.getDefaultInstance(EHCacheImpl.java:50)
	at com.yatra.platform.cache.impl.ehcache.EHCacheImpl.getDefaultInstance(EHCacheImpl.java:39)
	at com.yatra.platform.cache.util.CachingUtil.get(CachingUtil.java:88)
	... 32 more
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:594)
	at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:463)
	at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:451)
	at com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:149)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.__tc_getserializationStrategy(ValueModeHandlerSerialization.java)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.loadReferences(ValueModeHandlerSerialization.java:53)
	at org.terracotta.modules.ehcache.store.ValueModeHandlerHibernate.loadReferences(ValueModeHandlerHibernate.java:6)
	at org.terracotta.modules.ehcache.store.ClusteredStore.initalizeTransients(ClusteredStore.java:305)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStoreInternal(TerracottaClusteredInstanceFactory.java:256)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStore(TerracottaClusteredInstanceFactory.java:229)
	at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.createStore(TerracottaClusteredInstanceFactory.java:123)
	at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.createStore(StandaloneTerracottaClusteredInstanceFactory.java:67)
	at net.sf.ehcache.terracotta.ClusteredInstanceFactoryWrapper.createStore(ClusteredInstanceFactoryWrapper.java:93)
	at net.sf.ehcache.CacheManager.createTerracottaStore(CacheManager.java:506)
	at net.sf.ehcache.Cache.initialise(Cache.java:1068)
	at net.sf.ehcache.CacheManager$2.call(CacheManager.java:1114)
	at net.sf.ehcache.CacheManager$2.call(CacheManager.java:1112)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at net.sf.ehcache.constructs.nonstop.NonstopThreadPool$WorkerThreadLocal$1.run(NonstopThreadPool.java:180)
	at net.sf.ehcache.constructs.nonstop.NonstopThreadPool$Worker.run(NonstopThreadPool.java:222)
	... 1 more
Caused by: java.lang.NoClassDefFoundError: org/hibernate/type/Type
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.getDeclaredMethods(Unknown Source)
	at com.tc.aspectwerkz.reflect.impl.java.JavaClassInfo.<init>(JavaClassInfo.java:125)
	at com.tc.aspectwerkz.reflect.impl.java.JavaClassInfo.getClassInfo(JavaClassInfo.java:157)
	at com.tc.object.TCClassFactoryImpl.getOrCreate(TCClassFactoryImpl.java:71)
	at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:567)
	... 21 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.type.Type
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
	at com.terracotta.express.ClusteredStateLoader.loadClass(ClusteredStateLoader.java:127)
	... 28 more

Open in new window


I think the main error is in the line :
DEBUG 2014-02-21 15:25:43,426 [http-bio-8080-exec-5][] com.yatra.mobile.flight.manager.FlightsMobileManager - {} Get search id api url: http://dev.yatra.com:8080/ccwebapp/mobile/flight/mdomwap/getSearchInteractionId.htm?tripType=ONEWAY&noOfAdults=1&noOfChildren=0&noOfInfants=0&travelClass=Economy&tripList[0].origin=DEL&tripList[0].destination=BOM&tripList[0].departureDate=2014-03-12
ERROR 2014-02-21 15:26:06,797 [http-bio-8080-exec-5][] com.yatra.mobile.flight.manager.HttpClientManager - {} Exception while fetching session id
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing ) after argument list (<Unknown source>#1) in <Unknown source> at line number 1
	at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
	at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
	at javax.script.AbstractScriptEngine.eval(Unknown Source)
	at com.yatra.mobile.flight.manager.HttpClientManager.setSessionIdIntoThreadLocal(HttpClientManager.java:52)
	at com.yatra.mobile.flight.manager.HttpClientManager.doGet(HttpClientManager.java:32)
	at com.yatra.mobile.flight.manager.FlightsMobileManager.getSearchId(FlightsMobileManager.java:39)
	at com.yatra.mobile.flight.web.controller.FlightMobileHomeController.Wait(FlightMobileHomeController.java:87)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Open in new window


But i am not sure.
 I guess there is some issue with the .m2 folder. I see some new jars and files getting created in the .m2 folder
Dont know how they get created. But at one time i deleted the .m2 folder and copied the original copy of it. The application worked. But on restarting my system it started giving the same error.

Unable to proceed further. Please help me to debug this.

Thanks
Rohit BajajAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Rohit BajajConnect With a Mentor Author Commented:
HI,
I changed my JDk to 32 bit and the program ran fine.
I found this tip while searching on google.
0
 
chaitu chaituCommented:
i think this class is missing org.hibernate.type.Type.

try to add hibernate jars.
0
 
Rohit BajajAuthor Commented:
package com.yatra.mobile.flight.manager;

import java.io.IOException;
import java.util.Map;

import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;

import org.apache.commons.io.IOUtils;
import org.apache.http.HttpException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.yatra.base.log.Logger;
import com.yatra.base.log.LoggerFactory;
import com.yatra.mobile.beans.SessionObject;
import com.yatra.mobile.commons.util.SessionKeeper;
import com.yatra.platform.http.YTHttpClient;

@Component
public class HttpClientManager {
    private static final Logger logger = LoggerFactory.getLogger();
    
    @Autowired  private YTHttpClient ytHttpClient;
    
    public String doGet(String url) throws IOException, HttpException {
        SessionObject sessionObject = SessionKeeper.get();
        if(sessionObject != null && sessionObject.getPreSessionId() !=null && !"".equals(sessionObject.getPreSessionId())) {
            url=url+"&sessionId="+SessionKeeper.get().getPreSessionId();
        }
        String result = ytHttpClient.getAjaxResponse(url);
        setSessionIdIntoThreadLocal(result);
        return result;
    }
    
    public String doPost(String url, Map<String, String> requestParam) throws IOException, HttpException {
        SessionObject sessionObject = SessionKeeper.get();
        if(sessionObject != null && sessionObject.getPreSessionId() !=null && !"".equals(sessionObject.getPreSessionId())) {
            requestParam.put("sessionId", sessionObject.getPreSessionId());
        }
        String result = ytHttpClient.getAjaxResponseByPost(url, requestParam);
        setSessionIdIntoThreadLocal(result);
        return result;
    }
    
    private void setSessionIdIntoThreadLocal(String result) {
        if(result != null && !"".equals(result)) {
            ScriptEngineManager manager = new ScriptEngineManager();
            ScriptEngine engine = manager.getEngineByName("javascript");
            try{
                String javascript = IOUtils.toString(this.getClass().getClassLoader().getResourceAsStream("js/getSessionId.js"));
                engine.eval("var input = eval(" + result + ");");
                engine.eval(javascript);
                String sessionId = engine.get("sessionId").toString();
                SessionKeeper.setPostSessionId(sessionId);
            } catch(Exception e) {
                logger.error("Exception while fetching session id", e);
                SessionKeeper.setPostSessionId("");
            }
        }
    }
}

Open in new window


In the above code , the following line is erroriing out :
engine.eval("var input = eval(" + result + ");");

with error :
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing ) after argument list (<Unknown source>#1) in <Unknown source> at line number 1
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Rohit BajajAuthor Commented:
I got till this point on debugging the code in eclipse
0
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
When debugging up to that line, what is the contents of the variable called 'result'?
0
 
Rohit BajajAuthor Commented:
result = c5e12bd7-4921-4e2e-8822-7c34010a4656
0
 
Rohit BajajAuthor Commented:
Internally there goes to a call to the url :
dev.yatra.com:8080/ccwebapp/mobile/flight/mdomwap/getFlights.htm?searchId=63ec0c97-ecba-4c48-9a76-e83520811966&sessionId=205a2e47-2b21-4071-a5e2-de26f17ae571

Which gets handled by the following code :
@RequestMapping(value = "/getFlights")
		public void getFlightSearchResults(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap, 
				@ModelAttribute("flightSearchCriteria") FlightSearchCriteria flightSearchCriteria,
				@RequestParam(required = false) String searchId, @RequestParam(required = false) FlightSortType sortType, @RequestParam(required = false) String sectorId, 
				@RequestParam(defaultValue = "false", required = false) boolean applyFilter, @ModelAttribute("filter") FlightsFilter filter, 
				@RequestParam(defaultValue = "false", required = false) boolean paginate, @RequestParam (defaultValue = "1",required = false) int pageNumber, 
				@RequestParam(defaultValue = "10", required = false) int resultsPerPage) throws IOException {
			try {
		    //Added workaround to handle android request.
			
				if("FirstClass".equalsIgnoreCase(flightSearchCriteria.getTravelClass())) {
		        	flightSearchCriteria.setTravelClass("First");
		    	} else if("Premium".equalsIgnoreCase(flightSearchCriteria.getTravelClass())) {
		    		flightSearchCriteria.setTravelClass("Special");
		    	}
				
				String searchJSON;
				if((searchId != null && !"".equals(searchId)) || (sectorId != null && !"".equals(sectorId))){
					searchJSON =  mobileFlightsSearchManager.getFlightSearchResults(searchId, sortType, sectorId, applyFilter, filter, paginate, pageNumber, resultsPerPage);
				}else if (paginate){
					searchJSON = mobileFlightsSearchManager.getFlightSearchResults(flightSearchCriteria, sortType, pageNumber, resultsPerPage);
				}else{
					searchJSON = mobileFlightsSearchManager.getFlightSearchResults(flightSearchCriteria, sortType);
				}
		    
				response.setContentType("application/json");
				response.getWriter().print(searchJSON);
			}catch(Exception e) {
				logger.error("Exception occuring while search flights", e);
	            String message = propertiesReader.getStringValue(MobileConstants.GENERIC_ERROR_MESSAGE);
	            String errorResponse = ResponseJsonUtil.createJsonObject(MobileConstants.GENERIC_ERROR_CODE, message, searchId, InteractionType.FLIGHT_SEARCH, "");
	            interactionDao.addData(searchId, InteractionType.FLIGHT_SEARCH, InteractionDataType.CLIENT_RESPONSE, errorResponse);
	            response.setContentType("application/json");
				response.getWriter().print(errorResponse);
			}
	}
	

Open in new window


Please help me understand how does @ModelAttribute("flightSearchCriteria") FlightSearchCriteria flightSearchCriteria
terminology works. How does this variable gets assigned a value
0
 
Rohit BajajAuthor Commented:
HI,
I am still struggling with this.
With more debugging i found out that the main culprit can be the following error :
com.yatra.base.common.exception.InternalServiceException: net.sf.ehcache.CacheException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/type/Type

Any comments on how do i resolve it ?

Thanks
0
 
chaitu chaituCommented:
provide the pages and the jars added for your application.
0
 
Rohit BajajAuthor Commented:
I found it using google
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.