Hi, Hard to tell with just these logs... Would you mind enabling DEBUG logs on org.scribe.up also ? Thanks. Best regards, Jérôme
2013/8/7 Rohit Kotecha <[email protected]> > Hi Team,**** > > ** ** > > I have one question regarding facebook login.**** > > facebook login is working good with our QA environment where we have CAS > server and our application on the same physical machine.**** > > ** ** > > And on Production envt. we deployed CAS server on machine say "cas" which > has external ip: x.y.z.w and internal ip: a.b.c.d and domain name for this > machine is "cas.auth.com"**** > > ** ** > > and our java application is deploy on other machine.**** > > ** ** > > In the facebook application I have given site url as http://cas.auth.comand > App domain as " > cas.auth.com". **** > > ** ** > > When we click on login with facebook url, facebook login page is display > and user enter his credential , after successful authentication facebook > asked to access user profile information.**** > > After that CAS login page is displayed to the user and we found below > exception in cas.log file.**** > > ** ** > > Google + login is working fine on production environment.**** > > ** ** > > Setting path for cookies to: /auth/**** > > 2013-08-07 18:59:54,168 INFO > [org.jasig.cas.web.flow.InitialFlowSetupAction] - Setting path for cookies > to: /auth/**** > > 2013-08-07 19:00:00,286 INFO > [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - > Beginning ticket cleanup.**** > > 2013-08-07 19:00:00,287 INFO > [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - 0 > tickets found to be removed.**** > > 2013-08-07 19:00:00,287 INFO > [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - > Finished ticket cleanup.**** > > 2013-08-07 19:00:50,751 ERROR > [org.jasig.cas.authentication.AuthenticationManagerImpl] - > org.jasig.cas.support.oauth.authentication.handler.support.OAuthAuthenticationHandler > threw error authenticating > org.jasig.cas.support.oauth.authentication.principal.OAuthCredentials@33d2158c > **** > > java.lang.NullPointerException**** > > at > org.jasig.cas.support.oauth.authentication.handler.support.OAuthAuthenticationHandler.doAuthentication(OAuthAuthenticationHandler.java:54) > **** > > at > org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler.authenticate_aroundBody2(AbstractPreAndPostProcessingAuthenticationHandler.java:85) > **** > > at > org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler.authenticate_aroundBody3$advice(AbstractPreAndPostProcessingAuthenticationHandler.java:57) > **** > > at > org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler.authenticate(AbstractPreAndPostProcessingAuthenticationHandler.java:1) > **** > > at > org.jasig.cas.authentication.AuthenticationManagerImpl.authenticateAndObtainPrincipal(AuthenticationManagerImpl.java:93) > **** > > at > org.jasig.cas.authentication.AbstractAuthenticationManager.authenticate_aroundBody0(AbstractAuthenticationManager.java:57) > **** > > at > org.jasig.cas.authentication.AbstractAuthenticationManager.authenticate_aroundBody1$advice(AbstractAuthenticationManager.java:57) > **** > > at > org.jasig.cas.authentication.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:1) > **** > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**** > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > **** > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > **** > > at java.lang.reflect.Method.invoke(Method.java:597)**** > > 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.github.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:126) > **** > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**** > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > **** > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > **** > > at java.lang.reflect.Method.invoke(Method.java:597)**** > > 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.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) > **** > > at > org.perf4j.aop.AbstractTimingAspect$1.proceed(AbstractTimingAspect.java:47) > **** > > at > org.perf4j.aop.AgnosticTimingAspect.runProfiledMethod(AgnosticTimingAspect.java:53) > **** > > at > org.perf4j.aop.AbstractTimingAspect.doPerfLogging(AbstractTimingAspect.java:45) > **** > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**** > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > **** > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > **** > > at java.lang.reflect.Method.invoke(Method.java:597)**** > > 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 $Proxy42.authenticate(Unknown Source)**** > > at > org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket_aroundBody10(CentralAuthenticationServiceImpl.java:477) > **** > > at > org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket_aroundBody11$advice(CentralAuthenticationServiceImpl.java:57) > **** > > at > org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:1) > **** > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**** > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > **** > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > **** > > at java.lang.reflect.Method.invoke(Method.java:597)**** > > 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.github.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:126) > **** > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**** > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > **** > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > **** > > at java.lang.reflect.Method.invoke(Method.java:597)**** > > 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.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) > **** > > at > org.perf4j.aop.AbstractTimingAspect$1.proceed(AbstractTimingAspect.java:47) > **** > > at > org.perf4j.aop.AgnosticTimingAspect.runProfiledMethod(AgnosticTimingAspect.java:53) > **** > > at > org.perf4j.aop.AbstractTimingAspect.doPerfLogging(AbstractTimingAspect.java:45) > **** > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**** > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > **** > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > **** > > at java.lang.reflect.Method.invoke(Method.java:597)**** > > 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 $Proxy43.createTicketGrantingTicket(Unknown Source)**** > > at > org.jasig.cas.support.oauth.web.flow.OAuthAction.doExecute(OAuthAction.java:102) > **** > > at > org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188) > **** > > at > org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) > **** > > at > org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77) > **** > > at > org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188) > **** > > at > org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145) > **** > > at > org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) > **** > > at > org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101) > **** > > at org.springframework.webflow.engine.State.enter(State.java:194)* > *** > > at org.springframework.webflow.engine.Flow.start(Flow.java:535)*** > * > > at > org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:366) > **** > > at > org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:225) > **** > > at > org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140) > **** > > at > org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193) > **** > > 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:734)*** > * > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)*** > * > > at > org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128) > **** > > at > org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:57) > **** > > at > org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) > **** > > at > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) > **** > > at > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) > **** > > at > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) > **** > > at > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) > **** > > at > com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) > **** > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313) > **** > > at > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287) > **** > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218) > **** > > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) > **** > > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) > **** > > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)* > *** > > at > com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) > **** > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222) > **** > > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) > **** > > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) > **** > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) > **** > > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)**** > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166) > **** > > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) > **** > > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) > **** > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) > **** > > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)**** > > at > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)*** > * > > at > com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666) > **** > > at > com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597) > **** > > at > com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872) > **** > > at > com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) > **** > > at > com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) > **** > > at > com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) > **** > > at > com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382) > **** > > at > com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)** > ** > > at > com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) > **** > > 2013-08-07 19:00:50,759 INFO > [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit > trail record BEGIN**** > > =============================================================**** > > WHO: > org.jasig.cas.support.oauth.authentication.principal.OAuthCredentials@33d2158c > **** > > WHAT: supplied credentials: > org.jasig.cas.support.oauth.authentication.principal.OAuthCredentials@33d2158c > **** > > ACTION: AUTHENTICATION_FAILED**** > > APPLICATION: CAS**** > > WHEN: Wed Aug 07 19:00:50 IST 2013**** > > CLIENT IP ADDRESS: 172.16.5.181**** > > SERVER IP ADDRESS: x.y.z.w**** > > =============================================================**** > > ** ** > > ** ** > > 2013-08-07 19:00:50,760 INFO > [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit > trail record BEGIN**** > > =============================================================**** > > WHO: > org.jasig.cas.support.oauth.authentication.principal.OAuthCredentials@33d2158c > **** > > WHAT: :java.lang.NullPointerException**** > > ACTION: TICKET_GRANTING_TICKET_NOT_CREATED**** > > APPLICATION: CAS**** > > WHEN: Wed Aug 07 19:00:50 IST 2013**** > > CLIENT IP ADDRESS: 172.16.5.181**** > > SERVER IP ADDRESS: x.y.z.w **** > > =============================================================**** > > ** ** > > Thanks and Regard,**** > > Rohit Kotecha**** > > ** ** > > -- > You are currently subscribed to [email protected] as: [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -**************Nihilent*************** > " *** All information contained in this communication is confidential, > proprietary, privileged > and is intended for the addressees only. If youhave received this E-mail in > error please notify > mail administrator by telephone on +91-20-39846100 or E-mail the sender by > replying to > this message, and then delete this E-mail and other copies of it from your > computer system. > Any unauthorized dissemination,publication, transfer or use of the contents > of this communication, > with or without modifications is punishable under the relevant law. > > Nihilent has scanned this mail with current virus checking technologies. > However, Nihilent makes no > representations or warranties to the effect that this communication is > virus-free. > > Nihilent reserves the right to monitor all E-mail communications through its > Corporate Network. *** " > > *************************************************************************- > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
