Problem with OGNL when using JProfiler
Problem with OGNL when using JProfiler
- Subject: Problem with OGNL when using JProfiler
- From: Dominique Schoenenberger <email@hidden>
- Date: Fri, 13 May 2011 18:58:23 +0200
I'm trying to use JProfiler 5.1.4 with my WO application.
I added the support in Eclipse (I said I have eclipse 3.4 but in fact I have Eclipse 3.6.2)
I added the WOLips JProfiler Launcher plugin in Eclipse.
The only way working for me is to launch the application like this: right click the Application class and do in the menu "Profile As...". It creates a "Java application" launch I completed with the necessary application arguments.
The application starts correctly but I have errors with component having the OGNL syntax.
Here an typical error:
"java.lang.RuntimeException: Unable to load the component named 'WOActiveImage' with the declaration Component Type = WOActiveImage, Bindings = { id='[d2wContext.id]', framework='NVD2WExtensions', action='[createObject]', filename='SmallNew.gif' }. Make sure the .wo folder is where it's supposed to be and the name is spelled correctly."
Here my questions:
1) Is it possible to profile with a "WOApplication" launch ? (If I do that I have an error: com.jprofiler.integrations.eclipse.internal.ProfilingSession.createProfilingSession(Lorg/eclipse/debug/core/model/ILaunchConfigurationDelegate;Lorg/eclipse/debug/core/ILaunchConfiguration;)Lcom/jprofiler/integrations/eclipse/internal/RemoteProfilingSession)
2) When using the "Java application" launch, which parameters ? class path ? is needed to have the OGNL correctly set ?
Thanks for any help
Dominique _______________________________________________
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