-
1. Re: Remote EJB example doesn't terminate
jaikiran Nov 22, 2011 9:48 AM (in response to prasad.deshpande)Prasad Deshpande wrote:
and noticed that after running successfully, client program doesn't terminate (just hangs after main() method completion) after completion..
We fixed that last week actually.
Prasad Deshpande wrote:
I've used all the client jar files specified in the post. Also added necessary property files to the classpath.
I would like to see which exact version of jboss-ejb-client.jar you have in your *client* classpath.
-
2. Re: Remote EJB example doesn't terminate
prasad.deshpande Nov 22, 2011 9:54 AM (in response to jaikiran)jaikiran pai wrote:
We fixed that last week actually.
That's interesting.. cause nightly build that I have got is downloaded on 21st Nov 9:20 AM GMT, not sure if your fix has been merged in a build that was avaialbe that time, I'll try downloading latest now..
jaikiran pai wrote:
I would like to see which exact version of jboss-ejb-client.jar you have in your *client* classpath.
It's jboss-ejb-client-1.0.0.Beta7.jar
-
3. Re: Remote EJB example doesn't terminate
jaikiran Nov 22, 2011 10:08 AM (in response to prasad.deshpande)1 of 1 people found this helpfulPrasad Deshpande wrote:
jaikiran pai wrote:
We fixed that last week actually.
That's interesting.. cause nightly build that I have got is downloaded on 21st Nov 9:20 AM GMT, not sure if your fix has been merged in a build that was avaialbe that time, I'll try downloading latest now..
Hmm looks like the server side hasn't been updated to 3.0.0.CR4 of XNIO. It's still at 3.0.0.CR3. And I guess you copied that version of xnio jars to the client side. That explains it, since the fix was involved in that jar too.
For now, just use 3.0.0.CR4 of xnio* jars on your *client* side.
Prasad Deshpande wrote:
jaikiran pai wrote:
I would like to see which exact version of jboss-ejb-client.jar you have in your *client* classpath.
It's jboss-ejb-client-1.0.0.Beta7.jar
That's the correct version.
-
4. Re: Remote EJB example doesn't terminate
prasad.deshpande Nov 22, 2011 10:18 AM (in response to jaikiran)jaikiran pai wrote:
For now, just use 3.0.0.CR4 of xnio* jars on your *client* side.
Where do I get that from? downloaded latest build, that too contains 3.0.0 CR3..
-
5. Re: Remote EJB example doesn't terminate
jaikiran Nov 22, 2011 10:22 AM (in response to prasad.deshpande)Prasad Deshpande wrote:
jaikiran pai wrote:
For now, just use 3.0.0.CR4 of xnio* jars on your *client* side.
downloaded latest build, that too contains 3.0.0 CR3..
Yeah, I sent a pull request to upgrade that https://github.com/jbossas/jboss-as/pull/714.
Prasad Deshpande wrote:
Where do I get that from?
For now get the xnio CR4 jars from:
xnio-api: https://repository.jboss.org/nexus/content/repositories/public/org/jboss/xnio/xnio-api/3.0.0.CR4/
xnio-nio: https://repository.jboss.org/nexus/content/repositories/public/org/jboss/xnio/xnio-nio/3.0.0.CR4/
-
6. Re: Remote EJB example doesn't terminate
prasad.deshpande Nov 22, 2011 10:26 AM (in response to jaikiran)jaikiran pai wrote:
For now get the xnio CR4 jars from:
xnio-api: https://repository.jboss.org/nexus/content/repositories/public/org/jboss/xnio/xnio-api/3.0.0.CR4/
xnio-nio: https://repository.jboss.org/nexus/content/repositories/public/org/jboss/xnio/xnio-nio/3.0.0.CR4/
Not Found
The requested URL /nexus/content/repositories/public/org/jboss/xnio/xnio-nio/3.0.0.CR4/xnio-nio-3.0.0.CR4.jar was not found on this server.
I think, I'll wait for pull request to be completed.. But really thanks for your help.
-
7. Re: Remote EJB example doesn't terminate
jaikiran Nov 22, 2011 10:37 AM (in response to prasad.deshpande)Paul says those are incorrect URLs. Sorry about that. Try these instead:
https://repository.jboss.org/nexus/content/groups/public/org/jboss/xnio/xnio-api/3.0.0.CR4/
https://repository.jboss.org/nexus/content/groups/public/org/jboss/xnio/xnio-api/3.0.0.CR4/
-
8. Re: Remote EJB example doesn't terminate
prasad.deshpande Nov 22, 2011 10:46 AM (in response to jaikiran)That worked... Thanks,
However, on server console I get following line logged after client program terminates, any clue -- may be due to xnio CR3/4 difference between client/server?
15:44:35,063 ERROR [org.jboss.remoting.remote] (Remoting "xp003800" read-1) JBREM000200: Remote connection failed: java.io.IOException: An existing connection was forcibly closed by the remote host
-
9. Re: Remote EJB example doesn't terminate
jaikiran Nov 22, 2011 10:53 AM (in response to prasad.deshpande)Prasad Deshpande wrote:
15:44:35,063 ERROR [org.jboss.remoting.remote] (Remoting "xp003800" read-1) JBREM000200: Remote connection failed: java.io.IOException: An existing connection was forcibly closed by the remote host
I haven't seen that being reported in my local runs. So not exactly sure what might be the cause. Is this consistently reproducible? I can take a look tomorrow.
-
10. Re: Remote EJB example doesn't terminate
prasad.deshpande Nov 22, 2011 10:58 AM (in response to jaikiran)jaikiran pai wrote:
I haven't seen that being reported in my local runs. So not exactly sure what might be the cause. Is this consistently reproducible?
Yes, it is.. atleast I'm getting it everytime.. just use above attached EAR & client and you should be able to re produce it..
I can take a look tomorrow.
Sure, Thanks a lot Jaikiran!
-
11. Re: Remote EJB example doesn't terminate
prasad.deshpande Nov 24, 2011 5:47 AM (in response to jaikiran)I still get following exception in 7.1 Beta1 release on every termination of client program. Did you get chance to look into?
10:33:18,913 ERROR [org.jboss.remoting.remote] (Remoting "xp003800" read-1) JBREM000200: Remote connection failed: java.io.IOException: An existing connection was forcibly closed by the remote host
-
12. Re: Remote EJB example doesn't terminate
jaikiran Nov 24, 2011 6:31 AM (in response to prasad.deshpande)Are you sure your client classpath has the exact same jar versions as on the server? Especially the remoting jar should be 3.2.0.CR3 and sasl 1.0.0.Beta6.
-
13. Re: Remote EJB example doesn't terminate
prasad.deshpande Nov 24, 2011 7:01 AM (in response to jaikiran)Yes, they are, however, I have marshalling-api-1.2.3.GA.jar in my lib directory of EAR, you reckon that should matter? I doubt...
-
14. Re: Remote EJB example doesn't terminate
gringott Dec 7, 2011 1:57 PM (in response to prasad.deshpande)About this error
10:33:18,913 ERROR [org.jboss.remoting.remote] (Remoting "MachineName" read-1) JBREM000200: Remote connection failed: java.io.IOException: An existing connection was forcibly closed by the remote host
i get the same problem both on WinXP and Win 7 but i've tried it and i don't have problems on linux.
WinXp and Win7 both on 32 bit, Linux (Ubuntu) on 64 bit. i'll try also on a 32 bit version of ubuntu and see if the same..
I would like to understand what the problem is. I know the call works but would be nice not to have on log weird ERRORS like these that will make difficult to analyze logs. I will let you know my ubuntu 32 "experiment".
All the best
EDIT: tried also with 32 bit linux machine..no error.. Thanks in advance for your help!