{"action":"created","issue":{"url":"https://api.github.com/repos/stagemonitor/stagemonitor/issues/103","labels_url":"https://api.github.com/repos/stagemonitor/stagemonitor/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/stagemonitor/stagemonitor/issues/103/comments","events_url":"https://api.github.com/repos/stagemonitor/stagemonitor/issues/103/events","html_url":"https://github.com/stagemonitor/stagemonitor/issues/103","id":108260958,"number":103,"title":"Instrumentation Inside of EJB Classes","user":{"login":"alexeyromanchuk","id":6532255,"avatar_url":"https://avatars.githubusercontent.com/u/6532255?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeyromanchuk","html_url":"https://github.com/alexeyromanchuk","followers_url":"https://api.github.com/users/alexeyromanchuk/followers","following_url":"https://api.github.com/users/alexeyromanchuk/following{/other_user}","gists_url":"https://api.github.com/users/alexeyromanchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeyromanchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeyromanchuk/subscriptions","organizations_url":"https://api.github.com/users/alexeyromanchuk/orgs","repos_url":"https://api.github.com/users/alexeyromanchuk/repos","events_url":"https://api.github.com/users/alexeyromanchuk/events{/privacy}","received_events_url":"https://api.github.com/users/alexeyromanchuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T04:30:44Z","updated_at":"2015-09-25T07:12:23Z","closed_at":null,"body":"Hi !\r\n\r\nI have a Spring MVC application which does some EJB calls. Those EJB classes are located in the same war file as the application. But stagemonitor instrumentation performs processing MVC classes and ejb remote interfaces only and doesn't the classes which are inside of the EJBs (inside of each EJB are lots of other spring-based business logic). So that I can't see more detailed callStacks (it's restricted by the ejb remote interfaces only).\r\n\r\nIn the code I found that the problem might be mostly connected with using different classloaders for web and ejb classes but maybe I've just missed some important steps for this scenario?\r\n\r\nI'm using Glassfish 4.1 Application Server to deploy the war file. In the case when I try to run the App with Glassfish in the embedded mode (with unit tests) all is ok - I see the full callStack.\r\n\r\nThank you in advance!"},"comment":{"url":"https://api.github.com/repos/stagemonitor/stagemonitor/issues/comments/143146793","html_url":"https://github.com/stagemonitor/stagemonitor/issues/103#issuecomment-143146793","issue_url":"https://api.github.com/repos/stagemonitor/stagemonitor/issues/103","id":143146793,"user":{"login":"felixbarny","id":2163464,"avatar_url":"https://avatars.githubusercontent.com/u/2163464?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbarny","html_url":"https://github.com/felixbarny","followers_url":"https://api.github.com/users/felixbarny/followers","following_url":"https://api.github.com/users/felixbarny/following{/other_user}","gists_url":"https://api.github.com/users/felixbarny/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbarny/subscriptions","organizations_url":"https://api.github.com/users/felixbarny/orgs","repos_url":"https://api.github.com/users/felixbarny/repos","events_url":"https://api.github.com/users/felixbarny/events{/privacy}","received_events_url":"https://api.github.com/users/felixbarny/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T07:12:23Z","updated_at":"2015-09-25T07:12:23Z","body":"What do you mean by the classes inside the EJBs? Are they in a separate jar or war? What's currently problematic is when you have an ear which contains a war and a (ejb) jar. In that case you won't be able to se a complete call tree across the classes in the war and the ejb jar due to - you said it - different classloaders."}}