Distributing yjp-controller-api-redist.jar in Maven 2 Repo

Questions about YourKit Java Profiler
Post Reply
johanlindquist
Posts: 2
Joined: Mon Mar 22, 2010 8:12 pm

Distributing yjp-controller-api-redist.jar in Maven 2 Repo

Post by johanlindquist »

Hi,

I am a developer on the Basher project [1], part of which is a plug-in for Maven 2. Basher attempts to make it easier to profile & performance test code closer to the 'action'. As part of the project, I am hoping to add functionality which will control some aspects of the YourKit profiler, using your published APIs.

Now, in order to make the project "buildable" from source, I currently need to download YourKit and point the Maven 2 POM to it. To alleviate this and make it easier for possible users I was wondering what the thoughts are of YourKit releasing and distributing the redistributable (yjp-controller-api-redist.jar) jar through the Maven 2 repo? Would this be possible at all?

Looking forward to your thoughts & many thanks for a good product!

Cheers,

Johan

[1] http://basher.sourceforge.net
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Repo

Post by Vladimir Kondratyev »

yjp-controller-api-redist.jar and profiler agent dynamic library are released under BSD license. You can redistribute them together with your sources under the terms of the license:
The following files can be redistributable under the license below:

yjpagent.dll
libyjpagent.so
libyjpagent.jnilib
yjp-controller-api-redist.jar

-------------------------------------------------------------------

Copyright (c) 2003-2009, YourKit
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of YourKit nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY YOURKIT "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL YOURKIT BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
johanlindquist
Posts: 2
Joined: Mon Mar 22, 2010 8:12 pm

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Repo

Post by johanlindquist »

Hi,

Thanks for the response & I will take a look to see if I can get Maven to do this somehow.

Cheers,

Johan
nite
Posts: 1
Joined: Fri Jun 12, 2015 4:11 pm

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Re

Post by nite »

It seems this artifact is available at https://search.maven.org/#artifactdetai ... .120.0|jar. There are also various other versions, too.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Re

Post by Anton Katilin »

This was added by a 3rd party, not YourKit.

Since the license text is attached, it's OK. However, in case of doubt, please always use the jars downloaded directly from the YourKit site. We cannot validate anything uploaded to other sites.
sahild
Posts: 8
Joined: Fri Aug 12, 2016 6:52 pm

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Re

Post by sahild »

Hi,
I am trying to get clarification on redistribution of the controller api jar and the yjpagent dlls and so"s. that is mentioned in this thread.
Do we need to have a YourKit license to redistribute these files with a product we are selling?
Currently we are looking at including these files with our product so that we can have our customers select a menu choice to capture a memory snapshot which they can send back to us or if they have their own copy of YourKit to do their own analysis.

Thanks,
Steve
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Re

Post by Vladimir Kondratyev »

Yes, you need have a license. Without a license it is not possible to analyze snapshots.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
sahild
Posts: 8
Joined: Fri Aug 12, 2016 6:52 pm

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Re

Post by sahild »

We acquired a product that we are currently selling and the software has included the files listed in your response to the original poster of this thread. They assumed the licensing you posted covered distribution.The version that is currently being included is 9.5.4 which looks to have been released around 2010. This version worked fine until we started moving to Java 8 and the jars and dlls don't work to create a memory snapshot, most likely since memory is handled differently in Java 8.
I downloaded the latest version of YourKit and if I use the jar and agent dll from that release we are able to create a memory snapshot. Are the files listed from the current release still distributable like those from 2010?

We are just using the agent to create a memory snapshot which we would need our customer send back to us to analyze.I know we would need a license to run YourKit to analyze the snapshot but do we need to have a license to distribute the files? Would getting a single license allow us to distribute?
If there is an issue I can remove use of your agent dlls and jar file.
Thanks
Steve
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Re

Post by Anton Katilin »

I downloaded the latest version of YourKit and if I use the jar and agent dll from that release we are able to create a memory snapshot. Are the files listed from the current release still distributable like those from 2010?
Yes, the latest version contains the same list of redistributable files. Please see license-redist.txt
I know we would need a license to run YourKit to analyze the snapshot but do we need to have a license to distribute the files?
Please see license-redist.txt. The files you can redistribute are enough to capture snapshots.
sahild
Posts: 8
Joined: Fri Aug 12, 2016 6:52 pm

Re: Distributing yjp-controller-api-redist.jar in Maven 2 Re

Post by sahild »

Thank you Anton for the quick response.
Steve
Post Reply