on 08-30-2012 6:48 AM
Hi Experts,
I have to customize standard classic Masthead in portal 7.3
Step 1: I have imported com.sap.portal.navigation.masthead.war into NWDS (Version: 7.3 SP07 PAT0000) with different Name
(AI_MastHeadCustomization)
Step2: Inorder to avoid errors, i have added below JAR files
Step 3: I have created an EAR file (AI_MastHeadCustomizationEAR)
Question 1: Did i miss any JAR file
Question 2: What should i add in application-j2ee-engine.xml in place of application0.
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="application">application0</reference-target>
</reference>
Attached is application-j2ee-engine.xml for your reference
Please Advice
Regards
DHK
Hello Hari,
You can check the following link, which would help you in customizing the Masthead for Portal 7.3.
Regards,
Nittin Garg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hari,
What is your issue here? you seem to have done all the necessary things. Then, what are you struck with? Please details your problem more clearly.
Regards
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uday,
When trying to deploy the EAR file, i am getting an Error
*******************************************************************************************************
S U M M A R Y
~~~~~~~~~~~~~~~~~~~
Successfully deployed: 0
Deployed with warnings: 0
Failed deployments: 1
~~~~~~~~~~~~~~~~~~~
ASJ.dpl_dc.006505 An unresolved dependencies error occurred while sorting the deployment batch items regarding the dependencies.
1. File:C:\Documents and Settings\Administrator\Desktop\AI_MastHeadCustomizationEAR.ear
Name:AI_MastHeadCustomizationEAR
Vendor:sap.com
Location:localhost
Version:2012.08.21.11.42.17
Deploy status:PrerequisiteViolated
Version:NEW
Description:
1. Unresolved dependencies:
${DependencyCompVendor0}/application0 not found in the admitted batch items and the repository
Exception:
com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DependenciesResolvingException.
Reason: ASJ.dpl_dc.006505 An unresolved dependencies error occurred while sorting the deployment batch items regarding the dependencies.
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:891)
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)
at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:105)
at com.sap.ide.eclipse.j2ee.engine.deploy.view.deploy.action.DeployAction$DeployActionJob.run(DeployAction.java:278)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.sap.engine.services.dc.cm.deploy.DependenciesResolvingException: ASJ.dpl_dc.006505 An unresolved dependencies error occurred while sorting the deployment batch items regarding the dependencies.
at com.sap.engine.services.dc.cm.deploy.impl.DependencyResolver.resolve(DependencyResolver.java:71)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.resolveDeploymentBatch(DeployerImpl.java:893)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deployInternal(DeployerImpl.java:399)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:224)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:910)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:462)
at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72)
at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43)
at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:983)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:59)
at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDependenciesException: [ERROR CODE DPL.DC.3437] Unresolved dependencies found for the following deployment items: [
1. Component: name: [AI_MastHeadCustomizationEAR], vendor: [sap.com], location: [localhost], version: [2012.08.21.11.42.17], software type: [J2EE], csn component: [], dependencies: [[name: 'application0', vendor: '${DependencyCompVendor0}']], archive type: [DC]
Unresolved dependency:
name: 'application0', vendor: '${DependencyCompVendor0}' ( not found in the admitted batch items and the repository)
].
at com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.impl.SduDependenciesResolverImpl.resolve(SduDependenciesResolverImpl.java:218)
at com.sap.engine.services.dc.cm.deploy.impl.DependencyResolver.resolve(DependencyResolver.java:59)
... 14 more
*******************************************************************************************************
Regards
DHK
Hi Hari,
Looks like you have missed adding a Dependent DC.
Followings like of your log trace explains that
Description:
1. Unresolved dependencies:
${DependencyCompVendor0}/application0 not found in the admitted batch items and the repository
Exception:
Check for the dependency DCs if any required and add them and then try deploying after that.
Let me know if you face any further errors or need any further assistance.
Regards
Uday
Hi Hari,
I was actually guiding you wrongly. I was taking an example of DC with similar errors. But because yours is standard .WAR file deployment, it obviously dont need to add any dependent DCs.
However, following line does imply to some kind of dependency. I am not quite sure what its pointing to. I can only give you hint but would not be able to say exactly what is missing.
"DependencyCompVendor0}/application0"
Here it does refer to "application0", which is a part of your XML. I would suggest you do little research on your own. However, I can provide you with few similar issue related threads.
http://scn.sap.com/thread/1153421
http://scn.sap.com/thread/1980128
Use these wiki links as well:
http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTTSG)(Deploy)Problems-P88
http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTTSG)(Deploy)Problems-P23
Hope it helps.
Regards
Uday Kanike
7666975111
Hi Uday,
I have modified the war file and deployed it on server. Now my question is How to create the iview from the deployed application? I am unable to the copy the deployed application as a pcd object, rather I can only copy the individual iviews in it viz. Header, Logoff etc as pcd objects.
Can you please explain how to create the iview from custom classic masthead application?
Regards,
Karan
Hi Karan,
First of all, I suggest you understand the portal Architecture. Masthead is an iView in itself. When you say that you are modifying WAR file of Masthead, it means you are actually modifying the masthead iview itself. This iview is internally built using CSS and javascript languages. So, to actually change the look and feel of masthead or add your custom code to it, you need to modify it WAR file. Try to do little bit more research on what is WAR file ?
Hope you find a way or let me know if you need further assistance.
Regards
Uday
Hi Uday,
Masthead war comprises of a light_headeriview.jsp which needs to be modified to achieve the masthead customizations. It turns out that when I deploy the war file, I get different iviews under the custom masthead application under the Portal Applications. Now for the masthead, i chose the Header iview which has light header as description as this is the one which corresponds to the masthead visible to the user.
Although I was able to deploy the masthead successfully after the changes, but still wasn't able to resolve the component request error in the jsp. Do you have any idea about this?
Thanks,
Karan
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.