Service Virtualization

 View Only
  • 1.  DevTest 9.5.1 Portal and Demo Server

    Posted Dec 22, 2016 09:11 AM

    I have installed DevTest 9.5.1 along with demo server, all the components installed including demo server and cars application. I tried to open DevTest Portal but i am getting error like Portal error, can not authenticate user. Please make sure the Portal service is running. I have checked the all the services and all are running. I am able to browse Cars application on 3434 port but the demo server which runs on 8080 port is opening and showing Error Communicating with Bank Connection Refused error . Please help on this.....



  • 2.  Re: DevTest 9.5.1 Portal and Demo Server

    Broadcom Employee
    Posted Dec 22, 2016 11:56 AM

    Can you look at the portal.log an let me know what it says?  Sometimes, the portal cannot connect to the Registry for whatever reason although it appears to be running.

     

    Also, when starting the portal, I would wait a few minutes after starting the Registry to ensure that the Registry is completely up and running.  

     

    At the bottom of the login window, does it show the Registry name?

     

    This just looks like Portal is not connected to the Registry correctly.

     

    A webex would be beneficial.  You can create a support case at http://support.ca.com or call 1-800-225-5224 and we will be able to set up a webex.



  • 3.  Re: DevTest 9.5.1 Portal and Demo Server

    Posted Dec 22, 2016 12:16 PM

    Thanks for the reply.

     

    In the portal login window it is not showing the Registry name.

     

    Please find the portal log,

    2016-12-22 17:13:09,415Z (10:13) [qtp1245514621-23] ERROR org.springframework.boot.context.web.ErrorPageFilter - Forwarding to error page from request [/api/login] due to exception [404 Not Found]
    retrofit.RetrofitError: 404 Not Found
        at retrofit.RetrofitError.httpError(RetrofitError.java:39)
        at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:382)
        at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240)
        at com.sun.proxy.$Proxy155.authenticateAndAuthorize(Unknown Source)
        at com.ca.ad.common.Invoke2Service$authenticateAndAuthorize$0.call(Unknown Source)
        at com.ca.ad.common.security.LisaAuthenticationProvider.authenticateAndAuthorize(LisaAuthenticationProvider.groovy:63)
        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.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)
        at com.ca.ad.common.security.LisaAuthenticationProvider.authenticate(LisaAuthenticationProvider.groovy:30)
        at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:167)
        at org.springframework.security.authentication.AuthenticationManager$authenticate.call(Unknown Source)
        at grails.plugin.springsecurity.rest.RestAuthenticationFilter.doFilter(RestAuthenticationFilter.groovy:104)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at javax.servlet.FilterChain$doFilter.call(Unknown Source)
        at grails.plugin.springsecurity.rest.RestLogoutFilter.doFilter(RestLogoutFilter.groovy:80)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
        at org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:73)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
        at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
        at org.springframework.boot.context.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:120)
        at org.springframework.boot.context.web.ErrorPageFilter.access$000(ErrorPageFilter.java:61)
        at org.springframework.boot.context.web.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:95)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.boot.context.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
        at org.eclipse.jetty.server.Server.handle(Server.java:517)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
        at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
        at java.lang.Thread.run(Unknown Source)



  • 4.  Re: DevTest 9.5.1 Portal and Demo Server

    Broadcom Employee
    Posted Dec 22, 2016 12:33 PM

    Are you using Derby or some other database? Can you open the workstation and check if you are able to login? If not, then it is a problem with the database/users. Please confirm....



  • 5.  Re: DevTest 9.5.1 Portal and Demo Server

    Posted Dec 22, 2016 12:36 PM

    I am using Derby Database and i am able to login workstation also



  • 6.  Re: DevTest 9.5.1 Portal and Demo Server

    Posted Dec 26, 2016 08:16 AM

    Hi All, can anyone idea on this....



  • 7.  Re: DevTest 9.5.1 Portal and Demo Server

    Posted Jan 19, 2017 05:13 AM

    I faced a similar issue..Once the registry is connected to Portal correctly, I was able to login in to portal. I gave some time between Registry start up and Portal Start up. It worked.



  • 8.  Re: DevTest 9.5.1 Portal and Demo Server
    Best Answer

    Posted Dec 29, 2016 04:49 AM

    You seem to describe two unrelated problems, the Portal issue - not being able to authenticate the user - , and the demo server issue - connection refused error. 

    The Portal issue may appear if the Portal service is not running or cannot connect to the Registry service to authenticate users. I recommend to stop all the DevTest services, and then start them manually again, following the instructions in Verifying the DevTest Installation - DevTest Solutions - 9.5 - CA Technologies Documentation. After starting the Enterprise Dashboard service wait for 15 seconds, before starting the Registry service. After starting the Registry service, wait another 15 seconds before starting the Portal service. Then start the other DevTest services in any order. It may take 3-5 minutes before the Portal login screen becomes available. It may also take another minute or so to be able to login eventually. If this does not help please open a support ticket as Stephanie Nelson (nelst01) suggested.

    On your demo server issue, please make sure that you completed the demo server test steps in Tutorial 5 - Run a Demo Server Web Application - DevTest Solutions - 9.5 - CA Technologies Documentation