You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mikhail Loenko <ml...@gmail.com> on 2007/10/17 11:56:51 UTC

Apache Harmony for Apache internal use?

Hi Infrastructure team.

I'm a Harmony developer and wondering what's necessary for
Apache to use it's own Harmony for internal use rather than Sun's or
another Java.

For example can we (in some future) host JIRA on top of Harmony?
What would be criteria for that (like Harmony is able to run it for XX
days or something else)?

Are there other areas where ASF currently
uses Sun's or another Java and we could use Harmony instead?

Thanks,
Mikhail

Re: Apache Harmony for Apache internal use?

Posted by Rana Dasgupta <rd...@gmail.com>.
It would be good idea to take some of these as scenarios for oncoming
milestones.

On 10/17/07, Xiao-Feng Li <xi...@gmail.com> wrote:
> On 10/17/07, Alexei Zakharov <al...@gmail.com> wrote:
> > I have strong +1 for this type of activity. IMO it is very hard to
> > persuade people to use Harmony for their projects if Apache by itself
> > doesn't trust it. As a first step we may ask to create a separate
> > Harmony-powered instance of JIRA, solely for Harmony purposes.
> >
> > BTW, some Apache projects (Geronimo for example) use Confluence Wiki
> > that is also a J2EE product from Atlassian [1]. We may try to run it
> > on Harmony too.
>
> Interesting idea. Can we get the software to run with Harmony so that
> we have enough confidence? For example, before the infra people tell
> us how many hours are considered acceptable, it's probably better for
> us to tell the infra people how many hours Harmony can run with the
> software smoothly, and some performance number is necessary as well.
>
> Can we (or some other Apache people) talk to Atlassian directly about
> the software? Or as an alternative as Alexei suggested, we can try to
> get a trial JIRA setup with Harmony separately. Once we have a good
> confidence level, we can try to use this Harmony-based JIRA for
> Harmony project at first, then we ask for more infra diffusion.
>
> Thanks,
> xiaofeng
>
> > Regards,
> > Alexei
> >
> > [1] http://www.atlassian.com/software/confluence/
> >
> > 2007/10/17, Robert Burrell Donkin <ro...@gmail.com>:
> > > On 10/17/07, Tim Ellison <t....@gmail.com> wrote:
> > > > [dropping infra]
> > > >
> > > > How about trying Harmony in the Gump runs again?
> > >
> > > +1
> > >
> > > running and testings the complete apache stack would be very cool
> > >
> > > - robert
> > >
> >
>
>
> --
> http://xiao-feng.blogspot.com
>

Re: Apache Harmony for Apache internal use?

Posted by Xiao-Feng Li <xi...@gmail.com>.
On 10/17/07, Alexei Zakharov <al...@gmail.com> wrote:
> I have strong +1 for this type of activity. IMO it is very hard to
> persuade people to use Harmony for their projects if Apache by itself
> doesn't trust it. As a first step we may ask to create a separate
> Harmony-powered instance of JIRA, solely for Harmony purposes.
>
> BTW, some Apache projects (Geronimo for example) use Confluence Wiki
> that is also a J2EE product from Atlassian [1]. We may try to run it
> on Harmony too.

Interesting idea. Can we get the software to run with Harmony so that
we have enough confidence? For example, before the infra people tell
us how many hours are considered acceptable, it's probably better for
us to tell the infra people how many hours Harmony can run with the
software smoothly, and some performance number is necessary as well.

Can we (or some other Apache people) talk to Atlassian directly about
the software? Or as an alternative as Alexei suggested, we can try to
get a trial JIRA setup with Harmony separately. Once we have a good
confidence level, we can try to use this Harmony-based JIRA for
Harmony project at first, then we ask for more infra diffusion.

Thanks,
xiaofeng

> Regards,
> Alexei
>
> [1] http://www.atlassian.com/software/confluence/
>
> 2007/10/17, Robert Burrell Donkin <ro...@gmail.com>:
> > On 10/17/07, Tim Ellison <t....@gmail.com> wrote:
> > > [dropping infra]
> > >
> > > How about trying Harmony in the Gump runs again?
> >
> > +1
> >
> > running and testings the complete apache stack would be very cool
> >
> > - robert
> >
>


-- 
http://xiao-feng.blogspot.com

Re: Apache Harmony for Apache internal use?

