Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Can Integrate yourkit with eclipse IDE

Moderators: Vladimir Kondratyev, Anton Katilin

Can Integrate yourkit with eclipse IDE

Postby mattsun » Thu Apr 23, 2015 4:01 am

I have installled Yourkit Java Profiler 2015 build 32 bit but when I'm trying to integrate eclipse IDE I get the followign error : "Cannot write configuration to F:\YourKit Java Profiler 2015 build 15046\.yjp\ide2014.txt". Here are the contents of log file under .yjp\log directory:


15046* 0.382: Command line:
F:\YourKit Java Profiler 2015 build 15046\jre\bin\javaw.exe
-XX:+HeapDumpOnOutOfMemoryError
-Xmx700m
-XX:PermSize=64m
-XX:MaxPermSize=64m
-jar
..\lib\yjp.jar
15046* 0.390: Executable: F:\YourKit Java Profiler 2015 build 15046\jre\bin\javaw.exe
15046* 0.394: Windows XP; version 5.1; 32-bit process
15046* 0.399: hid: 1301998Y21ZVYZ24 32-bit machine
15046* 0.409: Today is 20150422
15046* 0.414: full_build_stamp: 15046 201504131227
15046* 0.419: Agent library path: F:\YourKit Java Profiler 2015 build 15046\bin\win32\yjpagent.dll
15046* 0.423:
---------------------------------------------------------------------
Product: YourKit Java Profiler 2015 build 15046
Build: 15046 on 201504131227
JDK: 1.8.0_40
VM: Java HotSpot(TM) Client VM
Vendor: Oracle Corporation
OS: Windows XP
OS version: 5.1
OS arch: x86
Properties:
awt.toolkit=sun.awt.windows.WToolkit
file.encoding.pkg=sun.io
file.encoding=Cp1252
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=..\lib\yjp.jar
java.class.version=52.0
java.endorsed.dirs=F:\YourKit Java Profiler 2015 build 15046\jre\lib\endorsed
java.ext.dirs=F:\YourKit Java Profiler 2015 build 15046\jre\lib\ext;C:\WINNT\Sun\Java\lib\ext
java.home=F:\YourKit Java Profiler 2015 build 15046\jre
java.io.tmpdir=C:\TEMP\
java.library.path=F:\YourKit Java Profiler 2015 build 15046\jre\bin;C:\WINNT\Sun\Java\bin;C:\WINNT\system32;C:\WINNT;C:\Program Files\solace\4.6.4\bin;C:\Program Files\TIBCO\ss67\bin\;C:\PROGRA~1\TIBCO\ss67\bin\i86_w32;C:\Program Files\Barclays Capital\Shared Files\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Barclays Capital\CommonApi\bin\;C:\Program Files\Windows Imaging\;C:\WINNT\system32\WindowsPowerShell\v1.0;C:\progra~1\iona\orbix Runtime\334\bin;C:\progra~1\iona\orbix Runtime\334\COMet\bin;C:\Program Files\Tibco\TibRV\bin;C:\WINNT\WinSxS\x86_Tibco.TibRendezvous.Runtimes_bccb61bc6ad9a9b5_7.5.4.0_x-ww_2a7fc1b1;C:\Progra~1\Tibco\ems\4.4.3\clients\c\bin;C:\Program Files\Attachmate\E!E2K\;C:\APPS\oracle\product\10.2.0\client\BIN;C:\APPS\IBM\DB2v95fp2\SQLLIB\BIN;C:\APPS\IBM\DB2v95fp2\SQLLIB\FUNCTION;C:\APPS\IBM\DB2V95~1\SQLLIB\BIN;C:\APPS\IBM\DB2V95~1\SQLLIB\FUNCTION;C:\Program Files\Barclays Capital\ET\ExeCache;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\IDM Computer Solutions\UltraCompare\;F:\YourKit Java Profiler 2015 build 15046\bin\win32;.
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_40-b25
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.8
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.vendor.url=http://java.oracle.com/
java.vendor=Oracle Corporation
java.version=1.8.0_40
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.8
java.vm.vendor=Oracle Corporation
java.vm.version=25.40-b25
line.separator=


