cancel
Showing results for 
Search instead for 
Did you mean: 

How to create my own JSP in com.sap.portal.runtime.logon.par ?

Former Member
0 Kudos

Hi all,

I need to customize the logon.par. We had an unique requirement in which

we need to create a pop-up after where all vendors must update their data

in ECC and then login to portal.

The steps I did:

1> I copied the com.sap.portal.runtime.logon.par.bak from E:\usr\sap\DJ1\JC61\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment.

There is no file in E:\usr\sap\DJ1\JC61\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.

This might be because the EPBC.SCA didnot get upgraded to SAP NetWeaver 7.01 EHP1 SP5, even if all the others SCAs including JEE, BULIDT etc

upgraded to SAP NetWeaver 7.01 SP5. The EPB.SCA is still SAP NetWeaver 7.01 SP4.

2> We also, have a test Portal where we have the com.sap.portal.runtime.logon.par.bak inside both E:\usr\sap\TJ1\JC63\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd

and E:\usr\sap\TJ1\JC63\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment.

3> The size of the file in both Dev Server and Test Server are same. Size: 347 KB.

4) I renamed the com.sap.portal.runtime.logon.par.bak as newlogon.par and then imported it in SAP NWDS.

It was sucessful, the project name was NewParProject.

Now, whenever I try to create a JSP in PORTAL-INF folder it's failing.

PORTAL-INF right-click, then New -> Other -> J2EE -> Web -> JSP File.

It's telling to select a folder with selection option disabled.

Can anybody tell how to do it?

Regards

Neha Singh

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi Neha,

When you remaned the standard com.sap.portal.runtime.logon.par.bak as newlogon.par and upladed in the NWDS, You should create enter "newlogon" as project name.

Go to Window >> Open Perspective >> Java >> Navigator

Select your newlogon proejct >> Go to dist>> Select PORTAL-INF >> Right Click PORTAL-INF >> New >> File >> Enter you JSP name like Test.jsp. it will work

Now you can write html or jsp code here.

Hope it helps

Regards

Arun

Edited by: Arun Jaiswal on Mar 26, 2010 5:43 PM

Former Member
0 Kudos

Hi Neha,

Regarding your second post you can keep your custom logon.par on a NWDI track.

1) Logon into DTR

2) Goto to your respective Track in active mode

3) Create a Project of type -Portal Application Standalone in Enterprise Portal

4) give the details and hit next.

5) select the option of import from a par file.

6) next give the respective name for your parfile.

your par application is now on a NWDI track. But please make sure you create a lib dc for the jars and use it in your project as used DC's

HTH

-Vivek

Former Member
0 Kudos

Hi Arun,

I did the same steps only but with no result.

I can't select the folder to create JSP.

I can send you the screenshot.

Regards

Neha Singh.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think I need to import the login.par to SAP NWDI track.

But I have heard of importing SCAs in NWDI and not par file.

Regards

Neha Singh