• It doesn't work on a x64 Windows Domino Server

    By Renaud Thievent 1 decade ago

    Hello,

    First thanks for your very useful toolbox !

    I tried to install it on a x64 Domino server and it won't lauch.

    When the http task starts, I get the following errors :

    31.03.2011 05:36:21 AM  HTTP JVM: JVMJ9TI001E Agent library instrument could not be opened (The specified module could not be
     found. )
    31.03.2011 05:36:21 AM  HTTP JVM: JVMJ9VM015W Initialization error for library j9jvmti24(-3): JVMJ9VM009E J9VMDllMain failed
    31.03.2011 05:36:21 AM  JVM: The Java Virtual Machine creation returned an invalid JVM machine pointer.

    I tried the same on an x32 Domino server and the error does not happen.

    I hope you'll be able to fix this.. ;-)

    Thanks again for your toolbox !

    Renaud

    • The jar is not properly configured

      By Philippe Riand 1 decade ago

      This error is generally because the agent jar is not properly referenced from the command line.

      • Files and path seems to be correct

        By Renaud Thievent 1 decade ago

        Hi Philippe,

         

        Thanks for your answer. I recheck my files (notes.ini, XspProfilerOptionsFile and jar files).

         

        My Domino server is into d:\lotus\domino. I have the exact same files on the x86 domino server and x64 server. I have th followinf line into notes.ini :

        JavaOptionsFile=D:\Lotus\Domino\XspProfilerOptionsFile.txt

         

        And the XspProfilerOptionsFile file contains :

        -javaagent:D:/Lotus/Domino/xsp/XPagesProfilerAgent.jar

         

        and the jar is in the right directory. I thought I maybe mispelled something so I copied the XspProfilerOptionsFile content from the x86 server to the x64 server as well as the jar file but it stills doesn't work on the x64 server. :-(

         

        Do I have any way to add debug to see if it's a config problem or another problem ?

         

        Thanks for your help !

         

        Renaud

        • Cannot reproduce it

          By Philippe Riand 1 decade ago

          I tried on my Win2008 x64 server and it worked properly. Is the content of XspProfilerOptionsFile pointing to your D: directory instead of C:? On my server, I'm using C:, which I guess is the only difference with you.

          • Yes everything is on the D drive

            By Renaud Thievent 1 decade ago

            Hello Philippe,

             

            As said in the title everything is on the D drive.

             

            But I don't think it's an issue because my x86 server is also on a D drive and it works.

             

            I run the domino server on my laptop so it runs on windows 7 64bits instead of win2008 in your case.

             

            I will try to setup a VM x64 with a brand new osand domino server to see if the issue is the x64 plateform or maybe my setup.

             

            I'll let you know.

             

            Thanks for your time

             

            Renaud

            • is XspProfilerOptionsFile.txt correct?

              By Philippe Riand 1 decade ago

              Look at its content, as the default one point to c:

              • Yes content changed too

                By Renaud Thievent 1 decade ago

                Yes, I have changed the content too.

                I tried with a brand new vm using w7x64 and the problem remains even with domino installed on c:\domino like your default config.

                 

                I will try again the same thing with a win2008 x64 virtual machine and let you know. Maybe it's related to windows seven...

                 

                But as my development server is on my laptop, I use it on windows 7...

                 

                I'll check with win2008 and let you know.

                 

                Renaud

              • Made some tests on win2008x64

                By Renaud Thievent 1 decade ago

                Hello Phlippe,

                 

                I made some tests on win2008 x64.

                 

                If I run a domino 32bits, it works. If I run a domino 64bits, it fails to load.

                 

                When you did your tests your were running a domino 64bits or a domino 32bits on your windows 2008 64bits ?

                 

                Renaud

                • I'm running Domino 64 bits

                  By Philippe Riand 1 decade ago
                  • Ok

                    By Renaud Thievent 1 decade ago

                    So I must defintely do something wrong... Eyebrow

                    I'll do some more tries when I have some free time.

                     

                    Thanks again for your time.

                     

                    Renaud

      • Works now

        By Tommy Valand 1 decade ago

        I tried again today, and it works now. You're probably right regarding wrong config. 

    • I get the same result as Renaud

      By Tommy Valand 1 decade ago

      Win2008 x64 on VM server

    • Did anyone ever figure out what was happening with this?

      By Mike Long 1 decade ago

      I have just installed the toolbox on Windows 2008 Server 64 bit on a partitioned virtual machine. Domino 8.5.2. I've restarted Domino twice. Both times the JVM would not load with the same errors:

       

      11/21/2011 02:12:56 PM  HTTP Server: Using Web Configuration View
      11/21/2011 02:12:57 PM  HTTP JVM: JVMJ9TI001E Agent library instrument could not be opened (The specified module could not be found. )
      11/21/2011 02:12:57 PM  HTTP JVM: JVMJ9VM015W Initialization error for library j9jvmti24(-3): JVMJ9VM009E J9VMDllMain failed
      11/21/2011 02:12:57 PM  JVM: The Java Virtual Machine creation returned an invalid JVM machine pointer.
      11/21/2011 02:12:57 PM  JVM: Java Virtual Machine failed to start
      11/21/2011 02:12:57 PM  HTTP Server: Error Loading Java Virtual Machine
      11/21/2011 02:12:57 PM  HTTP Server: JVM: Missing entrypoint in JVM runtime library.
      11/21/2011 02:12:58 PM  HTTP Server: Shutdown

      Any ideas?

       

      Thanks, Mike

      • Looks like the agent path is incorrect

        By Philippe Riand 1 decade ago

        The agent referenced in the JVM command line is not available. Please verify that the path is correct.

    • Also not working for me ...

      By V. Watson 1 decade ago

      Win 2008 64bit Domino 64bit

      Domino running from C:\Program Files\IBM\Lotus\Domino

      Data on D:\Lotus\Domino

      notes.ini points to ...

       

      ; XPages Profiler
      
      JavaOptionsFile=C:\Program Files\IBM\Lotus\Domino\XspProfilerOptionsFile.txt
      

      XspProfilerOptionsFile.txt have been tested with ...

      -javaagent:C:/Program Files/IBM/Lotus/Domino/xsp/XPagesProfilerAgent.jar

         and

      -javaagent:"C:/Program Files/IBM/Lotus/Domino/xsp/XPagesProfilerAgent.jar"

      XPagesProfilerAgent.jar is in C:\Program Files\IBM\Lotus\Domino\xsp

      Java permissions have been set.  

      Was chatting with Paul Withers and he suggested temporarily setting all Java permissions to allow everything. And even with that I am still getting the errors ...

       

      10/05/2012 01:14:46 PM  HTTP JVM: JVMJ9TI001E Agent library instrument could not be opened (The specified module could not be found. )
      
      10/05/2012 01:14:46 PM  HTTP JVM: JVMJ9VM015W Initialization error for library j9jvmti24(-3): JVMJ9VM009E J9VMDllMain failed
      
      10/05/2012 01:14:46 PM  JVM: The Java Virtual Machine creation returned an invalid JVM machine pointer.
      
      10/05/2012 01:14:46 PM  JVM: Java Virtual Machine failed to start
      
      10/05/2012 01:14:46 PM  HTTP Server: Error Loading Java Virtual Machine
      
      10/05/2012 01:14:46 PM  HTTP Server: JVM: Missing entrypoint in JVM runtime library.
      

      What I've realized is that the XPagesProfilerAgent.jar is being found and run.  One of the first lines of the code in that agent is ...

      import java.lang.instrument.Instrumentation;

      Which leads me to the conclusion that the agent cannot import correctly from the jvm. That's why the error is "Agent library instrument could not be opened".  But, how do I fix this????

      • Your configuration is the same than mine

        By Philippe Riand 1 decade ago

        My dev env runs 2008 64 bits and the toolbox works, so this is a configuration issue. And the error message is because it doesn't find the jar librray.

        Can you first try a simple dir, like c:\xpagestoolbox instead of a longer path with spaces (for both the txt and the jar file)?

        Also, if the profiler jar is not available, that only impact the memory calculation (dumps) but not the cpu profiler.