cancel
Showing results for 
Search instead for 
Did you mean: 

Error running imported PAR on 7.31

0 Kudos

Hi all,

I have migrated a simple PAR from 7.0 to 7.31 but I can not run it.

I get the following error message:

"com.sap.engine.services.deploy.exceptions.ServerDeploymentExceptions: Application sap.com/MyApp cannot be started. Reason: it has hard reference to library:com.sapportals.portal.prt.component, which is not active on the server because library is not deployed on server. Probably application sap.com/MyApp declares runtime but no deploytime dependency to the library which is wrong. Deploy the missing library com.sapportals.portal.prt.component as a workaround or contact application owners to check their references".

xml file:

<?xml version="1.0" encoding="UTF-8"?>

<application>

<application-config>

<property value="sap.com" name="Vendor"/>

<property value="SAPJ2EE::library:com.sap.portal.common,

                         SAPJ2EE::library::tc~cmi, com.sap.portal.common.commonservices,

                         SAPJ2EE::library:com.sapportals.htmlb, com.sap.portal.navigation.api_service,

                         com.sap.portal.navigation.helpservice, com.sap.portal.navigation.service,

                         com.sap.portal.productivity.resolverservice,

                         com.sap.portal.navigation.afp.helperservice,

                         com.sap.portal.runtime.system.favorites,

                         SAPJ2EE::service:engine.security.facade,

                         SAPJ2EE::library:com.sap.base.technology.facade,

                         SAPJ2EE::library:engine.j2ee14.facade, com.sap.portal.search.provider_api,

                         com.sap.portal.search.service, com.sap.portal.contenttaggingservice,

                         SAPJ2EE::library:tc~epbc~pcd~gl~api" name="PrivateSharingReference"/>

</application-config>

<components>

<component name="Banners">

<component-config>

<property value="com.mln.Banners" name="ClassName"/>

<property value="jspnative" name="ComponentType"/>

<property value="pagelet/Banners.jsp" name="JSP"/>

</component-config>

</component>

<component name="Banners">

<component-config/>

<component-profile/>

</component>

</components>

<services/>

</application>

Banners.jsp

<hbj:content id="myContext" >

<hbj:page title="PageTitle">

<hbj:form id="myFormId">

<TABLE border="0" cellspacing="0" cellpadding="0">

<TR>

<TD width="10px">   </td>

<TD align="right">

<a class="community" href="MMMMM"

onClick=return EPCM.doNavigate('ROLES://portal_content/XXX')"

target="_parent">

<img src="<%=componentRequest.getWebResourcePath()+"/images/Banner1.jpg"%>" border="0">

</a>

</TD>

</TR>

</TABLE>

</hbj:form>

</hbj:page>

</hbj:content>

Accepted Solutions (0)

Answers (2)

Answers (2)

cristiano_mazzotti
Active Participant
0 Kudos

Hi Aviad,

Did you ported your Application to 7.31 or you
just used the PAR migration tool?

If you only used the PAR migration tool it is
very likely that the application will not work.

From 7.0 to 7.3 onwards, there were huge
changes on the Portal and many libraries were removed/changed causing 7.0
applications not to run on 7.3.

Please check the link below on how to port the 7.0
applications to 7.3.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b84b1f-9d37-2f10-bc9e-e61d943bf...

Best regards,

Cristiano L. Mazzotti

former_member185239
Active Contributor
0 Kudos

Hi Aviad,

I think you are missing the commponent com.sapportals.portal.prt.component.

Checked the component in system information.

With Regards

Ashutosh Chaturvedi

0 Kudos

Hi,

Where and how to check?

Isn't this a basic component?

Aviad

former_member185239
Active Contributor
0 Kudos

Hi Aviad,

You will find the information of  in the

http://server:<port>/sap/monitoring/ComponentInfo

With Regards

Ashutosh Chaturvedi

0 Kudos

Hi Ashutosh Chaturvedi,

According to the "ComponentInfo" com.sapportals.portal.prt.component does not exist.

Aviad

former_member185239
Active Contributor
0 Kudos

Hi Aviad,

I too check in my system , i didn't get it.

I think it exists in older version.

com.sapportals.portal.prt.component Class Hierarchy (Enterprise Portal (SPS 15))

After the migration of par file ,  are you getting the .ear file?

With Regards

Ashutosh Chaturvedi

0 Kudos

Hi,

I do get the EAR file, and I am able to deploy it without errors.

There is "only" a runtime error as mentioned above.

Best Regards,

Aviad

former_member185239
Active Contributor
0 Kudos

Hi Aviad,

When are you getting the runtime error?

Kindly explain the scenario

With Regards

Ashutosh Chaturvedi

0 Kudos

Hi,

When I run the EAR in an iView on the portal.

Best Regards,

Aviad