I'm trying to create a supervision application that will monitor a glassfish server in order to figure out in which state a deployed ear application is in. In order to do so I'm trying to use AMX to cnnect to my glassfish server, however I haven't gotten around to doing so because I cant find the AppServerConnectionSource class. Every single example that I've found online uses this class to establish an AMX connection with the server however I cant figure out which jar this class belongs to. I tried looking for it in the amx-*.jar jars found in the glassfish/modules directory but couldn't find it anywhere.
Is the AppServerConnectionSource class deprecated? If so, does anyone know the new way of doing this?
Found it in appserv-ext.jar (on 2.1.1 p10). Turns out the Eclipse Glassfish runtime doesn't add that jar by default so I had to create a separate User Library to include it.
I imagine something similiar is going on with v3.