0 Replies Latest reply on Aug 5, 2010 3:04 PM by sunita satpathy

    Integration of java ear deployed in jboss cluster with casserver.

    sunita satpathy Newbie

      I have two jboss server used as application server in which my ear is deplyed. these two jboss server are clustered. My apache is deployed in a third server used as web server through which all the request are routed. My cas server is deployed on another single jboss server running on the webserver.

       

      When ever i am deploying the application without cas and accessing its working successfully in the cluster.

      But whenever it is integrated with casserver, after login in the application page goes blank.

       

      and i get the following error on my jboss console:

      18:51:50,207 ERROR [CASReceipt] edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator casValidateUrl=[https://ulborissa.gov.in/casserver/serviceValidate] ticket=[ST-11-nP3TdEvSLRDnZ4E5VI7v-cas] service=[https%3A%2F%2Fulborissa.gov.in%3A443%2FeMunicipality%2FEmployeeLogin.do] renew=false]]] 18:51:50,208 ERROR [CASFilter] edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator casValidateUrl=[https://ulborissa.gov.in/casserver/serviceValidate] ticket=[ST-11-nP3TdEvSLRDnZ4E5VI7v-cas] service=[https%3A%2F%2Fulborissa.gov.in%3A443%2FeMunicipality%2FEmployeeLogin.do] renew=false]]] 18:51:50,208 ERROR [STDERR] javax.servlet.ServletException: edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator casValidateUrl=[https://ulborissa.gov.in/casserver/serviceValidate] ticket=[ST-11-nP3TdEvSLRDnZ4E5VI7v-cas] service=[https%3A%2F%2Fulborissa.gov.in%3A443%2FeMunicipality%2FEmployeeLogin.do] renew=false]]] 18:51:50,208 ERROR [STDERR]  at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:442) 18:51:50,208 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 18:51:50,208 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 18:51:50,208 ERROR [STDERR]  at com.tcs.cdr.govt.emun.co.filters.SecurityFilter.doFilter(SecurityFilter.java:61) 18:51:50,208 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 18:51:50,208 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 18:51:50,208 ERROR [STDERR]  at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) 18:51:50,208 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 18:51:50,208 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 18:51:50,208 ERROR [STDERR]  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 18:51:50,208 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 18:51:50,208 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 18:51:50,209 ERROR [STDERR]  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) 18:51:50,209 ERROR [STDERR]  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 18:51:50,209 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) 18:51:50,209 ERROR [STDERR]  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:135) 18:51:50,209 ERROR [STDERR]  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94) 18:51:50,209 ERROR [STDERR]  at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:88) 18:51:50,209 ERROR [STDERR]  at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62) 18:51:50,209 ERROR [STDERR]  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) 18:51:50,209 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) 18:51:50,209 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) 18:51:50,209 ERROR [STDERR]  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 18:51:50,209 ERROR [STDERR]  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 18:51:50,209 ERROR [STDERR]  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 18:51:50,209 ERROR [STDERR]  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) 18:51:50,209 ERROR [STDERR]  at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436) 18:51:50,209 ERROR [STDERR]  at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384) 18:51:50,209 ERROR [STDERR]  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 18:51:50,209 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:619) 18:51:50,210 ERROR [STDERR] Caused by: edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator casValidateUrl=[https://ulborissa.gov.in/casserver/serviceValidate] ticket=[ST-11-nP3TdEvSLRDnZ4E5VI7v-cas] service=[https%3A%2F%2Fulborissa.gov.in%3A443%2FeMunicipality%2FEmployeeLogin.do] renew=false]]] 18:51:50,210 ERROR [STDERR]  at edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:54) 18:51:50,210 ERROR [STDERR]  at edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:517) 18:51:50,210 ERROR [STDERR]  at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:439) 18:51:50,210 ERROR [STDERR]  ... 29 more 18:51:50,210 ERROR [STDERR] Caused by: java.net.ConnectException: Connection refused 18:51:50,210 ERROR [STDERR]  at java.net.PlainSocketImpl.socketConnect(Native Method) 18:51:50,210 ERROR [STDERR]  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) 18:51:50,210 ERROR [STDERR]  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) 18:51:50,210 ERROR [STDERR]  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) 18:51:50,210 ERROR [STDERR]  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) 18:51:50,210 ERROR [STDERR]  at java.net.Socket.connect(Socket.java:519) 18:51:50,210 ERROR [STDERR]  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550) 18:51:50,210 ERROR [STDERR]  at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141) 18:51:50,210 ERROR [STDERR]  at sun.net.NetworkClient.doConnect(NetworkClient.java:163) 18:51:50,210 ERROR [STDERR]  at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) 18:51:50,211 ERROR [STDERR]  at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) 18:51:50,211 ERROR [STDERR]  at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:271) 18:51:50,211 ERROR [STDERR]  at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:328) 18:51:50,211 ERROR [STDERR]  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172) 18:51:50,211 ERROR [STDERR]  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:778) 18:51:50,211 ERROR [STDERR]  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158) 18:51:50,211 ERROR [STDERR]  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1026) 18:51:50,211 ERROR [STDERR]  at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) 18:51:50,211 ERROR [STDERR]  at edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:91) 18:51:50,211 ERROR [STDERR]  at edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:218) 18:51:50,211 ERROR [STDERR]  at edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:52) 18:51:50,211 ERROR [STDERR]  ... 31 more

       

       

       

       

       

      please help me out as I am badly stuck in this