Add the following to your log4j.xml
<category name="org.jboss.ejb.plugins.cmp">
<priority value="DEBUG" />
</category>
Tuesday, February 28, 2006
Tuesday, February 21, 2006
Turning on tomcat's access log in jboss
Edit the file:
jboss-4.0.3\server\default\deploy\jbossweb-tomcat55.sar\server.xml
Uncomment the following section:
The log file would be created:
jboss-4.0.3\server\all\log\localhost_access_log.2006-02-21.log
jboss-4.0.3\server\default\deploy\jbossweb-tomcat55.sar\server.xml
Uncomment the following section:
<!-- Access logger -->
<valve classname="org.apache.catalina.valves.FastCommonAccessLogValve" prefix="localhost_access_log." suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log" resolvehosts="false">
</valve>
The log file would be created:
jboss-4.0.3\server\all\log\localhost_access_log.2006-02-21.log
Starting up 2 jboss nodes on windows with HASingleton
One can start up 2 jboss nodes on the same machine, if you have any problems startin up your nodes then define them explicitly in tcp mode rather than udp mode (HASingleton prooved to be working much better in tcp mode):
Setting up tcp mode instead of udp mode is very easy:
a. in cluster-service.xml
b. bind_addr="localhost"
c. start_port="7800" on first node and 7801 on the other node
d. initial_hosts="localhost[7800],localhost[7801]" on one node and on the other initial_hosts="localhost[7801],localhost[7800]"
Setting up tcp mode instead of udp mode is very easy:
a. in cluster-service.xml
b. bind_addr="localhost"
c. start_port="7800" on first node and 7801 on the other node
d. initial_hosts="localhost[7800],localhost[7801]" on one node and on the other initial_hosts="localhost[7801],localhost[7800]"
Subscribe to:
Posts (Atom)