[
http://jira.amdatu.org/jira/browse/AMDATU-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11798#comment-11798
]
Marcel Offermans commented on AMDATU-455:
-----------------------------------------
After studying the link you provided, I seriously think we should not add a
mechanism to load these agents. It introduces a mechanism that is JVM specific
and relies on "a mechanism to add an agent JAR file to the system class path"
without defining anything about the life cycle of this agent, which pretty much
guarantees that you can never remove or update it. I would therefore propose to
not implement this and close the issue.
Related to Cassandra, this is yet another reason to not even try to "embed"
Cassandra inside our own JVM but instead launch it in a separate JVM. That JVM
can still be controlled from a bundle, starting and stopping the process to tie
it to the life cycle of that bundle (and possibly when receiving a new
Cassandra configuration).
> Support starting Java agents from an OSGi bundle
> ------------------------------------------------
>
> Key: AMDATU-455
> URL: http://jira.amdatu.org/jira/browse/AMDATU-455
> Project: Amdatu
> Issue Type: New Feature
> Components: Amdatu Core
> Affects Versions: 0.1.1
> Reporter: Ivo Ladage - van Doorn
>
> As described in issue http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-114,
> Cassandra requires a Java agent to be defined upon JVM startup
> (-javaagent:lib/jamm-0.2.2.jar). As described in the issue, it can be fixed
> by some appending a package to the boot delegation packages but that would
> not be the preferred solution.
> Ideally it would be possible to start Java agents from a OSGi bundle (like
> the jamm agent from the cassandra application bundle).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers