This discussion is archived
8 Replies Latest reply: Dec 8, 2013 11:51 AM by Rajendar Pilli RSS

Login failure after WCS installation, port 80 instead of 7002

H. Lemelson Newbie
Currently Being Moderated

Hi all,

 

I just finished a clean install of Webcenter Sites on WebLogic server on Oracle Linux 6 today.

Basically things went quite well. However, I still have one issue.

I have WCS running on ports 7002 and 7003 (HTTPS/HTTP), as suggesterd during the installation.

 

Now, at the end of the installation, the tests failed. Looking at the logs showed me that this was due to an attempt to connect to CAS via HTTPS on port 80.

Obviously, this will not work. So I continued anyway. Now, when I open the WCS login page at "https://orcl:7002/cs/login" I am redirected to "https://orcl:7002/cas/login?service=https%3A%2F%2Forcl%3A7002%2Fcs%2Fwem%2Ffatwire%2Fwem%2FWelcome".

 

So far so good, but when I now enter the login credentials, I get the following error message:

 

Error 500--Internal Server Error
org.springframework.webflow.engine.ActionExecutionException: Exception thrown executing [AnnotatedAction@17d07a5a targetAction = org.jasig.cas.web.flow.AuthenticationViaFormAction@7ecae063, attributes = map['method' -> 'submit']] in state 'submit' of flow 'login-webflow' -- action execution attributes were 'map['method' -> 'submit']'; nested exception is java.lang.RuntimeException: java.net.ConnectException: Tried all: 1 addresses, but could not connect over HTTPS to server: orcl port: 80
  at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:64)
  at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:156)
  at org.springframework.webflow.engine.State.enter(State.java:191)
  at org.springframework.webflow.engine.Transition.execute(Transition.java:212)
  at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:107)
  at org.springframework.webflow.engine.Flow.onEvent(Flow.java:534)
  at org.springframework.webflow.engine.impl.RequestControlContextImpl.signalEvent(RequestControlContextImpl.java:205)
  at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:161)
  at org.springframework.webflow.engine.State.enter(State.java:191)
  at org.springframework.webflow.engine.Transition.execute(Transition.java:212)
  at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:107)
  at org.springframework.webflow.engine.Flow.onEvent(Flow.java:534)
  at org.springframework.webflow.engine.impl.RequestControlContextImpl.signalEvent(RequestControlContextImpl.java:205)
  at org.springframework.webflow.engine.impl.FlowExecutionImpl.signalEvent(FlowExecutionImpl.java:202)
  at org.springframework.webflow.executor.FlowExecutorImpl.resume(FlowExecutorImpl.java:222)
  at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:111)
  at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:165)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
  at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
  at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
  at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)
  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at com.fatwire.cas.web.CASXSSFilter.doFilter(CASXSSFilter.java:94)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
  at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
  at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
  at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
Caused by: java.lang.RuntimeException: java.net.ConnectException: Tried all: 1 addresses, but could not connect over HTTPS to server: orcl port: 80
  at com.fatwire.security.common.SecurityRemotePost.securePost(SecurityRemotePost.java:102)
  at com.fatwire.wem.sso.cas.plugin.CSAuthenticationHandler.authenticateUsernamePasswordInternal(CSAuthenticationHandler.java:106)
  at org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler.doAuthentication(AbstractUsernamePasswordAuthenticationHandler.java:56)
  at org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler.authenticate(AbstractPreAndPostProcessingAuthenticationHandler.java:71)
  at org.jasig.cas.authentication.AuthenticationManagerImpl.authenticate(AuthenticationManagerImpl.java:88)
  at org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:417)
  at org.jasig.cas.web.flow.AuthenticationViaFormAction.submit(AuthenticationViaFormAction.java:107)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.springframework.webflow.util.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:99)
  at org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:133)
  at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:192)
  at org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:146)
  at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:59)
  ... 51 more
Caused by: java.net.ConnectException: Tried all: 1 addresses, but could not connect over HTTPS to server: orcl port: 80
  at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:309)
  at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:374)
  at weblogic.net.http.HttpsClient.New(HttpsClient.java:574)
  at weblogic.net.http.HttpsClient.New(HttpsClient.java:555)
  at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:238)
  at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:431)
  at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
  at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:1075)
  at com.fatwire.security.common.SecurityRemotePost.securePost(SecurityRemotePost.java:79)
  ... 66 more

 

As far as I see it, the error again is caused by something trying to connect via HTTPS on port 80.

My question now is: Where is this faulty endpoint configured? I must have missed the port 80 setting somewhere and now would like to change it to 7002 to get things going.

 

However, if you think I have messed things up completely, I'd also be very happy if you could share your thoughts and maybe point me to some best practices for installing WCS on WL on OL 6 .

 

Thanks a lot in advance.

Hendrik

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points