Posted by Alexei Zakharov <al...@gmail.com>.
I have strong +1 for this type of activity. IMO it is very hard to
persuade people to use Harmony for their projects if Apache by itself
doesn't trust it. As a first step we may ask to create a separate
Harmony-powered instance of JIRA, solely for Harmony purposes.

BTW, some Apache projects (Geronimo for example) use Confluence Wiki
that is also a J2EE product from Atlassian [1]. We may try to run it
on Harmony too.

Regards,
Alexei

[1] http://www.atlassian.com/software/confluence/

2007/10/17, Robert Burrell Donkin <ro...@gmail.com>:
> On 10/17/07, Tim Ellison <t....@gmail.com> wrote:
> > [dropping infra]
> >
> > How about trying Harmony in the Gump runs again?
>
> +1
>
> running and testings the complete apache stack would be very cool
>
> - robert
>

Re: Apache Harmony for Apache internal use?

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On 10/17/07, Tim Ellison <t....@gmail.com> wrote:
> [dropping infra]
>
> How about trying Harmony in the Gump runs again?

+1

running and testings the complete apache stack would be very cool

- robert

Re: Apache Harmony for Apache internal use?

Posted by Tim Ellison <t....@gmail.com>.
[dropping infra]

How about trying Harmony in the Gump runs again?

Regards,
Tim

Mikhail Loenko wrote:
> Hi Infrastructure team.
> 
> I'm a Harmony developer and wondering what's necessary for
> Apache to use it's own Harmony for internal use rather than Sun's or
> another Java.
> 
> For example can we (in some future) host JIRA on top of Harmony?
> What would be criteria for that (like Harmony is able to run it for XX
> days or something else)?
> 
> Are there other areas where ASF currently
> uses Sun's or another Java and we could use Harmony instead?
> 
> Thanks,
> Mikhail
> 

Re: Apache Harmony for Apache internal use?

Posted by Mark Hindess <ma...@googlemail.com>.
On 18 October 2007 at 9:07, "Alexey Varlamov"
<al...@gmail.com> wrote:
> BTW, on which platform the Apache JIRA runs now?
> I guess we have to port Harmony to freebsd/x86_64 first ;)

I thought that too, but actually looking at:

  http://www.apache.org/dev/machines.html

issues.apache.org seems to be running ubuntu.

-Mark.

> 2007/10/17, Mikhail Loenko <ml...@gmail.com>:
> > Hi Infrastructure team.
> >
> > I'm a Harmony developer and wondering what's necessary for
> > Apache to use it's own Harmony for internal use rather than Sun's or
> > another Java.
> >
> > For example can we (in some future) host JIRA on top of Harmony?
> > What would be criteria for that (like Harmony is able to run it for XX
> > days or something else)?
> >
> > Are there other areas where ASF currently
> > uses Sun's or another Java and we could use Harmony instead?
> >
> > Thanks,
> > Mikhail
> >
> 



Re: Apache Harmony for Apache internal use?

Posted by Alexey Varlamov <al...@gmail.com>.
BTW, on which platform the Apache JIRA runs now?
I guess we have to port Harmony to freebsd/x86_64 first ;)

2007/10/17, Mikhail Loenko <ml...@gmail.com>:
> Hi Infrastructure team.
>
> I'm a Harmony developer and wondering what's necessary for
> Apache to use it's own Harmony for internal use rather than Sun's or
> another Java.
>
> For example can we (in some future) host JIRA on top of Harmony?
> What would be criteria for that (like Harmony is able to run it for XX
> days or something else)?
>
> Are there other areas where ASF currently
> uses Sun's or another Java and we could use Harmony instead?
>
> Thanks,
> Mikhail
>

Re: Apache Harmony for Apache internal use?

Posted by Alexei Zakharov <al...@gmail.com>.
Hi Henri,

> Alexei: Do you have the stubs JAR you created in an easily consumable
> form for Henri?  Perhaps you can attach it to a new JIRA issue for him.

Yes, I've created a separate JIRA issue for this. I put  there the
detailed instruction on what it needs to be done to run JIRA on top of
Harmony. Please see [1]. The archive with stubs is also attached
there.

Harmony community is really interested in all kind of results you may
get by using JIRA+Harmony on real workloads. BTW if you like Harmony
community members to receive your messages you should probably
subscribe to dev@harmony.apache.org first since only subscribers'
messages are visible to others.

