dev@glassfish.java.net

Re: AMX jar files

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Fri, 21 Jul 2006 14:21:46 -0700

That's because you are trying to connect to server over HTTP
, I believe.
You should depend on standard RMI jmx connector (naming
service for which runs at 8686).



Kohsuke Kawaguchi wrote:
> Lloyd L Chambers wrote:
>
>> Responses inline.
>>
>> On Jul 21, 2006, at 10:43 AM, Kohsuke Kawaguchi wrote:
>>
>>>
>>> As an AMX user, I already need to put a whole bunch of jars in my
>>> classpath. So having some code to do those things on the client side
>>> isn't going to make AMX any harder to use, for users. (It's more
>>> work for you, as an AMX developer, for sure!)
>>
>>
>> The only required jar file is appserv-ext.jar, and *if* you're using
>> JSR 77 Stats and Statistics, then javaee5.jar. That's two jars.
>> Where did you come to believe that you need a "whole bunch" of jars?
>> Is there some old documentation that says so?
>
>
> When I first run my application just with appserver-ext.jar, I got
> NoClassDefFoundError or something, which pointed me to something like
> jmxremote_optional.jar
>
>