Missing ide-integration.config file

Questions about YourKit Java Profiler
abhishek
Posts: 59
Joined: Tue May 13, 2014 7:37 am

Re: Missing ide-integration.config file

Post by abhishek »

Yes its resolved.and jar to java files issue also solved .thanku
abhishek
Posts: 59
Joined: Tue May 13, 2014 7:37 am

Re: Missing ide-integration.config file

Post by abhishek »

Yesall issues resolved. Thanx:-)
unsavory
Posts: 6
Joined: Tue May 27, 2014 5:45 pm

Re: Missing ide-integration.config file

Post by unsavory »

Hi
I'm having this problem as well
I chose 64bit when installing the plugin
Eclipse plugin thinks it needs a 32bit dll, but weblogic startup scripts using 64bit
In the eclipse profile (run) config I see
JAVA_OPTS
agentpath:C:\ProgramData\YourKit\yjpagent_13084_32_1FD0345C.dll=sampling,sessionname=...

Looks like it's using the 32bit dll

I am able to run and connect to standalone j2ee server (weblogic) by using yk/tools/ etc wizard and it uses 64bit
(part of start with jkp.cmd)
set JAVA_OPTIONS=-agentpath:C:\ProgramData\YourKit\yjpagent_13084_64_2302BD48.dll=disablestacktelemetry,disableexceptiontelemetry,delay=10000,sessionname=WebLogic %JAVA_OPTIONS%

I have env variable JAVA_HOME set to to java 6 64bit and JAVA_HOME is on my patth
java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

This is the error I am seeing
Starting WLS with line:

Code: Select all

C:\PROGRA~1\Java\JDK16~1.0_4\bin\java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=256m -Dweblogic.Name=admin -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.policy -agentpath:C:\ProgramData\YourKit\yjpagent_13084_32_1FD0345C.dll=sampling,sessionname=YJPQUOTED4f7261636c65205765624c6f6769632053657276657220313263202831322e312e3129206174206c6f63616c686f7374205b6e6574636170747572655f646f6d61696e5d20283129,profiler_dir=YJPQUOTED433a5c50726f6772616d2046696c65732028783836295c596f75724b6974204a6176612050726f66696c65722032303133206275696c64203133303834,ideport=62475,onexit=snapshot  -Xverify:none -Djava.endorsed.dirs=C:\PROGRA~1\Java\JDK16~1.0_4/jre/lib/endorsed;C:\Oracle\MIDDLE~1\WLSERV~1.1/endorsed -ea:com.bea.wcp...   -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.1 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.1\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.1\server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\._manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\._manifest_classpath  weblogic.Server
Error occurred during initialization of VM
Could not find agent library C:\ProgramData\YourKit\yjpagent_13084_32_1FD0345C.dll in absolute path, with error: Can't load IA 32-bit .dll on a AMD 64-bit platform

Thanks
G
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Missing ide-integration.config file

Post by Anton Katilin »

Hi,

You can explicitly specify required bitness in the run configuration settings in Eclipse:

http://www.yourkit.com/docs/java/help/e ... f_flat.png
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Missing ide-integration.config file

Post by Anton Katilin »

What is the exact run configuration type? Which Eclipse bundle and version do you use?
unsavory
Posts: 6
Joined: Tue May 27, 2014 5:45 pm

Re: Missing ide-integration.config file

Post by unsavory »

1. I didn't see a way to explicity set the 32 vs 64bit dll thru the ui
http://imgur.com/a/KZeoF
And/or setting it made no difference

Somehow a prior version (32bit) is being configed
Tue May 27 13:42:23 PDT 2014 com.yourkit.c.c: C:\Program Files (x86)\Java\jdk1.7.0_51\bin\java.exe -version:
exit code: 0
stderr:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)

Tue May 27 13:42:23 PDT 2014 com.yourkit.c.c: detected bitness: _32_BIT
Tue May 27 13:42:23 PDT 2014 com.yourkit.eclipse34Plugin.Plugin: _32_BIT
Tue May 27 13:48:30 PDT 2014 com.yourkit.c.k: using port 62475
Tue May 27 13:50:53 PDT 2014 com.yourkit.eclipse34Plugin.Plugin: javaHome=C:\Program Files (x86)\Java\jdk1.7.0_51
Tue May 27 13:50:53 PDT 2014 com.yourkit.c.c: C:\Program Files (x86)\Java\jdk1.7.0_51\bin\java.exe -version:
exit code: 0
stderr:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)

