Skip to Content
Former Member
Apr 20, 2007 at 09:16 AM

Connection object to Anonymous users ?


Here is the requirement ...

I'm using ConnectorGatewayService to establish connection to the R/3 system and working fine for logged in users in the portal

ConnectionProperties cp = new ConnectionProperties(request.getLocale(), request.getUser);

connection = cgService.getConnection(systemAlias, cp);

now my problem was "Connection Failed: Nested Exception. Failed to get connection. Please contact your admin" when i try to make use of same piece of code to create a connection for Anonymous users (not logged on into the portal).

So how should i create a connection for Anonymous users using JCA ?