List of usage examples for java.rmi RemoteException getMessage
public String getMessage()
From source file:org.apache.juddi.api.impl.API_040_BusinessServiceLoadTest.java
@BeforeClass public static void setup() throws ConfigurationException { File f = new File("."); System.out.println("Current working dir is " + f.getAbsolutePath()); System.setProperty(JUDDI_CONFIGURATION_FILE_SYSTEM_PROPERTY, f.getAbsolutePath() + "/src/test/resources/juddiv3DisabledTModelKeybag.xml"); Registry.start();//ww w .j a v a2 s . com logger.info("API_040_BusinessServiceTestPerformance"); logger.debug("Getting auth tokens.."); try { api010.saveJoePublisher(); UDDISecurityPortType security = new UDDISecurityImpl(); authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); String authInfoUDDI = TckSecurity.getAuthToken(security, TckPublisher.getUDDIPublisherId(), TckPublisher.getUDDIPassword()); tckTModel.saveUDDIPublisherTmodel(authInfoUDDI); tckTModel.saveTModels(authInfoUDDI, TckTModel.TMODELS_XML); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_040_BusinessServiceTest.java
@BeforeClass public static void setup() throws ConfigurationException { Registry.start();// w w w . j a v a2s . co m logger.info("API_040_BusinessServiceTest"); logger.debug("Getting auth tokens.."); try { api010.saveJoePublisher(); api010.saveSamSyndicator(); UDDISecurityPortType security = new UDDISecurityImpl(); authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); authInfoSam = TckSecurity.getAuthToken(security, TckPublisher.getSamPublisherId(), TckPublisher.getSamPassword()); String authInfoUDDI = TckSecurity.getAuthToken(security, TckPublisher.getUDDIPublisherId(), TckPublisher.getUDDIPassword()); tckTModel.saveUDDIPublisherTmodel(authInfoUDDI); tckTModel.saveTModels(authInfoUDDI, TckTModel.TMODELS_XML); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_040_BusinessServiceTestPerformance.java
@BeforeClass public static void setup() throws ConfigurationException { Registry.start();/*w w w . java 2 s .co m*/ logger.info("API_040_BusinessServiceTestPerformance"); logger.debug("Getting auth tokens.."); try { api010.saveJoePublisher(); UDDISecurityPortType security = new UDDISecurityImpl(); authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); String authInfoUDDI = TckSecurity.getAuthToken(security, TckPublisher.getUDDIPublisherId(), TckPublisher.getUDDIPassword()); tckTModel.saveUDDIPublisherTmodel(authInfoUDDI); tckTModel.saveTModels(authInfoUDDI, TckTModel.TMODELS_XML); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_050_BindingTemplateTest.java
@BeforeClass public static void setup() throws ConfigurationException { Registry.start();/*from w ww. j a v a 2 s .c om*/ logger.debug("Getting auth token.."); try { api010.saveJoePublisher(); authInfoJoe = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); UDDISecurityPortType security = new UDDISecurityImpl(); String authInfoUDDI = TckSecurity.getAuthToken(security, TckPublisher.getUDDIPublisherId(), TckPublisher.getUDDIPassword()); tckTModel.saveUDDIPublisherTmodel(authInfoUDDI); tckTModel.saveTModels(authInfoUDDI, TckTModel.TMODELS_XML); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_051_BindingTemplateWSDLTest.java
@BeforeClass public static void setup() throws ConfigurationException { Registry.start();//from w w w . j a v a 2s . c om logger.info("API_051_BindingTemplateWSDLTest"); logger.debug("Getting auth token.."); try { api010.saveJoePublisher(); authInfoJoe = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); UDDISecurityPortType security = new UDDISecurityImpl(); String authInfoUDDI = TckSecurity.getAuthToken(security, TckPublisher.getUDDIPublisherId(), TckPublisher.getUDDIPassword()); tckTModel.saveUDDIPublisherTmodel(authInfoUDDI); tckTModel.saveTModels(authInfoUDDI, TckTModel.TMODELS_XML); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_060_PublisherAssertionTest.java
@BeforeClass public static void setup() throws ConfigurationException { Registry.start();/*from w w w .j ava 2 s . c o m*/ logger.debug("Getting auth token.."); try { api010.saveJoePublisher(); api010.saveSamSyndicator(); UDDISecurityPortType security = new UDDISecurityImpl(); authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); authInfoSam = TckSecurity.getAuthToken(security, TckPublisher.getSamPublisherId(), TckPublisher.getSamPassword()); authInfoMary = TckSecurity.getAuthToken(security, TckPublisher.getMaryPublisherId(), TckPublisher.getMaryPassword()); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_070_FindEntityTest.java
@BeforeClass public static void setup() throws ConfigurationException { Registry.start();/*from www . jav a 2 s. c om*/ logger.debug("Getting auth token.."); try { api010.saveJoePublisher(); authInfoJoe = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_080_SubscriptionTest.java
@BeforeClass public static void setup() throws ConfigurationException { Registry.start();// ww w . j a v a 2 s .com logger.info("API_080_SubscriptionTest"); logger.debug("Getting auth token.."); try { api010.saveJoePublisher(); authInfoJoe = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); api010.saveSamSyndicator(); authInfoSam = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.getSamPublisherId(), TckPublisher.getSamPassword()); String authInfoUDDI = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.getUDDIPublisherId(), TckPublisher.getUDDIPassword()); tckTModel.saveUDDIPublisherTmodel(authInfoUDDI); tckTModel.saveTModels(authInfoUDDI, TckTModel.TMODELS_XML); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_099_LoadTest.java
@BeforeClass public static void setup() throws ConfigurationException { Registry.start();/* w w w .ja v a 2 s . c o m*/ logger.info("API_080_SubscriptionTest"); logger.debug("Getting auth token.."); try { api010.saveJoePublisher(); authInfoJoe = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }
From source file:org.apache.juddi.api.impl.API_160_ReplicationTest.java
@BeforeClass public static void startManager() throws ConfigurationException { Registry.start();//from ww w .j av a 2s . com try { UDDISecurityPortType security = new UDDISecurityImpl(); authInfoRoot = TckSecurity.getAuthToken(security, TckPublisher.getRootPublisherId(), TckPublisher.getRootPassword()); } catch (RemoteException e) { logger.error(e.getMessage(), e); Assert.fail("Could not obtain authInfo token."); } }