Skip to main content

ATG Fulfillment - Delay processing of queues during start up

You may have noticed that during a restart of your fulfillment instance all messages in your queue start to be processed even though the instance is not yet fully restarted, this can lead to errors like the following if your triggering a confirmation email for example:

atg.userprofiling.email.TemplateEmailException: Request for URL http://localhost:7001/dyn/init-session?ignoreMetric=true did not return a valid session.  Please check your settings for siteHttpServerName, siteHttpServerPort, applicationPrefix and initSessionURL for component /

In order to delay the processing of messages from fulfillers in /atg/dynamo/messaging/MessagingManager you need to update the schedule for your /atg/dynamo/messaging/SqlJmsProvider.properties by updating the poll schedule to start a few minutes after Nucleus starts instantiating components:

# Allow the server to finish starting up before polling the queue
messagePollSchedule=every 20 seconds in 7 minutes without catch up

If you need to do additional tuning for your fulfillment in regards of messages, have a look at the docs:

Comments

Popular posts from this blog

Configure LDAP SSO for BCC and Endeca Workbench

If you want to setup your BCC with a SSO server along with LDAP validation you can follow the next steps, this is all for OOTB configs: LDAP In Memory Server Feel free to clone and build:  https://github.com/kwart/ldap-server Then you can start it with:  java -jar ldap-server.jar -b 127.0.0.1 -p 10389 ldap_test.ldif Lastly, you can validate connectivity with this command:  ldapsearch -h localhost -p 10389 -x -D "uid=admin,ou=system" -w secret Just make sure that you defined user and organization appropriately. CIM Setup SSO Run <ATG_ROOT>/home/bin/cim.sh Select options as follows: Platform-Guided Search Integration [8] Content Administration Choose Commerce AddOns: [4] Single Sign On (SSO) [D] Done [1] Commerce Only SSO Authentication [1] LDAP Server Authentication [1] Non-Switching Datasource Don't include demo application [2] Index by Product [A] Select Application Server [2] Weblogic Enter Weblogic home path: /your/weblogic/wlserver/path Enter domain path: /your/...

BCC Project Details With SQL Queries

Troubleshooting BCC projects can sometimes be a little tedious if you have to deal with the UI (someone mentioned flash?) while sifting through project assets, sometimes you just want to check if an asset exists on a given project, in what project was an asset updated, the history of a project, etc. etc. While BCC does a good job at presenting such data, sometimes it can get stuck depending on the number of assets it has or even the system resources. Feel free to use the following queries to soothe your pain a little bit:.

Import xml data into BCC with startSQLImport

Sometimes you need to ingest product catalog versioned data (or any other data) into BCC and be able to publish as a project, for that, startSQLImport has been added to ATG to ease your life, this post is based on a previous one about startSQLRepository approach , feel free to look for any additional questions you may have or in case you want to explore that option. Information for configuring it is out there on Oracle docs, however, there are some tricks you might be missing, I'm going to detail steps for getting it up. First of all, make sure you read through Oracle's documentation: https://docs.oracle.com/cd/F25148_01/Platform.11-3-2/ATGContentAdminProgGuide/html/s0513startsqlimport01.html Configure your datasources for database access In order to get started with the utility you need to configure the FakeXADataSource component to allow the utility to connect to your database, you can see documentation from Oracle in  here ....