[1] https://issues.apache.org/jira/browse/HARMONY-4977

Thanks a lot!
Alexei

2007/10/19, Tim Ellison <t....@gmail.com>:
> Henri Yandell wrote:
> > I'm all for giving Harmony a shot on one of the smaller JIRAs - just
> > give me the instructions for setting it up and I can put a little time
> > into testing etc.
> >
> > I can start by running the osjava.org JIRA (runs on an Ubuntu of some
> > form) and seeing how that goes, then moving up to the others.
>
> Cool.  Go and grab the latest Harmony milestone from our downloads page
> [1].  Sounds like you will need to patch JIRA to satisfy it's dependency
> on Sun internals [2].
>
> You know where to come for assistance.  Please report back, good or bad.
>
> Alexei: Do you have the stubs JAR you created in an easily consumable
> form for Henri?  Perhaps you can attach it to a new JIRA issue for him.
>
> [1] http://harmony.apache.org/download.cgi
> [2]
> http://mail-archives.apache.org/mod_mbox/harmony-dev/200710.mbox/%3c2c9597b90710180938j19c8559ekf437283b0bb5a031@mail.gmail.com%3e
>
> Regards,
> Tim
>

Re: Apache Harmony for Apache internal use?

Posted by Tim Ellison <t....@gmail.com>.
Henri Yandell wrote:
> I'm all for giving Harmony a shot on one of the smaller JIRAs - just
> give me the instructions for setting it up and I can put a little time
> into testing etc.
> 
> I can start by running the osjava.org JIRA (runs on an Ubuntu of some
> form) and seeing how that goes, then moving up to the others.

Cool.  Go and grab the latest Harmony milestone from our downloads page
[1].  Sounds like you will need to patch JIRA to satisfy it's dependency
on Sun internals [2].

You know where to come for assistance.  Please report back, good or bad.

Alexei: Do you have the stubs JAR you created in an easily consumable
form for Henri?  Perhaps you can attach it to a new JIRA issue for him.

[1] http://harmony.apache.org/download.cgi
[2]
http://mail-archives.apache.org/mod_mbox/harmony-dev/200710.mbox/%3c2c9597b90710180938j19c8559ekf437283b0bb5a031@mail.gmail.com%3e

Regards,
Tim


Re: Apache Harmony for Apache internal use?

Posted by Mikhail Loenko <ml...@gmail.com>.
Thanks folks for your prompt and valuable comments and info!

A good news IMHO is there is no allergy to moving this direction,
so we can now set stability and performance targets for ourselves
and return to you when we think we are ready

Thank you!
Mikhail

2007/10/17, Justin Erenkrantz <ju...@erenkrantz.com>:
> On Oct 17, 2007 2:56 AM, Mikhail Loenko <ml...@gmail.com> wrote:
> > I'm a Harmony developer and wondering what's necessary for
> > Apache to use it's own Harmony for internal use rather than Sun's or
> > another Java.
> >
> > For example can we (in some future) host JIRA on top of Harmony?
> > What would be criteria for that (like Harmony is able to run it for XX
> > days or something else)?
>
> It's probably also useful to answer 'can Harmony handle X/req/sec'.
> To give you an idea, our main JIRA instance served 3.5 million
> requests in September[1].  We have some smaller JIRA instances that we
> could try Harmony on first.  You would need to coordinate with the
> JIRA folks on infrastructure-dev@ first (please subscribe to that
> list).  Jeff Turner from Atlassian is our main contact.
>
> My key criteria (assuming Jeff and our other JIRA admins are okay)
> would be that Harmony devs are available/on-call to debug/analyze perf
> problems and crashes.  We *are* using it in production, so...  =)
>
> FWIW, the box JIRA and Confluence are on is an Ubuntu Dapper box; but
> we may upgrade that to Gutsy Gibbon in the near-term.
>
> > Are there other areas where ASF currently
> > uses Sun's or another Java and we could use Harmony instead?
>
> JIRA and Confluence are the big ones now.  Though Gump and Continuum
> use it for builds - but not production services.  So, builds aren't as
> exciting.  =)  -- justin
>
> 1. http://people.apache.org/~henkp/analog/brutus/
>

Fwd: Apache Harmony for Apache internal use?

Posted by Mikhail Loenko <ml...@gmail.com>.
fyi (it did not reach dev-list AFAIU)

