• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERProfiling and Java 8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERProfiling and Java 8


  • Subject: ERProfiling and Java 8
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 01 Mar 2019 15:31:04 +1030

Hello,

I haven't used ERProfiling for some time, but I'm trying to fire it up using
Java 8 and Maven. It used to be fairly straightforward to get it going: add the
framework to your project path, start the app with -javaagent VM argument. I've
done what I thought would be the Maven equivalent, by adding this to the POM:

        <dependency>
          <groupId>wonder.misc</groupId>
          <artifactId>ERProfiling</artifactId>
        </dependency>

and this to the VM args:

-javaagent:/Users/paulh/Projects/WebObjects/Wonder/Frameworks/Misc/ERProfiling/Libraries/gluonj-1.5beta-java6.jar=er.profiling.PFProfilerMixin

There are a few GluonJ errors in the console about being unable to transform
classes that I wouldn't have thought were too important, such as:

GluonJ Error: cannot transform a class:
ch.qos.logback.core.boolex.JaninoEventEvaluatorBase
  by javassist.gluonj.WeaveException: While transforming
ch.qos.logback.core.boolex.JaninoEventEvaluatorBase, no such class:
org.codehaus.janino.ScriptEvaluator

The app launches, and the profiler toolbar is displayed bottom right, but the
rest of the page is blank. In fact the page source is just that single div to
show the profiler toolbar.

Before I go digging too deeply, can anyone confirm that they're using
ERProfiler with Java 8 + Maven + Eclipse 2018-12, or any similar combo?


--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERProfiling and Java 8
      • From: Paul Hoadley <email@hidden>
  • Prev by Date: Re: WebObjects and prototype.js
  • Next by Date: Re: ERProfiling and Java 8
  • Previous by thread: Re: EOF and MS SQLServer?
  • Next by thread: Re: ERProfiling and Java 8
  • Index(es):
    • Date
    • Thread