Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Codecrew / Moya

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 30
  • Merge Requests 2
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
Merged
Merge Request !272 opened Apr 05, 2015 by Tuomas Riihimäki@tuomari

java melody to correct place

Java melody has been included in each web projects lib-directory, which is wrong way to monitor application with multiple web-modules. The correct way is to include JAR in ear project and add melody as a module to EARs application.xml and then add melody filter to each web-modules web.xml.

Downside in this approach is that because eclipse is stupid and unpacks automatically only projects which are found from the workspace, either melody has to be added to workspace or all modules have to be packed and left for glassfish to unpack. If glassfish unpacks the project eclipse has to deploy the whole application each time any resource is updated instead of updating just changed files.

Property for packed JAR deployment for glassfish can be found from doubleclicking the glassfish instance from 'servers' tab. Under 'Application Server' select 'open server properties page...'. Select 'glassfish' and check 'use jar archives for deployment'

Edited Apr 05, 2015
Request to merge tuomari:earname into master

Merged

  • The changes were merged into master.
  • The source branch has been removed.
  • Discussion 0
  • Commits 2
  • Changes 7
  • {{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Tuukka Kivilahti @tkfftk

    Status changed to merged

    Apr 05, 2015

    Status changed to merged

    Toggle commit list
  • Tuukka Kivilahti @tkfftk

    mentioned in commit 013a91c1

    Apr 05, 2015

    mentioned in commit 013a91c1

    Toggle commit list
  • Write
  • Preview
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
  • Please register or sign in to post a comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
2
2 participants
Reference: codecrew/moya!272