---------- Forwarded message ----------
From: Graham Leggett <mi...@sharp.fm>
Date: 17.10.2007 22:54
Subject: Re: Apache Harmony for Apache internal use?
To: Mikhail Loenko <ml...@gmail.com>
Cc: infrastructure@apache.org, dev@harmony.apache.org


On Wed, October 17, 2007 11:56 am, Mikhail Loenko wrote:

> I'm a Harmony developer and wondering what's necessary for
> Apache to use it's own Harmony for internal use rather than Sun's or
> another Java.
>
> For example can we (in some future) host JIRA on top of Harmony?
> What would be criteria for that (like Harmony is able to run it for XX
> days or something else)?
>
> Are there other areas where ASF currently
> uses Sun's or another Java and we could use Harmony instead?

Continuum and/or Gump builds both leap to mind as good candidates for
testing Harmony.

Regards,
Graham
--

Re: Apache Harmony for Apache internal use?

Posted by Tim Ellison <t....@gmail.com>.
Alexei Zakharov wrote:
> I did register both to their site and their JIRA. However, as far as I
> understand I'm not able to do anything except for creating and
> browsing my own issues. It seems their JIRA configuration differs from
> ours.

The only comments are:

   We need to ensure that none of our code depends on sun.* packages.
   See: http://java.sun.com/products/jdk/faq/faq-sun-packages.html

   Currently the com.atlassian.velocity.VelocityHelper is the only
   class that has been identified to use a sun.* class.

and

    Please note that the class is actually in atlassian-velocity and
    not JIRA.

The issue has been open since June 2007.

Regards,
Tim

Re: Apache Harmony for Apache internal use?

Posted by Alexei Zakharov <al...@gmail.com>.
I did register both to their site and their JIRA. However, as far as I
understand I'm not able to do anything except for creating and
browsing my own issues. It seems their JIRA configuration differs from
ours.

Regards,
Alexei

