|
From: Colin K. W. <di...@uw...> - 2015-05-12 00:51:50
|
Thanks Leif, this resolved my issue. I will try changing the log level next time. Best, Colin Williams On Wed, May 6, 2015 at 7:15 PM, Leif Mortenson < lei...@ta...> wrote: > Colin, > > The arguments passed to the Wrapper need to be broken up. You have > registered them as pairs of arguments (name and value) with a space. Those > are passed as a single argument to the JVM on UNIX. > Please try it as follows and let me know if this fixes your problem. > > wrapper.app.parameter.1=com.quantifind.kafka.offsetapp.OffsetGetterWeb > > wrapper.app.parameter.2=--zk > > wrapper.app.parameter.3=myzk1:2181,myzk2:2181,myzk3:2181/kafka1 > > wrapper.app.parameter.4=--port > > wrapper.app.parameter.5=8080 > > wrapper.app.parameter.6=--refresh > > wrapper.app.parameter.7=10.seconds > > wrapper.app.parameter.8=--retain > > wrapper.app.parameter.9=7.days > > > Problems like this can be easily debugged by setting the following > property to show the generated command line in the log file (You have it > commented out): > > > wrapper.java.command.loglevel=INFO > > > Cheers, > > Leif > > On Thu, May 7, 2015 at 8:32 AM, Colin Kincaid Williams <di...@uw...> > wrote: > >> >java -cp KafkaOffsetMonitor-assembly-0.2.1.jar >> com.quantifind.kafka.offsetapp.OffsetGetterWeb --zk >> myzk1:2181,myzk2:2181,myzk3:2181/kafka1 --port 8080 --refresh 10.seconds >> --retain 2.days >> >> serving resources from: >> jar:file:/opt/kafka-offset-monitor/KafkaOffsetMonitor-assembly-0.2.1.jar!/offsetapp >> ... >> >> starting the application via the command line as I showed above works. >> Then I'm trying to adapt it to the wrapper. I will look at the wrapper >> again. >> > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |