Service Virtualization

  • 1.  when I am login to the portal I am seeing following error "An error occurred while retrieving the list of VSE servers"

    Posted Aug 20, 2018 01:32 PM

    I am seeing below error logs in portal log file.

    018-08-20 17:12:14,887Z (10:12) [qtp728914892-255] ERROR StackTrace                     - Full Stack Trace:
    retrofit.RetrofitError: 500 Server Error
     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.itko.lisa.vse.VseServerInfoService.$tt__getAllVSEs(VseServerInfoService.groovy:33)
     at grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)
     at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)
     at com.itko.lisa.vse.VseServerInfoController.getAll(VseServerInfoController.groovy:17)
     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at grails.plugin.springsecurity.rest.RestTokenValidationFilter.processFilterChain(RestTokenValidationFilter.groovy:118)
     at grails.plugin.springsecurity.rest.RestTokenValidationFilter.doFilter(RestTokenValidationFilter.groovy:84)
     at grails.plugin.springsecurity.rest.RestAuthenticationFilter.doFilter(RestAuthenticationFilter.groovy:143)
     at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
     at grails.plugin.springsecurity.rest.RestLogoutFilter.doFilter(RestLogoutFilter.groovy:80)
     at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     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:1180)
     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:1112)
     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:134)
     at org.eclipse.jetty.server.Server.handle(Server.java:524)
     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
     at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
     at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
     at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
     at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
     at java.lang.Thread.run(Thread.java:745)
    2018-08-20 17:12:14,887Z (10:12) [qtp728914892-255] ERROR org.grails.web.errors.GrailsExceptionResolver - RetrofitError occurred when processing request: [GET] /devtest/api/sv/vseServers/name,%20performanceEnabled/all
    500 Server Error. Stacktrace follows:
    retrofit.RetrofitError: 500 Server Error
     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.itko.lisa.vse.VseServerInfoService.$tt__getAllVSEs(VseServerInfoService.groovy:33)
     at grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)
     at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)
     at com.itko.lisa.vse.VseServerInfoController.getAll(VseServerInfoController.groovy:17)
     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at grails.plugin.springsecurity.rest.RestTokenValidationFilter.processFilterChain(RestTokenValidationFilter.groovy:118)
     at grails.plugin.springsecurity.rest.RestTokenValidationFilter.doFilter(RestTokenValidationFilter.groovy:84)
     at grails.plugin.springsecurity.rest.RestAuthenticationFilter.doFilter(RestAuthenticationFilter.groovy:143)
     at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
     at grails.plugin.springsecurity.rest.RestLogoutFilter.doFilter(RestLogoutFilter.groovy:80)
     at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
     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:1180)
     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:1112)
     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:134)
     at org.eclipse.jetty.server.Server.handle(Server.java:524)
     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
     at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
     at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
     at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
     at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
     at java.lang.Thread.run(Thread.java:745)

     

    can some one please share the findings if they have similar experience before.



  • 2.  Re: when I am login to the portal I am seeing following error "An error occurred while retrieving the list of VSE servers"

    Broadcom Employee
    Posted Aug 20, 2018 01:39 PM

    1. Can you provide info on whether it was working before or what changed, etc?

    2.What user/role  are you logging in as?

    3. Is the VSE(s) running?

    4. Are you able to see the VSEs in the Workstation?



  • 3.  Re: when I am login to the portal I am seeing following error "An error occurred while retrieving the list of VSE servers"

    Posted Aug 20, 2018 01:51 PM

    1. Can you provide info on whether it was working before or what changed, etc?

    Ans: it was working before.

     

    2.What user/role  are you logging in as?

    Ans: I have following roles got assigned to my user ID: Super USer, DevTest Admin, CAI Power and SV Power

     

    3. Is the VSE(s) running?

    Ans: Yes, VSEs are running.

     

    4. Are you able to see the VSEs in the Workstation?

    Ans: Yes, I am able to see VSE's in the workstation.



  • 4.  Re: when I am login to the portal I am seeing following error "An error occurred while retrieving the list of VSE servers"

    Broadcom Employee
    Posted Aug 20, 2018 03:17 PM

    What version of DevTest are you on?

    Has there been any change to the VSE machines?

    Are there any errors in the VSE logs?



  • 5.  Re: when I am login to the portal I am seeing following error "An error occurred while retrieving the list of VSE servers"
    Best Answer

    Posted Aug 20, 2018 03:25 PM

    Thanks to KOUSTUBH WARTY and Marcy Nunns  for your Quick response.

     

    I amusing Devtest 10.1.0...

     

    any way issue got resolved. one of my infrastructure team is trying to create a VSE's with same name, due to this VSE's are not loading on portal.

     

    Thanks,

    Venu



  • 6.  Re: when I am login to the portal I am seeing following error "An error occurred while retrieving the list of VSE servers"

    Broadcom Employee
    Posted Aug 20, 2018 05:46 PM

    I am glad you got this resolved; that was going to be my next question on the VSE names, multiple VSEs connecting to the same Registry should have unique names, even if they reside on different machines.