Skip to Content
Former Member
Dec 19, 2006 at 09:28 AM

error connecting to portal database using alias


i am using Connector framework api to connect to portal database.

in <b>visual administrator -> JDBC connector</b>. I click on <b>runtime</b> tab

Under <b>Resources</b> i find <b>Data Sources</b> and <b>Drivers</b>.

Under Data sources I see SAPSR3DB. In Main tab on right hand pane I find many other aliases called SAP/BC_UME and SAP/BC_WDDR etc. Which one do I use in creating a connection.

IConnectorGatewayService cgService = (IConnectorGatewayService) PortalRuntime.getRuntimeResources().getService("");
ConnectionProperties cp = new ConnectionProperties(request.getLocale(),request.getUser());
IConnection connection = cgService.getConnection("SAPSR3DB",cp);

No system found for alias SAPSR3DB.