on 09-02-2005 10:07 AM
Hi
I am having problems with the ISchedulerTask which I used to access a custom Portal Service, UserCreateService. The purpose of the Portal Service is to connect to R/3 and retrieve user information to update the UME.
So far, I have managed to create simple scheduling tasks with ISchedulerTask based on the below link:
I have also managed to create an iView PAR and access the custom Portal Service without any problem.
However, when I try to integrate both application so that I can schedule the Portal Service, I am getting "java.lang.NoClassDefFound: IUserCreate_Service" for my Portal Service class.
I tried searching the forum and found this link:
I tried the steps mentioned in the link above but it did not help me because the Scheduler Task Wizard in Netweaver Studio creates its own ClassLoader in the RFServiceWrapper init.
Appreciate if anyone has any insights on how to create a scheduling job in EP to connect to R/3 using the WCM Class Loader for Portal Services.
Thanks in advance
Kwong Tat
Hi Kwong Tat, hi Prakash,
ServicesReference only exists for compatibility reasons with EP5 (where services have been deployed different than applications/components). From EP6 on, you can put all references together under (Private)SharingReference. See http://help.sap.com/saphelp_erp2004/helpdata/en/9e/0f1140d72dc442e10000000a1550b0/frameset.htm for further details.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I found this thread yesterday, and would like to know how you solved the problem ?
I have created a schedulertask, and I have a web dynpro application to cleaning some files in KM.
now I would like to integrate these two application together. any idea how to do this ?
Really appreciate if you could provide some code snippest.
kind regards
Ben.J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Recently, I managed to reproduce the earlier ClassCastException even after removing the relevant jar files. I found out that it is related to the Hot Deployment of KM which was explained by Detlev in forum thread 56330 and 61351.
Thanks Detlev.
After manually restarting Portal, it works again... until the logs show "CM system is shutting ..." and "CM system is starting ..." which later will cause the same ClassCastException.
Does anyone know if there is any OSS note/documentation which states that KM Hot Deployment is not supported?
Thanks and regards
Kwong Tat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kwong,
as far as I know, there is no explicit note about it. I know of two OSS-messages (one SAP-internal, on external), which state this, and we've already discussed this with SAP-KM development. From the internal note, which tries to describe the reason for the behaviour, I have difficulties to understand it (I'm sceptical if this really must work this way).
Anyhow, I'll ask Thilo Brandt to create a note, also for having some base which can be discussed and on which the developers may raise the pressure upon SAP to redesign this issue.
If I'll get some news, I'll return.
Best regards
Detlev
Hi
I have resolved the problem myself. Thanks all.
The problem was that some jar files were in PORTAL-INF\lib folder. Once I removed everything and only left with the necessary *api.jar files, everything works.
Now I have a scheduler task which connects to ABAP R/3 every 5 minutes to retrieve data and update the UME role assignment.
Best regards
Kwong Tat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kwong,
YOu need to add your portal service package name as ServicesReference in the portalapp.xml. Check out the bold text.
example:
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
<b><property name="ServicesReference" value="com.ust.portalservice"/></b>
</application-config>
<components/>
<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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.