> > > Failed to acquire notification consumer home instance from > registry. > > Caused by javax.naming.NameNotFoundException: Name services is not > > bound in this Context > > > > As this machine is unlikely to have a meaningful > $GLOBUS_LOCATION (which I understand is a solution, i.e. > -DGLOBUS_LOCATION=$GLOBUS_LOCATION, on machines where globus > is installed) is there an alternative for non-globus machines?
You will need some configuration files. For example, from $GLOBUS_LOCATION/etc/globus_wsrf_core, client-server-config.wsdd and *-jndi-config.xml. We don't have a listing of all the configuration files required, but the jndi-config file should solve the error you have here. > > Problem 2) > > On a machine with Globus installed (and therefore with > $GLOBUS_LOCATION) the result for startListening() in > > > // returns a > org.globus.wsrf.impl.notification.ClientNotificationConsumerManager > > notifConsumerManager = > NotificationConsumerManager.getInstance(); > > notifConsumerManager.startListening(); > > is : > > > java.lang.ClassCastException: org.apache.naming.ResourceRef > cannot be cast to > org.globus.wsrf.impl.notification.NotificationConsumerHome > > at > org.globus.wsrf.NotificationConsumerManager.initializeConsumer > Home(NotificationConsumerManager.java:95) > > at > org.globus.wsrf.impl.notification.ClientNotificationConsumerMa > nager.startListening(ClientNotificationConsumerManager.java:66) > > at CallGRAM2.main(CallGRAM2.java:225) > > I don't understand how I'm getting a > org.apache.naming.ResourceRef returned for casting! > Not sure what the issue is here. What version of Globus are you using ? Rachana > > Any explanations/solutions would be much appreciated. > > gef > >
