The information in the following sections applies only to those using the WebSphere Application Server.
Running WebSphere on AIX
If using WebSphere on AIX, to avoid errors when importing application data using Oracle ATG Web Commerce import scripts, you must set the following in the <ATG10dir>/home/localconfig/postEnvironment.sh
file:
JAVA_ARGS="${JAVA_ARGS} -Djava.net.preferIPv4Stack=true"
You must also set it in the WebSphere environment:
In WebSphere Admin, go to Servers > Application servers >
server
_name
>Java and Process Management > Process Definition > Java Virtual Machine.Under Generic JVM arguments set the following:
-Djava.net.preferIPv4Stack=true
If you do encounter this problem, you will see errors such as the following:
Error: Jan 30, 2008 12:45:01 PM javax.jmdns.JmDNScloseMulticastSocket
WARNING: closeMulticastSocket() Close socketexception
java.net.SocketException: The socket name is not available on this system.
XA Data Sources on WebSphere
To use XA data sources with WebSphere, add the following line to your <ATG10dir>/home/servers/servername/localconfig/GLOBAL.properties
file:
localTransactionModeInitialization=false
Creating ACC Scenarios on WebSphere
In order to create scenarios in the ACC, you must add the <WSdir>/AppServer/j2ee.jar
file to your class path. To do this, copy j2ee.jar
into the /lib
directory of your standalone ACC installation, then modify the bin/startClient.bat
file to include j2ee.jar
in the class path.
Using Oracle ATG Web Commerce Multisite on WebSphere
If you are using the Oracle ATG Web Commerce multisite feature on WebSphere, in order to use virtual context roots, do the following:
In WebSphere Admin, go to Servers > Server Types > WebSphere application servers >
server_name
> Web Container settings > Web Container > Custom Properties.Set the
com.ibm.ws.webcontainer.invokefilterscompatibility
property to true.
In order for session recovery to function across a multisite installation, make sure to set the following properties as indicated on each application server:
Enable URL rewriting – Enabled
Enable protocol switch rewriting – Enabled
HttpSessionReuse
– True