2007/10/19, Tim Ellison <t....@gmail.com>:
> Alexei Zakharov wrote:
> >> FYI I raise a bug against JIRA for the latter, see:
> >> https://support.atlassian.com/browse/JSP-13480
> >
> > Looks like I don't have permissions to browse this - their issue
> > database is not open to everyone. :(
>
> I think you need to register first, but whatever, there is nothing of
> great interest in that report, just as we have described here.  See also
> HARMONY-3146.
>
> Regards,
> Tim
>

Re: Apache Harmony for Apache internal use?

Posted by Tim Ellison <t....@gmail.com>.
Alexei Zakharov wrote:
>> FYI I raise a bug against JIRA for the latter, see:
>> https://support.atlassian.com/browse/JSP-13480
> 
> Looks like I don't have permissions to browse this - their issue
> database is not open to everyone. :(

I think you need to register first, but whatever, there is nothing of
great interest in that report, just as we have described here.  See also
HARMONY-3146.

Regards,
Tim


Re: Apache Harmony for Apache internal use?

Posted by Alexei Zakharov <al...@gmail.com>.
Tim,

> FYI I raise a bug against JIRA for the latter, see:
> https://support.atlassian.com/browse/JSP-13480

Looks like I don't have permissions to browse this - their issue
database is not open to everyone. :(

Regards,
Alexei

2007/10/18, Tim Ellison <t....@gmail.com>:
> Alexei Zakharov wrote:
> > Hi all,
> >
> > FYI today I've download evaluation version of JIRA and tried to run it
> > with the most recent version of our HDK. At the beginning it didn't
> > want to work due to NoClassDefFound error for following classes:
> > com/sun/image/codec/jpeg/ImageFormatException.class
> > sun/security/action/GetPropertyAction.class
>
> FYI I raise a bug against JIRA for the latter, see:
> https://support.atlassian.com/browse/JSP-13480
>
> and they accepted it as something that should be fixed -- but no
> indication of a timescale.
>
> > Then I created simple stubs for them and placed to
> > $CATALINA_HOME/shared/classes. Then I run tomcat again and ... JIRA
> > started to work. Without any exceptions, stacktraces, hangs and
> > crashes! I was playing with it about two hours. I've successfully
> > created a new project, project's components, several users and
> > permissions for them. First two JIRA issues were successfully filed.
> > Here is a screenshot to prove that this wasn't a figment of my
> > imagination - [1] . Don't pay attention to JVM vendor. Most likely
> > it's value is  mistakenly taken from "java.specification.vendor" or
> > "java.vm.specification.vendor".
> >
> > Of course I understand this wasn't a stress test in a production
> > environment. But the fact that Harmony already is able to host (small)
> > JIRA instances deserves community attention IMO.
> >
> > [1] http://people.apache.org/~ayza/JIRA_on_Harmony.png
> >
>
> Great!
>
> Regards,
> Tim
>

Re: Apache Harmony for Apache internal use?

Posted by Tim Ellison <t....@gmail.com>.
Alexei Zakharov wrote:
> Hi all,
> 
> FYI today I've download evaluation version of JIRA and tried to run it
> with the most recent version of our HDK. At the beginning it didn't
> want to work due to NoClassDefFound error for following classes:
> com/sun/image/codec/jpeg/ImageFormatException.class
> sun/security/action/GetPropertyAction.class

FYI I raise a bug against JIRA for the latter, see:
https://support.atlassian.com/browse/JSP-13480

and they accepted it as something that should be fixed -- but no
indication of a timescale.

> Then I created simple stubs for them and placed to
> $CATALINA_HOME/shared/classes. Then I run tomcat again and ... JIRA
> started to work. Without any exceptions, stacktraces, hangs and
> crashes! I was playing with it about two hours. I've successfully
> created a new project, project's components, several users and
> permissions for them. First two JIRA issues were successfully filed.
> Here is a screenshot to prove that this wasn't a figment of my
> imagination - [1] . Don't pay attention to JVM vendor. Most likely
> it's value is  mistakenly taken from "java.specification.vendor" or
> "java.vm.specification.vendor".
>
> Of course I understand this wasn't a stress test in a production
> environment. But the fact that Harmony already is able to host (small)
> JIRA instances deserves community attention IMO.
>
> [1] http://people.apache.org/~ayza/JIRA_on_Harmony.png
>

Great!

Regards,
Tim

Re: Apache Harmony for Apache internal use?

Posted by Alexei Zakharov <al...@gmail.com>.
Hi all,

FYI today I've download evaluation version of JIRA and tried to run it
with the most recent version of our HDK. At the beginning it didn't
want to work due to NoClassDefFound error for following classes:
com/sun/image/codec/jpeg/ImageFormatException.class
sun/security/action/GetPropertyAction.class
Then I created simple stubs for them and placed to
$CATALINA_HOME/shared/classes. Then I run tomcat again and ... JIRA
started to work. Without any exceptions, stacktraces, hangs and
crashes! I was playing with it about two hours. I've successfully
created a new project, project's components, several users and
permissions for them. First two JIRA issues were successfully filed.
Here is a screenshot to prove that this wasn't a figment of my
imagination - [1] . Don't pay attention to JVM vendor. Most likely
it's value is  mistakenly taken from "java.specification.vendor" or
"java.vm.specification.vendor".

Of course I understand this wasn't a stress test in a production
environment. But the fact that Harmony already is able to host (small)
JIRA instances deserves community attention IMO.

[1] http://people.apache.org/~ayza/JIRA_on_Harmony.png

Thanks,
Alexei

2007/10/18, Spark Shen <sm...@gmail.com>:
> 2007/10/18, Mikhail Loenko <ml...@gmail.com>:
> >
> > fyi (it did not reach dev-list AFAIU)
>
>
>  ?? :-)
>
> ---------- Forwarded message ----------
> > From: Kathey Marsden <km...@sbcglobal.net>
> > Date: 18.10.2007 3:19
> > Subject: Re: Apache Harmony for Apache internal use?
> > To: Graham Leggett <mi...@sharp.fm>
> > Cc: Mikhail Loenko <ml...@gmail.com>, infrastructure@apache.org,
> > dev@harmony.apache.org
> >
> >
> > Graham Leggett wrote:
> > > On Wed, October 17, 2007 11:56 am, Mikhail Loenko wrote:
> > >
> > >
> > >> I'm a Harmony developer and wondering what's necessary for
> > >> Apache to use it's own Harmony for internal use rather than Sun's or
> > >> another Java.
> > >>
> > >>
> > One good option for testing harmony might be to try the Derby functional
> > tests. The Derby tests traditionally are  very good at finding jvm bugs,
> > especially JIT bugs.
>
>
> +1. And seems harmony has already run against derby tests previously.
>
> Kathey

Re: Apache Harmony for Apache internal use?

Posted by Spark Shen <sm...@gmail.com>.
2007/10/18, Mikhail Loenko <ml...@gmail.com>:
>
> fyi (it did not reach dev-list AFAIU)


 ?? :-)

---------- Forwarded message ----------
> From: Kathey Marsden <km...@sbcglobal.net>
> Date: 18.10.2007 3:19
> Subject: Re: Apache Harmony for Apache internal use?
> To: Graham Leggett <mi...@sharp.fm>
> Cc: Mikhail Loenko <ml...@gmail.com>, infrastructure@apache.org,
> dev@harmony.apache.org
>
>
> Graham Leggett wrote:
> > On Wed, October 17, 2007 11:56 am, Mikhail Loenko wrote:
> >
> >
> >> I'm a Harmony developer and wondering what's necessary for
> >> Apache to use it's own Harmony for internal use rather than Sun's or
> >> another Java.
> >>
> >>
> One good option for testing harmony might be to try the Derby functional
> tests. The Derby tests traditionally are  very good at finding jvm bugs,
> especially JIT bugs.


+1. And seems harmony has already run against derby tests previously.

Kathey
>



-- 
Spark Shen
China Software Development Lab, IBM

Fwd: Apache Harmony for Apache internal use?

Posted by Mikhail Loenko <ml...@gmail.com>.
fyi (it did not reach dev-list AFAIU)

---------- Forwarded message ----------
From: Kathey Marsden <km...@sbcglobal.net>
Date: 18.10.2007 3:19
Subject: Re: Apache Harmony for Apache internal use?
To: Graham Leggett <mi...@sharp.fm>
Cc: Mikhail Loenko <ml...@gmail.com>, infrastructure@apache.org,
dev@harmony.apache.org


Graham Leggett wrote:
> On Wed, October 17, 2007 11:56 am, Mikhail Loenko wrote:
>
>
>> I'm a Harmony developer and wondering what's necessary for
>> Apache to use it's own Harmony for internal use rather than Sun's or
>> another Java.
>>
>>
One good option for testing harmony might be to try the Derby functional
tests. The Derby tests traditionally are  very good at finding jvm bugs,
especially JIT bugs.

Kathey

Re: Apache Harmony for Apache internal use?

Posted by Alexei Zakharov <al...@gmail.com>.
> > > As a potential end user of Harmony, I would be more excited by the news
> > > "compiles X hundred projects and executes all of those project test
> > > suites error free" than "runs a busy copy of JIRA".

At the same time having some live examples of Harmony viability IMO
can also be rather important.  At least for that group of
users/customers who don't believe in words and need  more motivation
to start spending their time/resource on downloading and trying 50M
snapshot. In other words, I don't see any harm in the fact that
Harmony will "run a busy copy of JIRA". Especially in case if it is
already able to do this.

Thanks,
Alexei

2007/10/23, Alexey Petrenko <al...@gmail.com>:
> 2007/10/22, Tim Ellison <t....@gmail.com>:
> > Graham Leggett wrote:
> > > Justin Erenkrantz wrote:
> > >
> > >>> Are there other areas where ASF currently
> > >>> uses Sun's or another Java and we could use Harmony instead?
> > >>
> > >> JIRA and Confluence are the big ones now.  Though Gump and Continuum
> > >> use it for builds - but not production services.  So, builds aren't as
> > >> exciting.  =)  -- justin
> > >
> > > Builds expose Harmony not only to compiling a large body of existing
> > > stable code, but also allows the opportunity for Harmony to run the test
> > > suites on that body of code as well.
> > >
> > > As a potential end user of Harmony, I would be more excited by the news
> > > "compiles X hundred projects and executes all of those project test
> > > suites error free" than "runs a busy copy of JIRA".
> >
> > Me too!  Please download a copy of Harmony [1] and try running a Java
> > application on it.  If it works, let us know (a bit of developer
> > stroking always helps <g>) but more importantly if it doesn't work also
> > let us know.  The people who frequent this list are incredibly motivated
> > to fix problems in real applications -- all you need to inspire them is
> > a good bug report.
> +1 :)
>
> SY, Alexey
>

