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/06/17 20:10:37 UTC

[GitHub] gamefundas opened a new issue #1365: Spring boot startup script integration

gamefundas opened a new issue #1365: Spring boot startup script integration
URL: https://github.com/apache/incubator-skywalking/issues/1365
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [X] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   Spring boot has a startup script for Linux/Unix which allows the application to be started as a service. In this case spring uses the application.conf file to allow JAVA_OPTS. 
   
   application.conf with the following contents
   
   JAVA_OPTS='-javaagent:/opt/skywalking/agent/skywalking-agent.jar'
   
   Does the above typically work, and if it is the right way to configure the agent then is there a way to confirm the agent is actually running from the logs etc? I couldn't find anything printed in the application logs or  /opt/skywalking/agent/logs either.
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
   5.0 Beta, Amazon Linux (CentOs variant), JDK 1.8
   ___
   ### Requirement or improvement
   - Please describe about your requirements or improvement suggestions.
   I also notice that the default agent -> collector port 10800 is only accepting connections locally
   
   netstat shows the following
   tcp        0      0 ::ffff:127.0.0.1:10800      :::*                        LISTEN      -
   
   This forced me to use Nginx to reverse proxy my calls to the collector. But at the end of the day I don't see application data appear in the dashboard. No errors anywhere in logs. Am I missing something somewhere?
   
    
   

----------------------------------------------------------------
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