Radhika, When you say plugin, are you talking about a plugin that works within the Remedy Java Plugin framework, or are you talking about a custom Java application that you want Remedy to manage the starting of?
On Thu, Dec 21, 2017 at 9:08 AM, Narayanan, Radhika < radhika.naraya...@cgi.com> wrote: > Hi List, > > > > Can you please share your knowledge on how to make custom java plugins > start automatically with armonitor on ITSM 9.1.03 server? > > > > *Thanks,* > > *Radhika Narayanan* > > > > *From:* ARSList [mailto:arslist-boun...@arslist.org] *On Behalf Of *Narayanan, > Radhika > *Sent:* Monday, December 18, 2017 7:40 PM > *To:* 'arslist@ARSLIST.ORG' > *Cc:* Gunjalli, Kiran Kumar > *Subject:* ARMonitor should automatically start custom java plugin .jar > > > > Hi List, > > > > I need my custom java plugin to automatically start along with AR Server > 9.1.03. Hence, I added the .jar file to armonitor.cfg and added > Server-Plugin-Alias entries to ar.cfg. When the AR Server service is > started, I can see the java.exe in the Task Manager. However, it doesn’t > seem to load fully, stops at 25 MB memory growth, with the following errors > in the log file produced by custom plugin. It complains about missing > arsys_api.xml file. Such a file is not present in ARServer folders either. > > > > On the other hand, if I start the custom .jar manually on 9.1.03 server > from command-prompt, it executes successfully. Also, following the same > procedure, I’m able to successfully load similar, custom java plugins on > ITSM 8.1.02 server from armonitor. Unfortunately, that procedure doesn’t > appear to work on ITSM 9.1.03 only. Please advise. > > > > Log file shows: > > DEBUG 2017-12-18 10:25:09,154 [main] com.bmc.thirdparty.org.apache. > commons.configuration.ConfigurationUtils - ConfigurationUtils.locate(): > base is jar:file:/D:/Program%20Files/BMC%20Software/ARSystem/ > pluginsvr/SF/lib/arapi91_build002.jar!/arsys_base.xml, name is > arsys_api.xml > > DEBUG 2017-12-18 10:25:09,154 [main] com.bmc.thirdparty.org.apache. > commons.configuration.DefaultFileSystem - *Could not locate file > arsys_api.xml* at jar:file:/D:/Program%20Files/BMC%20Software/ARSystem/ > pluginsvr/SF/lib/arapi91_build002.jar!/arsys_base.xml: JAR entry > arsys_api.xml not found in D:\Program Files\BMC Software\ARSystem\pluginsvr\ > SF\lib\arapi91_build002.jar > > DEBUG 2017-12-18 10:25:09,158 [main] com.bmc.thirdparty.org.apache. > commons.configuration.DefaultConfigurationBuilder - Load failed for > optional configuration xml: Cannot locate configuration source arsys_api.xml > > DEBUG 2017-12-18 10:25:09,158 [main] com.bmc.thirdparty.org.apache. > commons.configuration.DefaultConfigurationBuilder - Creating > configuration null with name default > > DEBUG 2017-12-18 10:25:09,159 [main] com.bmc.thirdparty.org.apache. > commons.beanutils.ConvertUtils - Convert string 'default.xml' to class > 'java.lang.String' > > DEBUG 2017-12-18 10:25:09,159 [main] com.bmc.thirdparty.org.apache. > commons.beanutils.converters.StringConverter - Converting 'String' value > 'default.xml' to type 'String' > > DEBUG 2017-12-18 10:25:09,160 [main] com.bmc.thirdparty.org.apache. > commons.configuration.ConfigurationUtils - ConfigurationUtils.locate(): > base is jar:file:/D:/Program%20Files/BMC%20Software/ARSystem/ > pluginsvr/SF/lib/arapi91_build002.jar!/arsys_base.xml, name is default.xml > > > > armonitor.cfg holds 2 custom plugins, both don’t get loaded fully. > > > > "D:\Java\jre1.8.0_144\bin\java" -Xmx1024m -classpath "D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF;D:\Program Files\BMC > Software\ARSystem\pluginsvr\SF\lib\arapi91_build001.jar;D:\Program > Files\BMC > Software\ARSystem\pluginsvr\SF\lib\arapiext91_build001.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\ardoc91_build001.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\arutil91_build001.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\log4j-1.2.14.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\sqljdbc4.jar;" -jar > "D:\Program Files\BMC Software\ARSystem\pluginsvr\SF\*InboundPush.jar*" > com.bmc.arsys.pluginsvr.ARPluginServerMain -x <servername> -i "D:\Program > Files\BMC Software\ARSystem" -m > > > > "D:\Java\jre1.8.0_144\bin\java" -Xmx1024m -classpath "D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF;D:\Program Files\BMC > Software\ARSystem\pluginsvr\SF\lib\arapi91_build001.jar;D:\Program > Files\BMC > Software\ARSystem\pluginsvr\SF\lib\arapiext91_build001.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\ardoc91_build001.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\arutil91_build001.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\log4j-1.2.14.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\sqljdbc4.jar;D:\Program > Files\BMC Software\ARSystem\pluginsvr\SF\lib\json-20141113.jar" -jar > "D:\Program Files\BMC Software\ARSystem\pluginsvr\SF\*OutboundPush.jar*" > com.bmc.arsys.pluginsvr.ARPluginServerMain -x <servername> -i "D:\Program > Files\BMC Software\ARSystem" –m > > > > *Thanks,* > > *Radhika Narayanan* > > > > -- > ARSList mailing list > ARSList@arslist.org > https://mailman.rrr.se/cgi/listinfo/arslist > >
-- ARSList mailing list ARSList@arslist.org https://mailman.rrr.se/cgi/listinfo/arslist