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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to