on 04-15-2015 2:45 PM
Hi experts,
I m trying to build and run an extension framework on a different requirement on the lines of this. I have defined it on the task extension after successfully deploying it on the connected AS JAVA. But I'm not getting any result on the IdM UI. There is already another EAR deployed not by me, which is running good. I have created everything from scratch with new names and servlet not as IdMRegisterServlet. Should there be any problem due to that ?
Because when I looked into the application tc~idm~jmx~app I could find only IdMRegisterServlet and not the one I designed.. Though I have meticulously followed the steps while deploying. If this is the case how will I be able to register it in the tc~idm~jmx~app ?
Any advise would be a Lifesaver.
Thanks
Rimesh
Hi Rimesh,
I have been able to work on extension framework on NW 7.3 and have it successfully working. Please message me so that I can try to help with a meeting. It is hard to debug without looking at the classes and the servlet.
Regards!
Anu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rimesh,
Please check the developer trace logs (NWA) when starting the application?
Have you added the dependencies?
You can also consider to undeploy and re-deploy the ear file again, sometimes that helps.
Regards,
Ridouan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ridouan,
I'm not finding any developer trace logs in NWA when started the application. But I confirm that I have declared the extension class path in the task correctly.
By 'adding dependencies' are you referring to something to be done in NWA ? As far as configuration within NWDS is concerned I have followed closely the SAP Official PDF (extension framework).
Have also tried redeploying ear file again but still the issue persists.. There is already an EAR running successfully and when I check in module details of tc/idm/jmx/app I find IdMRegisterServlet and not the servlet IdMexternal_servlet which I designed ..
Regards
Rimesh
Hi Rimesh,
I will try to find a colleague from the development to answer that.
I see that no one wants to answer it.
Regards
Todor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rimesh,
I guess the problem is not in the name of the servlet. You can use any name.
Please check:
1. If the application-j2ee-engine.xml of your new extension application contains a reference to
tc/idm/jmx/app application:
application-j2ee-engine xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
<reference reference-type="hard">
<reference-target provider-name="sap.com"
target-type="application">tc/idm/jmx/app
</reference-target>
</reference>
application-j2ee-engine>
2. Check if your servlet is part of the web.xml of the war project:
<servlet>
<description></description>
<display-name>IdMRegisterServlet</display-name>
<servlet-name>IdMRegisterServlet</servlet-name>
<servlet-class>testcustomer.idm.impl.IdMRegisterServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
If that does not help just write me.
Kind Regards,
Stefan
Hi Rimesh,
From the screenshot seems that when you are configuring the IDM UI task, you provided the name of the servlet class for the extension class. You need to specify the name of the extension class, I mean the class that extends TaskProcessingAdapter in your UI tasks. I hope that will help.
Kind Regards,
Stefan
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.