on 2018 Sep 07 10:35 AM
Hi All, My current project based on hybris 4.7 version. I have requirement to add few custom attribute in custom item type.
I have follow the below steps. 1)I have added attribute in *items.xml 2)Build the application(ant clean all) 3)Start the hybris serevr. 4)Run the system update with uncheck(Create Esential data).
After complition of hybris update, i have validated the attribute through flexy search query. Its working fine at preprod environment.
1)Copy *items.xml 2)run antproductioncommand. 3)run ant clean all 4)run hybris server 5)run hybris system update.
After complition of hybris update, i have validated the attribute through flexy search query. Its working fine at preprod environment.
1)Copy *items.xml 2)copy servicelayer folder from preprod environment which is generated during antproduction. 3)copy platformwebservice folder from preprod environment which is generated during antproduction. 4)run ant clean all 5) validated model class and found added attribute available. 6)run hybris server 7)run hybris system update.
After complition of hybris update, i have validated the attribute through flexy search query. added attribute not available in respective item type.
Please suggest here. not understand why this things happen on production.Except production its working fine on Dev server, SIT server and UAT server.
Request clarification before answering.
Wow, there is so much going on in your question...
First of all, hybris 4.7 is not supported any more, at all
Second, your deployment process seems to be faulty.
What you should do:
On your CI server, create the deployment artifacts via ant production
The zip files contain everything that's necessary! There is no need to copy additional files!
copy the generated zip files to your target environment
On the target environment:
Delete the old version, e.g. rm -rf /path/to/install/hybris/bin
unpack the zip files (copied in step 2) to your installation folder, e.g unzip *.zip -d /path/to/install/
You now should have your new version in hybris/bin
Adapt / update config files, if necessary
run ant all
(only necessary because of 4.7!)
In newer versions you would use ant deploy -Dde.hybris.platform.ant.production.skip.build=true
start server
run hybris update etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
17 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.