on 06-06-2012 6:48 AM
Hi Experts,
We are using Netweaver Portal 7.3, i am facing problem when trying to customize the login page,
i have downloaded tc~sec~ume~logon~ui.war from <Installation drive>:\usr\sap\<SID>\J00\j2ee\cluster\apps\sap.com\com.sap.security.core.logon\servlet_jsp\logon_ui_resources
After doing this i have imported the WAR file into SAP NWDS (7.3 SP07 PAT0000).
I have also added tc~sec~ume~logon~logic_api.jar (downloaded from <Installation drive>:\usr\sap\<SID>\J00\j2ee\cluster\apps\sap.com\com.sap.security.core.logon\servlet_jsp\logon_app\root\WEB-INF\lib) to project classpath (Build Path --> Configure Build Path) and WebContent\WEB-INF\lib.
Inspite of doing this i am getting compilation errors in some of the JSP’s.
Error Description | Resource | Path |
---|---|---|
DeviceType cannot be resolved | logonPageMobile.jsp | tc~sec~ume~logon~ui/WebContent/mobile |
otherUiLoaded cannot be resolved | logonPageMobile.jsp | tc~sec~ume~logon~ui/WebContent/mobile |
uiFrameTopMargin cannot be resolved | certLogonPageMobile.jsp | tc~sec~ume~logon~ui/WebContent/mobile |
Attached is the error and classpath screenshot.
Please Advice what to be done
Hi All,
Thanks for your support, i have raised an OSS ticket, following is the reply from SAP team.
The 'DeviceType' parameter of the equalsIgnoreCase() clause, which your
IDE cannot resove is a variable, actually. You can see it being
initialized in the certLogonPage.jsp. Somewhat later there the
certLogonPageMobile.jsp is being included, so runtime these 2 jsp-s willwork with no problem. The compilation error you get is due to the fact
that the IDE doesn't resolve and follow the include clauses, hence it
cannot know that the 'DeviceType' variable has been declared and
initialized in another jsp.
This is actually no issue, and your application will work at runtime.
Please, ignore this kind of compilation errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hari,
I think using WAR from different server might solve your problem. I we spoke earlier, this issue might be because of some configuration during the installation. However, let me know the other WAR worked for you or not?
Ameya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hari,
One doubt, how the folder for "mobile" under WebContent added, you added manually or it was already there by default? As when I used the same war file there was no folder for mobile.
So not sure about this particular problem but you can try adding com.sap.security.api.jar file under /WebContent/WEB-INF/lib and try building the application.
Regards,
Saurabh M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh,
Mobile folder was there by default, i did not make any changes to Standard WAR file, i just imported WAR file into NWDS and added
to Web-Inf/lib and project classpath (Build Path --> Configure Build Path)
I have searched for com.sap.security.api.jar in http://sapjarfinder.com/ and http://www.jarfinder.com/ but could not find it.
Thanks in Advance
Hi Hari,
Below is the link which will guide you to customize the logon page in NW 7.3
Hope tihs may help in your case too.
Regards,
Saurabh M
Hi Hari,
This my thread http://scn.sap.com/thread/3167331,please check this one.
Hope it may help you.
Regards,
Srinivasan V
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.