Re: Apache Harmony for Apache internal use?

Posted by Alexey Petrenko <al...@gmail.com>.
2007/10/22, Tim Ellison <t....@gmail.com>:
> Graham Leggett wrote:
> > Justin Erenkrantz wrote:
> >
> >>> Are there other areas where ASF currently
> >>> uses Sun's or another Java and we could use Harmony instead?
> >>
> >> JIRA and Confluence are the big ones now.  Though Gump and Continuum
> >> use it for builds - but not production services.  So, builds aren't as
> >> exciting.  =)  -- justin
> >
> > Builds expose Harmony not only to compiling a large body of existing
> > stable code, but also allows the opportunity for Harmony to run the test
> > suites on that body of code as well.
> >
> > As a potential end user of Harmony, I would be more excited by the news
> > "compiles X hundred projects and executes all of those project test
> > suites error free" than "runs a busy copy of JIRA".
>
> Me too!  Please download a copy of Harmony [1] and try running a Java
> application on it.  If it works, let us know (a bit of developer
> stroking always helps <g>) but more importantly if it doesn't work also
> let us know.  The people who frequent this list are incredibly motivated
> to fix problems in real applications -- all you need to inspire them is
> a good bug report.
+1 :)

SY, Alexey

Re: Apache Harmony for Apache internal use?

