cancel
Showing results for 
Search instead for 
Did you mean: 

Error in service call of Portal Component

Former Member
0 Kudos
118

Portal Service error ..

Doesn't call service.

help... and where I check loaded service ...tool ...

verson : EP6 SP14

NWS : Version: 2.0.12 Build id: 200505090134

=======================================

ID:06:24_14/11/05_0064_8170550

[EXCEPTION]

#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component

Component : Portalloto.SnowComponent

Component class : com.sap.portal.prt.loto.SnowComponent

User : Administrator

at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:154)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:392)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)

Caused by: com.sapportals.portal.prt.service.ServiceException: Service not found: SnowService

at com.sapportals.portal.prt.core.service.ServiceManager.get(ServiceManager.java:193)

at com.sapportals.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:146)

at com.sap.portal.prt.loto.SnowComponent.doContent(SnowComponent.java:19)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

... 29 more

Caused by: com.sapportals.portal.prt.core.broker.PortalServiceInstantiationException: Could not instantiate implementation class com.dsme.test.service.SnowService of Portal Service PortalServiceTest|SnowService because: could not load the service

at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:740)

at com.sapportals.portal.prt.core.broker.PortalServiceItem.getServiceInstance(PortalServiceItem.java:540)

at com.sapportals.portal.prt.core.service.ServiceManager.get(ServiceManager.java:185)

... 34 more

Caused by: java.lang.InstantiationException

at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

at java.lang.Class.newInstance0(Class.java:308)

at java.lang.Class.newInstance(Class.java:261)

at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:727)

... 36 more

=====================================

<application-config>

<property name="SharingReference" value="com.sap.portal.ivs.connectorservice"/>

<property name="ClassLoadingPolicy" value="transitive"/>

<property name="startup" value="true"/>

</application-config>

=======================================

<service name="default" alias="SnowService">

<service-config>

<property name="className" value="com.sap.portal.prt.loto.SnowService"/>

<property name="startup" value="true"/>

</service-config>

</service>

========================================

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Looks like an error in the constructor of your class "com.sap.portal.prt.loto.SnowService".

Look into your log file (...JC00\j2ee\cluster\server0\log\defaultTrace.x.trc) for the "real" error cause (like NullPointerException etc.)

Regards,

Dieter

Former Member
0 Kudos

Hi All

I have the same problem: it isn´t a error in my component, I deployed successfully my service (it appears in the PDK Component Inspector) but other application doesn´t find it.Could anybody help us?

Former Member
0 Kudos

Then you probably have mistyped the sharingReference property of the "other" applications. Thus the "other" application has no reference to your successfully deployed service.