Follow up on this
thread:
https://coderanch.com/t/594339/EJB-JEE/java/JMS-client-only-outside-container
I've got 2 laptops here, running next to eachother, connected to the same network switch. One is running an almost default instance of glassfish 3x, the other is running a client OUTSIDE of the container comprised of only a few lines of code to get a connectionFactory from the Glassfish server.
Running both on the same machine works like a charm now, but when ran on different machines it refuses to connect, and my head-ache is now getting worse by the minute...
Server side:
============
Running inside Netbeans
IDE 7.2
GlassFish Server version: 3+
JMS Service Type: LOCAL (instead of EMBEDDED)
Created javax.jms.QueueConnectionFactory named "TapServiceConnectionFactory" under JMS Resources.
Glassfish configuration is otherwise untouched (I've fooled around lots, so created a clean glassfish instance for this example):
Startup log:
ClientSide:
===========
Simple
maven application containing 1 class with a main-method:
POM.XML:
This is what happens if my glassfish server is running and the client is started:
Also not very sure which port to use, 3700 (JMS) or 7676 (IIOPS), however, I've tried both, but both fail.
I'm out of ideas :/