I am trying to run my ADF app in a cluster and my login page redirects back on itself endlessly.
Note this has been resolved - we restarted the entire weblogic server and the problem dissapeared. (I think something went wrong in the deployment) the one other change I made was to change the inner xml of session-descriptor in weblogic.xml FROM: <sharing-enabled>true</sharing-enabled> TO:
<persistent-store-type>REPLICATED_IF_CLUSTERED</persistent-store-type> this should not make a difference but I though I would mention it.
Here are my notes to self as I moved through the process.
Application
adf-config.xml
Web.xml
Weblogic Setup (I am testing locally on windows for now)
Note this has been resolved - we restarted the entire weblogic server and the problem dissapeared. (I think something went wrong in the deployment) the one other change I made was to change the inner xml of session-descriptor in weblogic.xml FROM: <sharing-enabled>true</sharing-enabled> TO:
<persistent-store-type>REPLICATED_IF_CLUSTERED</persistent-store-type> this should not make a difference but I though I would mention it.
Here are my notes to self as I moved through the process.
Application
adf-config.xml
<adf-controller-config xmlns="http://xmlns.oracle.com/adf/controller/config">
<adf-scope-ha-support>true</adf-scope-ha-support>
</adf-controller-config>
<context-param>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>Weblogic Setup (I am testing locally on windows for now)
- C:\Dev\Middleware\wlserver_10.3\server\bin\startNodeManager.cmd - start node manager before you can start managed servers
- Add to Domain -- Enviroment -- servers -- your managed servers -- configuration tab -- server start tab -- arguments text area : -Xms1536m -Xmx1536m -Duser.timezone=+02:00 -XX:MaxPermSize=512m
- Make sure you have all the properties and classpaths set (you can copy and paste them from startup)
Hi,
ReplyDelete> -Xms1536m -Xmx1536m
you have a solid machine ;) How many of these Managed servers are you able to run locally?
Do you use an LB in front? ohs_mod_wl? LB-Servlet?
Andreas.
Hi Andreas, yhea we believe that developers should always have the best machines :)
ReplyDeleteAnyway we intend to use ohs_mod_wl or apache if that fails, we have not quite got there yet but will soon.