cancel
Showing results for 
Search instead for 
Did you mean: 

JAR files required for Portal Application

Former Member
0 Kudos

Hi Experts

I am currently migrating my custom Masthead application from NW 7.0 to NW 7.3. However, when I migrated the PAR into EAR using migration tool from Portal and imported this EAR file into NWDS7.3, the JSP pages in it shows error. Also when this EAR is directly deployed on the NW 7.3 system, it gives Portal Runtime exception.

<%@ page import = "com.sapportals.portal.prt.session.IUserContext" %>

<%@ page import = "com.sapportals.portal.prt.component.*" %>

<%@ page import = "com.sapportals.portal.prt.service.laf.*" %>

<%@ page import = "com.sap.security.api.*" %>

<%@ page import = "com.sapportals.portal.prt.service.license.ILicenseService"%>

<%@ page import = "com.sapportals.admin.wizardframework.util.ILocaleListService"%>

<%@ page import = "com.sapportals.portal.navigation.*" %>

<%@ page import = "com.sapportals.portal.prt.runtime.PortalRuntime" %>

<%@ page import = "com.sapportals.portal.prt.util.StringUtils" %>

<%@ taglib uri="prt:taglib:tlframework" prefix="frm" %>

The errors shown in the JSP page are due to missing JARs. But I am having trouble in locating the required JAR files on the server. Can anybody tell about which all JARs are required and where i can find them??

Also the imported Framework library is not accessible in the application thus there is error "Can not find the tag library descriptor for "prt:taglib:tlframework"".

Can anybody tell me what i am missing here??

Regards,

Deepak

prasadkodati
Explorer
0 Kudos

Hi Deepak,

We are having the same import errors in NWDS 7.5 but unable to find jar files in server.

Please help me how can i get those jar files.


Regards,

Vara Prasad

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Experts

I could get the JARs required and define them in my application, however i am getting error that "ComponentRequest" could not be resolved. Can you tell me what import statement/JAR will resolve this issue??

Thanks in Advance.

Regards,

Deepak

Former Member
0 Kudos

Hi Deepak,

Could you tell me where did you find the .jar files required? I have the same "import" error messages like you...

Thanks!

Miguel.

Former Member
0 Kudos

Hi Experts

It seems that the NWDS7.3 behaves incorrectly. Even though it is showing error for "componentRequest", when I deployed the WAR file on the server, it is working perfectly fine.

Regards,

Deepak Salokhe

Former Member
0 Kudos

Hi Miguel

You need to search these JARs on your server. They will be available under following location :

/usr/sap/<System ID>/J<System Instance>/j2ee/cluster/apps/sap.com

under this location you will find all standard SAP applications and in their lib files you will get required JARs.

Its really cumbersome to check so many folders and pick put those JARs ..

I hope this helps you.

Regards,

Deepak

Former Member
0 Kudos

Thanks so much Deepak!

Former Member
0 Kudos

Hi Deepak,

Can you tell me which JAR files you added to resolve build time errors.

I am facing the following errors after importing Std masthead from portal7.3.

Can not find the tag library descriptor for "prt:taglib:tlframework"

Can not find the tag library descriptor for "prt:taglib:tlhtmlb"

componentRequest cannot be resolved

ILocalesListService cannot be resolved

ILocalesListService cannot be resolved to a type

noBtn cannot be resolved

Syntax error on token "}", delete this token

Syntax error, insert "}" to complete Statement

The import com.sap.portal.core cannot be resolved

The method enableCloseAll() is undefined for the type NavigationEventsHelperService

The method getDynamic(String, null) is undefined for the type IUMParameters

The method getDynamic(String, String) is undefined for the type IUMParameters

yesBtn cannot be resolved

Please give your mail Id if possible.

Regards,

Sumangala

Former Member
0 Kudos

Hi,

Can you tell me the path, from where i can download the Classic MasterHead War File (com.sap.portal.navigation.masthead.war) and its relevant libraries

Regards

DHK

Former Member
0 Kudos

Hi,

You can find it in following location:

/usr/sap/<SID>/<INST>/j2ee/cluster/apps/sap.com/com.sap.portal.navigation.masthead/servlet_jsp/com.sap.portal.navigation.masthead

Artur

Former Member
0 Kudos

Hi Artur,

Appreciate your Prompt reply, we are using Portal 7.3.

as mentioned in your reply, i could not find the MasterHead War file in the above specififed location

Regards

DHK

Former Member
0 Kudos

Hi,

The path I gave is for 7.3

Artur

Former Member
0 Kudos

Thanks Artur, finally was able to downlad the WAR file,

can you please tell me where can i find the dependent jar files

Regard

DHK