{"action":"created","issue":{"url":"https://api.github.com/repos/naver/pinpoint/issues/451","labels_url":"https://api.github.com/repos/naver/pinpoint/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/naver/pinpoint/issues/451/comments","events_url":"https://api.github.com/repos/naver/pinpoint/issues/451/events","html_url":"https://github.com/naver/pinpoint/issues/451","id":78863646,"number":451,"title":"Error creating bean with name 'pinpointSocketManager'","user":{"login":"cowboy93","id":175918,"avatar_url":"https://avatars.githubusercontent.com/u/175918?v=3","gravatar_id":"","url":"https://api.github.com/users/cowboy93","html_url":"https://github.com/cowboy93","followers_url":"https://api.github.com/users/cowboy93/followers","following_url":"https://api.github.com/users/cowboy93/following{/other_user}","gists_url":"https://api.github.com/users/cowboy93/gists{/gist_id}","starred_url":"https://api.github.com/users/cowboy93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowboy93/subscriptions","organizations_url":"https://api.github.com/users/cowboy93/orgs","repos_url":"https://api.github.com/users/cowboy93/repos","events_url":"https://api.github.com/users/cowboy93/events{/privacy}","received_events_url":"https://api.github.com/users/cowboy93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-21T07:00:42Z","updated_at":"2015-05-22T01:02:06Z","closed_at":null,"body":"Tomcat 7 에서 collector와 web을 기동하려는데 잘 안되서 문의 드립니다. \r\n\r\n바쁘시겠지만 확인 부탁드리겠습니다. \r\n\r\n1. 자바 버전은 다음과 같습니다. \r\n java -version\r\njava version \"1.7.0_75\"\r\nJava(TM) SE Runtime Environment (build 1.7.0_75-b13)\r\nJava HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)\r\n\r\n2. 기본 환경은 MAC OS 입니다. \r\n\r\n3. web관련 오류 로그는 다음과 같습니다. \r\n15:55:13 INFO (o.s.c.e.EhCacheManagerFactoryBean  :164) Shutting down EhCache CacheManager\r\n15:55:13 ERROR(o.a.h.h.c.HConnectionManager       :338) Connection not found in the list, can't delete it (connection key=HConnectionKey{properties={hbase.rpc.timeout=60000, hbase.zookeeper.property.clientPort=2181, hbase.client.pause=1000, zookeeper.znode.parent=/hbase, hbase.client.retries.number=14, hbase.zookeeper.quorum=localhost}, username='1000893'}). May be the key was modified?\r\n15:55:13 ERROR(o.s.w.c.ContextLoader              :319) Context initialization failed\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pinpointSocketManager' defined in class path resource [applicationContext-web.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.navercorp.pinpoint.web.server.PinpointSocketManager]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.navercorp.pinpoint.rpc.server.ServerPipelineFactory.<init>(Lcom/navercorp/pinpoint/rpc/server/PinpointServerAcceptor$PinpointServerChannelHandler;)V\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)\r\n\tat org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)\r\n\tat org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)\r\n\tat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)\r\n\tat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)\r\n\tat org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)\r\n\tat org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.navercorp.pinpoint.web.server.PinpointSocketManager]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.navercorp.pinpoint.rpc.server.ServerPipelineFactory.<init>(Lcom/navercorp/pinpoint/rpc/server/PinpointServerAcceptor$PinpointServerChannelHandler;)V\r\n\tat org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)\r\n\tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)\r\n\t... 27 more\r\nCaused by: java.lang.NoSuchMethodError: com.navercorp.pinpoint.rpc.server.ServerPipelineFactory.<init>(Lcom/navercorp/pinpoint/rpc/server/PinpointServerAcceptor$PinpointServerChannelHandler;)V\r\n\tat com.navercorp.pinpoint.rpc.server.PinpointServerAcceptor.addPipeline(PinpointServerAcceptor.java:136)\r\n\tat com.navercorp.pinpoint.rpc.server.PinpointServerAcceptor.<init>(PinpointServerAcceptor.java:101)\r\n\tat com.navercorp.pinpoint.web.server.PinpointSocketManager.<init>(PinpointSocketManager.java:66)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:526)\r\n\tat org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)\r\n\t... 29 more\r\n5월 21, 2015 3:55:13 오후 org.apache.catalina.core.StandardContext startInternal\r\n심각: One or more listeners failed to start. Full details will be found in the appropriate container log file\r\n5월 21, 2015 3:55:13 오후 org.apache.catalina.core.StandardContext startInternal\r\n심각: Context [] startup failed due to previous errors\r\n\r\n\r\n4. collector관련 오류는 다음과 같습니다. \r\n05-21 15:55:09 [ERROR](o.s.w.c.ContextLoader              :319) Context initialization failed\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tcpReceiver' defined in class path resource [applicationContext-collector.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.navercorp.pinpoint.collector.receiver.tcp.TCPReceiver]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.navercorp.pinpoint.rpc.server.ServerPipelineFactory.<init>(Lcom/navercorp/pinpoint/rpc/server/PinpointServerAcceptor$PinpointServerChannelHandler;)V\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)\r\n\tat org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)\r\n\tat org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)\r\n\tat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)\r\n\tat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)\r\n\tat org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)\r\n\tat org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.navercorp.pinpoint.collector.receiver.tcp.TCPReceiver]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.navercorp.pinpoint.rpc.server.ServerPipelineFactory.<init>(Lcom/navercorp/pinpoint/rpc/server/PinpointServerAcceptor$PinpointServerChannelHandler;)V\r\n\tat org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)\r\n\tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)\r\n\t... 27 more\r\nCaused by: java.lang.NoSuchMethodError: com.navercorp.pinpoint.rpc.server.ServerPipelineFactory.<init>(Lcom/navercorp/pinpoint/rpc/server/PinpointServerAcceptor$PinpointServerChannelHandler;)V\r\n\tat com.navercorp.pinpoint.rpc.server.PinpointServerAcceptor.addPipeline(PinpointServerAcceptor.java:136)\r\n\tat com.navercorp.pinpoint.rpc.server.PinpointServerAcceptor.<init>(PinpointServerAcceptor.java:101)\r\n\tat com.navercorp.pinpoint.collector.receiver.tcp.TCPReceiver.<init>(TCPReceiver.java:105)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:526)\r\n\tat org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)\r\n\t... 29 more\r\n5월 21, 2015 3:55:09 오후 org.apache.catalina.core.StandardContext startInternal\r\n심각: One or more listeners failed to start. Full details will be found in the appropriate container log file\r\n5월 21, 2015 3:55:09 오후 org.apache.catalina.core.StandardContext startInternal\r\n심각: Context [/pinpoint-collector-1.5.0-SNAPSHOT] startup failed due to previous errors"},"comment":{"url":"https://api.github.com/repos/naver/pinpoint/issues/comments/104464063","html_url":"https://github.com/naver/pinpoint/issues/451#issuecomment-104464063","issue_url":"https://api.github.com/repos/naver/pinpoint/issues/451","id":104464063,"user":{"login":"cowboy93","id":175918,"avatar_url":"https://avatars.githubusercontent.com/u/175918?v=3","gravatar_id":"","url":"https://api.github.com/users/cowboy93","html_url":"https://github.com/cowboy93","followers_url":"https://api.github.com/users/cowboy93/followers","following_url":"https://api.github.com/users/cowboy93/following{/other_user}","gists_url":"https://api.github.com/users/cowboy93/gists{/gist_id}","starred_url":"https://api.github.com/users/cowboy93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowboy93/subscriptions","organizations_url":"https://api.github.com/users/cowboy93/orgs","repos_url":"https://api.github.com/users/cowboy93/repos","events_url":"https://api.github.com/users/cowboy93/events{/privacy}","received_events_url":"https://api.github.com/users/cowboy93/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T01:02:06Z","updated_at":"2015-05-22T01:02:06Z","body":"내부 개발자 분을 통해서 원인 파악 및 조치 완료 되었습니다. \r\n\r\n가이드 문서에 \r\n만약 이전 버전으로 빌드가 된 상태라면\r\nmvn clean verify -Dmaven.test.skip=true\r\n를 먼저 실행하기 바란다.\r\n\r\n라고 명시해 주셔야 할 것 같습니다. \r\n\r\n그렇지 않으면, \r\nWEB-INF/lib/\r\n에 예전 버전의 라이브러리도 같이 포함되어서 정상적인 기동이 되지 않습니다. ^^; "}}