Skip to Content
0
Former Member
May 26, 2005 at 11:11 AM

IConnectorGatewayService error

24 Views

Hi,

I am trying to use JCA Connection Framework for R/3 Connection Pooling. When i tried to connect to backend system, i am getting the following error at runtime. Could anyone please help me.

<b>Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/ivs/cg/IConnectorService

at TabStripExample.getPage(TabStripExample.java:30)

at com.sapportals.portal.htmlb.page.PageProcessorComponent</b>

The code I am trying to execute is

<b>Object connectorservice = PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);

IConnectorGatewayService cgService =((IConnectorService) connectorservice).getIConnectorGatewayService();</b>

After changing the code to

<b>Object connectorservice = PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);

IConnectorGatewayService cgService =(IConnectorService) connectorservice;</b>

the error changes to

<b>Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/ivs/cg/IConnectorGatewayService

at TabStripExample.getPage(TabStripExample.java:30)

at com.sapportals.portal.htmlb.page.PageProcessorComponent</b>

The change in portalapp.xml to following also do not help.

<b><component-config>

<property name="ClassName" value="com.xxxx.LeaveBalance"/>

<property name="SecurityZone" value="com.xxxx/high_safety"/>

<property name="ServicesReference" value="com.sap.portal.ivs.connectorservice,com.sapportals.portal.ivs.cg.IConnectorGatewayService,com.sapportals.portal.ivs.cg.IConnectorService"/>

</component-config></b>

I have tried to upload this jar to two versions i.e.

6.0.2.3.7.Enterprise_Portal_Service_Pack_2

6.0.2.5.0.Enterprise_Portal_Service_Pack_2

Can any one help me in rectify this.

Thanks in Advance

Vishal