cancel
Showing results for 
Search instead for 
Did you mean: 

EAR file deployed through JSPM but not visible under Portal Applications in EP 7.3

Former Member
0 Kudos

Hi,

We are using EP 7.3 version. We have deployed a java application (.ear file) through JSPM. It has been successfully deployed. But I am not seeing my application under 'Portal applications' header.

Content Admin -- > Portal Applications --> <application not visible>

Can some one please tell me if I am missing anything here.

Accepted Solutions (0)

Answers (2)

Answers (2)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Venkata,

Hope you are doing good.

Firstly was the deployment fine (check note sap note 1715441 - How to deploy .SDA files on J2EE  servers on Netweaver release 7.1 and higher) and check the component info to see if the file is deployed.

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

Former Member
0 Kudos

Hi Venkata,

Has it been developed in NWDS as a Portal Application Project with a portalapp.xml file? If not I don't think it will be visible under portal applications.

Br Jan

Former Member
0 Kudos

You are correct. portal.xml file was not there in my project. I had only web.xml file. I had to create a URL iview to access my project.

Former Member
0 Kudos

How to mark this question as answered and award you points?

Former Member
0 Kudos

Can you help me with the below requirement.

-------------

Hi,

To get logged in user details, I have used below code in EP 7.01 version

IUser user = UMFactory.getAuthenticator().getLoggedInUser();

String strUserId = "";

strUserId = user.getName();

and I was able to retrieve logged in user's userID and printed the userID in log file.

But in 7.3 version, same code is giving me userID as "J2EE_GUEST" and not my userID. We have tried this with many userID logins but getting userId as "J2EE_GUEST".

Can someone please tell me why I am getting userID as "J2EE_GUEST" and how to get the logged in UserID.

Former Member
0 Kudos

Hi Venkata,

To award points you need to be logged in. Then on the answer you want to reward you simply press the "Correct answer" or "Helpfull answer" button.

BR Jan

Former Member
0 Kudos

Hi Venkata,

I'm not sure why this is not working anymore. Maybe the API is updated in 7.3 but I think it should be backward compatible so maybe search for SAP notes. I suggest you create your question as a new question in the forum so that more people will see it and hopefully someone has the answer.

BrJan

Former Member
0 Kudos

Probably you can use this Code:

IUser user = WDClientUser.getCurrentUser().getSAPUser();

String userID = user.getUniqueName();