1 Reply Latest reply on Jan 26, 2018 4:22 AM by Jan Sierens
      • 1. Re: how can i  configure Java options for ITSM MyIt
        Jan Sierens

        Use regedit to update the registery key:

        HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\SmartITMyITTomcat8\Parameters\Java\Options

         

        But when I try to add adops-agent.jar, the SmartITMyIT service starts, but I get 404 errors when trying connect to it.

         

        catalina.log shows errors:

        26-Jan-2018 10:46:23.947 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:       

        26-Jan-2018 10:46:23.948 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:         

        26-Jan-2018 10:46:23.948 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:        

        26-Jan-2018 10:46:23.948 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows Server 2012 R2

        26-Jan-2018 10:46:23.948 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.3

        26-Jan-2018 10:46:23.948 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64

        26-Jan-2018 10:46:23.948 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\PROGRA~1\Java\jre1.8.0_131

        26-Jan-2018 10:46:23.948 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_131-b11

        26-Jan-2018 10:46:23.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

        26-Jan-2018 10:46:23.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         E:\Program Files\Apache Software Foundation\Tomcat8.0

        26-Jan-2018 10:46:23.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         E:\Program Files\Apache Software Foundation\Tomcat8.0

        26-Jan-2018 10:46:23.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -javaagent:E:\Program Files\BMC Software\App Visibility\Agent for Java\ADOPsInstall\adops-agent.jar

        26-Jan-2018 10:46:23.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=E:\Program Files\Apache Software Foundation\Tomcat8.0

        26-Jan-2018 10:46:23.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=E:\Program Files\Apache Software Foundation\Tomcat8.0

        26-Jan-2018 10:46:23.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=E:\Program Files\Apache Software Foundation\Tomcat8.0\endorsed

        26-Jan-2018 10:46:23.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=E:\Program Files\Apache Software Foundation\Tomcat8.0\temp

        26-Jan-2018 10:46:23.950 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

        26-Jan-2018 10:46:23.950 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=E:\Program Files\Apache Software Foundation\Tomcat8.0\conf\logging.properties

        26-Jan-2018 10:46:23.950 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

        26-Jan-2018 10:46:23.950 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true

        26-Jan-2018 10:46:23.950 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Datsso.log.dir=E:\Program Files\BMC Software\Smart_IT_MyIT\Smart_IT_MyIT\Logs

        26-Jan-2018 10:46:23.951 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.library.path=E:\Program Files\BMC Software\Smart_IT_MyIT\Smart_IT_MyIT\dll

        26-Jan-2018 10:46:23.951 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:NewRatio=2

        26-Jan-2018 10:46:23.952 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit

        26-Jan-2018 10:46:23.952 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1400m

        26-Jan-2018 10:46:23.952 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx5120m

        26-Jan-2018 10:46:23.952 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: E:\Program Files\BMC Software\Smart_IT_MyIT\Smart_IT_MyIT\dll

        26-Jan-2018 10:46:24.080 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9000"]

        26-Jan-2018 10:46:24.309 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

        26-Jan-2018 10:46:24.312 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8029"]

        26-Jan-2018 10:46:24.316 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

        26-Jan-2018 10:46:24.316 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1002 ms

        26-Jan-2018 10:46:24.341 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

        26-Jan-2018 10:46:24.342 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:

        26-Jan-2018 10:46:24.354 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor E:\Program Files\Apache Software Foundation\Tomcat8.0\conf\Catalina\localhost\download.xml

        26-Jan-2018 10:46:25.489 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.

        26-Jan-2018 10:46:25.680 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor E:\Program Files\Apache Software Foundation\Tomcat8.0\conf\Catalina\localhost\download.xml has finished in 1,315 ms

        26-Jan-2018 10:46:25.681 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor E:\Program Files\Apache Software Foundation\Tomcat8.0\conf\Catalina\localhost\ux.xml

        26-Jan-2018 10:46:28.038 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.

        26-Jan-2018 10:48:36.702 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file

        26-Jan-2018 10:48:36.703 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/ux] startup failed due to previous errors

        26-Jan-2018 10:48:36.739 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ux] appears to have started a thread named [logback-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

        sun.misc.Unsafe.park(Native Method)

        java.util.concurrent.locks.LockSupport.park(Unknown Source)

        java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)

        java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)

        java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)

        java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)

        java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        java.lang.Thread.run(Unknown Source)

        26-Jan-2018 10:48:36.739 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ux] appears to have started a thread named [net.sf.ehcache.CacheManager@1b87edc4] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

        java.lang.Object.wait(Native Method)

        java.util.TimerThread.mainLoop(Unknown Source)

        java.util.TimerThread.run(Unknown Source)

        26-Jan-2018 10:48:36.740 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ux] appears to have started a thread named [logback-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

        sun.misc.Unsafe.park(Native Method)

        java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)

        java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)

        java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)

        java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)

        java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)

        java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        java.lang.Thread.run(Unknown Source)

        26-Jan-2018 10:48:36.740 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ux] appears to have started a thread named [Thread-15] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

        java.lang.Thread.sleep(Native Method)

        com.bmc.bsm.mobile.utils.ResetMobilityARUserThread.run(ResetMobilityARUserThread.java:44)

        26-Jan-2018 10:48:36.740 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ux] appears to have started a thread named [proxyCleanUpTimer] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

        java.lang.Object.wait(Native Method)

        java.util.TimerThread.mainLoop(Unknown Source)

        java.util.TimerThread.run(Unknown Source)