You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Tommy615 <le...@yahoo.com> on 2006/09/25 09:54:32 UTC
Authentication (Jconsole)
I had added the below two parameters inside the activemq.bat but why an error
'is not recognisez as an internal or externam command, operable program or
batch file' appeared? I had set the authentication=true.
i)
-Dcom.sun.management.jmxremote.password.file=%JRE_HOME%/lib/management/jmxremote.password
ii)
-Dcom.sun.management.jmxremote.access.file=%JRE_HOME%/lib/management/jmxremote.access
(I tried at both 4.0.2 and 4.1 versions)
Thanks in advance
--
View this message in context: http://www.nabble.com/Authentication-%28Jconsole%29-tf2329958.html#a6481748
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Authentication (Jconsole)
Posted by Tommy615 <le...@yahoo.com>.
James.Strachan wrote:
>
> Maybe JRE_HOME has a spacein it?
>
> On 9/25/06, Tommy615 <le...@yahoo.com> wrote:
>>
>> I had added the below two parameters inside the activemq.bat but why an
>> error
>> 'is not recognisez as an internal or externam command, operable program
>> or
>> batch file' appeared? I had set the authentication=true.
>> i)
>> -Dcom.sun.management.jmxremote.password.file=%JRE_HOME%/lib/management/jmxremote.password
>> ii)
>> -Dcom.sun.management.jmxremote.access.file=%JRE_HOME%/lib/management/jmxremote.access
>>
>> (I tried at both 4.0.2 and 4.1 versions)
>>
>> Thanks in advance
>> --
>> View this message in context:
>> http://www.nabble.com/Authentication-%28Jconsole%29-tf2329958.html#a6481748
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
http://www.nabble.com/file/129/activemq.bat activemq.bat
--
View this message in context: http://www.nabble.com/Authentication-%28Jconsole%29-tf2329958.html#a6482343
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Authentication (Jconsole)
Posted by Tommy615 <le...@yahoo.com>.
Fixed. Is because of the space at the Program Files. But let say if I really
want to set my JRE_HOME to Program Files folder, how should I handle the
space inside the .bat file?
THanks.
Hiram Chirino wrote:
>
> On 9/25/06, Tommy615 <le...@yahoo.com> wrote:
>>
>> I set the value at environment where JAVA_HOME=C:\Program
>> Files\Java\jre1.5.0_08 (w/o space)
>>
>
> Looks like a space to me. Make sure you quote any arguments that have a
> space.
>
>> James.Strachan wrote:
>> >
>> > On 9/25/06, James Strachan <ja...@gmail.com> wrote:
>> >> Maybe JRE_HOME has a spacein it?
>> >
>> > What is the value of JRE_HOME - does it have a space?
>> >
>> > --
>> >
>> > James
>> > -------
>> > http://radio.weblogs.com/0112098/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Authentication-%28Jconsole%29-tf2329958.html#a6482412
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
>
--
View this message in context: http://www.nabble.com/Authentication-%28Jconsole%29-tf2329958.html#a6498923
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Authentication (Jconsole)
Posted by Hiram Chirino <hi...@hiramchirino.com>.
On 9/25/06, Tommy615 <le...@yahoo.com> wrote:
>
> I set the value at environment where JAVA_HOME=C:\Program
> Files\Java\jre1.5.0_08 (w/o space)
>
Looks like a space to me. Make sure you quote any arguments that have a space.
> James.Strachan wrote:
> >
> > On 9/25/06, James Strachan <ja...@gmail.com> wrote:
> >> Maybe JRE_HOME has a spacein it?
> >
> > What is the value of JRE_HOME - does it have a space?
> >
> > --
> >
> > James
> > -------
> > http://radio.weblogs.com/0112098/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Authentication-%28Jconsole%29-tf2329958.html#a6482412
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>
--
Regards,
Hiram
Blog: http://hiramchirino.com
Re: Authentication (Jconsole)
Posted by Tommy615 <le...@yahoo.com>.
I set the value at environment where JAVA_HOME=C:\Program
Files\Java\jre1.5.0_08 (w/o space)
James.Strachan wrote:
>
> On 9/25/06, James Strachan <ja...@gmail.com> wrote:
>> Maybe JRE_HOME has a spacein it?
>
> What is the value of JRE_HOME - does it have a space?
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
--
View this message in context: http://www.nabble.com/Authentication-%28Jconsole%29-tf2329958.html#a6482412
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Authentication (Jconsole)
Posted by James Strachan <ja...@gmail.com>.
On 9/25/06, James Strachan <ja...@gmail.com> wrote:
> Maybe JRE_HOME has a spacein it?
What is the value of JRE_HOME - does it have a space?
--
James
-------
http://radio.weblogs.com/0112098/
Re: Authentication (Jconsole)
Posted by James Strachan <ja...@gmail.com>.
Maybe JRE_HOME has a spacein it?
On 9/25/06, Tommy615 <le...@yahoo.com> wrote:
>
> I had added the below two parameters inside the activemq.bat but why an error
> 'is not recognisez as an internal or externam command, operable program or
> batch file' appeared? I had set the authentication=true.
> i)
> -Dcom.sun.management.jmxremote.password.file=%JRE_HOME%/lib/management/jmxremote.password
> ii)
> -Dcom.sun.management.jmxremote.access.file=%JRE_HOME%/lib/management/jmxremote.access
>
> (I tried at both 4.0.2 and 4.1 versions)
>
> Thanks in advance
> --
> View this message in context: http://www.nabble.com/Authentication-%28Jconsole%29-tf2329958.html#a6481748
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/