cancel
Showing results for 
Search instead for 
Did you mean: 

Login Screen Customization (Netweaver Portal 7.3)

Former Member
0 Kudos

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 DescriptionResourcePath
DeviceType cannot be resolvedlogonPageMobile.jsptc~sec~ume~logon~ui/WebContent/mobile
otherUiLoaded cannot be resolvedlogonPageMobile.jsptc~sec~ume~logon~ui/WebContent/mobile
uiFrameTopMargin cannot be resolvedcertLogonPageMobile.jsptc~sec~ume~logon~ui/WebContent/mobile

Attached is the error and classpath screenshot.

Please Advice what to be done

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (2)

Answers (2)

former_member188632
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

  1. tc~sec~ume~logon~logic_api.jar
  2. tc~sec~ume~logon~ui_core.jar

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

Former Member
0 Kudos

Hi Saurabh

finally found the com.sap.security.api.jar file in

<installation dir>\SAP\IDE\IDE70\eclipse\plugins\

inspite of adding the jar file, i am facing same compilation errors.

Please Advice, what to be done

Former Member
0 Kudos

Hi Hari,

Below is the link which will guide you to customize the logon page in NW 7.3

http://scn.sap.com/community/netweaver-portal/blog/2011/06/26/getting-started-with-netweaver-73-port...

Hope tihs may help in your case too.

Regards,

Saurabh M

 

 

Former Member
0 Kudos

Hi Saurabh,

I have followed the steps in weblink, still the compilation issue persist

Thanks

DHK

former_member246153
Active Contributor
0 Kudos

Hi Hari,

This my thread http://scn.sap.com/thread/3167331,please check this one.

Hope it may help you.

Regards,

Srinivasan V