3 Replies Latest reply on Sep 12, 2018 3:00 PM by Kiran Pawar

    ORDS installation problem with "no jmisc in java.library.path"

    tonisl

      Hello

       

      We have a problem with installing lates ORDS on tomcat 8.5. We are trying to replace mod_plsql with it.

      After configuring ORDS with "java -jar ords.war install advanced" and moving .war file to tomcat webapps folder We get an warning about a invalid pool and error "no jmisc in java.library.path":

       

      12-Sep-2018 11:06:33.087 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.33 
      12-Sep-2018 11:06:33.089 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Aug 12 2018 08:20:08 UTC
      12-Sep-2018 11:06:33.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.33.0
      12-Sep-2018 11:06:33.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
      12-Sep-2018 11:06:33.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.8.13-118.21.4.el7uek.x86_64
      12-Sep-2018 11:06:33.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
      12-Sep-2018 11:06:33.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/java/jdk1.8.0_171/jre
      12-Sep-2018 11:06:33.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_171-b11
      12-Sep-2018 11:06:33.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
      12-Sep-2018 11:06:33.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /opt/apache-tomcat-8.5.33
      12-Sep-2018 11:06:33.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /opt/apache-tomcat-8.5.33
      12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties
      12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
      12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
      12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
      12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/tomcat
      12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/tomcat
      12-Sep-2018 11:06:33.105 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/tomcat/temp
      12-Sep-2018 11:06:33.106 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
      12-Sep-2018 11:06:33.327 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
      12-Sep-2018 11:06:33.336 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
      12-Sep-2018 11:06:33.365 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
      12-Sep-2018 11:06:33.366 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
      12-Sep-2018 11:06:33.378 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 984 ms
      12-Sep-2018 11:06:33.409 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
      12-Sep-2018 11:06:33.409 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.33
      12-Sep-2018 11:06:33.466 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/apache-tomcat-8.5.33/webapps/ords.war]
      12-Sep-2018 11:06:37.238 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      12-Sep-2018 11:06:38.612 WARNING [localhost-startStop-1] . The pool named: |devel|| is invalid and will be ignored: no jmisc in java.library.path
      12-Sep-2018 11:06:38.920 INFO [localhost-startStop-1] . Oracle REST Data Services initialized
      Oracle REST Data Services version : 18.2.0.r1831332
      Oracle REST Data Services server info: Apache Tomcat/8.5.33 

      12-Sep-2018 11:06:38.961 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/apache-tomcat-8.5.33/webapps/ords.war] has finished in [5,494] ms
      12-Sep-2018 11:06:38.977 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
      12-Sep-2018 11:06:38.986 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
      12-Sep-2018 11:06:38.988 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 5610 ms

      I find no clue in the documentatsion or google about this. When I start it in standalone mode, the same error appears.

      Are we missing some jar libraries or is it a configuration problem? On the database side java is disabled.

        • 1. Re: ORDS installation problem with "no jmisc in java.library.path"
          Kiran Pawar

          Hi tonisl,

          tonisl wrote:

           

          We have a problem with installing lates ORDS on tomcat 8.5. We are trying to replace mod_plsql with it.

          After configuring ORDS with "java -jar ords.war install advanced" and moving .war file to tomcat webapps folder We get an warning about a invalid pool and error "no jmisc in java.library.path":

          ...

          I find no clue in the documentatsion or google about this. When I start it in standalone mode, the same error appears.

          Are we missing some jar libraries or is it a configuration problem? On the database side java is disabled.

          From your error log was able to determine the following:

          • Apache Tomcat 8.5.33
          • Java JDK 1.8.0_171

           

          What about other software which you are using:

          • ORDS Version
          • Oracle Database Version

           

          Have you checked whether you are using compatible software as per ORDS documentation:

           

          Regards,

          Kiran

          • 2. Re: ORDS installation problem with "no jmisc in java.library.path"
            tonisl

            Sorry, the first post was messed up.

             

            Oracle REST Data Services version : 18.2.0.r1831332

            Database version is 11.2.0.4

             

            ORDS is configured like this:

             

            [root@testserver ords]# java -jar ords.war install advanced  

            This Oracle REST Data Services instance has not yet been configured.
            Please complete the following prompts

            Enter the location to store configuration data:/opt
            Enter the name of the database server [localhost]:dbserver.xx
            Enter the database listen port [1521]:
            Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
            Enter the database service name:DEVEL.XX
            Enter 1 if you want to verify/install Oracle REST Data Services schema or 2 to skip this step [1]:2
            Enter 1 if you want to use PL/SQL Gateway or 2 to skip this step.
            If using Oracle Application Express or migrating from mod_plsql then you must enter 1 [1]:1
            Enter the PL/SQL Gateway database user name [APEX_PUBLIC_USER]:PLSUSER
            Enter the database password for PLSUSER:
            Confirm password:
            Enter 1 to specify passwords for Application Express RESTful Services database users (APEX_LISTENER, APEX_REST_PUBLIC_USER) or 2 to skip this step [1]:2

            Sep 11, 2018 2:39:35 PM INFO: Updated configurations: defaults, apex
            Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
            • 3. Re: ORDS installation problem with "no jmisc in java.library.path"
              Kiran Pawar

              Hi tonisl,

              tonisl wrote:

               

              Sorry, the first post was messed up.

               

              Oracle REST Data Services version : 18.2.0.r1831332

              Database version is 11.2.0.4

               

              ORDS is configured like this:

              The following thread is not related to ORDS but facing the same issue: Re: Java SDK for Mail problem on jmisc UnsatisfiedLinkError

              Please check whether the JAVA_HOME and LD_LIBRARY_PATH shell/environment variables are set to appropriate value.

               

              Hope this helps!

               

              Regards,

              Kiran