[jira] Commented: (GERONIMO-5376) OpenEJB failover failed

2010-06-22 Thread viola.lu (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881094#action_12881094
 ] 

viola.lu commented on GERONIMO-5376:


i tried to add all three servers to initalservers on every node, but still got 
java.lang.RuntimeException: Invalid response from server: -1
org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:277)
javax.naming.InitialContext.lookup(InitialContext.java:392)

org.apache.geronimo.tests.LoadBeanMultipinttServlet.doGet(LoadBeanMultipinttServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)


 OpenEJB failover failed 
 

 Key: GERONIMO-5376
 URL: https://issues.apache.org/jira/browse/GERONIMO-5376
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: OpenEJB
Affects Versions: 2.2.1
 Environment: windows 2003, suse10 sp2, redhat 5.3
 jdk: sun 1.6.10
Reporter: viola.lu
Assignee: Ivan
 Fix For: 2.2.1

 Attachments: loadbean.zip


 Server 1: window 2003, viola-dev
 Server 2: suse 10 sp2, suse10sp268
 Server 3: redhat 5.3, rhel53x86
 Server 4: windows xp
 1. Add MultipointServers=suse10sp268:4212  to server 1
 2. Add MultipointServers=rhel53x86:4212 to server 2
 3. Add MultipointServers=viola-dev to server 3
 4.Deploy loadbean ejb to server 1, server 2, server 3
 Deploy a openejb client servlet loadbeanwar to server 4 which call server 1. 
  p.setProperty(Context.PROVIDER_URL,failover:ejbd://suse10sp2:4201);
 5.Shutdown server 2, it should failover to server 3, but failed, server  1 
 reported errors:
 Invalid response from server -1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMO-5376) OpenEJB failover failed

2010-06-21 Thread Shawn Jiang (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12881036#action_12881036
 ] 

Shawn Jiang commented on GERONIMO-5376:
---

If this is fixed, please close it.

 OpenEJB failover failed 
 

 Key: GERONIMO-5376
 URL: https://issues.apache.org/jira/browse/GERONIMO-5376
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: OpenEJB
Affects Versions: 2.2.1
 Environment: windows 2003, suse10 sp2, redhat 5.3
 jdk: sun 1.6.10
Reporter: viola.lu
Assignee: Ivan
 Fix For: 2.2.1

 Attachments: loadbean.zip


 Server 1: window 2003, viola-dev
 Server 2: suse 10 sp2, suse10sp268
 Server 3: redhat 5.3, rhel53x86
 Server 4: windows xp
 1. Add MultipointServers=suse10sp268:4212  to server 1
 2. Add MultipointServers=rhel53x86:4212 to server 2
 3. Add MultipointServers=viola-dev to server 3
 4.Deploy loadbean ejb to server 1, server 2, server 3
 Deploy a openejb client servlet loadbeanwar to server 4 which call server 1. 
  p.setProperty(Context.PROVIDER_URL,failover:ejbd://suse10sp2:4201);
 5.Shutdown server 2, it should failover to server 3, but failed, server  1 
 reported errors:
 Invalid response from server -1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMO-5376) OpenEJB failover failed

2010-06-11 Thread Ivan (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12877737#action_12877737
 ] 

Ivan commented on GERONIMO-5376:


1. I opened a JIRA OpenEJB-1297, and David has kindly fixed the issue in the 
trunk, it should be ported to 3.1.3 branch soon.
2. openejb.client.requestretry system property is need to configured on the 
client side, or we could get an exception in the first call after the last 
server is down
3. The configuration in the description is not correctly, you might refer to 
the https://cwiki.apache.org/OPENEJBx30/failover.html.

 OpenEJB failover failed 
 

 Key: GERONIMO-5376
 URL: https://issues.apache.org/jira/browse/GERONIMO-5376
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: OpenEJB
Affects Versions: 2.2.1
 Environment: windows 2003, suse10 sp2, redhat 5.3
 jdk: sun 1.6.10
Reporter: viola.lu
Assignee: Ivan
 Fix For: 2.2.1

 Attachments: loadbean.zip


 Server 1: window 2003, viola-dev
 Server 2: suse 10 sp2, suse10sp268
 Server 3: redhat 5.3, rhel53x86
 1. Add MultipointServers=suse10sp268:4212  to server 1
 2. Add MultipointServers=rhel53x86:4212 to server 2
 3. Add MultipointServers=rhel53x86:4212 to server 3
 4.Deploy loadbean interface to server 1. deploy loadbean implementation to 
 server 2, server 3
 Deploy a openejb client servlet to server 1 which call server 2. server 3
  
 p.setProperty(Context.PROVIDER_URL,failover:ejbd://suse10sp2:4201,ejbd://rhel53x86:4201);
 5.Shutdown server 2, it should failover to server 3, but failed, server  1 
 reported errors:
 Invalid response from server -1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMO-5376) OpenEJB failover failed

2010-06-11 Thread viola.lu (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12878191#action_12878191
 ] 

viola.lu commented on GERONIMO-5376:


