Showing results for 
Search instead for 
Did you mean: 

can`t connect

Former Member
0 Kudos


I want connect to predefined system using this by PageProcessorComponent

// get a client service  
IJCOClientService clientService = (IJCOClientService) request.getService(IJCOClientService.KEY);
JCO.Client client = clientService.getJCOClient("VA4088", request);       
// connect to SAP system       

Line IJCOClientService clientService = (IJCOClientService) request.getService(IJCOClientService.KEY); throws exception

An exception occurred while processing a request for :

iView : pokus4.Landscape

Component Name : pokus4.Landscape


Exception id: 10:52_26/04/05_0092_3246050

See the details for the exception ID in the log file

Please, whats wrong?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos


basicly You have to include the service to Your application by typing eg.:

<property name="SharingReference" value="htmlb, jcoclient, jco, usermanagement, landscape"/>

in Your portalapp.xml

afterward it should do:

IJCOClientService clientService =
				(IJCOClientService) PortalRuntime


Answers (1)

Answers (1)

Former Member
0 Kudos

Take a look at the following forum posting.

I would recommend you to start using JCA instead of JCO. SAP recommends JCA for portal development.