<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: KARAF_OPTS in wrapper in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354401#M120384</link>
    <description>@ ipop-talend : I have no clue why the java agent I am using is not triggered. I did validate that the agent works perfectly when doing a "trun" executable. 
&lt;BR /&gt;Anything else I can try/ check? 
&lt;BR /&gt;Thanks.</description>
    <pubDate>Wed, 18 Apr 2018 16:04:13 GMT</pubDate>
    <dc:creator>root</dc:creator>
    <dc:date>2018-04-18T16:04:13Z</dc:date>
    <item>
      <title>KARAF_OPTS in wrapper</title>
      <link>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354399#M120382</link>
      <description>&lt;P&gt;I was running my ESB based REST webservices directly using "start/ trun".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I recently setup the "wrapper" so that I can run the it as an OS service. I had set certain KARAF_OPTS in setenv.bat earlier. However, the KARAF_OPTS no longer take into effect since I moved to the wrapper.&lt;/P&gt; 
&lt;P&gt;How does one set "KARAF_OPTS" while running the ESB service as a wrapper?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tried the following in container\etc\myservice.conf:&lt;/P&gt; 
&lt;PRE&gt;set.KARAF_OPTS="-Dcontrast.appname=&amp;lt;MyAPP&amp;gt; -Dcontrast.classpath.libs=true -Dcontrast.server=&amp;lt;MyServer&amp;gt; -javaagent:E:/contrast.jar"&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;wrapper.java.additional.11=-Dcontrast.appname=&amp;lt;MyAPP&amp;gt; -Dcontrast.classpath.libs=true -Dcontrast.server=&amp;lt;MyServer&amp;gt; -javaagent:E:/contrast.jar&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;None of these worked. Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354399#M120382</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2024-11-16T08:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: KARAF_OPTS in wrapper</title>
      <link>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354400#M120383</link>
      <description>&lt;P&gt;The correct way to set&amp;nbsp;system properties to Talend Runtime when installing it as an OS service (using the "wrapper") is the following (in&amp;nbsp;&lt;SPAN&gt;container\etc\myservice.conf config file&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;wrapper.java.additional.11=-Dcontrast.appname=&amp;lt;MyApp&amp;gt; -Dcontrast.classpath.libs=true -Dcontrast.server=&amp;lt;MyServer&amp;gt; -javaagent:D:/MyAgent.jar&lt;/PRE&gt; 
&lt;P&gt;For my tests I've used a different java agent. With the above configuration my agent was picked up at Talend Runtime start and also the other properties were correctly added.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can inspect the system properties using:&lt;/P&gt; 
&lt;PRE&gt;system:property&amp;nbsp;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354400#M120383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-17T14:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: KARAF_OPTS in wrapper</title>
      <link>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354401#M120384</link>
      <description>@ ipop-talend : I have no clue why the java agent I am using is not triggered. I did validate that the agent works perfectly when doing a "trun" executable. 
&lt;BR /&gt;Anything else I can try/ check? 
&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 18 Apr 2018 16:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354401#M120384</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2018-04-18T16:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: KARAF_OPTS in wrapper</title>
      <link>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354402#M120385</link>
      <description>&lt;P&gt;You can use jconsole to inspect the VM arguments and Class path in the VM Summary tab. There you should identify if your agent and parameters are set properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still have the default configuration of Karaf, you can use the following service URL for the JMXConnectorServer&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-trun&lt;/PRE&gt;
&lt;P&gt;Username/password: karaf/karaf&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 11:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/KARAF-OPTS-in-wrapper/m-p/2354402#M120385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T11:00:16Z</dc:date>
    </item>
  </channel>
</rss>

