Service Virtualization

Expand all | Collapse all

DevTest 9.5.1 Portal and Demo Server

Jump to Best Answer
  • 1.  DevTest 9.5.1 Portal and Demo Server

    Posted 12-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

    Posted 12-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 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 12-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(
        at retrofit.RestAdapter$RestHandler.invokeRequest(
        at retrofit.RestAdapter$RestHandler.invoke(
        at com.sun.proxy.$Proxy155.authenticateAndAuthorize(Unknown Source)
        at$authenticateAndAuthorize$ Source)
        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(
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(
        at$ Source)
        at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
        at javax.servlet.FilterChain$ Source)
        at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at org.springframework.boot.context.web.ErrorPageFilter.doFilter(
        at org.springframework.boot.context.web.ErrorPageFilter.access$000(
        at org.springframework.boot.context.web.ErrorPageFilter$1.doFilterInternal(
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(
        at org.springframework.boot.context.web.ErrorPageFilter.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
        at org.eclipse.jetty.servlet.ServletHandler.doScope(
        at org.eclipse.jetty.server.session.SessionHandler.doScope(
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
        at org.eclipse.jetty.server.Server.handle(
        at org.eclipse.jetty.server.HttpChannel.handle(
        at org.eclipse.jetty.server.HttpConnection.onFillable(
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
        at org.eclipse.jetty.util.thread.QueuedThreadPool$
        at Source)

  • 4.  Re: DevTest 9.5.1 Portal and Demo Server

    Posted 12-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 12-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 12-26-2016 08:16 AM

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

  • 7.  Re: DevTest 9.5.1 Portal and Demo Server

    Posted 01-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 12-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