You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/05/14 05:42:13 UTC

[GitHub] franknew opened a new issue #1219: bug: the agent file path with blank space in windows server would report an error

franknew opened a new issue #1219: bug: the agent file path with blank space in windows server would report an error
URL: https://github.com/apache/incubator-skywalking/issues/1219
 
 
   agent path:C:/Program Files/Apache Software Foundation/Tomcat 7.0_Tomcat7_8024/agent/skywalking-agent.jar
   
   above are logs:
   DEBUG 2018-05-14 11:32:16 AgentPackagePath :  The beacon class location is jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0_Tomcat7_8024/agent/skywalking-agent.jar!/org/apache/skywalking/apm/agent/core/boot/AgentPackagePath.class. 
   ERROR 2018-05-14 11:32:16 AgentPackagePath :  Can not locate agent jar file. 
   ERROR 2018-05-14 11:32:16 SnifferConfigInitializer :  Failed to read the config file, skywalking is going to run in default config. 
   org.apache.skywalking.apm.agent.core.boot.AgentPackageNotFoundException: Can not locate agent jar file.
   	at org.apache.skywalking.apm.agent.core.boot.AgentPackagePath.findPath(AgentPackagePath.java:78)
   	at org.apache.skywalking.apm.agent.core.boot.AgentPackagePath.getPath(AgentPackagePath.java:39)
   	at org.apache.skywalking.apm.agent.core.conf.SnifferConfigInitializer.loadConfigFromAgentFolder(SnifferConfigInitializer.java:127)
   	at org.apache.skywalking.apm.agent.core.conf.SnifferConfigInitializer.initialize(SnifferConfigInitializer.java:59)
   	at org.apache.skywalking.apm.agent.SkyWalkingAgent.premain(SkyWalkingAgent.java:58)
   	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)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services