Hybris 6.0.0 to 6.3.0

In this post I am publishing the high level features and deprecations which got injected into SAP Hybris ecommerce platform between 6.0.0 and 6.3.0 versions.

hy6.PNG

The detailed slides are available in slideshare for download.

References

6.3 – https://help.hybris.com/6.3.0/hcd/8c39dca2866910148073b1b86eeec916.html

6.2 – https://help.hybris.com/6.2.0/hcd/8c39dca2866910148073b1b86eeec916.html

6.1 – https://help.hybris.com/6.1.0/hcd/8c39dca2866910148073b1b86eeec916.html

6.0 – https://help.hybris.com/6.0.0/hcd/8c39dca2866910148073b1b86eeec916.html

Advertisements
Hybris 6.0.0 to 6.3.0

Migrated to WordPress

After many years blogging with blogspot.com, I finally decided to end my attachment with blogspot and migrate contents to WordPress.

Migration is completed and all my blogspot posts are migrated to wordpress.

It’s been awhile that I blogged something about technology. I think it’s time for a restart of everything that I did and enjoyed long back.

I would continue blogging using wordpress going forward.

Keep you all posted. Stay in touch.

Dont

Migrated to WordPress

Manually generating heapdumps in Websphere

This post explains the steps on generating heapdumps in Websphere on windows 

  1. Navigate to C:\IBM\SDP\runtimes\base_v7\bin
  2. Execute wsadmin.bat
  3. Execute the following in wsadmin prompt
set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]
$AdminControl invoke $jvm generateHeapDump
$AdminControl invoke $jvm dumpThreads
Manually generating heapdumps in Websphere

Websphere Commerce Deployed EAR version

From deployed ear file wcbd-deploy-info.properties, we can figure out the current Websphere commerce deployment package installed on the server. 
The location of this file would be under the deployed EAR




This file has a number of other informations related to the deployment


Here is a sample wcbd-deploy-info.properties

#Fri, 16 Jan 2015 05:19:54 +0000

build.label=2015-01-16_03-47-05_17
build.date=2015/01/16
wcbd.version=101129asup
target.env=uat
connector.module.list=
ejb.module.list=Payments-Plugin-PayPal,Payments-Plugin-PayPoint
existing.web.module.list=Stores,LOBTools
new.web.module.list=
context.root.mapping.list=
partial.app.zip.includes=
partial.app.zip.excludes=
was.host.list=SERVER NAME
db.type=db2
db.name=DB SERVER NAME
db.schema.name=DB SCHEMA NAME
run.dataload.sql.common=false
run.dataload.sql.target=false
run.dataload.xml.common=false
run.dataload.xml.target=false
run.dataload.acug.common=false
run.dataload.acug.target=false
run.dataload.acp.common=true
run.dataload.acp.target=true
run.dataload.acpnls.common=false
run.dataload.acpnls.target=false
wsadmin.deploy.script.file=/usr/WebSphere/CommerceServer70/deployments/jenkins/wcbd-deploy-server-2015-01-16_03-47-05_17/scripts/wcbd-wsadmin.py

rollout.update=true

Websphere Commerce Deployed EAR version

God’s presence at Railway Station

Another distressing incident just got vanished because of the presence of mind of an young guy. 


Friday morning (17-Jan-2014) I board on Kollam-Trivandrum passenger on my way to work at Technopark, Kerala. The train was overly crowded because of late running’s of trains these days in Kerala. 


And as usual its a big chaos at Kazhakootam railway station as every one inside the train has to disembark. And then the train took off a sudden in less than 30 seconds.
One lady who was trying to board got trapped and slipped into the rail, a person (I would say its God) who was standing close to her got hold off her hair and pulled her back to the platform. Its the presence of mind of that person had eventually saved the lady from an unfortunate end.


It been quiet a while that people who depend on Kazhakootam railway station demands more train stops during peak hours. The cry for this would have been easily close to 2 decades and still the authorities and politicians are reluctant to act up on.


Dear politicians, do you act only when you see these sought of unfortunate things?
Why do authorities put down this very needed request?


