You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geode.apache.org by "Chaudhary, Sushil (CONT)" <Su...@capitalone.com> on 2016/07/20 17:39:17 UTC
Issue while starting swagger API
Hi ,
I am getting ‘Address already in used’ while enabling Swagger API on my primary locator node ( 10.205.84.13). Pulse is already running and I can access the same on 7070 port. Not sure, whats wrong here.
gfsh>start server --name=server1 --mcast-port=10338 --server-port=40404 --max-heap=50G --off-heap-memory-size=10G --critical-off-heap-percentage=90 --group=group1 --socket-buffer-size=3072 --J=-Dgemfire.start-dev-rest-api=true --J=-Dgemfire.http-service-bind-address=10.205.84.13 --J=-Dgemfire.http-service-bind-port=8081 --J=-Dgemfire.jmx-manager=true --J=-Dgemfire.jmx-manager-start=true --enable-time-statistics=true --rebalance;
Starting a GemFire Server in /home/ec2-user/server1...
The Cache Server process terminated unexpectedly with exit status 1. Please refer to the log file in /home/ec2-user/server1 for full details.
Jul 20, 2016 12:31:13 PM org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
Jul 20, 2016 12:31:13 PM org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
INFO: Refreshing Root WebApplicationContext: startup date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
Jul 20, 2016 12:31:13 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]
Jul 20, 2016 12:31:13 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-security.xml]
Jul 20, 2016 12:31:13 PM org.springframework.security.core.SpringSecurityCoreVersion <clinit>
INFO: You are running with Spring Security Core 3.1.7.RELEASE
Jul 20, 2016 12:31:13 PM org.springframework.security.core.SpringSecurityCoreVersion <clinit>
SEVERE: *** Spring Major version '3' expected, but you are running with version: 4.2.4.RELEASE. Please check your classpath for unwanted jar files.
Jul 20, 2016 12:31:13 PM org.springframework.security.config.SecurityNamespaceHandler <init>
INFO: Spring Security 'config' module version is 3.1.7.RELEASE
Jul 20, 2016 12:31:13 PM org.springframework.security.config.http.HttpSecurityBeanDefinitionParser checkFilterChainOrder
INFO: Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>, order = 800, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1200, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1300, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1400, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1900, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2000]
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/pulseUpdate],methods=[POST]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getPulseUpdate(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/authenticateUser],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.authenticateUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/clusterLogout],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clusterLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/clearAlerts],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clearAlerts(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/acknowledgeAlert],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.acknowledgeAlert(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/dataBrowserRegions],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserRegions(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/dataBrowserQuery],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQuery(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/dataBrowserQueryHistory],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQueryHistory(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/dataBrowserExport],methods=[POST]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserExport(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/pulseProductSupport],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getConfiguredPulseProduct(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/getQueryStatisticsGridModel],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getQueryStatisticsGridModel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/pulseVersion],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.pulseVersion(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver initExceptionHandlerAdviceCache
INFO: Detected @ExceptionHandler methods in exceptionHandlingAdvice
Jul 20, 2016 12:31:14 PM org.springframework.security.web.DefaultSecurityFilterChain <init>
INFO: Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@1f78d415, org.springframework.security.web.authentication.logout.LogoutFilter@1c046c92, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@27960b1e, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@643ba1ed, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3d3a1903, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@26582ca, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@153cb763, org.springframework.security.web.session.SessionManagementFilter@2c3158e0, org.springframework.security.web.access.ExceptionTranslationFilter@412ebe64, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6f731759]
Jul 20, 2016 12:31:14 PM org.springframework.security.config.http.DefaultFilterChainValidator checkLoginPageIsntProtected
INFO: Checking whether login URL '/Login.html' is accessible with your configuration
Jul 20, 2016 12:31:14 PM org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 1172 ms
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet 'mvc-dispatcher': initialization started
Jul 20, 2016 12:31:14 PM org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
INFO: Refreshing WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016]; parent: Root WebApplicationContext
Jul 20, 2016 12:31:14 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/pulseUpdate],methods=[POST]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getPulseUpdate(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/authenticateUser],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.authenticateUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/clusterLogout],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clusterLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/clearAlerts],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clearAlerts(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/acknowledgeAlert],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.acknowledgeAlert(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/dataBrowserRegions],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserRegions(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/dataBrowserQuery],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQuery(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/dataBrowserQueryHistory],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQueryHistory(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/dataBrowserExport],methods=[POST]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserExport(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/pulseProductSupport],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getConfiguredPulseProduct(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/getQueryStatisticsGridModel],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getQueryStatisticsGridModel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped "{[/pulseVersion],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.pulseVersion(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016]; parent: Root WebApplicationContext
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016]; parent: Root WebApplicationContext
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver initExceptionHandlerAdviceCache
INFO: Detected @ExceptionHandler methods in exceptionHandlingAdvice
Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet 'mvc-dispatcher': initialization completed in 208 ms
Jul 20, 2016 12:31:16 PM org.springframework.web.context.support.XmlWebApplicationContext doClose
INFO: Closing WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016]; parent: Root WebApplicationContext
Jul 20, 2016 12:31:16 PM org.springframework.web.context.support.XmlWebApplicationContext doClose
INFO: Closing Root WebApplicationContext: startup date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
Exception in thread "main" com.gemstone.gemfire.management.ManagementException: HTTP service failed to start
at com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:279)
at com.gemstone.gemfire.management.internal.ManagementAgent.startAgent(ManagementAgent.java:125)
at com.gemstone.gemfire.management.internal.SystemManagementService.startManager(SystemManagementService.java:475)
at com.gemstone.gemfire.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:195)
at com.gemstone.gemfire.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:118)
at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2132)
at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:515)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1165)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:796)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:784)
at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:178)
at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:228)
at com.gemstone.gemfire.distributed.internal.DefaultServerLauncherCacheProvider.createCache(DefaultServerLauncherCacheProvider.java:55)
at com.gemstone.gemfire.distributed.ServerLauncher.createCache(ServerLauncher.java:806)
at com.gemstone.gemfire.distributed.ServerLauncher.start(ServerLauncher.java:726)
at com.gemstone.gemfire.distributed.ServerLauncher.run(ServerLauncher.java:656)
at com.gemstone.gemfire.distributed.ServerLauncher.main(ServerLauncher.java:207)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:326)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:384)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.gemstone.gemfire.management.internal.JettyHelper.startJetty(JettyHelper.java:147)
at com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:251)
... 16 more
Sushil Chaudhary
Email: sushil.chaudhary@capitalone.com<ma...@capitalone.com>
________________________________________________________
The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
Re: Issue while starting swagger API
Posted by Swapnil Bawaskar <sb...@pivotal.io>.
The property --J=-Dgemfire.http-service-bind-port=8081 should be
--J=-Dgemfire.http-service-port=8081 (without "bind"). As a result the REST
API was trying to start on the default port 7070, where as you mentioned
pulse was already running.
On Wed, Jul 20, 2016 at 11:47 AM, Wayne Lund <wl...@pivotal.io> wrote:
> If you’re on OSX its sudo lsof -i :8081
>
> *Wayne Lund*
> Platform Architect
> 916.296.1893
> wlund@pivotal.io <jo...@pivotal.io>
> www.pivotal.io
>
>
> On Jul 20, 2016, at 10:41 AM, Matt Ross <mr...@pivotal.io> wrote:
>
> Hi Sushil,
>
> The exception you're getting is
> Caused by: java.net.BindException: Address already in use
>
> Can you please check if there are any processes already using port 8081 on
> the node you're running on? Thanks
>
>
> On Wed, Jul 20, 2016 at 1:39 PM, Chaudhary, Sushil (CONT) <
> Sushil.Chaudhary@capitalone.com> wrote:
>
>> Hi ,
>> I am getting ‘Address already in used’ while enabling Swagger API on my
>> primary locator node ( 10.205.84.13). Pulse is already running and I
>> can access the same on 7070 port. Not sure, whats wrong here.
>>
>> gfsh>start server --name=server1 --mcast-port=10338 --server-port=40404
>> --max-heap=50G --off-heap-memory-size=10G --critical-off-heap-percentage=90
>> --group=group1 --socket-buffer-size=3072 --J=-Dgemfire.start-dev-rest-api=true
>> --J=-Dgemfire.http-service-bind-address=10.205.84.13
>> --J=-Dgemfire.http-service-bind-port=8081
>> --J=-Dgemfire.jmx-manager=true --J=-Dgemfire.jmx-manager-start=true
>> --enable-time-statistics=true --rebalance;
>> Starting a GemFire Server in /home/ec2-user/server1...
>> The Cache Server process terminated unexpectedly with exit status 1.
>> Please refer to the log file in /home/ec2-user/server1 for full details.
>>
>> Jul 20, 2016 12:31:13 PM org.springframework.web.context.ContextLoader
>> initWebApplicationContext
>> INFO: Root WebApplicationContext: initialization started
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.context.support.XmlWebApplicationContext
>> prepareRefresh
>> INFO: Refreshing Root WebApplicationContext: startup date [Wed Jul 20
>> 12:31:13 EDT 2016]; root of context hierarchy
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from ServletContext resource
>> [/WEB-INF/mvc-dispatcher-servlet.xml]
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from ServletContext resource
>> [/WEB-INF/spring-security.xml]
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.security.core.SpringSecurityCoreVersion <clinit>
>> INFO: You are running with Spring Security Core 3.1.7.RELEASE
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.security.core.SpringSecurityCoreVersion <clinit>
>> SEVERE: *** Spring Major version '3' expected, but you are running with
>> version: 4.2.4.RELEASE. Please check your classpath for unwanted jar files.
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.security.config.SecurityNamespaceHandler <init>
>> INFO: Spring Security 'config' module version is 3.1.7.RELEASE
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.security.config.http.HttpSecurityBeanDefinitionParser
>> checkFilterChainOrder
>> INFO: Checking sorted filter chain: [Root bean: class
>> [org.springframework.security.web.context.SecurityContextPersistenceFilter];
>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
>> autowireCandidate=true; primary=false; factoryBeanName=null;
>> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
>> = 200, Root bean: class
>> [org.springframework.security.web.authentication.logout.LogoutFilter];
>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
>> autowireCandidate=true; primary=false; factoryBeanName=null;
>> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
>> = 400,
>> <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>,
>> order = 800, Root bean: class
>> [org.springframework.security.web.authentication.www.BasicAuthenticationFilter];
>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
>> autowireCandidate=true; primary=false; factoryBeanName=null;
>> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
>> = 1200, Root bean: class
>> [org.springframework.security.web.savedrequest.RequestCacheAwareFilter];
>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
>> autowireCandidate=true; primary=false; factoryBeanName=null;
>> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
>> = 1300, Root bean: class
>> [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter];
>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
>> autowireCandidate=true; primary=false; factoryBeanName=null;
>> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
>> = 1400, Root bean: class
>> [org.springframework.security.web.authentication.AnonymousAuthenticationFilter];
>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
>> autowireCandidate=true; primary=false; factoryBeanName=null;
>> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
>> = 1700, Root bean: class
>> [org.springframework.security.web.session.SessionManagementFilter]; scope=;
>> abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
>> autowireCandidate=true; primary=false; factoryBeanName=null;
>> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
>> = 1800, Root bean: class
>> [org.springframework.security.web.access.ExceptionTranslationFilter];
>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
>> autowireCandidate=true; primary=false; factoryBeanName=null;
>> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
>> = 1900,
>> <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>,
>> order = 2000]
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/pulseUpdate],methods=[POST]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getPulseUpdate(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/authenticateUser],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.authenticateUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/clusterLogout],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clusterLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/clearAlerts],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clearAlerts(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/acknowledgeAlert],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.acknowledgeAlert(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/dataBrowserRegions],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserRegions(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/dataBrowserQuery],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQuery(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/dataBrowserQueryHistory],methods=[GET]}" onto public
>> void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQueryHistory(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/dataBrowserExport],methods=[POST]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserExport(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/pulseProductSupport],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getConfiguredPulseProduct(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/getQueryStatisticsGridModel],methods=[GET]}" onto public
>> void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getQueryStatisticsGridModel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:13 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/pulseVersion],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.pulseVersion(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
>> initControllerAdviceCache
>> INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup
>> date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
>> initControllerAdviceCache
>> INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup
>> date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
>> initExceptionHandlerAdviceCache
>> INFO: Detected @ExceptionHandler methods in exceptionHandlingAdvice
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.security.web.DefaultSecurityFilterChain <init>
>> INFO: Creating filter chain:
>> org.springframework.security.web.util.AnyRequestMatcher@1,
>> [org.springframework.security.web.context.SecurityContextPersistenceFilter@1f78d415,
>> org.springframework.security.web.authentication.logout.LogoutFilter@1c046c92,
>> org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@27960b1e,
>> org.springframework.security.web.authentication.www.BasicAuthenticationFilter@643ba1ed,
>> org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3d3a1903,
>> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@26582ca,
>> org.springframework.security.web.authentication.AnonymousAuthenticationFilter@153cb763,
>> org.springframework.security.web.session.SessionManagementFilter@2c3158e0,
>> org.springframework.security.web.access.ExceptionTranslationFilter@412ebe64,
>> org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6f731759
>> ]
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.security.config.http.DefaultFilterChainValidator
>> checkLoginPageIsntProtected
>> INFO: Checking whether login URL '/Login.html' is accessible with your
>> configuration
>> Jul 20, 2016 12:31:14 PM org.springframework.web.context.ContextLoader
>> initWebApplicationContext
>> INFO: Root WebApplicationContext: initialization completed in 1172 ms
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.DispatcherServlet initServletBean
>> INFO: FrameworkServlet 'mvc-dispatcher': initialization started
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.context.support.XmlWebApplicationContext
>> prepareRefresh
>> INFO: Refreshing WebApplicationContext for namespace
>> 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016];
>> parent: Root WebApplicationContext
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from ServletContext resource
>> [/WEB-INF/mvc-dispatcher-servlet.xml]
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/pulseUpdate],methods=[POST]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getPulseUpdate(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/authenticateUser],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.authenticateUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/clusterLogout],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clusterLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/clearAlerts],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clearAlerts(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/acknowledgeAlert],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.acknowledgeAlert(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/dataBrowserRegions],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserRegions(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/dataBrowserQuery],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQuery(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/dataBrowserQueryHistory],methods=[GET]}" onto public
>> void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQueryHistory(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/dataBrowserExport],methods=[POST]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserExport(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/pulseProductSupport],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getConfiguredPulseProduct(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/getQueryStatisticsGridModel],methods=[GET]}" onto public
>> void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getQueryStatisticsGridModel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> register
>> INFO: Mapped "{[/pulseVersion],methods=[GET]}" onto public void
>> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.pulseVersion(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws java.io.IOException
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
>> initControllerAdviceCache
>> INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace
>> 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016];
>> parent: Root WebApplicationContext
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
>> initControllerAdviceCache
>> INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace
>> 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016];
>> parent: Root WebApplicationContext
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
>> initExceptionHandlerAdviceCache
>> INFO: Detected @ExceptionHandler methods in exceptionHandlingAdvice
>> Jul 20, 2016 12:31:14 PM
>> org.springframework.web.servlet.DispatcherServlet initServletBean
>> INFO: FrameworkServlet 'mvc-dispatcher': initialization completed in 208
>> ms
>> Jul 20, 2016 12:31:16 PM
>> org.springframework.web.context.support.XmlWebApplicationContext doClose
>> INFO: Closing WebApplicationContext for namespace
>> 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016];
>> parent: Root WebApplicationContext
>> Jul 20, 2016 12:31:16 PM
>> org.springframework.web.context.support.XmlWebApplicationContext doClose
>> INFO: Closing Root WebApplicationContext: startup date [Wed Jul 20
>> 12:31:13 EDT 2016]; root of context hierarchy
>> Exception in thread "main"
>> com.gemstone.gemfire.management.ManagementException: HTTP service failed to
>> start
>> at
>> com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:279)
>> at
>> com.gemstone.gemfire.management.internal.ManagementAgent.startAgent(ManagementAgent.java:125)
>> at
>> com.gemstone.gemfire.management.internal.SystemManagementService.startManager(SystemManagementService.java:475)
>> at
>> com.gemstone.gemfire.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:195)
>> at
>> com.gemstone.gemfire.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:118)
>> at
>> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2132)
>> at
>> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:515)
>> at
>> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1165)
>> at
>> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:796)
>> at
>> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:784)
>> at
>> com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:178)
>> at
>> com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:228)
>> at
>> com.gemstone.gemfire.distributed.internal.DefaultServerLauncherCacheProvider.createCache(DefaultServerLauncherCacheProvider.java:55)
>> at
>> com.gemstone.gemfire.distributed.ServerLauncher.createCache(ServerLauncher.java:806)
>> at
>> com.gemstone.gemfire.distributed.ServerLauncher.start(ServerLauncher.java:726)
>> at
>> com.gemstone.gemfire.distributed.ServerLauncher.run(ServerLauncher.java:656)
>> at
>> com.gemstone.gemfire.distributed.ServerLauncher.main(ServerLauncher.java:207)
>> Caused by: java.net.BindException: Address already in use
>> at sun.nio.ch.Net.bind0(Native Method)
>> at sun.nio.ch.Net.bind(Net.java:433)
>> at sun.nio.ch.Net.bind(Net.java:425)
>> at
>> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
>> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
>> at
>> org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:326)
>> at
>> org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
>> at
>> org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>> at org.eclipse.jetty.server.Server.doStart(Server.java:384)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>> at
>> com.gemstone.gemfire.management.internal.JettyHelper.startJetty(JettyHelper.java:147)
>> at
>> com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:251)
>> ... 16 more
>>
>>
>> *Sushil Chaudhary*
>> *Email*: sushil.chaudhary@capitalone.com
>>
>> ------------------------------
>> The information contained in this e-mail is confidential and/or
>> proprietary to Capital One and/or its affiliates and may only be used
>> solely in performance of work or services for Capital One. The information
>> transmitted herewith is intended only for use by the individual or entity
>> to which it is addressed. If the reader of this message is not the intended
>> recipient, you are hereby notified that any review, retransmission,
>> dissemination, distribution, copying or other use of, or taking of any
>> action in reliance upon this information is strictly prohibited. If you
>> have received this communication in error, please contact the sender and
>> delete the material from your computer.
>>
>
>
>
> --
> *Matthew Ross | Data Engineer | Pivotal*
> *625 Avenue of the Americas NY, NY 10011*
> *516-941-7535 <516-941-7535> | mross@pivotal.io <mr...@pivotal.io> *
>
>
>
Re: Issue while starting swagger API
Posted by Wayne Lund <wl...@pivotal.io>.
If you’re on OSX its sudo lsof -i :8081
Wayne Lund
Platform Architect
916.296.1893
wlund@pivotal.io <ma...@pivotal.io>
www.pivotal.io <http://www.pivotal.io/>
> On Jul 20, 2016, at 10:41 AM, Matt Ross <mr...@pivotal.io> wrote:
>
> Hi Sushil,
>
> The exception you're getting is
> Caused by: java.net.BindException: Address already in use
>
> Can you please check if there are any processes already using port 8081 on the node you're running on? Thanks
>
>
> On Wed, Jul 20, 2016 at 1:39 PM, Chaudhary, Sushil (CONT) <Sushil.Chaudhary@capitalone.com <ma...@capitalone.com>> wrote:
> Hi ,
> I am getting ‘Address already in used’ while enabling Swagger API on my primary locator node ( 10.205.84.13). Pulse is already running and I can access the same on 7070 port. Not sure, whats wrong here.
>
> gfsh>start server --name=server1 --mcast-port=10338 --server-port=40404 --max-heap=50G --off-heap-memory-size=10G --critical-off-heap-percentage=90 --group=group1 --socket-buffer-size=3072 --J=-Dgemfire.start-dev-rest-api=true --J=-Dgemfire.http-service-bind-address=10.205.84.13 --J=-Dgemfire.http-service-bind-port=8081 --J=-Dgemfire.jmx-manager=true --J=-Dgemfire.jmx-manager-start=true --enable-time-statistics=true --rebalance;
> Starting a GemFire Server in /home/ec2-user/server1...
> The Cache Server process terminated unexpectedly with exit status 1. Please refer to the log file in /home/ec2-user/server1 for full details.
>
> Jul 20, 2016 12:31:13 PM org.springframework.web.context.ContextLoader initWebApplicationContext
> INFO: Root WebApplicationContext: initialization started
> Jul 20, 2016 12:31:13 PM org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
> INFO: Refreshing Root WebApplicationContext: startup date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
> Jul 20, 2016 12:31:13 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
> INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]
> Jul 20, 2016 12:31:13 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
> INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-security.xml]
> Jul 20, 2016 12:31:13 PM org.springframework.security.core.SpringSecurityCoreVersion <clinit>
> INFO: You are running with Spring Security Core 3.1.7.RELEASE
> Jul 20, 2016 12:31:13 PM org.springframework.security.core.SpringSecurityCoreVersion <clinit>
> SEVERE: *** Spring Major version '3' expected, but you are running with version: 4.2.4.RELEASE. Please check your classpath for unwanted jar files.
> Jul 20, 2016 12:31:13 PM org.springframework.security.config.SecurityNamespaceHandler <init>
> INFO: Spring Security 'config' module version is 3.1.7.RELEASE
> Jul 20, 2016 12:31:13 PM org.springframework.security.config.http.HttpSecurityBeanDefinitionParser checkFilterChainOrder
> INFO: Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>, order = 800, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1200, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1300, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1400, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1900, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2000]
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/pulseUpdate],methods=[POST]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getPulseUpdate(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/authenticateUser],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.authenticateUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/clusterLogout],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clusterLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/clearAlerts],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clearAlerts(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/acknowledgeAlert],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.acknowledgeAlert(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/dataBrowserRegions],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserRegions(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/dataBrowserQuery],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQuery(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/dataBrowserQueryHistory],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQueryHistory(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/dataBrowserExport],methods=[POST]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserExport(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/pulseProductSupport],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getConfiguredPulseProduct(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/getQueryStatisticsGridModel],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getQueryStatisticsGridModel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:13 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/pulseVersion],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.pulseVersion(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
> INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
> INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver initExceptionHandlerAdviceCache
> INFO: Detected @ExceptionHandler methods in exceptionHandlingAdvice
> Jul 20, 2016 12:31:14 PM org.springframework.security.web.DefaultSecurityFilterChain <init>
> INFO: Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@1f78d415, org.springframework.security.web.authentication.logout.LogoutFilter@1c046c92, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@27960b1e, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@643ba1ed, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3d3a1903, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@26582ca, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@153cb763, org.springframework.security.web.session.SessionManagementFilter@2c3158e0, org.springframework.security.web.access.ExceptionTranslationFilter@412ebe64, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6f731759]
> Jul 20, 2016 12:31:14 PM org.springframework.security.config.http.DefaultFilterChainValidator checkLoginPageIsntProtected
> INFO: Checking whether login URL '/Login.html' is accessible with your configuration
> Jul 20, 2016 12:31:14 PM org.springframework.web.context.ContextLoader initWebApplicationContext
> INFO: Root WebApplicationContext: initialization completed in 1172 ms
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.DispatcherServlet initServletBean
> INFO: FrameworkServlet 'mvc-dispatcher': initialization started
> Jul 20, 2016 12:31:14 PM org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
> INFO: Refreshing WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016]; parent: Root WebApplicationContext
> Jul 20, 2016 12:31:14 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
> INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/pulseUpdate],methods=[POST]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getPulseUpdate(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/authenticateUser],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.authenticateUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/clusterLogout],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clusterLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/clearAlerts],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clearAlerts(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/acknowledgeAlert],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.acknowledgeAlert(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/dataBrowserRegions],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserRegions(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/dataBrowserQuery],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQuery(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/dataBrowserQueryHistory],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQueryHistory(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/dataBrowserExport],methods=[POST]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserExport(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/pulseProductSupport],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getConfiguredPulseProduct(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/getQueryStatisticsGridModel],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getQueryStatisticsGridModel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
> INFO: Mapped "{[/pulseVersion],methods=[GET]}" onto public void com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.pulseVersion(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
> INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016]; parent: Root WebApplicationContext
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
> INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016]; parent: Root WebApplicationContext
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver initExceptionHandlerAdviceCache
> INFO: Detected @ExceptionHandler methods in exceptionHandlingAdvice
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.DispatcherServlet initServletBean
> INFO: FrameworkServlet 'mvc-dispatcher': initialization completed in 208 ms
> Jul 20, 2016 12:31:16 PM org.springframework.web.context.support.XmlWebApplicationContext doClose
> INFO: Closing WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016]; parent: Root WebApplicationContext
> Jul 20, 2016 12:31:16 PM org.springframework.web.context.support.XmlWebApplicationContext doClose
> INFO: Closing Root WebApplicationContext: startup date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
> Exception in thread "main" com.gemstone.gemfire.management.ManagementException: HTTP service failed to start
> at com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:279)
> at com.gemstone.gemfire.management.internal.ManagementAgent.startAgent(ManagementAgent.java:125)
> at com.gemstone.gemfire.management.internal.SystemManagementService.startManager(SystemManagementService.java:475)
> at com.gemstone.gemfire.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:195)
> at com.gemstone.gemfire.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:118)
> at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2132)
> at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:515)
> at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1165)
> at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:796)
> at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:784)
> at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:178)
> at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:228)
> at com.gemstone.gemfire.distributed.internal.DefaultServerLauncherCacheProvider.createCache(DefaultServerLauncherCacheProvider.java:55)
> at com.gemstone.gemfire.distributed.ServerLauncher.createCache(ServerLauncher.java:806)
> at com.gemstone.gemfire.distributed.ServerLauncher.start(ServerLauncher.java:726)
> at com.gemstone.gemfire.distributed.ServerLauncher.run(ServerLauncher.java:656)
> at com.gemstone.gemfire.distributed.ServerLauncher.main(ServerLauncher.java:207)
> Caused by: java.net.BindException: Address already in use
> at sun.nio.ch.Net.bind0(Native Method)
> at sun.nio.ch.Net.bind(Net.java:433)
> at sun.nio.ch.Net.bind(Net.java:425)
> at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
> at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:326)
> at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
> at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at org.eclipse.jetty.server.Server.doStart(Server.java:384)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at com.gemstone.gemfire.management.internal.JettyHelper.startJetty(JettyHelper.java:147)
> at com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:251)
> ... 16 more
>
>
> Sushil Chaudhary
> Email: sushil.chaudhary@capitalone.com <ma...@capitalone.com>
> The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
>
>
>
> --
> Matthew Ross | Data Engineer | Pivotal
> 625 Avenue of the Americas NY, NY 10011
> 516-941-7535 <tel:516-941-7535> | mross@pivotal.io <ma...@pivotal.io>
>
Re: Issue while starting swagger API
Posted by Matt Ross <mr...@pivotal.io>.
Hi Sushil,
The exception you're getting is
Caused by: java.net.BindException: Address already in use
Can you please check if there are any processes already using port 8081 on
the node you're running on? Thanks
On Wed, Jul 20, 2016 at 1:39 PM, Chaudhary, Sushil (CONT) <
Sushil.Chaudhary@capitalone.com> wrote:
> Hi ,
> I am getting ‘Address already in used’ while enabling Swagger API on my
> primary locator node ( 10.205.84.13). Pulse is already running and I can
> access the same on 7070 port. Not sure, whats wrong here.
>
> gfsh>start server --name=server1 --mcast-port=10338 --server-port=40404
> --max-heap=50G --off-heap-memory-size=10G --critical-off-heap-percentage=90
> --group=group1 --socket-buffer-size=3072 --J=-Dgemfire.start-dev-rest-api=true
> --J=-Dgemfire.http-service-bind-address=10.205.84.13
> --J=-Dgemfire.http-service-bind-port=8081 --J=-Dgemfire.jmx-manager=true
> --J=-Dgemfire.jmx-manager-start=true --enable-time-statistics=true
> --rebalance;
>
> Starting a GemFire Server in /home/ec2-user/server1...
>
> The Cache Server process terminated unexpectedly with exit status 1.
> Please refer to the log file in /home/ec2-user/server1 for full details.
>
>
> Jul 20, 2016 12:31:13 PM org.springframework.web.context.ContextLoader
> initWebApplicationContext
>
> INFO: Root WebApplicationContext: initialization started
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.context.support.XmlWebApplicationContext
> prepareRefresh
>
> INFO: Refreshing Root WebApplicationContext: startup date [Wed Jul 20
> 12:31:13 EDT 2016]; root of context hierarchy
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> loadBeanDefinitions
>
> INFO: Loading XML bean definitions from ServletContext resource
> [/WEB-INF/mvc-dispatcher-servlet.xml]
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> loadBeanDefinitions
>
> INFO: Loading XML bean definitions from ServletContext resource
> [/WEB-INF/spring-security.xml]
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.security.core.SpringSecurityCoreVersion <clinit>
>
> INFO: You are running with Spring Security Core 3.1.7.RELEASE
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.security.core.SpringSecurityCoreVersion <clinit>
>
> SEVERE: *** Spring Major version '3' expected, but you are running with
> version: 4.2.4.RELEASE. Please check your classpath for unwanted jar files.
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.security.config.SecurityNamespaceHandler <init>
>
> INFO: Spring Security 'config' module version is 3.1.7.RELEASE
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.security.config.http.HttpSecurityBeanDefinitionParser
> checkFilterChainOrder
>
> INFO: Checking sorted filter chain: [Root bean: class
> [org.springframework.security.web.context.SecurityContextPersistenceFilter];
> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
> = 200, Root bean: class
> [org.springframework.security.web.authentication.logout.LogoutFilter];
> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
> = 400,
> <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>,
> order = 800, Root bean: class
> [org.springframework.security.web.authentication.www.BasicAuthenticationFilter];
> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
> = 1200, Root bean: class
> [org.springframework.security.web.savedrequest.RequestCacheAwareFilter];
> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
> = 1300, Root bean: class
> [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter];
> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
> = 1400, Root bean: class
> [org.springframework.security.web.authentication.AnonymousAuthenticationFilter];
> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
> = 1700, Root bean: class
> [org.springframework.security.web.session.SessionManagementFilter]; scope=;
> abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
> = 1800, Root bean: class
> [org.springframework.security.web.access.ExceptionTranslationFilter];
> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null, order
> = 1900,
> <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>,
> order = 2000]
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/pulseUpdate],methods=[POST]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getPulseUpdate(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/authenticateUser],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.authenticateUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/clusterLogout],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clusterLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/clearAlerts],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clearAlerts(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/acknowledgeAlert],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.acknowledgeAlert(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/dataBrowserRegions],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserRegions(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/dataBrowserQuery],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQuery(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/dataBrowserQueryHistory],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQueryHistory(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/dataBrowserExport],methods=[POST]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserExport(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/pulseProductSupport],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getConfiguredPulseProduct(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/getQueryStatisticsGridModel],methods=[GET]}" onto public
> void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getQueryStatisticsGridModel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:13 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/pulseVersion],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.pulseVersion(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
> initControllerAdviceCache
>
> INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup
> date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
> initControllerAdviceCache
>
> INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup
> date [Wed Jul 20 12:31:13 EDT 2016]; root of context hierarchy
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
> initExceptionHandlerAdviceCache
>
> INFO: Detected @ExceptionHandler methods in exceptionHandlingAdvice
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.security.web.DefaultSecurityFilterChain <init>
>
> INFO: Creating filter chain:
> org.springframework.security.web.util.AnyRequestMatcher@1,
> [org.springframework.security.web.context.SecurityContextPersistenceFilter@1f78d415,
> org.springframework.security.web.authentication.logout.LogoutFilter@1c046c92,
> org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@27960b1e,
> org.springframework.security.web.authentication.www.BasicAuthenticationFilter@643ba1ed,
> org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3d3a1903,
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@26582ca,
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter@153cb763,
> org.springframework.security.web.session.SessionManagementFilter@2c3158e0,
> org.springframework.security.web.access.ExceptionTranslationFilter@412ebe64,
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6f731759
> ]
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.security.config.http.DefaultFilterChainValidator
> checkLoginPageIsntProtected
>
> INFO: Checking whether login URL '/Login.html' is accessible with your
> configuration
>
> Jul 20, 2016 12:31:14 PM org.springframework.web.context.ContextLoader
> initWebApplicationContext
>
> INFO: Root WebApplicationContext: initialization completed in 1172 ms
>
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.DispatcherServlet
> initServletBean
>
> INFO: FrameworkServlet 'mvc-dispatcher': initialization started
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.context.support.XmlWebApplicationContext
> prepareRefresh
>
> INFO: Refreshing WebApplicationContext for namespace
> 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016];
> parent: Root WebApplicationContext
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> loadBeanDefinitions
>
> INFO: Loading XML bean definitions from ServletContext resource
> [/WEB-INF/mvc-dispatcher-servlet.xml]
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/pulseUpdate],methods=[POST]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getPulseUpdate(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/authenticateUser],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.authenticateUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/clusterLogout],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clusterLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/clearAlerts],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.clearAlerts(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/acknowledgeAlert],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.acknowledgeAlert(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/dataBrowserRegions],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserRegions(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/dataBrowserQuery],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQuery(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/dataBrowserQueryHistory],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserQueryHistory(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/dataBrowserExport],methods=[POST]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.dataBrowserExport(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/pulseProductSupport],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getConfiguredPulseProduct(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/getQueryStatisticsGridModel],methods=[GET]}" onto public
> void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.getQueryStatisticsGridModel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> register
>
> INFO: Mapped "{[/pulseVersion],methods=[GET]}" onto public void
> com.vmware.gemfire.tools.pulse.internal.controllers.PulseController.pulseVersion(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
> initControllerAdviceCache
>
> INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace
> 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016];
> parent: Root WebApplicationContext
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
> initControllerAdviceCache
>
> INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace
> 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016];
> parent: Root WebApplicationContext
>
> Jul 20, 2016 12:31:14 PM
> org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
> initExceptionHandlerAdviceCache
>
> INFO: Detected @ExceptionHandler methods in exceptionHandlingAdvice
>
> Jul 20, 2016 12:31:14 PM org.springframework.web.servlet.DispatcherServlet
> initServletBean
>
> INFO: FrameworkServlet 'mvc-dispatcher': initialization completed in 208 ms
>
> Jul 20, 2016 12:31:16 PM
> org.springframework.web.context.support.XmlWebApplicationContext doClose
>
> INFO: Closing WebApplicationContext for namespace
> 'mvc-dispatcher-servlet': startup date [Wed Jul 20 12:31:14 EDT 2016];
> parent: Root WebApplicationContext
>
> Jul 20, 2016 12:31:16 PM
> org.springframework.web.context.support.XmlWebApplicationContext doClose
>
> INFO: Closing Root WebApplicationContext: startup date [Wed Jul 20
> 12:31:13 EDT 2016]; root of context hierarchy
>
> Exception in thread "main"
> com.gemstone.gemfire.management.ManagementException: HTTP service failed to
> start
>
> at
> com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:279)
>
> at
> com.gemstone.gemfire.management.internal.ManagementAgent.startAgent(ManagementAgent.java:125)
>
> at
> com.gemstone.gemfire.management.internal.SystemManagementService.startManager(SystemManagementService.java:475)
>
> at
> com.gemstone.gemfire.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:195)
>
> at
> com.gemstone.gemfire.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:118)
>
> at
> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2132)
>
> at
> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:515)
>
> at
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1165)
>
> at
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:796)
>
> at
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:784)
>
> at
> com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:178)
>
> at
> com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:228)
>
> at
> com.gemstone.gemfire.distributed.internal.DefaultServerLauncherCacheProvider.createCache(DefaultServerLauncherCacheProvider.java:55)
>
> at
> com.gemstone.gemfire.distributed.ServerLauncher.createCache(ServerLauncher.java:806)
>
> at
> com.gemstone.gemfire.distributed.ServerLauncher.start(ServerLauncher.java:726)
>
> at
> com.gemstone.gemfire.distributed.ServerLauncher.run(ServerLauncher.java:656)
>
> at
> com.gemstone.gemfire.distributed.ServerLauncher.main(ServerLauncher.java:207)
>
> Caused by: java.net.BindException: Address already in use
>
> at sun.nio.ch.Net.bind0(Native Method)
>
> at sun.nio.ch.Net.bind(Net.java:433)
>
> at sun.nio.ch.Net.bind(Net.java:425)
>
> at
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
>
> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
>
> at
> org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:326)
>
> at
> org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
>
> at
> org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
>
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>
> at org.eclipse.jetty.server.Server.doStart(Server.java:384)
>
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>
> at
> com.gemstone.gemfire.management.internal.JettyHelper.startJetty(JettyHelper.java:147)
>
> at
> com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:251)
>
> ... 16 more
>
>
>
> *Sushil Chaudhary*
> *Email*: sushil.chaudhary@capitalone.com
>
> ------------------------------
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The information
> transmitted herewith is intended only for use by the individual or entity
> to which it is addressed. If the reader of this message is not the intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, distribution, copying or other use of, or taking of any
> action in reliance upon this information is strictly prohibited. If you
> have received this communication in error, please contact the sender and
> delete the material from your computer.
>
--
*Matthew Ross | Data Engineer | Pivotal*
*625 Avenue of the Americas NY, NY 10011*
*516-941-7535 <516-941-7535> | mross@pivotal.io <mr...@pivotal.io> *