[JBoss-user] [Clustering/JBoss] - Help! Help!
We rolled out a jgroups based cache propogation solution in production. This solution was working in our qa environment. But unfortunately the solution is not working in production. I am using the following configuration string UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE I turned on debug for jgroups I can see the following messages in the log file. xx.xx.105.65 ,xx.xx.105.67,xx.xx.105.69 and xx.xx.105.71 are the machines [org.jgroups.protocols.pbcast.STABLE] received digest xx.xx.105.65:33163#5 (5), xx.xx.105.67:33020#0 (0), xx.xx.105.69:33018#2 (2), xx.xx.105.71:32975#3 (3) from xx.xx.105.69:33018 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,868 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,869 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.PING] received GET_MBRS_REQ from xx.xx.105.65:33165, sending response [PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]] 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.UDP] sending msg to xx.xx.105.65:33165 (src=xx.xx.105.67:33023), headers are {PING=[PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]], UDP=[UDP:channel_name=dictionary]} My understanding is The above log message means that multicasting is enabled. But when I publish text from one of the node; The other nodes does'nt revceive the publish text. I will appreciate your help in this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924317#3924317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924317 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Issue with JGROUPS
This has been a serious pblm for us. I will appreciate any help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923677#3923677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923677 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Configuration
The issue is whenever the application invokes castMessage on an instance of RpcDispatcher , then handler does'nt get invoked in all the other nodes. This solution was working in our qa environment but not working in our prod env. The following is the config UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE We rolled out a jgroups cache based propogation solution in production. This solution was working in our qa environment. But unfortunately the solution is not working in production. I am using the following configuration string UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE >From the below log messages I can see every node is seeing the other nodes. When I turn on debug for jgroups I can see the following messages in the log file. [org.jgroups.protocols.pbcast.STABLE] received digest xx.xx.105.65:33163#5 (5), xx.xx.105.67:33020#0 (0), xx.xx.105.69:33018#2 (2), xx.xx.105.71:32975#3 (3) from xx.xx.105.69:33018 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,868 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,869 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.PING] received GET_MBRS_REQ from xx.xx.105.65:33165, sending response [PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]] 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.UDP] sending msg to xx.xx.105.65:33165 (src=xx.xx.105.67:33023), headers are {PING=[PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]], UDP=[UDP:channel_name=dictionary]} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922046#3922046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922046 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Issue with JGROUPS
We rolled out a jgroups based cache propogation solution in production. This solution was working in our qa environment. But unfortunately the solution is not working in production. I am using the following configuration string UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE I turned on debug for jgroups I can see the following messages in the log file. xx.xx.105.65 ,xx.xx.105.67,xx.xx.105.69 and xx.xx.105.71 are the machines [org.jgroups.protocols.pbcast.STABLE] received digest xx.xx.105.65:33163#5 (5), xx.xx.105.67:33020#0 (0), xx.xx.105.69:33018#2 (2), xx.xx.105.71:32975#3 (3) from xx.xx.105.69:33018 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,868 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,869 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.PING] received GET_MBRS_REQ from xx.xx.105.65:33165, sending response [PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]] 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.UDP] sending msg to xx.xx.105.65:33165 (src=xx.xx.105.67:33023), headers are {PING=[PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]], UDP=[UDP:channel_name=dictionary]} My understanding is The above log message means that multicasting is enabled. But when I publish text from one of the node; The other nodes does'nt revceive the publish text. I will appreciate your help in this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921989#3921989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921989 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Configuration
Ben I get the following message in the log file DEBUG [org.jgroups.protocols.MERGE2] didn't find multiple coordinators in [[own_addr=xx.xx.105.71:32973, coord_addr=xx.xx.105.65:33161, is_server=true], [own_addr=xx.xx.105.69:33016, coord_addr=xx.xx.105.65:33161, is_server=true], [own_addr=xx.xx.105.67:33017, coord_addr=xx.xx.105.65:33161, is_server=true], [own_addr=xx.xx.105.65:33161, coord_addr=xx.xx.105.65:33161, is_server=true]], no need for merge The following is the configuration UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921043#3921043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921043 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Configuration
We rolled out a jgroups cache based propogation solution in production. This solution was working in our qa environment. But unfortunately the solution is not working in production. I am using the following configuration string UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE I turned on debug for jgroups I can see the following messages in the log file. xx.xx.105.65 ,xx.xx.105.67,xx.xx.105.69 and xx.xx.105.71 are the machines [org.jgroups.protocols.pbcast.STABLE] received digest xx.xx.105.65:33163#5 (5), xx.xx.105.67:33020#0 (0), xx.xx.105.69:33018#2 (2), xx.xx.105.71:32975#3 (3) from xx.xx.105.69:33018 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,868 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,869 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.PING] received GET_MBRS_REQ from xx.xx.105.65:33165, sending response [PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]] 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.UDP] sending msg to xx.xx.105.65:33165 (src=xx.xx.105.67:33023), headers are {PING=[PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]], UDP=[UDP:channel_name=dictionary]} My understanding is The above log message means that multicasting is enabled. But when I publish text from one of the node; The other nodes does'nt revceive the publish text. I will appreciate your help in this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921033#3921033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921033 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Configuration
We are using JGROUPS in our application to primary propogate cached data across different nodes in a subnet. It is a very high volume site and has about 8 nodes in the cluster. The following is the Configuration I am using. UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE Everything is working fine in our dev environment. I will appreciate if somebody can validate the connection string I am using before we move this to production. Thanks Hari View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907888#3907888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907888 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Jgroups logging
I am using Jgroups and my log file is filled with these lines INFO NAKACK prevSeqno=-1, last_xmitted_seqno=-1, num_times=sequence Does this message means a node is always chatting with all the other nodes in the subnet. If this is true; is there any way I can reduce the frequency of this chatting. Will it affect the perfomance. Thanks Hari View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906105#3906105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906105 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ValueObject, Serializable, EnitiryBean
I am not sure why you are not using java.lang.Integer as the class for the Primary Key. java.lang.Integer is definetly serializable. I will appreciate if you can explain to me the advantage of using java.lang.Object as the class for the Primary Key? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870221#3870221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870221 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: A question on state replication among clustered JBoss se
for your stateful session bean ; you have to implement a isModified method which the container will invoke b4 deciding to propogate the changes to other nodes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867274#3867274 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867274 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: A question on state replication among clustered JBoss se
for your stateful session bean ; you have to implement a isModified method which the container will invoke b4 deciding to propogate the changes to other nodes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867273#3867273 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867273 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Web-service and clustering
So you need just fail over. Even in that case you have to front end the jboss instances with H/W load balancer or a s/W balancer like Apache WebServer which will do load balancing and fail over. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867142#3867142 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867142 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering : assistance to find the solution
Have you tried using JBOSS cache. Its a global cache across different nodes. For eg: you can store a value of 1 under the tree /a/b. So the leaf /a/b will have the value 1 in all nodes. In your case you can store the values under / (I guess the Client ID will be unique for multiple sessions from the client> . Please take a look at JBOSSCache ; I think that will be the solution to the pblm. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867141#3867141 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867141 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering : assistance to find the solution
Have you tried using JBOSS cache. Its a global cache across different nodes. For eg: you can store a value of 1 under the tree /a/b. So the leaf /a/b will have the value 1 in all nodes. In your case you can store the values under / (I guess the Client ID will be unique for multiple sessions from the client> . Please take a look at JBOSSCache ; I think that will be the solution to the pblm. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867140#3867140 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867140 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Web-service and clustering
JBOSS by itseld does'nt do any loadbalancing on HTTP Requests( Web Services are XML over HTTP) . Jboss comes with built-in-tomcat (catalina container) It provides faciltity to propogate session details to various tomcat instances. If you want HTTP loadbalancing; you should front end the jboss instances with an open source WebServer like Apache or use a H/W load balancer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866940#3866940 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866940 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Tomcat & JBoss EJB question
Did you get any exception; I think you refer to an ejb in the webcontainer and if you are referring it using ejb-ref; then you should resolve the ref-name in jboss-web.xml. Thanks Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866247#3866247 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866247 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ejbLoad() not called in EntityBean
What is the commit option you are using; if you are using commit-option A the data is cached and ejbLoad wont be called for the start of the transaction. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866246#3866246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866246 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: no ejb-link in web.xml and no jndi name in jboss-web.xml
Since the web-tier components and ejb-tier components are seperate. I think you need to resolve the name in jboss-web.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866243#3866243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866243 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: noClassDefFoundError
Classes in the war file wont be visible from the EJB because they all run in a different class loader. If you want to share classes from ejb and war; you need to package the shared class seperately and either copy the jar file to /lib or include the jar file in both EJB and WAR. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866242#3866242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866242 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: noClassDefFoundError
Classes in the war file wont be visible from the EJB because they all run in a different class loader. If you want to share classes from ejb and war; you need to package the shared class seperately and either copy the jar file to /lib or include the jar file in both EJB and WAR. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866241#3866241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866241 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Http session Replication
When you start the jboss instance in all the boxes; do they recongnize each other? What is the version of jboss you are using? Are you using any WebServer's like Apache(mod_jk) and forwarding the requests to JBOSS or are you hitting jboss directly? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866240#3866240 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866240 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Clustering of Stateless Session Bean
If you are using a new partition, then you have to declare the new partition. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866113#3866113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866113 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Http session Replication
If you are using JBOSS-3.2.3 and above; under /deploy/jbossweb-tomcat50.sar/META-INF directory ; there is a jboss-service.xml file. Check whether the following elements are commented out; this enable HTTPSession replication. instant 2000 Thanks Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866074#3866074 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866074 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: state replication of non-serializable fields
I am not sure whether JBOSS provides any call back when state is replicated across a cluster. But JBOSS allows you to plug in your own interceptor ,in the container configuration. You can try whether you have access to the serialized data b4 the container invokes a method on the session bean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865694#3865694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865694 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - JBOSS Cluster
I have a java application which runs outside the jboss application server ,which gets an EJB Home. But the application does'nt pass the url with the JNDI port name, but it still able to get an handle to the home stub. How is that possible?.But the jboss instance and the java client runs in the same box. I will appreciate if somebody can explain to me what is going on. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864731#3864731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864731 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Cluster SessionBean Questions
It looks like your Session Bean is stateless. Session State is propogated only for StateFule Session Beans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864481#3864481 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864481 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Cluster Problem 2
Please check the commit-option you are using. Please check whether you have set the clustered option in jboss.xml for your entity beans to true. If you are using commit-option A , then the container assumes the it has total control over the entity bean(ie. the tables are not updated by other applications,or the same entity bean eunning in another jboss instance) Thanks Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864479#3864479 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864479 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: How to seperate two clusters within the same network ?
We have two developers in the same workgroup (Windows XP) trying to develop in isolation but their JBoss servers (3.2.4 and 4.0.0) keep detecting each other and trying to cluster. How can we stop this? Is this the default behavior? Use different partition name in both nodes. Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864480#3864480 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864480 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: NewBee to Cluster
JBOSS clustering supports only JNDI,EJB and RMI Clustering. It looks like you need HTTP clustering. For that you have to use the clustering provided by Apache or any hard ware load balancer. Thanks Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864478#3864478 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864478 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - DynamicQL and JDBCStoreManager2
I am getting the following exception, when I deploy my entity bean using the container cmp2.x jdbc2 pm with cache invalidation. This configuration uses org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2 as the PersistenceManager. I am getting this following exception. when it tries to process a dynamic QL. Is DynamicQL not supported in the new persistence manager.? 13:01:38,368 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ejb/APErrorQue,service=EJB org.jboss.deployment.DeploymentException: Unsupported query metadata: method=ejbSelectGeneric, metadata=[JDBCDynamicQLQueryMetaData : method=public abstract java.util.Set com.cendian.ap.entity.APErrorQueBean.ejbSelectGeneric(java.lang.String,java.lang.Object[]) throws javax.ejb.FinderException] at org.jboss.ejb.plugins.cmp.jdbc2.QueryFactory.init(QueryFactory.java:105) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863794#3863794 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863794 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Old data retreaved after making an update (cache problem
For turn off caching. Use commit option C. in standardjboss.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863806#3863806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863806 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: cmp2.x jdbc2 pm caching mechanism
Thanks Alex You are right. I had another entity bean using a different configuration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863732#3863732 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863732 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: cmp2.x jdbc2 pm with cache invalidation
Thanks Alex. It worked when I used the JDBCStoreManager2. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863733#3863733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863733 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - cmp2.x jdbc2 pm caching mechanism
I am getting the following exception when I use the new container configuration. java.lang.ClassCastException at org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2.start(JDBCStoreManager2.java:172) The following is my configuration xml . I had the same issue in 3.2.5 and 3.2.6 .anybody has any clue? cmp2.x jdbc2 pm with cache invalidation false entity-rmi-invoker false true true org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor org.jboss.ejb.plugins.LogInterceptor org.jboss.ejb.plugins.SecurityInterceptor org.jboss.ejb.plugins.TxInterceptorCMT org.jboss.ejb.plugins.EntityCreationInterceptor org.jboss.ejb.plugins.EntityInstanceInterceptor org.jboss.ejb.plugins.EntityReentranceInterceptor org.jboss.resource.connectionmanager.CachedConnectionInterceptor org.jboss.ejb.plugins.EntitySynchronizationInterceptor org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor org.jboss.ejb.plugins.EntityInstancePool org.jboss.ejb.plugins.PerTxEntityInstanceCache org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager org.jboss.ejb.plugins.lock.NoLock 500 1 10 100 C View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863603#3863603 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863603 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - cmp2.x jdbc2 pm with cache invalidation
My understainding is If I use this container configuration(cmp2.x jdbc2 pm with cache invalidation) , an entity bean will be created for every transaction and the data for the entity bean will be fetched from the global cache. But When I execute the get method on entity bean from different transactions, I can see the ejbLoad getting invoked and I can see the SQL used for the ejbLoad. I am confused, when is the global cache used. I will appreciate if we somebody can provide some information on this. the following is my setting cmp2.x jdbc2 pm with cache invalidation false entity-rmi-invoker false true true org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor org.jboss.ejb.plugins.LogInterceptor org.jboss.ejb.plugins.SecurityInterceptor org.jboss.ejb.plugins.TxInterceptorCMT org.jboss.ejb.plugins.EntityCreationInterceptor org.jboss.ejb.plugins.EntityInstanceInterceptor org.jboss.ejb.plugins.EntityReentranceInterceptor org.jboss.resource.connectionmanager.CachedConnectionInterceptor org.jboss.ejb.plugins.EntitySynchronizationInterceptor org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor org.jboss.ejb.plugins.EntityInstancePool org.jboss.ejb.plugins.PerTxEntityInstanceCache org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager org.jboss.ejb.plugins.lock.NoLock 500 1 10 100 C View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863613#3863613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863613 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Transaction marked for rollback, possibly a timeout
I am getting a "Transaction marked for rollback, possibly a timeout" in the create method for an entity bean. We are currently using jboss-3.2.5 and SQLServer2000. We use the Identity functionality in Sql Server for primary key generation. Anybody has any clue? Thanks Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863433#3863433 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863433 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Transaction marked for rollback, possibly a timeout
I am getting a "Transaction marked for rollback, possibly a timeout" in the create method for an entity bean. We are currently using jboss-3.2.5 and SQLServer2000. We use the Identity functionality in Sql Server for primary key generation. Anybody has any clue? Thanks Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863432#3863432 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863432 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB QL/JBoss QL possible across a collection?
query="SELECT OBJECT(h) FROM Parent AS h , Child AS d WHERE d.commodityCode=?1 AND d MEMBER OF h.details" This query check for a commodity code in the child and checks whether the matching child belongs to a parent. In your case query="SELECT OBJECT(h) FROM GrandParent AS GP , Children AS CH, GrandChildren AS GC, Gender GT WHERE GT.id=1 AND GT MEMBER OF GC AND GC MEMBER OF CH AND CH MEMBER OF GP Please try this View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863230#3863230 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863230 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Memory Leak: Read-Only Method
what is the configuration you are using. Are you using "Instance Per Transaction"? If you are using Instance per transaction, an instance will be created for every transaction. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863229#3863229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863229 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: how to configure get & find method independently?
An Entity Bean gets locked (enlisted in a transaction) only when business methods are invoked(set,get and other business methods) . When finder methods are invoked entity beans are not locked. If you mark the read- only methods read-only, the entity bean gets locked only for the duration of the method call not for the whole transaction. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862330#3862330 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862330 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbFinders are not even consistent with themselves?
You can probably use the read-ahead strategry where the container will load a list of columns you specify in the group along with your id in one query. The extra data is stored in a seprate cache and your entity bean will be populated with the cached data during ejbLoad. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861985#3861985 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861985 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Migrating to JBoss from Weblogic
application server specific configurations need to be specified in jboss.xml and jbosscmp-jdbc.xml. 100 600 These are default properties for a container configuration. Container configurations are specified in standardjboss.xml under the conf directory of the server instance. You can also specify different container configurations in jbosscmp-jdbc.xml. 60 These are specified in jbosscmp-jdbc.xml for every entity bean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861713#3861713 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861713 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: dead lock
This is a sample configuration for instance-per-transaction. DocumentType ejb/DocumentType DocumentTypeLocal Instance Per Transaction CMP 2.x EntityBean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861712#3861712 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861712 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: @jboss.method-attributes
That is true. The Entity Bean wont be enlisted in a transaction, if the read only method is called,but the entity bean will be locked for the duration of the method call. You need to specify a time-out also View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861592#3861592 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861592 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: dead lock
I forgot to check one think what is the exact exception message is it an exception from SQL Server or from entity bean. My previous reply was applicable for entity bean lock. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861591#3861591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861591 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: dead lock
There are different locks on entity bean Method Lock The method lock ensures that only one thread of execution at a time can invoke on a given Entity Bean. This is required by the EJB spec. But, this single-threadedness, can be overridden by marking the bean reentrant in its deployment descriptor. Transaction Lock This means that if any method at all is invoked on an Entity Bean within a transaction, no other transaction can have access to this bean until the holding transaction commits or is rolled back. Please check whether your transactions are long. Check whether your access to the entity bean is ordered. If it is still a problem, you can configure your entity bean as instance per transaction which will wipe away deadlock,but you will loose entity bean caching View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861590#3861590 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861590 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!
The lookup should be DataSource ds = (DataSource)ctx.lookup("java:/jspNedirMysql"); instead of DataSource ds = (DataSource)ctx.lookup("jspNedirMysql"); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861588#3861588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861588 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: how can I add mysql jdbc driver to ejb?
Please add the datasouce (xml) file in the deploy directory of your server. This is a sample xml file for mysql - - - - - - - - - - jdbc/mysql jdbc:mysql://localhost:3306/mysql com.mysql.jdbc.Driver root View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861406#3861406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861406 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: what I have to do after that?
This should be enough. What is the error you are getting? Since you copied the files under the default instance; I guess you are running the default instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861408#3861408 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861408 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: pool of connections
In 3.2.5 the format for specifying the datasource is different. The following is a xml file for connecting to MS SQL Server 2000 with a pool for 100 connections. This file should be under your server deploy directory. varsdb com.inet.tds.TdsDriver tnadmin tnadmin 3000 100 1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861409#3861409 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861409 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: DefaultJMSProvider not bound
Did you check when jboss starts up; is there any error while trying to bind DefaultJMSProvider. Look at the jndi view. http://:<8080>/jmx-console and check whether DefaultJMSProvider is listed. The following is the sample jms-ds.xml I have in jboss-3.2.3 DefaultJMSProvider org.jboss.jms.jndi.JBossMQProvider java:/XAConnectionFactory JMSFactory jboss:service=XidFactory StdJMSPool org.jboss.jms.asf.StdServerSessionPoolFactory JmsXA JMS Adapter javax.jms.Topic JmsXARealm View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861172#3861172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861172 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: DefaultJMSProvider not bound
We have used message beans in JBOSS3.2.3. There should be a file jms-ds.xml under the deploy/jms directory. This file defines the DefaultJMSProvider. I am not sure whether it is different in JBOSS3.2.1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861078#3861078 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861078 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: problem with timeout on BeanLockTransactions.
You can increase the transaction time-out in jboss-service.xml under the conf directory under your server. But from the exception it lookslike jboss detected a dead lock and killed one of the transaction. Are you using entity beans ? If so please make sure the sequence of your datbase operations are in the same order. Please look at jboss documentation, they talk about when deadlocks occur and your options View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860969#3860969 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860969 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Global Timeout
If you are talking about Transaction time out. You can set in jboss-service.xml under the conf directory of your server.That setting is applicable for both entity and session bean transactions View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860966#3860966 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860966 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CRM needs one ejb-jar.xml file ???
Since related objects are local objects (implement EJBLocal interface) they have to be in the same jar files (ie.requirement for Local objects). You can access and entity bean using its Local interface only if there are in the same jar file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860748#3860748 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860748 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: NameNotFoundException on EJB lookup in standalone client
Guys You can set xdoclet to generate the utility classes to use the JNDI name referring to the global namespace instead on the local env. If you add @ejb.util * generate="physical" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860736#3860736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860736 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How to handle 1:1 related beans in facade/value objects
You can have a non-abstract setImage method in your Account entity bean ,which accepts a byte array, which will inturn create the dependent image entity bean and sets the byte array on the image entity bean. I hope this helps. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860442#3860442 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860442 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: pool of connections
SQL Server locks the row ,even if you are reading it in a transaction. Please take a lock at this site http://www.developerfusion.com/show/1688/4/ If you have lot of traffic , this locks can escalate to page , table and database level lock. I guess you are talking abt straight jdbc access from your container. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860433#3860433 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860433 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JBOSS connection pool caching problem
Are you using entity beans for reding and writing from your tables. Please check your commit-option If you dont need caching you can use commit-option C. If the data can be changed from other applications running outside the jboss container you should not use commit-option A. Use either commit-option C or B. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860418#3860418 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860418 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB spec violation when deploying CMP at Jboss 3.2.5.HEL
I dont think you need to have the variable declared in the entity bean. Please remve it and try. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860374#3860374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860374 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss and SQLServer 2000
If you are using straight JDBC you can add WITH(NOLOCK) after your FROM clause. This will alow concurrent reading my SQL Server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860373#3860373 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860373 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Read only lock
Thanks Alex. My understanding is entity beans are locked in a transaction and read-only entity beans are locked just for the duration of the method call. Does this behaviour change if the locking mode for the entity bean is set to to optimistic. Or the optimistic-locking is applicable only for Instance-Per-Transaction entity beans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860192#3860192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860192 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Read only lock
Alex Thanks for your reply. I changed the commit option to A in the standard jboss.xml and I could see ejbLoad not getting invoked for my read only entity bean . But I understand with commit option B the entity bean data is loaded during the start of every transaction. I changed the transaction attribute for all the methods to NotSupported even then I could see ejbLoad getting invoked . My understanding is for transaction attribute NotSupported ,even with commit option B, since there is no transaction the container should use the data from the cache (should act like A). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859507#3859507 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859507 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Read only lock
Thanks for your reply Alex. CMP2xJDBC2PM is it available is JBOSS3.2.5. The time out was for getting a transaction lock. >From your reply my understanding is , the container does'nt cache the entity >bean instance, it just caches the data the entity bean represents. So the >instance is locked ,for the duration of loading the data from the cache to the >entity bean. In my previous question I asked why ejbLoad is getting invoked multiple time for a read-only entity bean. Is it actually loading the data from the database or ejbLoad is loading data from the cache. Thanks Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859037#3859037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859037 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Read only lock
We have been using JBOSS for the last 3 years. I am having an issue with read-only entity beans in JBOSS 3.2.5 when there isheavy load . I have a set of entity beans all of them read-only , some of the them have a CMR relation ship. They all run in a cluster. I am getting a transaction time-out on some of the get methods when there is lot of traffic. All entity beans are cluster enabled. so they are using commit-option B behind the scences. Since the data cannot be changed , I set the commit-option to A and still have the same issue. I am not able to use transaction "NotRequired" because CMR forces me to have a transaction. My understanding is since I am using commit-option A , The entity bean should be always loaded from the cache, I have a doubt whether that is happening,because I can see the ejb load method getting invoked multiple times. I have read that even though a bean is set to read only,an instance of entity bean will be locked for the duration of the method invocation. I will appreciate if you can explain why a read-only entity bean should be locked for the duration of the method and let me know a better way of using the cache and read only data, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858639#3858639 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858639 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: JDBC Insert Data Not Commited
May be the connection has auto commit set to false once you pull from the connection poll. Try printing the value for the Auto Commit and check. If it is set to false call commit at the end of the transaction View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858882#3858882 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858882 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Transactions
You cannot use UserTransaction in entity Bean. Entity Beans can have only CMT(Container Managed Transaction). If you set the the transaction isolation level as required in your entity bean methods. The method will join the already created transaction from the caller of the method. In the servelet you can user UserTransaction and set the methods in entity bean with Transaction Required isolation level View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858881#3858881 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858881 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user