We're updating the issue view to help you get more done. 

No Mapping Defined

Description

I started Apache Tomcat 7.0.22 as my web services application server on my local laptop.
I already setup setenv.bat as below

set INSPECTIT_AGENT_HOME=C:/InspectIt/agent

set JAVA_OPTS=-Xms256m -Xmx512m -XX:MaxPermSize=256m -javaagent:%INSPECTIT_AGENT_HOME%/inspectit-agent.jar -Dinspectit.repository=localhost:9070 -Dinspectit.agent.name=THWebServices

However, I got error upon started InspectIT after type command startup.bat from Apache Tomcat folder.. Refer the log below :

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 2017-11-02 09:48:05,633: 2074 [ main] INFO nfig.impl.ConfigurationStorage - Agent name set to: THWebServices 2017-11-02 09:48:05,732: 2173 [ main] INFO izer.schema.ClassSchemaManager - ||-Class Schema Manager started.. 2017-11-02 09:48:06,157: 2598 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connecting to localhost:9070 2017-11-02 09:48:06,224: 2665 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connection established! 2017-11-02 09:48:06,477: 2918 [ main] ERROR java.core.impl.PlatformManager - The agent was not able to get configuration from the server. The 'No Mapping Defined' exception occurred on the 'Configuration Interface' component. Exception occurred executing the action: 'Determine an environment to use for the agent with name 'THWebServices' and IP adress(es): [127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:bc9b:732f:a943:d58e%11, 192.200.10.105, fe80:0:0:0:e181:6a6c:a892:3566%12, fe80:0:0:0:b90f:be76:5c3b:3050%13, fe80:0:0:0:90e5:5ce5:78d4:52df%15, fe80:0:0:0:80f4:184b:6d6c:bc0f%16, fe80:0:0:0:0:100:7f:fffe%22, fe80:0:0:0:200:5efe:c0c8:a69%27, 2002:c0c8:a69:0:0:0:c0c8:a69]'. 2017-11-02 09:48:06,487: 2928 [ main] ERROR spectit.agent.java.SpringAgent - inspectIT agent initialization failed. Agent will not be active. rocks.inspectit.shared.all.exception.BusinessException: The 'No Mapping Defined' exception occurred on the 'Configuration Interface' component. Exception occurred executing the action: 'Determine an environment to use for the agent with name 'THWebServices' and IP adress(es): [127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:bc9b:732f:a943:d58e%11, 192.200.10.105, fe80:0:0:0:e181:6a6c:a892:3566%12, fe80:0:0:0:b90f:be76:5c3b:3050%13, fe80:0:0:0:90e5:5ce5:78d4:52df%15, fe80:0:0:0:80f4:184b:6d6c:bc0f%16, fe80:0:0:0:0:100:7f:fffe%22, fe80:0:0:0:200:5efe:c0c8:a69%27, 2002:c0c8:a69:0:0:0:c0c8:a69]'. Wrapped by: org.springframework.beans.factory.BeanInitializationException: The agent was not able to get configuration from the server.; nested exception is rocks.inspectit.shared.all.exception.BusinessException: The 'No Mapping Defined' exception occurred on the 'Configuration Interface' component. Exception occurred executing the action: 'Determine an environment to use for the agent with name 'THWebServices' and IP adress(es): [127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:bc9b:732f:a943:d58e%11, 192.200.10.105, fe80:0:0:0:e181:6a6c:a892:3566%12, fe80:0:0:0:b90f:be76:5c3b:3050%13, fe80:0:0:0:90e5:5ce5:78d4:52df%15, fe80:0:0:0:80f4:184b:6d6c:bc0f%16, fe80:0:0:0:0:100:7f:fffe%22, fe80:0:0:0:200:5efe:c0c8:a69%27, 2002:c0c8:a69:0:0:0:c0c8:a69]'. at rocks.inspectit.agent.java.core.impl.PlatformManager.register(PlatformManager.java:179) at rocks.inspectit.agent.java.core.impl.PlatformManager.doRegistration(PlatformManager.java:122) at rocks.inspectit.agent.java.core.impl.PlatformManager.afterPropertiesSet(PlatformManager.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:344) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:295) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130) ... 39 common frames omitted Wrapped by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformManager': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: The agent was not able to get configuration from the server.; nested exception is rocks.inspectit.shared.all.exception.BusinessException: The 'No Mapping Defined' exception occurred on the 'Configuration Interface' component. Exception occurred executing the action: 'Determine an environment to use for the agent with name 'THWebServices' and IP adress(es): [127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:bc9b:732f:a943:d58e%11, 192.200.10.105, fe80:0:0:0:e181:6a6c:a892:3566%12, fe80:0:0:0:b90f:be76:5c3b:3050%13, fe80:0:0:0:90e5:5ce5:78d4:52df%15, fe80:0:0:0:80f4:184b:6d6c:bc0f%16, fe80:0:0:0:0:100:7f:fffe%22, fe80:0:0:0:200:5efe:c0c8:a69%27, 2002:c0c8:a69:0:0:0:c0c8:a69]'. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1507) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:921) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:864) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:779) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:503) ... 25 common frames omitted Wrapped by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private rocks.inspectit.agent.java.analyzer.impl.ClassHashHelper rocks.inspectit.agent.java.instrumentation.RetransformManager.classHashHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformManager': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: The agent was not able to get configuration from the server.; nested exception is rocks.inspectit.shared.all.exception.BusinessException: The 'No Mapping Defined' exception occurred on the 'Configuration Interface' component. Exception occurred executing the action: 'Determine an environment to use for the agent with name 'THWebServices' and IP adress(es): [127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:bc9b:732f:a943:d58e%11, 192.200.10.105, fe80:0:0:0:e181:6a6c:a892:3566%12, fe80:0:0:0:b90f:be76:5c3b:3050%13, fe80:0:0:0:90e5:5ce5:78d4:52df%15, fe80:0:0:0:80f4:184b:6d6c:bc0f%16, fe80:0:0:0:0:100:7f:fffe%22, fe80:0:0:0:200:5efe:c0c8:a69%27, 2002:c0c8:a69:0:0:0:c0c8:a69]'. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:531) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:295) ... 23 common frames omitted Wrapped by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'retransformManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private rocks.inspectit.agent.java.analyzer.impl.ClassHashHelper rocks.inspectit.agent.java.instrumentation.RetransformManager.classHashHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformManager': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: The agent was not able to get configuration from the server.; nested exception is rocks.inspectit.shared.all.exception.BusinessException: The 'No Mapping Defined' exception occurred on the 'Configuration Interface' component. Exception occurred executing the action: 'Determine an environment to use for the agent with name 'THWebServices' and IP adress(es): [127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:bc9b:732f:a943:d58e%11, 192.200.10.105, fe80:0:0:0:e181:6a6c:a892:3566%12, fe80:0:0:0:b90f:be76:5c3b:3050%13, fe80:0:0:0:90e5:5ce5:78d4:52df%15, fe80:0:0:0:80f4:184b:6d6c:bc0f%16, fe80:0:0:0:0:100:7f:fffe%22, fe80:0:0:0:200:5efe:c0c8:a69%27, 2002:c0c8:a69:0:0:0:c0c8:a69]'. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:298) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1148) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at rocks.inspectit.agent.java.SpringAgent.initSpring(SpringAgent.java:171) at rocks.inspectit.agent.java.SpringAgent.<init>(SpringAgent.java:125) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at rocks.inspectit.agent.java.javaagent.JavaAgent.premain(JavaAgent.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)

I am not sure what was missing ?

Kindly, assist.

Environment

None

Status

Assignee

Unassigned

Reporter

Saufi

Labels

None

Pull Request

None

Integrator

None

Priority

Medium