Posted by Tim Ellison <t....@gmail.com>.
Graham Leggett wrote:
> Justin Erenkrantz wrote:
> 
>>> Are there other areas where ASF currently
>>> uses Sun's or another Java and we could use Harmony instead?
>>
>> JIRA and Confluence are the big ones now.  Though Gump and Continuum
>> use it for builds - but not production services.  So, builds aren't as
>> exciting.  =)  -- justin
> 
> Builds expose Harmony not only to compiling a large body of existing
> stable code, but also allows the opportunity for Harmony to run the test
> suites on that body of code as well.
> 
> As a potential end user of Harmony, I would be more excited by the news
> "compiles X hundred projects and executes all of those project test
> suites error free" than "runs a busy copy of JIRA".

Me too!  Please download a copy of Harmony [1] and try running a Java
application on it.  If it works, let us know (a bit of developer
stroking always helps <g>) but more importantly if it doesn't work also
let us know.  The people who frequent this list are incredibly motivated
to fix problems in real applications -- all you need to inspire them is
a good bug report.

> Timing data on how long Harmony takes to compile, and how long Harmony
> takes to run test suites compared to the other major JDKs would also be
> very interesting stats to know.

Yep.

[1] http://harmony.apache.org/download.cgi

Regards,
Tim


Re: Apache Harmony for Apache internal use?

Posted by Tim Ellison <t....@gmail.com>.
Kathey Marsden wrote:
> Graham Leggett wrote:
>> On Wed, October 17, 2007 11:56 am, Mikhail Loenko wrote:
>>
>>  
>>> I'm a Harmony developer and wondering what's necessary for
>>> Apache to use it's own Harmony for internal use rather than Sun's or
>>> another Java.
>>>
>>>     
> One good option for testing harmony might be to try the Derby functional
> tests. The Derby tests traditionally are  very good at finding jvm bugs,
> especially JIT bugs.

The last set of results that I'm aware of for Derby on Harmony was
uploaded by Sean in HARMONY-4726 and published here [1].

Note that this was on Derby 10.3.1.4, and apparently Harmony as it was
back in March 2007 (r522033)?

Sean: Is that right? The issue was raised in September.  Were you really
using such an old VM?

[1] http://people.apache.org/~tellison/derby/drlvm-r522033/


Regards,
Tim

Re: Apache Harmony for Apache internal use?

Posted by Tim Ellison <t....@gmail.com>.
Justin Erenkrantz wrote:
> On 10/20/07, Graham Leggett <mi...@sharp.fm> wrote:
>> Builds expose Harmony not only to compiling a large body of existing
>> stable code, but also allows the opportunity for Harmony to run the test
>> suites on that body of code as well.
> 
> While that may be true, that's not something that the ASF
> infrastructure is in a unique position to provide.  Harmony already
> compiles a lot (most?) Java code.  I believe they may be more
> interested in stressing the JVM than the compiler.  -- justin

In fact, Harmony uses the Eclipse compiler for Java [1] so it already
compiles all Java code thanks to our friends in Eclipse.

We have a flexible test framework that allows us to plug-in
applications' test suites, and we are expanding that to demonstrate
Harmony's ability to run lots of different Java applications.

[1] http://www.eclipse.org/jdt/core/dev.php

Regards,
Tim