Tue May 27 13:50:53 PDT 2014 com.yourkit.c.c: detected bitness: _32_BIT
Tue May 27 13:50:53 PDT 2014 com.yourkit.eclipse34Plugin.Plugin: _32_BIT
Tue May 27 14:01:55 PDT 2014 com.yourkit.c.k: using port 62707
Tue May 27 14:03:24 PDT 2014 com.yourkit.eclipse34Plugin.Plugin: javaHome=C:\Program Files (x86)\Java\jdk1.7.0_51
Tue May 27 14:03:24 PDT 2014 com.yourkit.c.c: C:\Program Files (x86)\Java\jdk1.7.0_51\bin\java.exe -version:
exit code: 0
stderr:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)

Tue May 27 14:03:24 PDT 2014 com.yourkit.c.c: detected bitness: _32_BIT
Tue May 27 14:03:24 PDT 2014 com.yourkit.eclipse34Plugin.Plugin: _32_BIT

-----


This is part of the eclipse log
!SESSION 2014-05-27 14:01:45.024 -----------------------------------------------
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
unsavory
Posts: 6
Joined: Tue May 27, 2014 5:45 pm

Re: Missing ide-integration.config file

Post by unsavory »

There's definitely a problem with the "bits" detector
How can one specify the particular dll to use (in my case I want the 64 bit one)

Here's my eclipse config

Code: Select all

*** Date: Tuesday, May 27, 2014 at 5:00:00 PM Pacific Daylight Time

*** Platform Details:

*** System properties:
applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
awt.toolkit=sun.awt.windows.WToolkit
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=4.3.2.M20140221-1700
eclipse.commands=-os
win32
-ws
win32
-arch
x86_64
-showsplash
C:\eclipse\\plugins\org.eclipse.platform_4.3.2.v20140221-1700\splash.bmp
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212\eclipse_1503.dll
-startup
C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-exitdata
1d58_5c
-product
org.eclipse.epp.package.jee.product
-vm
C:/Program Files/Java/jdk1.7.0_51/bin/javaw.exe
eclipse.home.location=file:/C:/eclipse/
eclipse.launcher=C:\eclipse\eclipse.exe
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=epp.package.jee
eclipse.product=org.eclipse.epp.package.jee.product
eclipse.startTime=1401234937868
eclipse.vm=C:/Program Files/Java/jdk1.7.0_51/bin/javaw.exe
eclipse.vmargs=-Dosgi.requiredJavaVersion=1.6
-Xms128m
-Xmx1024m
-XX:MaxPermSize=256m
-jar
C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
equinox.use.ds=true
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
gosh.args=--nointeractive
guice.disable.misplaced.annotation.check=true
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
java.class.version=51.0
java.endorsed.dirs=C:\Program Files\Java\jdk1.7.0_51\jre\lib\endorsed
java.ext.dirs=C:\Program Files\Java\jdk1.7.0_51\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home=C:\Program Files\Java\jdk1.7.0_51\jre
java.io.tmpdir=C:\Users\GIDEON~1.KAP\AppData\Local\Temp\
java.library.path=C:\Program Files\Java\jdk1.7.0_51\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Notepad++;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\gradle-1.10\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Seapine\TestTrack;C:\Program Files (x86)\Seapine\TestTrack;C:\apache-ant-1.6.5\bin;C:\dev\utils\instantclient_11_2;C:\dev\utils;C:\Program Files\Perforce;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Seapine\TestTrack;C:\Program Files (x86)\Java\jdk1.7.0_51;.
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.7.0_51-b13
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.7
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.7.0_51
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.7
java.vm.vendor=Oracle Corporation
java.vm.version=24.51-b03
line.separator=

oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.debug.ui.breakpoints.toggleFactoriesUsed=true
org.eclipse.equinox.launcher.splash.location=C:\eclipse\\plugins\org.eclipse.platform_4.3.2.v20140221-1700\splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir=C:\workspaces\Netcapture7SeparatePerforce\.metadata\.plugins\org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6,JavaSE-1.7
org.osgi.framework.language=en
org.osgi.framework.os.name=Windows7
org.osgi.framework.os.version=6.1.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JRE"; version:List<Version>="1.0, 1.1",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7"
org.osgi.framework.uuid=005fd366-fae5-0013-1a74-ae6db92e80fe
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.7.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Windows 7
os.version=6.1
osgi.arch=x86_64
osgi.bundles=reference:file:org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore=C:\eclipse\configuration\org.eclipse.osgi\bundles
osgi.configuration.area=file:/C:/eclipse/configuration/
osgi.framework=file:/c:/eclipse/plugins/org.eclipse.osgi_3.9.1.v20140110-1610.jar
osgi.framework.extensions=
osgi.framework.shape=jar
osgi.framework.version=3.9.1.v20140110-1610
osgi.install.area=file:/C:/eclipse/
osgi.instance.area=file:/C:/workspaces/Netcapture7SeparatePerforce/
osgi.instance.area.default=file:/C:/Users/gideon.kaplan/workspace/
osgi.logfile=C:\workspaces\Netcapture7SeparatePerforce\.metadata\.log
osgi.manifest.cache=C:\eclipse\configuration\org.eclipse.osgi\manifests
osgi.nl=en_US
osgi.os=win32
osgi.requiredJavaVersion=1.6
osgi.splashLocation=C:\eclipse\\plugins\org.eclipse.platform_4.3.2.v20140221-1700\splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath=c:\eclipse\plugins
osgi.tracefile=C:\workspaces\Netcapture7SeparatePerforce\.metadata\trace.log
osgi.ws=win32
path.separator=;
sun.arch.data.model=64
sun.boot.class.path=C:\Program Files\Java\jdk1.7.0_51\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_51\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_51\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.7.0_51\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_51\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_51\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_51\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_51\jre\classes
sun.boot.library.path=C:\Program Files\Java\jdk1.7.0_51\jre\bin
sun.cpu.endian=little
sun.cpu.isalist=amd64
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.java.command=C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar -os win32 -ws win32 -arch x86_64 -showsplash C:\eclipse\\plugins\org.eclipse.platform_4.3.2.v20140221-1700\splash.bmp -launcher C:\eclipse\eclipse.exe -name Eclipse --launcher.library C:\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212\eclipse_1503.dll -startup C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar --launcher.appendVmargs -exitdata 1d58_5c -product org.eclipse.epp.package.jee.product -vm C:/Program Files/Java/jdk1.7.0_51/bin/javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms128m -Xmx1024m -XX:MaxPermSize=256m -jar C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=Service Pack 1
user.country=US
user.dir=C:\eclipse
user.home=C:\Users\gideon.kaplan
user.language=en
user.name=gideon.kaplan
user.script=
user.timezone=America/Los_Angeles
user.variant=
unsavory
Posts: 6
Joined: Tue May 27, 2014 5:45 pm

Re: Missing ide-integration.config file

Post by unsavory »

So it looks like I figure out a workaround to have cc bits detector work from eclipse (since that file hadn't existed)
You need to change the default JRE
Window/Preferences/Java/Installed JREs
Make sure it's a 64 bit one
http://i.imgur.com/cIv9fG3.png
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Missing ide-integration.config file

Post by Anton Katilin »

Hi,

It's indeed a problem with the detector. Perhaps it is specific to the particular configuration type "Oracle WebLogic Server".

Technically, the plugin uses Eclipse API to learn which JRE Eclipse will use to start the server.
Eclipse reports a wrong one.

Anyway, since the choice cannot be made automatically, it seems we should change the UI to the following 3 options:

1. Detect bitness automatically (default)
2. Force using 32-bit
3. Force using 64-bit

The current behavior provides a hint, which is used when the detector is unable to detect bitness.
Since in this case the detector thinks it knows the answer, the user's hint has no effect.

Best regards,
Anton
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Missing ide-integration.config file

Post by Anton Katilin »

We've just released EAP build 14058.

It allows to force using 32 or 64-bit agent. Please see the change list for detail:

http://www.yourkit.com/eap
unsavory
Posts: 6
Joined: Tue May 27, 2014 5:45 pm

Re: Missing ide-integration.config file

Post by unsavory »

ok, not sure going to jump in unsupported version but it works for me with workaround (actually we are fiddling with a bunch of different jvms, weblogic copies its own set of jvm files when you create a domain)

What about the OP's topic
"there is no ide-integration.config file under user\.yjp folder"

I just checked again and file not there

Thanks
G
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Missing ide-integration.config file

Post by Anton Katilin »

ok, not sure going to jump in unsupported version
If you mean version 2014 EAP, it should in fact be OK to use it, especially since it offers a fix which helps in your particular case.

Although it's formally a pre-released software, we are not aware of any open problems or regressions in it.
Furthermore, it contains many improvements and bug fixes missing in version 2013, and will soon become the next release.
"there is no ide-integration.config file under user\.yjp folder"
As far as I understand, you actually managed to install the plugin. Do you say you still get that error message?

Anyway, ide-integration.config is the configuration file from version 2013 and older.
The v2014's configuration file is named ide2014.txt

If you still get that error message, you still have a pre-v2014 plugin installed.
Please re-run IDE integration from within version 2014 UI to ensure you have the latest plugin installed.
unsavory
Posts: 6
Joined: Tue May 27, 2014 5:45 pm

Re: Missing ide-integration.config file

Post by unsavory »

plugin installed
the difficulty was outlined in prior messages
neither of those files exist
Seems to be the latest and greatest as of yesterday
2013 build 13084
Followed documentation with that release and ide integration
I burned basically a whole day on this

EAP page has some pretty strong verbage about no support, so that will scare ppl away :)
But thanks for the quick ui fix
Post Reply