[jboss-user] [Clustering] - Re: Binding on specific interface

2009-12-10 Thread mohitanchlia
Multicast clustering binds on the first interface. Does it use "hostname" to get the ip address? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270095#4270095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270095 _

[jboss-user] [Clustering] - Binding on specific interface

2009-12-10 Thread mohitanchlia
We use standard statup script with -b 0.0.0.0. We recently got new machine that have multiple interface. For some reason jboss binds to first interface as show in ifconfig -a even though default route is set to take a different interface. I am trying not to use -b so that we don't have to chang

[jboss-user] [EJB] - Timeout on waiting for Bean pool

2009-10-26 Thread mohitanchlia
Jboss 4.2: For stateless bean I am trying to find what the default wait timeout for new requests when none of the pool members are available. How long does the new requests wait for Instance to be available. Also, how do I set it? I am trying to look for pool-config schema but have not been abl

[jboss-user] [Clustering] - Re: Cluster invocation error

2009-10-21 Thread mohitanchlia
We are on AS 4.2. But all other targets are up at that point and they are in the cluster. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261516#4261516 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261516

[jboss-user] [Clustering] - Cluster invocation error

2009-10-19 Thread mohitanchlia
We have stateless bean which is clustered. We have more than 8 nodes in a cluster and that bean is supposed to be clustered accross 8 nodes. Problem is that when one of the nodes is in process of going down for maintenance then the user request fails while connecting that node. What I don't unde

[jboss-user] [Clustering] - Lookup

2009-10-08 Thread mohitanchlia
Is there a way to change the configuration to force the lookup on the localhost instead of doing it using HAJNDI without having to change the lookup code? Also, what's the best practice to make sure that no one else is using the same multicast address? View the original post : http://www.jboss