os.arch=x86
os.name=Windows XP
os.version=5.1
path.separator=;
sun.arch.data.model=32
sun.awt.enableExtraMouseButtons=true
sun.boot.class.path=F:\YourKit Java Profiler 2015 build 15046\jre\lib\resources.jar;F:\YourKit Java Profiler 2015 build 15046\jre\lib\rt.jar;F:\YourKit Java Profiler 2015 build 15046\jre\lib\sunrsasign.jar;F:\YourKit Java Profiler 2015 build 15046\jre\lib\jsse.jar;F:\YourKit Java Profiler 2015 build 15046\jre\lib\jce.jar;F:\YourKit Java Profiler 2015 build 15046\jre\lib\charsets.jar;F:\YourKit Java Profiler 2015 build 15046\jre\lib\jfr.jar;F:\YourKit Java Profiler 2015 build 15046\jre\classes
sun.boot.library.path=F:\YourKit Java Profiler 2015 build 15046\jre\bin
sun.cpu.endian=little
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.java.command=..\lib\yjp.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=Service Pack 3
user.country=US
user.dir=F:\YourKit Java Profiler 2015 build 15046\bin
user.home=C:\Documents and Settings\mattoosu
user.language=en
user.name=mattoosu
user.script=
user.timezone=America/New_York
user.variant=
Environment:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\mattoosu\Application Data
COMPUTERNAME=NYKDWM2013313
CUSTPROF=Roaming700Live
Classpath=C:\Program Files\Tibco\TibRV\7.5.4\lib\tibrvj.jar;C:\Progra~1\Tibco\ems\4.4.3\clients\java\jms.jar;C:\Progra~1\Tibco\ems\4.4.3\clients\java\jndi.jar;C:\Progra~1\Tibco\ems\4.4.3\clients\java\jta-spec1_0_1.jar; C:\Progra~1\Tibco\ems\4.4.3\clients\java\tibjms.jar;C:\Progra~1\Tibco\ems\4.4.3\clients\java\tibcrypt.jar;C:\APPS\IBM\DB2v95fp2\SQLLIB\java\db2java.zip;C:\APPS\IBM\DB2v95fp2\SQLLIB\java\db2jcc.jar;C:\APPS\IBM\DB2v95fp2\SQLLIB\java\db2jcc_license_cu.jar;C:\APPS\IBM\DB2v95fp2\SQLLIB\BIN;C:\APPS\IBM\DB2v95fp2\SQLLIB\java\Common.jar
ComSpec=C:\WINNT\system32\cmd.exe
CommonProgramFiles=C:\Program Files\Common Files
DB2INSTANCE=DB2
FP_NO_HOST_CHECK=NO
HOMEDRIVE=F:
HOMEPATH=\
INCLUDE=C:\APPS\IBM\DB2v95fp2\SQLLIB\include;C:\APPS\IBM\DB2v95fp2\SQLLIB\lib
IT_CONFIG_PATH=C:\progra~1\iona\orbix Runtime\334\config
IT_IDLGEN_CONFIG_FILE=C:\progra~1\iona\orbix Runtime\334\config\idlgen.cfg
LOGONSERVER=\\NYKPSM00082
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f06
PSModulePath=C:\WINNT\system32\WindowsPowerShell\v1.0\Modules\
Path=C:\Program Files\solace\4.6.4\bin;C:\Program Files\TIBCO\ss67\bin\;C:\PROGRA~1\TIBCO\ss67\bin\i86_w32;C:\Program Files\Barclays Capital\Shared Files\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Barclays Capital\CommonApi\bin\;C:\Program Files\Windows Imaging\;C:\WINNT\system32\WindowsPowerShell\v1.0;C:\progra~1\iona\orbix Runtime\334\bin;C:\progra~1\iona\orbix Runtime\334\COMet\bin;C:\Program Files\Tibco\TibRV\bin;C:\WINNT\WinSxS\x86_Tibco.TibRendezvous.Runtimes_bccb61bc6ad9a9b5_7.5.4.0_x-ww_2a7fc1b1;C:\Progra~1\Tibco\ems\4.4.3\clients\c\bin;C:\Program Files\Attachmate\E!E2K\;C:\APPS\oracle\product\10.2.0\client\BIN;C:\APPS\IBM\DB2v95fp2\SQLLIB\BIN;C:\APPS\IBM\DB2v95fp2\SQLLIB\FUNCTION;C:\APPS\IBM\DB2V95~1\SQLLIB\BIN;C:\APPS\IBM\DB2V95~1\SQLLIB\FUNCTION;C:\Program Files\Barclays Capital\ET\ExeCache;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\IDM Computer Solutions\UltraCompare\;F:\YourKit Java Profiler 2015 build 15046\bin\win32
ProgramFiles=C:\Program Files
RIGHTFAXSERVER=NYKRIGHTFAX
RTARCH=i86_w32
RTHOME=C:\Program Files\TIBCO\ss67\
SESSIONNAME=Console
SITECODE=NYK
SITEIDENT=nyk
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\TEMP
TMP=C:\TEMP
UATDATA=C:\WINNT\system32\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
USERDNSDOMAIN=INTRANET.BARCAPINT.COM
USERDOMAIN=INTRANET
USERNAME=mattoosu
USERPROFILE=C:\Documents and Settings\mattoosu
YOURKIT_HOME=F:\YourKit Java Profiler 2015 build 15046
mvsn_LICENSE_FILE=27000@ldnpsm037310.in ... capint.com
windir=C:\WINNT
---------------------------------------------------------------------