Take a look at the number of institutional bodies operate in Kazhakootam area

  1. Technopark – Employing over 42,500 people
  2. Infosys – Officially just above 5000 folks. Once the new infrastructure is completed, the count will be over 13000 – Source
  3. Vikram Sarabhai Space Center (a.k.a VSSC)
  4. Karyavattam Kerala University Campus
  5. College of Engineering and Technology (CET)
  6. Sainik School
  7. Kinfra Film and Video park
  8. Technopark extension at Kinfra Film and Video park
  9. Technopark Phase 111 campus
  10. Marian Engineering College

Above is just an incomplete list based on limited knowledge. But I am sure there will be more highly populated organizations in and around Kazhakootam technopark area.


Public transportation should be for people benefits, it should not be biased on votes of people around that area.


One unconfirmed report from Railway authorities is that, the revenue in Kazhakootam is not on a scale and is the reason why railway is not allowing more train stops.


The Kazhakootam railway station is undoubtedly the forgotten railway station in South Kerala. Several agitation and campaigns have been conducted but all in vain. 


Here is one such which happened recently


Politicians, authorities please open you eyes

God’s presence at Railway Station

ADMA0010E: A Validation error occurred in task Selecting virtual hosts for Web modules

If your come across the following error while deploying a web application to websphere

ADMA0010E: A Validation error occurred in task Selecting virtual hosts for Web modules

Then the issue would be your might be missing the following file in your web archive (war)

ibm-web-bnd.xml
ibm-web-ext.xml 

Ensure that you have those files present in the archive and the redploy the application. 
I have come across this error while deploying a new web module to Websphere commerce server using wcbd scripts.


Here is the complete error I have seen in my wcbd wasadmin target 

wcbd.wsadmin.helper:
   [echoNL] Running wsadmin on localhost with /usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/scripts/wcbd-wsadmin.py.
  [wsadmin] profileName=template registry=/usr/WebSphere/AppServer70/properties/profileRegistry.xml
  [wsadmin] profileHome=/usr/WebSphere/AppServer70/profiles/template
  [wsadmin] WASX7209I: Connected to process "dmgr" on node templateCellManager01 using SOAP connector;  The type of process is: DeploymentManager
  [wsadmin] WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[WC_template, /usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/scripts, /usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/working/module,  , TmplGenericPaymentPlugin,WebSphereCommerceServerExtensionsData, WebSphere Commerce DB2 DataSource template, TmplPenguin,  , /usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/working/partialapp.zip, false, 300,  , false,  ,  ,  ,  , true, false]"
  [wsadmin] Deploying Web module TmplPenguin.war to WC_template.
  [wsadmin] Started: 2013/12/31 07:07:18
  [wsadmin] WASX7327I: Contents of was.policy file:
  [wsadmin]  //
  [wsadmin] // Template policy file for enterprise application.
  [wsadmin] // Extra permissions can be added if required by the enterprise application.
  [wsadmin] //
  [wsadmin] // NOTE: Syntax errors in the policy files will cause the enterprise application FAIL to start.
  [wsadmin] //       Extreme care should be taken when editing these policy files. It is advised to use
  [wsadmin] //       the policytool provided by the JDK for editing the policy files
  [wsadmin] //       (WAS_HOME/java/jre/bin/policytool). 
  [wsadmin] //
  [wsadmin] 
  [wsadmin] grant codeBase "file:${application}" {
  [wsadmin] };
  [wsadmin] 
  [wsadmin] grant codeBase "file:${jars}" {
  [wsadmin] };
  [wsadmin] 
  [wsadmin] grant codeBase "file:${connectorComponent}" {
  [wsadmin] };
  [wsadmin] 
  [wsadmin] grant codeBase "file:${webComponent}" {
  [wsadmin] };
  [wsadmin] 
  [wsadmin] grant codeBase "file:${ejbComponent}" {
  [wsadmin] };
  [wsadmin] 
  [wsadmin] 
  [wsadmin] WASX7017E: Exception received while running file "/usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/scripts/wcbd-wsadmin.py"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7109E: Insufficient data for install task "MapWebModToVH
  [wsadmin] 
  [wsadmin] ADMA0010E: A Validation error occurred in task Selecting virtual hosts for Web modules. A virtual host is not specified for Web module TmplPenguin with URI TmplPenguin.war,WEB-INF/web.xml."
  [wsadmin] 
ADMA0010E: A Validation error occurred in task Selecting virtual hosts for Web modules