Hi experts,
we have tried to create a simple scheduler task in NWDS using Repository Framework Wizard on our portal server. During deployment when the registration is executed to register the scheduler we get the error
Caused by: java.lang.ClassNotFoundException: com.sapportals.wcm.crt.CrtClassLoaderRegistry
Place in code (automatically generated by wizard) where the exception is thrown:
------------------------------------
package com.sap.netweaver.rf.wrapper;
import com.sapportals.portal.prt.service.IServiceContext;
import com.sapportals.portal.prt.service.IServiceConfiguration;
import com.sapportals.portal.prt.service.IService;
import com.sapportals.wcm.crt.CrtClassLoaderRegistry;
public class RFServiceWrapper implements IRFServiceWrapper{
private IServiceContext mm_serviceContext;
public void init(IServiceContext serviceContext){
mm_serviceContext = serviceContext;
CrtClassLoaderRegistry.addClassLoader(this.getKey(), this.getClass().getClassLoader()); // throws ClassNotFoundException !!!
}
....
-----------------------------------
portalapp.xml
----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<application>
<application-config>
<property name="PrivateSharingReference" value="
usermanagement,
knowledgemanagement,
landscape,
htmlb,
exportalJCOclient,
exportal
"/>
</application-config>
<services>
<service name="RFServiceWrapper">
<service-config>
<property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
<property name="startup" value="true"/>
</service-config>
</service>
</services>
</application>
----------------------------------
Environment:
* SAP Portal 7.01 SP6
* Repository Framework 7.1.5 (Eclipse plugin)
* NWDS 7.01.06
The run method of Schedular Task is empty, we didn't add our code, everything is purely generated by the wizard.
Do you see anything is missing?
Do you know how we can check the Repository Framework version used by the portal?
Thank you,
regards
Korn