Tuesday, August 30, 2011
Sunday, August 28, 2011
Change GateIn Context path
For Jboss bundle here: http://community.jboss.org/wiki/ChangeGateInContextPath
For Tomcat bundle, we change some files:
1. Rename portal.war->myportal.war
2. In myportal.war/WEB-INF/web.xml
Change tomyportal
3. gatein/conf/configuration.xml
default.portal.container
myportal
]]>
4. To avoid some other exceptions:
- Rename tomcat/conf/Catalina/portal.xml to tomcat/conf/Catalina/myportal.xml
- Change some value related to docBase to myportal value
For Tomcat bundle, we change some files:
1. Rename portal.war->myportal.war
2. In myportal.war/WEB-INF/web.xml
Change to
3. gatein/conf/configuration.xml
]]>
4. To avoid some other exceptions:
- Rename tomcat/conf/Catalina/portal.xml to tomcat/conf/Catalina/myportal.xml
- Change some value related to docBase to myportal value
Friday, August 26, 2011
Run Web Application Server with Debug mode
Example for Jboss gatein:
EXO_CONFIG_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.exoplatform.container.configuration.debug"
JPDA_TRANSPORT=dt_socket
JPDA_ADDRESS=8000
REMOTE_DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
JMX_AGENT="-Dcom.sun.management.jmxremote"
JAVA_OPTS="$JAVA_OPTS$EXO_CONFIG_OPTS $REMOTE_DEBUG"
export JAVA_OPTS
EXO_CONFIG_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.exoplatform.container.configuration.debug"
JPDA_TRANSPORT=dt_socket
JPDA_ADDRESS=8000
REMOTE_DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
JMX_AGENT="-Dcom.sun.management.jmxremote"
JAVA_OPTS="$JAVA_OPTS$EXO_CONFIG_OPTS $REMOTE_DEBUG"
export JAVA_OPTS
Subscribe to:
Posts (Atom)