Paste a post on openejb dev mail list about openejb multipoint failover
http://openejb.979440.n4.nabble.com/Multipoint-URI-td2239616.html#a2251237
from this thread, this problem and configuration become clear, my configuration 
seems no problem, anyway i will double check.

 OpenEJB failover failed 
 

 Key: GERONIMO-5376
 URL: https://issues.apache.org/jira/browse/GERONIMO-5376
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: OpenEJB
Affects Versions: 2.2.1
 Environment: windows 2003, suse10 sp2, redhat 5.3
 jdk: sun 1.6.10
Reporter: viola.lu
Assignee: Ivan
 Fix For: 2.2.1

 Attachments: loadbean.zip


 Server 1: window 2003, viola-dev
 Server 2: suse 10 sp2, suse10sp268
 Server 3: redhat 5.3, rhel53x86
 1. Add MultipointServers=suse10sp268:4212  to server 1
 2. Add MultipointServers=rhel53x86:4212 to server 2
 3. Add MultipointServers=rhel53x86:4212 to server 3
 4.Deploy loadbean interface to server 1. deploy loadbean implementation to 
 server 2, server 3
 Deploy a openejb client servlet to server 1 which call server 2. server 3
  
 p.setProperty(Context.PROVIDER_URL,failover:ejbd://suse10sp2:4201,ejbd://rhel53x86:4201);
 5.Shutdown server 2, it should failover to server 3, but failed, server  1 
 reported errors:
 Invalid response from server -1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMO-5376) OpenEJB failover failed

2010-06-11 Thread Ivan (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12878192#action_12878192
 ] 

Ivan commented on GERONIMO-5376:


a. If you program the url like 
p.setProperty(Context.PROVIDER_URL,failover:ejbd://suse10sp2:4201,ejbd://rhel53x86:4201);.
 which means that the client has already knows some options, in this scenario, 
it is expected that some other cluster servers should be updated from server, 
it might not be clear that where the client get the server list.
b. If you configure MutlpointServers in the server 1, but the ejb application 
is not deployed to that server, there will be issues while all the server 2 and 
server 3 are down.
c. Configure the server itself in the MultipointServers make no sense, like 
what you do in server 3.


 OpenEJB failover failed 
 

 Key: GERONIMO-5376
 URL: https://issues.apache.org/jira/browse/GERONIMO-5376
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: OpenEJB
Affects Versions: 2.2.1
 Environment: windows 2003, suse10 sp2, redhat 5.3
 jdk: sun 1.6.10
Reporter: viola.lu
Assignee: Ivan
 Fix For: 2.2.1

 Attachments: loadbean.zip


 Server 1: window 2003, viola-dev
 Server 2: suse 10 sp2, suse10sp268
 Server 3: redhat 5.3, rhel53x86
 1. Add MultipointServers=suse10sp268:4212  to server 1
 2. Add MultipointServers=rhel53x86:4212 to server 2
 3. Add MultipointServers=rhel53x86:4212 to server 3
 4.Deploy loadbean interface to server 1. deploy loadbean implementation to 
 server 2, server 3
 Deploy a openejb client servlet to server 1 which call server 2. server 3
  
 p.setProperty(Context.PROVIDER_URL,failover:ejbd://suse10sp2:4201,ejbd://rhel53x86:4201);
 5.Shutdown server 2, it should failover to server 3, but failed, server  1 
 reported errors:
 Invalid response from server -1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMO-5376) OpenEJB failover failed

2010-06-11 Thread viola.lu (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12878194#action_12878194
 ] 

viola.lu commented on GERONIMO-5376:


Some adjustification of description here:
I deployed ejb to server 1, server 2, server 3, and add server 2 as server 1 
mulitpoint server via initialmulitpointerserver attribute in 
var/config/config-substition.propteries, server 3 as server 2 mutlipoint 
servers, server 3 as server 1 multipoint server
EJB client application is in another server 4, totally sperated from server 1, 
2, 3.

So the three problems figured out here don't exist any more.


 OpenEJB failover failed 
 

 Key: GERONIMO-5376
 URL: https://issues.apache.org/jira/browse/GERONIMO-5376
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: OpenEJB
Affects Versions: 2.2.1
 Environment: windows 2003, suse10 sp2, redhat 5.3
 jdk: sun 1.6.10
Reporter: viola.lu
Assignee: Ivan
 Fix For: 2.2.1

 Attachments: loadbean.zip


 Server 1: window 2003, viola-dev
 Server 2: suse 10 sp2, suse10sp268
 Server 3: redhat 5.3, rhel53x86
 1. Add MultipointServers=suse10sp268:4212  to server 1
 2. Add MultipointServers=rhel53x86:4212 to server 2
 3. Add MultipointServers=rhel53x86:4212 to server 3
 4.Deploy loadbean interface to server 1. deploy loadbean implementation to 
 server 2, server 3
 Deploy a openejb client servlet to server 1 which call server 2. server 3
  
 p.setProperty(Context.PROVIDER_URL,failover:ejbd://suse10sp2:4201,ejbd://rhel53x86:4201);
 5.Shutdown server 2, it should failover to server 3, but failed, server  1 
 reported errors:
 Invalid response from server -1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.