Comments (9)
Hi @spouansi,
it seems like you have a small typo in the definition of the repository. Instead of a - you need a . Please try out the following:
java -javaagent:inspectit-agent.jar -Dinspectit.repository=localhost:9070 -Dinspectit.agent.name=SyntheseAgent -version
from inspectit.
Thanks for this mistake. But it seems the agent can't connect to localhost:9070
Console :
$ java -javaagent:inspectit-agent.jar -Dinspectit.repository=localhost:9070 -Dinspectit.agent.name=SyntheseAgent -version
nov. 02, 2016 4:37:03 PM rocks.inspectit.agent.java.javaagent.JavaAgent premain
INFOS: inspectIT Agent: Starting initialization...
16:37:05.363 [main] INFO rocks.inspectit.agent.java.SpringAgent - Location of inspectit-agent.jar set to: C:\dev\java\apm\inspectIT\agent\inspectit-agent.jar
2016-11-02 16:37:05,536: [inspectIT] 217 [ main] INFO spectit.agent.java.SpringAgent - Initializing Spring on inspectIT Agent...
2016-11-02 16:37:06,451: [inspectIT] 1132 [ main] INFO nfig.impl.ConfigurationStorage - Repository information found in the JVM parameters: IP=localhost Port=9070
2016-11-02 16:37:06,452: [inspectIT] 1133 [ main] INFO nfig.impl.ConfigurationStorage - Repository definition added. Host: localhost Port: 9070
2016-11-02 16:37:06,453: [inspectIT] 1134 [ main] INFO nfig.impl.ConfigurationStorage - Agent name found in the JVM parameters: AgentName=SyntheseAgent
2016-11-02 16:37:06,482: [inspectIT] 1163 [ main] INFO nfig.impl.ConfigurationStorage - Agent name set to: SyntheseAgent
2016-11-02 16:37:06,587: [inspectIT] 1268 [ main] INFO izer.schema.ClassSchemaManager - ||-Class Schema Manager started..
2016-11-02 16:37:07,018: [inspectIT] 1699 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connecting to localhost:9070
2016-11-02 16:37:12,058: [inspectIT] 6739 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connection to the server failed.
2016-11-02 16:37:12,311: [inspectIT] 6992 [ main] ERROR java.core.impl.PlatformManager - Connection to the server failed.
2016-11-02 16:37:12,326: [inspectIT] 7007 [ main] ERROR spectit.agent.java.SpringAgent - inspectIT agent initialization failed. Agent will not be active.
nov. 02, 2016 4:37:12 PM rocks.inspectit.agent.java.javaagent.JavaAgent preloadClasses
INFOS: Preloading classes ...
nov. 02, 2016 4:37:12 PM rocks.inspectit.agent.java.javaagent.JavaAgent preloadC
lasses
INFOS: Preloading classes complete...
nov. 02, 2016 4:37:12 PM rocks.inspectit.agent.java.javaagent.JavaAgent premain
INFOS: inspectIT Agent: Initialization complete...
nov. 02, 2016 4:37:12 PM rocks.inspectit.agent.java.javaagent.JavaAgent analyzeAlreadyLoadedClasses
INFOS: inspectIT Agent: Instrumentation of core classes finished...
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
Logs
2016-11-02 16:37:06,482: 1163 [ main] INFO nfig.impl.ConfigurationStorage - Agent name set to: SyntheseAgent
2016-11-02 16:37:06,587: 1268 [ main] INFO izer.schema.ClassSchemaManager - ||-Class Schema Manager started..
2016-11-02 16:37:07,018: 1699 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connecting to localhost:9070
2016-11-02 16:37:12,058: 6739 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connection to the server failed.
2016-11-02 16:37:12,311: 6992 [ main] ERROR java.core.impl.PlatformManager - Connection to the server failed.
java.net.SocketTimeoutException: Connected, but timed out during TCP registration.
Note: Client#update must be called in a separate thread during connect.
at rocks.inspectit.shared.all.kryonet.Client.connect(Client.java:186)
at rocks.inspectit.shared.all.kryonet.Client.connect(Client.java:114)
at rocks.inspectit.agent.java.connection.impl.KryoNetConnection.startClient(KryoNetConnection.java:159)
at rocks.inspectit.agent.java.connection.impl.KryoNetConnection.connect(KryoNetConnection.java:99)
... 42 common frames omitted
Wrapped by: java.net.ConnectException: Connected, but timed out during TCP registration.
Note: Client#update must be called in a separate thread during connect.
at rocks.inspectit.agent.java.connection.impl.KryoNetConnection.connect(KryoNetConnection.java:127)
at rocks.inspectit.agent.java.core.impl.PlatformManager.connect(PlatformManager.java:152)
at rocks.inspectit.agent.java.core.impl.PlatformManager.doRegistration(PlatformManager.java:115)
at rocks.inspectit.agent.java.core.impl.PlatformManager.afterPropertiesSet(PlatformManager.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
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)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:295)
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:146)
at rocks.inspectit.agent.java.SpringAgent.(SpringAgent.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at rocks.inspectit.agent.java.javaagent.JavaAgent.premain(JavaAgent.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
2016-11-02 16:37:12,326: 7007 [ main] ERROR spectit.agent.java.SpringAgent - inspectIT agent initialization failed. Agent will not be active.
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [rocks.inspectit.agent.java.sending.ISendingStrategy] found for dependency [collection of rocks.inspectit.agent.java.sending.ISendingStrategy]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:997)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:825)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:779)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:503)
... 38 common frames omitted
Wrapped by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private final java.util.List rocks.inspectit.agent.java.core.impl.CoreService.sendingStrategies; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [rocks.inspectit.agent.java.sending.ISendingStrategy] found for dependency [collection of rocks.inspectit.agent.java.sending.ISendingStrategy]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
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)
... 36 common frames omitted
Wrapped by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'coreService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private final java.util.List rocks.inspectit.agent.java.core.impl.CoreService.sendingStrategies; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [rocks.inspectit.agent.java.sending.ISendingStrategy] found for dependency [collection of rocks.inspectit.agent.java.sending.ISendingStrategy]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
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.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.core.ICoreService rocks.inspectit.agent.java.hooking.impl.HookDispatcher.coreService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'coreService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private final java.util.List rocks.inspectit.agent.java.core.impl.CoreService.sendingStrategies; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [rocks.inspectit.agent.java.sending.ISendingStrategy] found for dependency [collection of rocks.inspectit.agent.java.sending.ISendingStrategy]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
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 'hookDispatcher': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private rocks.inspectit.agent.java.core.ICoreService rocks.inspectit.agent.java.hooking.impl.HookDispatcher.coreService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'coreService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private final java.util.List rocks.inspectit.agent.java.core.impl.CoreService.sendingStrategies; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [rocks.inspectit.agent.java.sending.ISendingStrategy] found for dependency [collection of rocks.inspectit.agent.java.sending.ISendingStrategy]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
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:146)
at rocks.inspectit.agent.java.SpringAgent.(SpringAgent.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at rocks.inspectit.agent.java.javaagent.JavaAgent.premain(JavaAgent.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
from inspectit.
Can you post please the logs from the server (CMR)?
from inspectit.
Hi @spouansi, did you manage to get it to work or is the problem still existing? Please let me know if we can assist you!
from inspectit.
Hi @spouansi, I'm closing the ticket for now. Please let us know if the problem with the newest version of inspectIT still occurs.
from inspectit.
Hi @pbouillet , I have the exact same error as @spouansi .
Any suggestions how to solve this?
from inspectit.
Hi @soereng ,
could you open another issue? Maybe it looks similar but isn't the same (and the initial problem here was different). I will take a closer look then. Thanks!
from inspectit.
Hello, i am installing inspectIT on windows 10 for localhost, but after running the javaagent i am getting the exception, if u can help me then please reply.
C:\Users\Biswas>java -Xbootclasspath/p:C:/inspectIT/agent/inspectit-agent.jar -javaagent:C:/inspectIT/agent/inspectit-agent.jar -Dinspectit.repository=192.168.15.199:9070 -Dinspectit.agent.name=localCMR
Jun 09, 2017 5:14:40 PM rocks.inspectit.agent.java.javaagent.JavaAgent premain
INFO: inspectIT Agent: Starting initialization...
17:14:42.177 [main] INFO rocks.inspectit.agent.java.SpringAgent - Location of inspectit-agent.jar set to: C:\inspectIT\agent\inspectit-agent.jar
2017-06-09 17:14:42,352: [inspectIT] 214 [ main] INFO spectit.agent.java.SpringAgent - Initializing Spring on inspectIT Agent...
2017-06-09 17:14:43,378: [inspectIT] 1240 [ main] INFO nfig.impl.ConfigurationStorage - Repository information found in the JVM parameters: IP=192.168.15.199 Port=9070
2017-06-09 17:14:43,379: [inspectIT] 1241 [ main] INFO nfig.impl.ConfigurationStorage - Repository definition added. Host: 192.168.15.199 Port: 9070
2017-06-09 17:14:43,379: [inspectIT] 1241 [ main] INFO nfig.impl.ConfigurationStorage - Agent name found in the JVM parameters: AgentName=localCMR
2017-06-09 17:14:43,403: [inspectIT] 1265 [ main] INFO nfig.impl.ConfigurationStorage - Agent name set to: localCMR
2017-06-09 17:14:43,499: [inspectIT] 1361 [ main] INFO izer.schema.ClassSchemaManager - ||-Class Schema Manager started..
2017-06-09 17:14:43,931: [inspectIT] 1793 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connecting to 192.168.15.199:9070
2017-06-09 17:14:44,007: [inspectIT] 1869 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connection established!
2017-06-09 17:14:44,402: [inspectIT] 2264 [ main] INFO nfig.impl.ConfigurationStorage - Agent configuration added with following configuration interface properties:
2017-06-09 17:14:44,402: [inspectIT] 2264 [ main] INFO nfig.impl.ConfigurationStorage - Assigned environment: Default Environment
2017-06-09 17:14:44,403: [inspectIT] 2265 [ main] INFO nfig.impl.ConfigurationStorage - Active profiles:
2017-06-09 17:14:44,403: [inspectIT] 2265 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] SQL
2017-06-09 17:14:44,403: [inspectIT] 2265 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] Remote-HTTP
2017-06-09 17:14:44,404: [inspectIT] 2266 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] HTTP
2017-06-09 17:14:44,404: [inspectIT] 2266 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] Exclude Classes
2017-06-09 17:14:44,405: [inspectIT] 2267 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] Remote-JMS
2017-06-09 17:14:44,406: [inspectIT] 2268 [ main] INFO nfig.impl.ConfigurationStorage - Options:
2017-06-09 17:14:44,406: [inspectIT] 2268 [ main] INFO nfig.impl.ConfigurationStorage - |-class loading delegation: true
2017-06-09 17:14:44,407: [inspectIT] 2269 [ main] INFO nfig.impl.ConfigurationStorage - |-enhanced exception sensor: false
2017-06-09 17:14:44,407: [inspectIT] 2269 [ main] INFO nfig.impl.ConfigurationStorage - |-retransformation strategy: Disable retransformation on IBM JVMs
2017-06-09 17:14:44,408: [inspectIT] 2270 [ main] INFO nfig.impl.ConfigurationStorage - Class-cache exists on the server: true
2017-06-09 17:14:44,409: [inspectIT] 2271 [ main] INFO nfig.impl.ConfigurationStorage - Number of initially instrumented classes: 2
2017-06-09 17:14:44,565: [inspectIT] 2427 [ main] INFO spectit.agent.java.SpringAgent - Spring successfully initialized
2017-06-09 17:14:44,568: [inspectIT] 2430 [ main] INFO spectit.agent.java.SpringAgent - Using agent version 1.7.11.94.
Jun 09, 2017 5:14:44 PM rocks.inspectit.agent.java.javaagent.JavaAgent preloadClasses
INFO: Preloading classes ...
Jun 09, 2017 5:14:44 PM rocks.inspectit.agent.java.javaagent.JavaAgent preloadClasses
INFO: Preloading classes complete...
Jun 09, 2017 5:14:44 PM rocks.inspectit.agent.java.javaagent.JavaAgent premain
INFO: inspectIT Agent: Initialization complete...
Jun 09, 2017 5:14:44 PM rocks.inspectit.agent.java.javaagent.JavaAgent premain
INFO: inspectIT Agent: Retransform of classes is supported, trying to instrument already loaded classes...
Jun 09, 2017 5:14:51 PM rocks.inspectit.agent.java.javaagent.JavaAgent analyzeAlreadyLoadedClasses
INFO: inspectIT Agent: Instrumentation of already loaded classes finished...
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available
-client to select the "client" VM
-server to select the "server" VM
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose:[class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
Warning: this feature is deprecated and will be removed
in a future release.
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -no-jre-restrict-search
Warning: this feature is deprecated and will be removed
in a future release.
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions with specified granularity
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
2017-06-09 17:14:51,508: [inspectIT] 9370 [ Thread-7] INFO ent.java.core.impl.CoreService - Shutdown initialized, sending remaining data
2017-06-09 17:14:51,509: [inspectIT] 9371 [reparing-thread] ERROR ent.java.core.impl.CoreService - Preparing thread interrupted and shutting down!
2017-06-09 17:14:51,510: [inspectIT] 9372 [efresher-thread] ERROR ent.java.core.impl.CoreService - Sensor refresher was interrupted!
2017-06-09 17:14:51,510: [inspectIT] 9372 [-sending-thread] ERROR ent.java.core.impl.CoreService - Sending thread interrupted and shuting down!
2017-06-09 17:14:51,518: [inspectIT] 9380 [ Thread-7] INFO ent.java.core.impl.CoreService - Unregistering the Agent
----------------------- log file(Agent)----------------------------------------------------
2017-06-09 17:14:43,931: 1793 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connecting to 192.168.15.199:9070
2017-06-09 17:14:44,007: 1869 [ main] INFO nection.impl.KryoNetConnection - KryoNet: Connection established!
2017-06-09 17:14:44,402: 2264 [ main] INFO nfig.impl.ConfigurationStorage - Agent configuration added with following configuration interface properties:
2017-06-09 17:14:44,402: 2264 [ main] INFO nfig.impl.ConfigurationStorage - Assigned environment: Default Environment
2017-06-09 17:14:44,403: 2265 [ main] INFO nfig.impl.ConfigurationStorage - Active profiles:
2017-06-09 17:14:44,403: 2265 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] SQL
2017-06-09 17:14:44,403: 2265 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] Remote-HTTP
2017-06-09 17:14:44,404: 2266 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] HTTP
2017-06-09 17:14:44,404: 2266 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] Exclude Classes
2017-06-09 17:14:44,405: 2267 [ main] INFO nfig.impl.ConfigurationStorage - |-[Common] Remote-JMS
2017-06-09 17:14:44,406: 2268 [ main] INFO nfig.impl.ConfigurationStorage - Options:
2017-06-09 17:14:44,406: 2268 [ main] INFO nfig.impl.ConfigurationStorage - |-class loading delegation: true
2017-06-09 17:14:44,407: 2269 [ main] INFO nfig.impl.ConfigurationStorage - |-enhanced exception sensor: false
2017-06-09 17:14:44,407: 2269 [ main] INFO nfig.impl.ConfigurationStorage - |-retransformation strategy: Disable retransformation on IBM JVMs
2017-06-09 17:14:44,408: 2270 [ main] INFO nfig.impl.ConfigurationStorage - Class-cache exists on the server: true
2017-06-09 17:14:44,409: 2271 [ main] INFO nfig.impl.ConfigurationStorage - Number of initially instrumented classes: 2
2017-06-09 17:14:44,565: 2427 [ main] INFO spectit.agent.java.SpringAgent - Spring successfully initialized
2017-06-09 17:14:44,568: 2430 [ main] INFO spectit.agent.java.SpringAgent - Using agent version 1.7.11.94.
2017-06-09 17:14:51,508: 9370 [ Thread-7] INFO ent.java.core.impl.CoreService - Shutdown initialized, sending remaining data
2017-06-09 17:14:51,509: 9371 [reparing-thread] ERROR ent.java.core.impl.CoreService - Preparing thread interrupted and shutting down!
2017-06-09 17:14:51,510: 9372 [-sending-thread] ERROR ent.java.core.impl.CoreService - Sending thread interrupted and shuting down!
2017-06-09 17:14:51,510: 9372 [efresher-thread] ERROR ent.java.core.impl.CoreService - Sensor refresher was interrupted!
2017-06-09 17:14:51,518: 9380 [ Thread-7] INFO ent.java.core.impl.CoreService - Unregistering the Agent
-----------------------------------exception log(Agent)----------------------------------------------
at rocks.inspectit.agent.java.connection.impl.KryoNetConnection.connect(KryoNetConnection.java:119)
at rocks.inspectit.agent.java.core.impl.PlatformManager.connect(PlatformManager.java:151)
at rocks.inspectit.agent.java.core.impl.PlatformManager.doRegistration(PlatformManager.java:114)
at rocks.inspectit.agent.java.core.impl.PlatformManager.afterPropertiesSet(PlatformManager.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
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)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:295)
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:165)
at rocks.inspectit.agent.java.SpringAgent.(SpringAgent.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at rocks.inspectit.agent.java.javaagent.JavaAgent.premain(JavaAgent.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
2017-06-09 17:12:54,622: 7220 [ main] ERROR spectit.agent.java.SpringAgent - inspectIT agent initialization failed. Agent will not be active.
rocks.inspectit.agent.java.config.StorageException: Agent configuration is not set in the Configuration storage
at rocks.inspectit.agent.java.config.impl.ConfigurationStorage.ensureConfigurationExists(ConfigurationStorage.java:397)
at rocks.inspectit.agent.java.config.impl.ConfigurationStorage.isClassCacheExistsOnCmr(ConfigurationStorage.java:331)
at rocks.inspectit.agent.java.analyzer.impl.ClassHashHelper.afterPropertiesSet(ClassHashHelper.java:219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
... 35 common frames omitted
Wrapped by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'classHashHelper' defined in URL [jar:file:/C:/inspectIT/agent/inspectit-agent.jar!/rocks/inspectit/agent/java/analyzer/impl/ClassHashHelper.class]: Invocation of init method failed; nested exception is rocks.inspectit.agent.java.config.StorageException: Agent configuration is not set in the Configuration storage
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
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.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 'classHashHelper' defined in URL [jar:file:/C:/inspectIT/agent/inspectit-agent.jar!/rocks/inspectit/agent/java/analyzer/impl/ClassHashHelper.class]: Invocation of init method failed; nested exception is rocks.inspectit.agent.java.config.StorageException: Agent configuration is not set in the Configuration storage
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 'classHashHelper' defined in URL [jar:file:/C:/inspectIT/agent/inspectit-agent.jar!/rocks/inspectit/agent/java/analyzer/impl/ClassHashHelper.class]: Invocation of init method failed; nested exception is rocks.inspectit.agent.java.config.StorageException: Agent configuration is not set in the Configuration storage
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:165)
at rocks.inspectit.agent.java.SpringAgent.(SpringAgent.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at rocks.inspectit.agent.java.javaagent.JavaAgent.premain(JavaAgent.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
2017-06-09 17:13:39,920: 9379 [-sending-thread] ERROR ent.java.core.impl.CoreService - Sending thread interrupted and shuting down!
2017-06-09 17:13:39,920: 9379 [reparing-thread] ERROR ent.java.core.impl.CoreService - Preparing thread interrupted and shutting down!
2017-06-09 17:13:39,920: 9379 [efresher-thread] ERROR ent.java.core.impl.CoreService - Sensor refresher was interrupted!
2017-06-09 17:14:51,509: 9371 [reparing-thread] ERROR ent.java.core.impl.CoreService - Preparing thread interrupted and shutting down!
2017-06-09 17:14:51,510: 9372 [-sending-thread] ERROR ent.java.core.impl.CoreService - Sending thread interrupted and shuting down!
2017-06-09 17:14:51,510: 9372 [efresher-thread] ERROR ent.java.core.impl.CoreService - Sensor refresher was interrupted!
from inspectit.
Hi @biswa94 , you need to start your application with the inspectIT agent attached. Currently you are just starting a JVM with the agent but without anything else. That's why the output is printed from Java itself.
If you have further issues or you need further assistance, please create a new ticket for this. Thanks!
from inspectit.
Related Issues (20)
- Problem with future tasks HOT 6
- Interface shows no results HOT 5
- View an exception in inspectIT console HOT 1
- Buffer Underflow on CMR HOT 10
- HTTP instrumentation for Ktor application with Jetty HOT 2
- InspectIT UI is frozen on OSX 10.14 - with JDK8 (Open/Oracle/Zulu) HOT 6
- Error while starting inspectIT HOT 1
- CRM has HTTP ERROR 403 HOT 2
- How to use it in Cloud foundry? HOT 1
- Prevent startup order issues using connection retry HOT 2
- Problems with Dynamic Name Extraction HOT 2
- JBoss EAP domain configuration HOT 2
- JVM got exited the moment agent hooked up HOT 1
- Is it possible to download/export Storage data in another format? HOT 2
- InspecIT don't work with Tomcat 7.0.92 HOT 2
- inspectIT agent initialization failed HOT 1
- Atlassian Jira license limit HOT 2
- URI Transformation - in the URI Aggregation View
- InspectIT agent integration whith ElasticApm
- Getting Agent will not be active while starting the java application HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inspectit.