Add/remove to segment

2015-04-06 00:04:22 - No Comments

Customer segments aren’t the most straight forward concept. It should be and works fine but the back-end handling seems to be a set of different solutions put together to make the whole. First of we have the customer segments created as member groups. These groups have names and some small settings but only a few […]

Read more →

Remote search server on a development environment after FEP7

2015-02-19 11:02:43 - No Comments

Quick note just to save this small information. IBM support is telling us that it’s impossible to use Commerce Developer with an external Solr server. After some research I found which config file to change in order to change which server it will call. [WCDEV_INSTALL]\wasprofile\config\cells\localhost\nodes\localhost\servers\server1\namebindings.xml This file has multiple entries for configuring the search. Changing […]

Read more →

Fetching prices from pricerule in java

2014-06-30 00:06:13 - No Comments

This week I’ve looked into fetching list prices using the list price rule defined in commerce. There isn’t any GUI to set the rule used for your list prices. And if you just fetch the value from CatalogEntryDataBean getListPrice you will get the value in the table LISTPRICE which should be deprecated in FEP6. You […]

Read more →

Log4J your application server

2014-04-07 00:04:21 - No Comments

We’re looking into a solution using log4j to consolidate our logs in an third-party system using Application server and IBM has disabled the support for log4j in the application servers logging framework. I tried to reverse this process and check what was needed to enable this feature again. First of we need the log4j framework […]

Read more →

Changing the user of a PersistentSession

2014-03-17 00:03:20 - No Comments

Trying to implement a SQRL login for Websphere Commerce I ran in to the issue of changing the logged in user from another session. To accomplish this I used the persistent sessions in commerce fetching an activity and changing what user ran in that session. If you want to enable this behavior you need to […]

Read more →

Precompile JSP files

2014-03-10 13:03:45 - No Comments

If you’ve added the JSP performance enhancements I’ve discussed in an earlier post. Then I talked about a flag that disabled JSP compilation. In order to run without compilation enabled you need to precompile your JSP files. This could be done with the JspBatchCompiler command found inĀ {WAS_ROOT}/bin This command has multiple parameters but only a […]

Read more →

Optimization jsp handling

2014-03-03 00:03:03 - No Comments

I was looking into an performance issue the other day and came by some small interesting changes you could do to your Websphere Application Server to increase performance and remove locks. The first was located in the fileĀ Stores.war/WEB-INF/ibm-web-ext.xml a file that I’ve never looked at. Seems that the WAS developers enabled support for handling the […]

Read more →

Webservice connection timeouts

2014-02-27 05:02:56 - No Comments

I had a problem with some webservices connections timing out in our environments and I thought that the timeouts where a bit long. Most of our webservices run inline with a user request and some of the default timeouts didn’t make the cut. com.ibm.websphere.webservices.http.connectionTimeout=300 com.ibm.websphere.webservices.http.maxConnection=50 com.ibm.websphere.webservices.http.SocketTimeout=300 The settings above is the onces set in Websphere […]

Read more →