-
15. Re: Remote EJB example doesn't terminate
jaikiran Dec 8, 2011 3:11 AM (in response to gringott)Giuseppe Esposito wrote:
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'm on Ubuntu 32 bit and I haven't seen this problem yet.
-
16. Re: Remote EJB example doesn't terminate
gringott Dec 9, 2011 4:53 AM (in response to jaikiran)Yeah the problem seems to be only on windows machines... would like to know which is the real problem...Tell me if i can do some test to help u find the problem please: some of our machines are windows and we can't change os....
Thanks a lot
-
17. Re: Remote EJB example doesn't terminate
jaikiran Jan 12, 2012 3:11 AM (in response to gringott)I just saw this reply now. So it does appear that there are other users running into this issue on Windows OS. I'll see if I can get hold of a Windows system for testing this out.
-
18. Re: Remote EJB example doesn't terminate
gringott Jan 12, 2012 1:21 PM (in response to jaikiran)Np for delay. Maybe no other ppl are trying jboss on windows machines Anyway thank you very much in advance for your efforts! Looking forward.
All the best
-
19. Re: Remote EJB example doesn't terminate
jpf15310 Jan 25, 2012 4:18 PM (in response to gringott)Hi Folks,
I get the same error while running JBoss AS 7 CR1b on Win 7 x64:
Remote connection failed: java.io.IOException: An existing connection was forcibly closed by the remote host
We currently monitor our log for central fault managememt - any idea when this issue is going to be fixed?
Cheers, JP
-
20. Re: Remote EJB example doesn't terminate
foutjo Feb 15, 2012 8:24 AM (in response to jpf15310)I get the same error while running JBoss AS 7 CR1b on Win 7 x64:
Remote connection failed: java.io.IOException: An existing connection was forcibly closed by the remote host.
Does anyone know how to resolve this issue?
Thanks.
-
21. Re: Remote EJB example doesn't terminate
prasad.deshpande Feb 15, 2012 9:14 AM (in response to foutjo)Yes, this has been fixed in the nightly builds & you should not get this error once 7.1.0.Final version is out. Meanwhile, if you want to try, please download nightly build.
-
22. Re: Remote EJB example doesn't terminate
foutjo Feb 15, 2012 2:41 PM (in response to prasad.deshpande)Thanks Prasad.
I will grab the current nightly build and give it a try.
-
23. Re: Remote EJB example doesn't terminate
gringott Feb 19, 2012 4:33 AM (in response to foutjo)Thank you Prasad for the work. I'll test the nightly build too.
-
24. Re: Remote EJB example doesn't terminate
jaikiran Feb 19, 2012 4:37 AM (in response to gringott)Giuseppe Esposito wrote:
I'll test the nightly build too.
JBoss AS 7.1.0.Final has been released. You can just use that since it's fixed in that version.
-
25. Re: Remote EJB example doesn't terminate
newway Feb 21, 2012 3:57 PM (in response to jaikiran)hi,
running on 7.1.0.Final on win7 64bit I still see this error, JDK 6 update 30 for 64bit
this is done by a client that connects to a queue and not to an EJB
-
26. Re: Remote EJB example doesn't terminate
jaikiran Feb 21, 2012 10:21 PM (in response to newway)Noa Drach wrote:
this is done by a client that connects to a queue and not to an EJB
What does your code look like?
-
27. Re: Remote EJB example doesn't terminate
newway Feb 22, 2012 8:28 AM (in response to jaikiran)Hi, I already attached the code in another post JMS Remote Client not able to connect
but for future reffance i can add it here.
by the way - the other post talks about not being able to connect from another machine, the problem discussed in this post is manifested when running on the same machine as jboss
Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.remote.client.InitialContextFactory"); props.put(Context.PROVIDER_URL, "remote://my_machine:4447"); props.put(Context.SECURITY_PRINCIPAL, "noa"); props.put(Context.SECURITY_CREDENTIALS, "my_password"); long startTime = System.currentTimeMillis(); try { System.out.println("Trying to get initial context"); Context context = new InitialContext(props); System.out.println("Have inital context"); ConnectionFactory connFactory = (ConnectionFactory) context .lookup("jms/RemoteConnectionFactory"); Queue queue = (Queue) context.lookup("jms/queue/OutgoingMissionsQueue"); Connection connection = connFactory.createConnection("noa","my_password"); System.out.println("success"); connection.close(); } catch (Exception e) { System.out.println("fail"); e.printStackTrace(); } System.out.println("Elapsed time = " + (System.currentTimeMillis() - startTime) + " milliseconds");
-
28. Re: Remote EJB example doesn't terminate
jonfoxx Feb 24, 2012 8:01 AM (in response to newway)I second Noa Drach's problem with AS 7.1 Final on Win 7 x64. The applications run fine but the console is filled with the remote connection failed error. My code is similar to above but was written independently (uses Spring's JNDI template). Any resolutions/work-arounds yet? Thanks!
-
29. Re: Remote EJB example doesn't terminate
newway Feb 29, 2012 1:14 PM (in response to jonfoxx)anyone came up with anything? I am going to open a JIRA and just wanted to know if someone can update here.
Thanks