Java Agument in webmethods IS v8

Hi,

I need to install a library to monitor WebMethods Integartion server v8 in a windows enviroment, this library must be mapped as a java argument, so I modify a wrapper.conf file to add the library but the Integration Process does not start.

Do you have any ideas?

#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
wrapper.java.command=C:\wM\jvm\jvm160_64\bin\java

# Java Main class.  This class must implement the WrapperListener interface
#  or guarantee that the WrapperManager class is initialized.  Helper
#  classes are provided to do this for you.  See the Integration section
#  of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperStartStopApp

# Java Classpath (include wrapper.jar)  Add class path elements as
#  needed starting from 1
wrapper.java.classpath.1=C:\wM\common/lib/wrapper.jar
wrapper.java.classpath.2=%OSGI_INSTALL_AREA%/lib/runtime/platform-bootstrap.jar
wrapper.java.classpath.3=%OSGI_FRAMEWORK_JAR%

# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=C:\wM\common/lib
wrapper.java.library.path.2=%OSGI_INSTALL_AREA%/lib/runtime
wrapper.java.library.path.3=C:\wM\common/security\ssx_64\bin

# Java Additional Parameters
wrapper.java.additional.1=-agentpath:C:\dynaTrace\agent\lib64\dtagent.dll=name=webmethods,server=10.184.53.38:9998
wrapper.java.additional.2=-Dosgi.install.area="%OSGI_INSTALL_AREA%"
wrapper.java.additional.2.stripquotes=TRUE
wrapper.java.additional.3=-Declipse.ignoreApp=true
wrapper.java.additional.4=-Dosgi.noShutdown=true
wrapper.java.additional.5=-XX:MaxPermSize=256M
wrapper.java.additional.6=-Xbootclasspath/a:"%OSGI_INSTALL_AREA%/lib/runtime/platform-jaasproxy.jar"
wrapper.java.additional.6.stripquotes=TRUE


wrapper.java.pidfile=C:\wM\profiles\IS/bin/.lock

wrapper.anchorfile=C:\wM\profiles\IS/bin/wrapper.anchor

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=256

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=512

[b]Where can I check o debug this behavior?

This message is shown in the wrapper.log file[/b]