[jboss-user] [Beginner's Corner] - Start stop Mbean

2009-08-31 Thread mohitanchlia
Jboss 4.2: I need to stop Stateless Session Bean so I am assuming I need to identify the MBean of that Bean and then stop it. This I can do from jmx-console easily. How can I do the same start/stop programtically? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[jboss-user] [JNDI and Naming] - Stopping MBean Service

2009-08-26 Thread mohitanchlia
Jboss 4.2: I need to stop Stateless Session Bean so I am assuming I need to identify the MBean of that Bean and then stop it. This I can do from jmx-console easily. How can I do the same start/stop programtically? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[jboss-user] [EJB/JBoss] - Re: exception-sorter-class-name oracle-ds.xml

2009-08-20 Thread mohitanchlia
I need to write my own Database ping check that does what OracleExceptionsorter class does. Is there something that Jboss/hibernate provides that I can use to ping the database and see if DB is up or the health of the connections. View the original post : http://www.jboss.org/index.html?module=

[jboss-user] [EJB/JBoss] - exception-sorter-class-name oracle-ds.xml

2009-08-20 Thread mohitanchlia
Jboss 4.2: I am wondering what's the purpose of exception-sorter-class-name in element? Couldn't find any good explanation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250704#4250704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[jboss-user] [JNDI/Naming/Network] - env-entry lookup for SBean

2009-08-19 Thread mohitanchlia
Jboss 4.2: I am seeing a weird problem with env-entry lookup. We have a SBean A that calls another SBean B and what I am seeing is that when we lookup "env-entry' for SBean B we get "env-entry" of SBean A. But this works fine when everything is deployed in one box. When we split it in 2 boxes

[jboss-user] [Clustering/JBoss] - env-entry lookup in cluster env.

2009-08-19 Thread mohitanchlia
Jboss 4.2: I am seeing a weird problem with env-entry lookup. We have a SBean A that calls another SBean B and what I am seeing is that when we lookup "env-entry' for SBean B we get "env-entry" of SBean A. But this works fine when everything is deployed in one box. When we split it in 2 boxes w

[jboss-user] [JNDI/Naming/Network] - Re: Understand JNDI naming convention

2009-08-13 Thread mohitanchlia
ok ..starting to make little sense: | jar=ee-messaging.jar,name=RouterBean,service=EJB3 | So if I see something like this (above) it really means this is a Mbean managing "RouterBean" in this example? So for every Bean there is a Mbean that is created to manage the resource? Am I saying

[jboss-user] [JNDI/Naming/Network] - Re: Understand JNDI naming convention

2009-08-13 Thread mohitanchlia
My previous post is not formatter correctly Thanks! What's the difference between java:comp and java:com/env? Also, regarding my second question who uses the namespace? For eg: In jmx console under jboss.j2ee I see: | jar=ee-messaging.jar,name=RouterBean,service=EJB3 | I am not sure w

[jboss-user] [JNDI/Naming/Network] - Re: Understand JNDI naming convention

2009-08-13 Thread mohitanchlia
Thanks! What's the difference between java:comp and java:com/env? Also, regarding my second question who uses the namespace? For eg: In jmx console under jboss.j2ee I see: | jar=efe-messaging.jar,name=RouterBean,service=EJB3 | | | | | I am not sure why it's defined this way? And

[jboss-user] [JNDI/Naming/Network] - Understand JNDI naming convention

2009-08-12 Thread mohitanchlia
Jboss 4.2: I always have hard time understanding JNDI naming convention. I try to understand one way or the other but next time when I look at them it again leads to more confusing. I have hard time understanding 1. concept of java:/comp compared to mapped-by name. 2. Also what Global JNDI is

[jboss-user] [Clustering/JBoss] - Clustering issue in Jboss 4.2

2009-07-25 Thread mohitanchlia
I am continuosly seeing the following: | 2009-07-25 12:47:28,174 ERROR [protocols.pbcast.NAKACK] - sender 10.10.80.143:32934 not found in xmit_table | 2009-07-25 12:47:28,174 ERROR [protocols.pbcast.NAKACK] - range is null | and | | 2009-07-25 12:43:49,369 INFO [interfaces.HAPart

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Creating self-contained Entity Manager and datasource in ear

2009-07-23 Thread mohitanchlia
Jboss 4.2: We are currently having problems with getting EntityManager that is self contained only for .ear environment. Instead what is happening is that even though we have separate persistence.xml in each .ear file still entity manager is not becoming container specific. It's still getting l

[jboss-user] [JNDI/Naming/Network] - Problem creating self contained datasource and entity manger

2009-07-23 Thread mohitanchlia
Jboss 4.2: We are currently having problems with getting EntityManager that is self contained only for .ear environment. Instead what is happening is that even though we have separate persistence.xml in each .ear file still entity manager is not becoming container specific. It's still gettin

[jboss-user] [Clustering/JBoss] - Re: Cluster connecting to localhost loopback

2009-07-20 Thread mohitanchlia
AS 4.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243948#4243948 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243948 ___ jboss-user mailing list jboss-user@lists.jboss.o

[jboss-user] [EJB/JBoss] - XA Transaction commit slowness

2009-05-20 Thread mohitanchlia
Jboss 4.2: Our UserTransaction commit slows down when we increase load. Is there a way to see where UserTransaction commit is spending most of it's time between the 2 XA resources? We have JMS tibco and oracle involved in the transaction? Is there a way to validate which resource is taking the m

[jboss-user] [JNDI/Naming/Network] - Re: Slow JMS destination lookup

2009-05-19 Thread mohitanchlia
Below is the code. I have timing around the code and only piece that's slow is when there is a ctx.lookup involved. | private Object lookupJndi(String jndiName) { | Object result = null; | | try { | result = ctx.lookup(jndiName); | } catch (Nam

[jboss-user] [JNDI/Naming/Network] - Re: Slow JMS destination lookup

2009-05-19 Thread mohitanchlia
Sorry for the confusion. I meant to say that response time for JNDI look up for queue destination increases from 50ms to 1 (10sec) as we apply more load. I am not sure why the JNDI lookup would slow down that much. I see slow lookup time for all the queues. We don't use topic. Because the r

[jboss-user] [JNDI/Naming/Network] - Re: Slow JMS destination lookup

2009-05-19 Thread mohitanchlia
response times are slow consistently after we increase the load. And only lookup that slows down is looking up queue destination View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232003#4232003 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[jboss-user] [JNDI/Naming/Network] - Slow JMS destination lookup

2009-05-19 Thread mohitanchlia
When we increase our number of sessions we see that queue destination lookup slows down from 70ms to 1ms (10sec). I am trying to look at network and things like that but I don't think network is the problem because we are in same subnet and have 1gigbit port. Is there a clean way to isolate

[jboss-user] [Management, JMX/JBoss] - Monitor CPU and memory per thread

2009-04-28 Thread mohitanchlia
Jboss 4.2: Is there a way to monitor CPU and memory per thread being run inside Jboss through JMX or Web console? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227291#4227291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[jboss-user] [Beginners Corner] - Jboss 4 to Jboss 5

2009-04-09 Thread mohitanchlia
We are currently using Jboss 4 and we would like to migrate to Jboss 5. I have following questions: 1. Are there any issues that we need to be aware of during migration? 2. We use Mbean to stop Session and Message Beans. Message Beans are stopped using Delivery Active. 3. We use clustering and

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Migrate from Jboss 4 to 5

2009-04-08 Thread mohitanchlia
We are currently using Jboss 4 and we would like to migrate to Jboss 5. I have following questions: 1. Are there any issues that we need to be aware of during migration? 2. We use Mbean to stop Session and Message Beans. Message Beans are stopped using Delivery Active. 3. We use clustering and ha

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Why does Jboss cleanly/gracefully shuts down

2009-03-05 Thread mohitanchlia
REPOSTING IT with CODE TAGS: We have apache server that talks over mod_jk to Jboss. When we shutdown Jboss we see 503 from Jboss as listed below. It looks like Jboss accepts new connection when it already undeployed the service. Is there something that I need to configure or do in Jboss so tha

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Why does Jboss cleanly/gracefully shuts down

2009-03-05 Thread mohitanchlia
We have apache server that talks over mod_jk to Jboss. When we shutdown Jboss we see 503 from Jboss as listed below. It looks like Jboss accepts new connection when it already undeployed the service. Is there something that I need to configure or do in Jboss so that it first stops taking new req

[jboss-user] [EJB 3.0] - setRollbackOnly set by remote EJB with @TransactionAttribute

2009-02-27 Thread mohitanchlia
What happens when 1. "A" Bean calls "B" Bean and in a transaction context 2. B's business methos has @TransactionAttribute(REQUIRED) 3. B marks setRollbackOnly Does container first rollback B's transaction before returning and then A rollsback it's transaction or does container rollsback A both

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Graceful shutdown

2009-02-24 Thread mohitanchlia
We have multiple Web Server that talk to Jboss App server using mod_jk load balancer. What we see is that when we bring down Jboss App, the app doesn't get shutdown gracefully and I see errors in mod_jk log file. Is there a way to gracefully shut down Jboss App such that is stops accepting new

[jboss-user] [Clustering/JBoss] - Re: Random Round Robin Policy

2009-02-16 Thread mohitanchlia
Is there a way to print the IP address of machine that request was sent to inside the application itself without having to turn on TRACE logging? Some more information: We have a clustered EJB on BackEnd box that gets called from Front End box. However, what I am seeing is that when FrontEnd 4

[jboss-user] [Clustering/JBoss] - Re: Random Round Robin Policy

2009-02-16 Thread mohitanchlia
Is there a way to print the IP address of machine that request was sent to inside the application itself without having to turn on TRACE logging? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210523#4210523 Reply to the post : http://www.jboss.org/index.htm

[jboss-user] [Clustering/JBoss] - Re: Random Round Robin Policy

2009-02-11 Thread mohitanchlia
>From your experience are there any subtle points that could lead in this >behaviour? I am sure there are several but some points that I should consider >when doing this analysis View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209247#4209247 Reply to the post

[jboss-user] [Management, JMX/JBoss] - Re: Destroy service in which order?

2009-02-11 Thread mohitanchlia
Is there any other place I can try to understand the behaviour? Could you please help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209211#4209211 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209211 ___

[jboss-user] [Clustering/JBoss] - Random Round Robin Policy

2009-02-11 Thread mohitanchlia
We have a clustered Stateless Bean and it uses default RoundRobin algorithm. Is there a way to determine if the requests are truly being load balanced? Any log property or any other way to see if Jboss is correctly balancing the requests. I see some anomalies and want to verify the behaviour. I

[jboss-user] [Management, JMX/JBoss] - Re: Destroy service in which order?

2009-02-08 Thread mohitanchlia
Could someone please help me understand the questions in my post? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208002#4208002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208002 _

[jboss-user] [Management, JMX/JBoss] - Destroy service in which order?

2009-02-03 Thread mohitanchlia
We have MDB that we basically need to stop and start cleanly. But the problem is that if we try to stop ProxyBindingMDB (below) then it just stays in stopping state because I think bean instance. Can I destroy ProxyBindingMDB alone? I want to either stop or destroy such that I can re-create and

[jboss-user] [Remoting] - Re: Why so many retries?

2009-01-10 Thread mohitanchlia
Is there a way to change the timeout and make it applicable only for certain EJBs. The change timeout= is a global change but what I really want is to apply it to only certain EJB invocations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200810#4200810

[jboss-user] [Remoting] - Re: Socket Invoker timeout

2009-01-04 Thread mohitanchlia
anonymous wrote : org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket() overrides MicroSocketClientInvoker.createSocket(), and the former uses the configured timeout for the Socket.connect() call Just so I am clear, same timeout is used for both connect and read operation. So

[jboss-user] [Remoting] - Re: Why so many retries?

2009-01-04 Thread mohitanchlia
Thanks. So new release of Jboss remoting doesn't do retries? Is it then just 1 try then? Does the new document reflect all the new features. It looked pretty much the same. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199387#4199387 Reply to the post : ht

[jboss-user] [Remoting] - Re: Socket Invoker timeout

2009-01-03 Thread mohitanchlia
Reason I have been asking same question is because below timeout corresponds to the timeout I have set in timeout attribute. If that timeout was for read operation then why would NoRouteToHostException return in the timeout that I have specified. As you mentioned NoRouteToHostException occurs du

[jboss-user] [Remoting] - Re: Why so many retries?

2009-01-03 Thread mohitanchlia
lient gets first request it will not know which servers to connect to. Is it that after first client invocation "CLIENT" retains the connection? anonymous wrote : | anonymous wrote : "mohitanchlia" wrote: | | | | In any case why numberOfRetries is not s

[jboss-user] [Remoting] - Re: Socket Invoker timeout

2009-01-03 Thread mohitanchlia
anonymous wrote : | The java.net.NoRouteToHostException doesn't represent a timeout. The "creation attempt took 5001 ms" message is just extra information provided by the invoker. So does it really mean that timeout is on initial Socket connection creation and not on the read operation? Vie

[jboss-user] [Remoting] - Re: Socket Invoker timeout

2009-01-02 Thread mohitanchlia
anonymous wrote : The call to java.net.Socket.connect(SocketAddress endpoint), which is the overloaded version of connect() used in org.jboss.remoting.transport.socket.MicroSocketClientInvoker, does not time out. I didn't understand the above "does not timeout". With what you described then I s

[jboss-user] [Remoting] - Re: Why so many retries?

2009-01-02 Thread mohitanchlia
I made the change to EJB deployer only but for some reason it didn't work because I had a typo. Upgrading the jboss remoting might be a problem with Jboss support group. In order to continue to get their support they require us to use that comes in their distribution. In any case why numberOf

[jboss-user] [Remoting] - Socket Invoker timeout

2009-01-01 Thread mohitanchlia
Jboss 4.2: Question about timeout attribute of SocketInvoker as mentioned below: socket://${jboss.bind.address}:3873/?numberOfRetries=1&timeout=5000 What does timeout 5000 mean? Does it mean the time to get the remote socket connection? Or does it mean after the connection is made then how long

[jboss-user] [Remoting] - Why so many retries?

2008-12-31 Thread mohitanchlia
We have a FE EJB stateless Client that calls remote EJB on port that is a default EJB deployer port 3873. The remote EJB is clustered accross several BE servers. Now the problem is that when I reboot one of the machines the FE box comes to halt and it looks like it's trying to invoke remote call

[jboss-user] [Clustering/JBoss] - Re: Slow failover - Plz read

2008-12-31 Thread mohitanchlia
I got the logs and it shows me that Jboss is continuously trying to connect to the host that just got rebooted or crashed. I thought when EJB is @clustered it will round robin the invocation and not try same host over and over again. But what I am seeing is that Jboss repeatedly tries to connect

[jboss-user] [Clustering/JBoss] - Re: Slow failover

2008-12-30 Thread mohitanchlia
I did more analysis and it looks like after back end nodes detects one of the node is down it re-elects the master (after calling ElectionPolicy), after that jboss just pauses, it just halts. Could there be a bug with how Proxy stub at Front end box is not able to make the remote call and just h

[jboss-user] [Clustering/JBoss] - Re: Slow failover

2008-12-29 Thread mohitanchlia
Could it have something to do with TCP sockets? I even tried to reset max tries in FD to 1 but it didn't help. We are using default out of box cluster-service.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198849#4198849 Reply to the post : http:/

[jboss-user] [Clustering/JBoss] - Slow failover

2008-12-29 Thread mohitanchlia
We have Front End box and Back End box. Back End boxes have clustered EJB stateless bean. Front End box calls business method on EJB Stateless Bean that is on Back End box. Now the problem is if one of the Back End machine(s) goes down or reboots then all our Front End server requests going to

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-12-19 Thread mohitanchlia
Such a great explanation. Why don't I get this from docs :) I know it takes so much keep up with the docs. So if I understand correctly, in above example if for some reason election policy choses Node D as master then the view will be {D,C} instead of {C,D}. Is there a way in JMX Console to see

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-12-18 Thread mohitanchlia
Just checking if you heard from jgroups about VIEW_SYNC. I just had one more question, in one of the previous replies you mentioned that HAController tells the cluster that it's there when it comes up. My understanding was that HAPartition notifies HAController and then HAController based on th

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error

2008-12-07 Thread mohitanchlia
As I mentioned that we have one local resource and one XA resource. And it looks like Jboss uses last resource gambit in this scenario. Also note that this error occurs in high load. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194932#4194932 Reply to the

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error

2008-12-06 Thread mohitanchlia
We have one local resource and one XA resource. Why would we still need multiple last resources enabled? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194859#4194859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41948

[jboss-user] [JCA/JBoss] - Re: Problem using distributed transactions with MS SQLServer

2008-12-06 Thread mohitanchlia
We are seeing same problem but our Oracle DS is local-tx. Is below also valid for local-tx? false View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194858#4194858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194858 __

[jboss-user] [EJB/JBoss] - Resources in transaction

2008-12-06 Thread mohitanchlia
Jboss 4.2. I have a question about 2 phase commit: Here is the scenario: 1. Our app starts a user transaction in a servlet 2. In that transaction it accesses Stateless Bean that inserts something in DB. I think this leads to prorogation of transaction, if I am not wrong. 3. After successful call

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error

2008-12-03 Thread mohitanchlia
But I don't have multiple local resources. All I have is JMS and Oracle. Oracle is local resource and JMS is XA so I would guess it should be using last resource gambit. Isn't that correct? Other than that all we have is Session Beans (that might call another bean with requiresNew) and MDB. Why

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error

2008-12-01 Thread mohitanchlia
I enabled hibernate trace and see the following, it looks like some state is not getting clear and it thinks that the connection thread is already in running state. Could someone help? Here is the additional info in addition to the stack trace that I earlier posted | Caused by: org.jboss.util

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-28 Thread mohitanchlia
I think there is a problem with that process, and my understanding was that they introduced VIEW_SYNC to overcome that process. I am eager to hear jgroups response about VIEW_SYNC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193146#4193146 Reply to the pos

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error

2008-11-28 Thread mohitanchlia
We are getting these errors a lot now and there are no issues on Oracle side. It works fine under low load but when we apply high load we start to see these errors. I am wondering if there is any problem with Hibernate connection pooling. May be connections are closed but are still on the pool?

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error

2008-11-26 Thread mohitanchlia
No one has replied. I still these errors and everything on DB, active sessions, sockets, connection look fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192658#4192658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-25 Thread mohitanchlia
I thought that FD retries only 'x' number of times (max_tries) after that it will not try to detect the member again. Is that not correct? Below is the config, max_tries is set to 5.

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-25 Thread mohitanchlia
Thanks a lot. Jboss support group tells us that we shouldn't upgrade jgroups just like that. I think they are working on giving us the patch. Please let me know about VIEW_SYNC because what scares me is that once FD drops the member it never detects that member again and VIEW_SYNC seem to be sol

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-25 Thread mohitanchlia
So I upgraded the jgroup.jar to 2.6 and that resolved the issue of slowness. I do have a question, while looking around I found VIEW_SYNC in jgroups that help resolve scenario where the node is taken out of service by FD. Do you think it's worth having this parameter in UDP configuration of Jgro

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-24 Thread mohitanchlia
I also see: 2008-11-24 17:08:34,990 DEBUG [jgroups.protocols.FD] - heartbeat missing from 10.10.81.92:34144 (number=0) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191943#4191943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-24 Thread mohitanchlia
I also see these messages 2008-11-24 17:01:08,547 WARN [protocols.pbcast.GMS] - failed to collect all ACKs (2) for view MergeView::[ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191941#4191941 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-24 Thread mohitanchlia
Do you think I should add VIEW_SYNC to help remerge the views? I am not sure why the startup is slow and Jboss gets stuck or sometimes it declares node dead View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191939#4191939 Reply to the post : http://www.jboss.co

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-24 Thread mohitanchlia
I don't know why I see so many object waits in above thread dumps. Also, as we add node to the cluster, startup terribly becomes slow. It looks like it take a very long time inintializing 10 HA SingletonControllers we have. Sometimes it just declares one of the nodes as Dead member even though a

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-24 Thread mohitanchlia
Here is the thread dump from one of the nodes: "ClientConnectionHandler" daemon prio=1 tid=0x080810a8 nid=0xba7 runnable [0x9f813000..0x9f813f30] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at jav

[jboss-user] [Clustering/JBoss] - strace shows futex

2008-11-24 Thread mohitanchlia
jboss seems to be stuck during electing master node. when I run strace it shows me: strace -p 4668 Process 4668 attached - interrupt to quit futex(0xa79c2e04, FUTEX_WAIT, 1, NULL -- when I run jstack it gives me: Thread 4678: (state = BLOCKED) Error occurred during stack walking: sun.jvm.hotsp

[jboss-user] [Clustering/JBoss] - Wierd issue with clustered nodes

2008-11-24 Thread mohitanchlia
I've posted the issue here: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138599#4138599 I am also pasting it here, in case other one is not being looked at: I am seeing some weird behavior. We are running into this serious issue where Nodes join the cluster and soon after they di

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error

2008-11-21 Thread mohitanchlia
Could someone help with this one. This totally random and system is not under any load. I've checked current connections in Oracle, checked sockets etc. but nothing seems to be standing out. Is there a way to dig deeper. View the original post : http://www.jboss.com/index.html?module=bb&op=view

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error

2008-11-21 Thread mohitanchlia
Pool size is set to 250. And I have been monitoring DS in JMX and always see atleast 150 free connections. It's really random. I have looked at oracle and I see just 250 sessions overall at any given point of time. It's really perplexing. EDS jdbc:oracle:thin:@(description = (addre

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Perplexing error - meta-aware object error

2008-11-20 Thread mohitanchlia
I am seeing following error: could someone help: 2008-11-20 17:30:05,342 ERROR [hibernate.util.JDBCExceptionReporter] - Could not enlist in transaction on entering meta-aware object!; - nested throwable: (java.lang.IllegalStateException: Trying to change transaction TransactionImple < ac, Basic

[jboss-user] [Clustering/JBoss] - @Clustered

2008-11-20 Thread mohitanchlia
does anyone know what happens when there are multiple HAPartition services running on same box. Basically if there are 2 clusters defined on same box and a bean is annotated with @Clustered with no partition name defined in it. Does it get clustered accross both partitions. View the original po

[jboss-user] [Clustering/JBoss] - Re: Local proxy

2008-11-19 Thread mohitanchlia
Could someone please try to answer my question. Or point me to appropriate resource. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190545#4190545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190545 _

[jboss-user] [Clustering/JBoss] - Local proxy

2008-11-18 Thread mohitanchlia
Say for eg: There is a clustered Bean "X" on Jboss server A and B. A and B belong to same cluster. So when Bean "Y" does a lookup on Bean "X" on server A does it always get the local object reference or is there a possibility that it might invoke the method on server "B". I mean does it use clie

[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean

2008-11-18 Thread mohitanchlia
Thanks. So when a bean is annotated with @Clustered does it get bound to clusterwide HA-JNDI or is that different only in terms of how client interceptor proxy works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190259#4190259 Reply to the post : http://w

[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean

2008-11-18 Thread mohitanchlia
"mohitanchlia" wrote : Could somebody throw some light on how EJB sessions failover for sticky sessions? As I understand Jboss cache replicates SFSB but I am not sure how it fails over the EJB session connected to machine B that just crashed. I am still not able to understand the ab

[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean

2008-11-17 Thread mohitanchlia
Could somebody throw some light on how EJB sessions failover for sticky sessions? As I understand Jboss cache replicates SFSB but I am not sure how it fails over the EJB session connected to machine B that just crashed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [Clustering/JBoss] - Re: Beware the BarrierController and EJBs

2008-11-16 Thread mohitanchlia
Is this bug been resolved? Few days ago we experienced the same issue. In our case it was MDB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189695#4189695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189695 ___

[jboss-user] [Clustering/JBoss] - Exception in JNDI lookup based on partition and Udp group

2008-11-12 Thread mohitanchlia
Here is the lookup code: | | properties.put("jnp.partitionName", getSystemConfig().getBackendPartition()); | properties.put("jnp.discoveryGroup", getSystemConfig().getBackendUdpGroup()); | try { | this.backEndCtx = new InitialContex

[jboss-user] [Clustering/JBoss] - HA-JNDI and SFSB Bean

2008-11-11 Thread mohitanchlia
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta422/html/clustering-jndi-how.html Above link talks about Cluster Wide JNDI tree. My question is how can I see this tree. It also says that objects are rarely bound to in cluster-wide JNDI tree. How can I

[jboss-user] [Clustering/JBoss] - Re: How does the Election Policy Feature work in 4.2.X

2008-11-10 Thread mohitanchlia
Is there a document available now? I have been trying to get some document on Election Policy, how it works, what it does etc. But not able to find it anywhere. Could somebody help me with that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188169#4188169 R

[jboss-user] [EJB/JBoss] - Re: JMX view

2008-11-09 Thread mohitanchlia
I am just trying to deploy a sar file that depends on one stateless session bean to have been deployed first. I think I know why I can't use JNDI, It's because depends calls .start() and .stop() and if I use JNDI name then it wouldn't work because it's not deployed as MBean. Is that correct? Vi

[jboss-user] [EJB/JBoss] - Re: JMX view

2008-11-08 Thread mohitanchlia
Thanks. Why can't I use Jndi Name in tag in jboss.xml. Does it just takes the Object Name. Where can I get more information about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187915#4187915 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [Clustering/JBoss] - Clustering tutorial

2008-11-07 Thread mohitanchlia
I have been looking for clustering tutorial that explains about the election policy and how some services could run on one node and some on other. I asked several people but all I get is link to clustering guide which doesn't have detail information. Could someone point to right and complete sou

[jboss-user] [Advanced Documentation] - Re: Clustering, HA Singleton

2008-11-07 Thread mohitanchlia
Thanks. I went through it already. I was looking for something that also explains about Election policy of nodes and something that deploys some MDB on one machine and some on other machines View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187871#4187871 Reply

[jboss-user] [EJB/JBoss] - JMX view

2008-11-07 Thread mohitanchlia
Why don't I see my Stateless Bean in Jmx View. I do see corresponding entry for jar file jboss.j2ee:jar=1ueuemonitor.jar,name=QueueMonitorTimerServiceBean,service=EJB3 I was expecting my Beans JNDI name to be in JNDI view in Jmx. View the original post : http://www.jboss.com/index.html?module=

[jboss-user] [EJB 3.0] - Re: PostContruct not being called

2008-11-07 Thread mohitanchlia
Thanks. So if there is a pool of 10 beans then does PostContruct gets called 10 times? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187856#4187856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187856 ___

[jboss-user] [Advanced Documentation] - Re: Clustering, HA Singleton

2008-11-07 Thread mohitanchlia
Could somebody please help me getting complete information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187823#4187823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187823 ___

[jboss-user] [Advanced Documentation] - Clustering, HA Singleton

2008-11-07 Thread mohitanchlia
I have been looking for complete tutorial and examples that gives me information about clustering, HASingleton,Barrier, Election policy etc. I am getting bits and pieces on the web but nothing that gives me a complete example/tutorial. Could someone point me to correct/complete tutorial. View t

[jboss-user] [EJB 3.0] - PostContruct not being called

2008-11-06 Thread mohitanchlia
Using jboss 4.2. I have a simple Bean but when I deploy it in jboss PostConstruct doesn't get called. Is that a bug? I can see that Bean in started state in JMX console though --- | @Stateless | @Local | @LocalBinding (jndiBinding="queue/monitor") | public class QueueMonitorTimerServiceB

[jboss-user] [EJB 3.0] - PostContruct not being called

2008-11-06 Thread mohitanchlia
Using jboss 4.2. I have a simple Bean but when I deploy it in jboss PostConstruct doesn't get called. Is that a bug? I can see that Bean in started state in JMX console though --- | @Stateless | @Local | @LocalBinding (jndiBinding="queue/monitor") | public class QueueMonitorTimerServiceB

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Persistence in BMT

2008-06-30 Thread mohitanchlia
I had this persistence code that worked just fine. Now I created a statelss session bean on top of it so now code looks like this. Stateless session bean has bean managed transaction, this bean calls method x that calls method y. method y is an existing method that uses JTA and demarcates the t

[jboss-user] [EJB 3.0] - java.io.NotSerializableException

2008-06-23 Thread mohitanchlia
I am trying to invoke a business method using stateless session bean. Lookup is just fine, but when I try to invoke the method I get: java.io.NotSerializableException: com.wsdl.common.SenderInfoType It looks like SenderInfoType needs to be serializable, but the problem is that it's a tool gener

[jboss-user] [Beginners Corner] - Re: XAResource

2008-05-19 Thread mohitanchlia
Thanks .. some more questions: 1. Is resouce manager active only for the scope of the transaction ? 2. So TM tells RM to not autocommit ? Is it possible to explain how and when that happens ? 3. Do RM need to register with TM ? How does it register and how does TM communicates with RM 4. In case

  1   2   >