Navigation

    Best APM Solution for Oracle WebLogic Server & FMW Product Family
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Download

    Getting error when start WL-OPC

    General Support & Troubleshooting
    java wl-opc
    2
    2
    572
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • can.sahin-wlsdmteam
      Can Sahin - WLSDM Team last edited by can.sahin-wlsdmteam

      Hi,

      I downloaded WL-OPC v1.9.1 version. I edited in setenv.properties file configuration. But when I use “opc start” command. It gives the following error. Could you help me? How can I start WL-OPC?

      Regards.

      ubuntu@ubuntu-VirtualBox:~ /wl-opc.v1.9.1/wl-opc/bin$ ./opc start

      Starting WL-OPC with line:

      nohup /usr/bin/java -Djava.library.path=/usr/lib/java/jdk1.8.0_201/lib -XX:+UseG1GC -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF-8 -Dderby.locks.escalationThreshold=2147483647 -Dderby.locks.deadlockTimeout=60 -Dderby.locks.waitTimeout=120 -Dderby.storage.initialPages=500 -Dderby.storage.pageCacheSize=16000 -Dderby.storage.pageSize=32768 -Xms1024m -Xmx2048m -cp /usr/lib/tools.jar:~/wl-opc.v1.9.1/wl-opc/bin/wl-opc.v1.9.1.jar org.springframework.boot.loader.JarLauncher --server.address=localhost --server.port=8080 --server.servlet.context-path=/opc --logging.file=~/wl-opc.v1.9.1/wl-opc/bin/WLOPC/logs/wl-opc.log --wlopc.instance >> ~/wl-opc.v1.9.1/wl-opc/bin/WLOPC/logs/wl-opc.out 2>&1 &
      .
      …
      …
      at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
      at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
      at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
      Caused by: java.lang.UnsatisfiedLinkError: sun.tools.attach.WindowsAttachProvider.tempPath()Ljava/lang/String;
      at sun.tools.attach.WindowsAttachProvider.tempPath(Native Method)
      at sun.tools.attach.WindowsAttachProvider.isTempPathSecure(WindowsAttachProvider.java:91)
      at sun.tools.attach.WindowsAttachProvider.listVirtualMachines(WindowsAttachProvider.java:75)
      at com.wlsdm.opc.InternalComm.runningOPCCount(InternalComm.java:15)
      at com.wlsdm.opc.WLOPC.main(WLOPC.java:119)
      … 8 more

      Can Şahin
      WLSDM Community Support Team

      1 Reply Last reply Reply Quote 0
      • wlsdmsupport
        WLSDM Support last edited by

        Hi Can,

        This error is the wrong path for java in setenv.properties file configuration.
        Because in Linux alternative link using for java path.
        If you are using this command in terminal. “echo $JAVA_HOME” then it gives a true java path.
        ex: echo $JAVA_HOME --> /usr/lib/java/jdk1.8.0_201
        In setenv.properties file JAVA_HOME line change with your full java path.

        Then you can start WL-OPC.

        Regards.

        WLSDM Community Support Team

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        WLSDM: Native WebLogic Monitoring & Diagnostics

        Copyright © 2021 WLSDM Community & Support Portal | WLSDM.COM | WLSDM Blog