INFO   | jvm 5    | 2014/06/16 15:46:05 | 2014-06-16 15:46:05 [000000c4] info    [native] dynaTrace Bootstrap Agent 5.6.0.5802
INFO   | jvm 5    | 2014/06/16 15:46:05 | 2014-06-16 15:46:05 [000000c4] info    [native] Using C:/dynaTrace as Agent storage
INFO   | jvm 5    | 2014/06/16 15:46:05 | 2014-06-16 15:46:05 [000000c4] info    [native] Log file at C:/dynaTrace/log/dt_webmethods_bootstrap_716.log
INFO   | jvm 5    | 2014/06/16 15:46:05 | 2014-06-16 15:46:05 [000000c4] info    [native] Trying to connect to 10.184.53.38:9998 for up to 20 seconds
INFO   | jvm 5    | 2014/06/16 15:46:05 | 2014-06-16 15:46:05 [000000c4] info    [native] Connected successfully
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [000000c4] info    [native] Server requests us to use Agent 5.6.0.5802 with a hash of e3ffd49e598b3f5dd035eee18f114668
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [000000c4] info    [native] Agent already available locally
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [000000c4] info    [native] Loading Agent C:/dynaTrace/agent/downloads/5.6.0.5802/native/windows-x86-64/dtagentcore.dll
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Intel CPU 0x06 0x1a detected.
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] ProcNum=0 MaxMhz=2666 CurrentMhz=2666 MhzLimit=2666 MaxIdleState=1 CurrentIdleState=1 hasInvariantTSC=true
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] ProcNum=1 MaxMhz=2666 CurrentMhz=2666 MhzLimit=2666 MaxIdleState=1 CurrentIdleState=1 hasInvariantTSC=true
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] ProcNum=2 MaxMhz=2666 CurrentMhz=2666 MhzLimit=2666 MaxIdleState=1 CurrentIdleState=1 hasInvariantTSC=true
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] ProcNum=3 MaxMhz=2666 CurrentMhz=2666 MhzLimit=2666 MaxIdleState=1 CurrentIdleState=1 hasInvariantTSC=true
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] High-resolution hardware timer detected.
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] -----------------------------------------------------------------------------------------
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] dynaTrace Agent for Java Copyright (c) 2004-2013 Compuware Corporation, www.compuware.com
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] -----------------------------------------------------------------------------------------
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Version ..................... 5.6.0.5802, build date Jan 27 2014 20:10:01
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Command line is "C:\wM\jvm\jvm160_64\bin\java" -agentpath:C:\dynaTrace\agent\lib64\dtagent.dll=name=webmethods,server=10.184.53.38:9998 -Dosgi.install.area="C:\wM\common\runtime" -Declipse.ignoreApp=true -XX:MaxPermSize=256M -server -Xms4096M -Xmx4096M -XX:MaxPermSize=512M -Xrs -Dsun.lang.ClassLoader.allowArraySyntax=true -Dwatt.server.prepend.classes=;C:\wM\IntegrationServer\config\Caching;C:\wM\IntegrationServer\..\common\lib\wm-converters.jar;; -Dwatt.server.append.classes= -Dcom.webmethods.sc.auditing.Use80TableFormat=true -Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl -Dtangosol.coherence.shutdownhook=false -DWM_HOME=C:\wM\IntegrationServer\.. -Djava.library.path="C:\wM\common/lib;C:\wM\common\runtime/lib/runtime;C:\wM\common/security\ssx_64\bin;packages\WmWin32\code\libs;packages\WmPKI\code\libs;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\wM\IntegrationServer\..\common\bin;C:\wM\IntegrationServer\support\win32;C:\wM\jvm\jvm160_64\jre\bin\server;C:\wM\IntegrationServer\lib" -classpath "C:\wM\common/lib/wrapper.jar;C:\wM\common\runtime/lib/runtime/platform-bootstrap.jar;C:\wM\common\runtime\plugins\org.eclipse.equinox.launcher_1.1.0.v20100507.jar" -Dwrapper.key="iiA_hCpMxR6kqSLVcMGNsMqvvMoB3MzM" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=3672 -Dwrapper.version="3.5.2-st" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=5 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.tanukisoftware.wrapper.WrapperStartStopApp org.eclipse.equinox.launcher.Main 4 -configuration "C:\wM\profiles\IS\configuration" -service sagis82_3.1 com.softwareag.osgi.Bootstrap FALSE 2 remote_shutdown localhost:8045
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Build platform .............. Windows x86 64-bit
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Platform .................... Windows Server 2008 R2 Service Pack 1 6.1.7601 x64
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] OS edition .................. Enterprise
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] OS productId ................ Unknown
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Hyper-V friendly name ....... Unknown
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Bootstrap version ........... 5.6.0.5802
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Log level console ........... info
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Log level file .............. info
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Log file .................... C:/dynaTrace/log/dt_webmethods_716.log
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Agent host .................. SMX074006-001
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Agent library ............... C:/dynaTrace/agent/downloads/5.6.0.5802/native/windows-x86-64/dtagentcore.dll
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Options string .............. name=webmethods,server=10.184.53.38:9998
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Agent name .................. webmethods
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Server/Collector ............ 10.184.53.38:9998
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Interface type .............. JVMTI
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Process ID .................. 716
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] JVM name .................... Java HotSpot(TM) 64-Bit Server VM 20.2-b06
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] JVM vendor .................. Sun Microsystems Inc.
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] JVM info .................... mixed mode, sharing
INFO   | jvm 5    | 2014/06/16 15:46:06 | 2014-06-16 15:46:06 [0000018c] info    [native] Trying to connect to Server for up to 19 seconds
INFO   | jvm 5    | 2014/06/16 15:46:07 | 2014-06-16 15:46:07 [0000018c] info    [native] Instrumentation channel connected successfully
ERROR  | wrapper  | 2014/06/16 15:46:37 | Startup failed: Timed out waiting for a signal from the JVM.
ERROR  | wrapper  | 2014/06/16 15:46:37 | JVM did not exit on request, terminated
FATAL  | wrapper  | 2014/06/16 15:46:38 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2014/06/16 15:46:38 |   There may be a configuration problem: please check the logs.
STATUS | wrapper  | 2014/06/16 15:46:38 | <-- Wrapper Stopped
STATUS | wrapper  | 2014/06/16 15:46:43 | --> Wrapper Started as Service
STATUS | wrapper  | 2014/06/16 15:46:43 | Java Service Wrapper Standard Edition 64-bit 3.5.2
STATUS | wrapper  | 2014/06/16 15:46:43 |   Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2014/06/16 15:46:43 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2014/06/16 15:46:43 |   Licensed to Software AG for Software AG webMethods Integration Server
STATUS | wrapper  | 2014/06/16 15:46:43 | 

Thanks!!

Hi Rodrigo,

Can you tell me what do you meant by monitoring IS V8. What jar file are trying to add to achieve this ? Who has designed that jar file ? Did you properly test all .class files of that ?

Thanks,