Internet accessiblity for Glassfish server 4.0

81 views
Skip to first unread message

Tahmid Nips

unread,
Jun 1, 2014, 1:50:27 AM6/1/14
to programming...@googlegroups.com
Dear sir,
As newbies, students like us work hard on learning Java EE. But there is one problem which is, we do not have free online domain for Java EE web applications. So, after creating a web application, we remain unaware of the facts that how safe our web application is in terms of concurrent access to various components.
Without that, (in my case actually) if we want to build a cross platform application such as a web application that communicates with applications running on smartphone devices, it is necessary that the web application be online accessible.
The problem is, the Glassfish server when used as localhost, responds to the IP address 127.0.0.0 which is true for most of the other PCs on this planet. So I searched for Glassfish docs on how to get online accessibility for Glassfish server but failed implementing that.
So far I have done this...

To make the Glassfish server online accessible, first a network listener is required to be created. So, on the asadmin console, for creating the network listener, the following command was suggested there.

create-network-listener --listenerport 7272 protocol http-1 --enabled=false sampleListener

I
did as it was stated. But the reply was,

Enter the value for the protocol option>_

There is no suggestion for this option value and I am stuck with it. The command fails with the following error.
Command create-network-listener accepts only one operand.

Any suggestion would be great on this.
Reply all
Reply to author
Forward
0 new messages