Aries is not needed to connect to glassfish. Try to install gf-client-module.jar from the glassfish modules dir into the OSGi container and follow this howto to set up jndi: https://glassfish.java.net/javaee5/ejb/EJB_FAQ.html#StandaloneRemoteEJB
Aries jndi is only needed if you want to access a local OSGi service using jndi. This is for example needed to access a jpa data source using the persistence.xml.