15046* 0.436: com.yourkit.Main1: starting...
15046* 0.440: com.yourkit.Main1: number of args: 0
15046* 1.778: com.yourkit.Main1: oomeDumperStatus: 1
15046* 3.209: com.yourkit.i.f.a.a: FYI: native (current) LAF font: javax.swing.plaf.FontUIResource[family=Tahoma,name=Tahoma,style=plain,size=11]
15046* 3.219: com.yourkit.i.f.a.a: FYI: metal font: javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
15046* 3.224: com.yourkit.i.f.a.a: general font: javax.swing.plaf.FontUIResource[family=Tahoma,name=Tahoma,style=plain,size=11]
15046* 3.229: com.yourkit.i.f.a.a: menu font: javax.swing.plaf.FontUIResource[family=Tahoma,name=Tahoma,style=plain,size=11]
15046* 6.377: com.yourkit.i.i.c.c: ParallelExecutor: pool size 4
15046* 6.665: shmem: Global\YOURKIT SHARE G: OK, isFirst=1
15046* 6.676: shmem: Local\YOURKIT SHARE L: OK, isFirst=1
15046* 6.685: shmem: Global\YOURKIT SHARE2 G: OK, isFirst=1
15046* 6.690: shmem: Local\YOURKIT SHARE2 L: OK, isFirst=1
15046* 6.717: shmem: Global\YOURKIT SHARE5 G: OK, isFirst=1
15046* 6.728: shmem: Local\YOURKIT SHARE5 L: OK, isFirst=1
15046* 7.413: com.yourkit.i.b6: marker: created F:\YourKit Java Profiler 2015 build 15046\.yjp\.yjp_20071015_ui1820
15046* 8.525: uidCount: 2
15046* 15.696: com.yourkit.j.e: LWS-update: code=0 text:

15046* 15.701: com.yourkit.j.e: LWS-update: exception:
java.net.SocketTimeoutException: connect timed out
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1282)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1257)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at com.yourkit.a.a.if(a:40)
at com.yourkit.j.e.do(a:151)
at com.yourkit.j.a$2.run(a:6)
at java.lang.Thread.run(Thread.java:745)

15046* 21.385: com.yourkit.i.ah$1: error:
com.yourkit.runtime.PresentableException: Cannot write configuration to F:\YourKit Java Profiler 2015 build 15046\.yjp\ide2014.txt
at com.yourkit.c.c$a.do(a:138)
at com.yourkit.i.j$b.if(a:8)
at com.yourkit.i.h.l.actionPerformed(a:25)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at com.yourkit.i.h.i$1.fireActionPerformed(a:2)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
at com.yourkit.Main1$b.dispatchEvent(a:14)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.yourkit.i.by.a(a:128)
at com.yourkit.i.by.a(a:514)
at com.yourkit.i.by.a(a:274)
at com.yourkit.i.j.a(a:34)
at com.yourkit.c.c.at(a:18)
at com.yourkit.c.c.if(a:9)
at com.yourkit.i.h.l.actionPerformed(a:25)
at com.yourkit.i.df.for(a:103)
at com.yourkit.i.df.a(a:119)
at com.yourkit.i.df$1.mouseReleased(a:30)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
at com.yourkit.Main1$b.dispatchEvent(a:14)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: com.yourkit.runtime.PresentableException: Cannot copy the agent to C:\YourKit\15046.4E641A92\32\yjpagent.dll
at com.yourkit.j.j.do(a:170)
at com.yourkit.c.c$a.do(a:69)
... 82 more
Caused by: java.io.FileNotFoundException: C:\YourKit\15046.4E641A92\32\yjpagent.dll (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.yourkit.util.an.if(a:343)
at com.yourkit.j.j.do(a:420)
... 83 more
mattsun
 
Posts: 1
Joined: Thu Apr 23, 2015 3:53 am

Re: Can Integrate yourkit with eclipse IDE

Postby Anton Katilin » Thu Apr 23, 2015 8:03 am

Hello,

"Cannot write configuration to F:\YourKit Java Profiler 2015 build 15046\.yjp\ide2014.txt".

The file .yjp\ide2014.txt should be created in the user home directory. For some reason it is F:\YourKit Java Profiler 2015 build 15046\ instead of, I suppose, C:\Documents and Settings\mattoosu

You're using Windows XP which is unsupported, perhaps it's an XP specific issue.

As a workaround please try to use a custom directory for the profiler settings by specifying environment variable YOURKIT_HOME. For example, try pointing it to C:\Documents and Settings\mattoosu

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


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests