}
RemoteJmsAdminServerIfc admin = null;
try {
admin = (RemoteJmsAdminServerIfc) registry.lookup("admin");
_connection = admin.createConnection(username, password);
} catch (NotBoundException exception) {
throw new JMSException("Administration server is not bound in the registry for "
+ "URL: " + url);
} catch (RemoteException exception) {
JMSException error = new JMSException("Failed to lookup OpenJMS administration server at URL: "