Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Occasional Contributor
Posts: 12
Registered: ‎10-12-2015
Accepted Solution

Launch GMSC 16.5 Update 3 from CMD

Hi there,

 

Is there a way to lauch the GMSC 16.5.3 from CMD similar to "javaws http://{host}/gmsc" ? Running in CMD "start http://{host}/gmsc" will open a new tab in the default browser and ask if i want to run the openJdk platform and that doesn't suit us.

 

I know that the launcher creates a shortcut in start->program with the application, but that doesn't help us.

We have a custom launcher at the client that creates the session prior of the launch of the gmsc and runs "javaws http://{host}/gmsc/?sessionid={the_sessionid_created}".

We need to change the "javaws" command.

 

Can you give us a solution ?

 

 

Thanks for the help,

Cosmin

Technical Evangelist
Posts: 148
Registered: ‎10-20-2015

Re: Launch GMSC 16.5 Update 3 from CMD

Hi Cosmin,

the Hexagon App Launcher registers a custom protocol. Just use the command lines start command.

 

HTTP:

start hnlp://{host}/GMSC/

 

HTTPS

 

start hnlps://{host}/GMSC/

 

Best Regards,

Steve

Occasional Contributor
Posts: 12
Registered: ‎10-12-2015

Re: Launch GMSC 16.5 Update 3 from CMD

Hi Steve,

 

Thanks a lot for the help!

 

All the best,

Cosmin

Technical Evangelist
Posts: 148
Registered: ‎10-20-2015

Re: Launch GMSC 16.5 Update 3 from CMD

FYI, I've added this information to the existing tutorial:

https://community.hexagongeospatial.com/t5/GMSC-Tutorials/GMSC-2018-3-Hexagon-App-Launcher/ta-p/2734...

 

Best Regards,

Steve

Occasional Contributor
Posts: 12
Registered: ‎10-12-2015

Re: Launch GMSC 16.5 Update 3 from CMD

Hi there,

 

 

 

If i try to use "start hnlp" everything works.

If i use hnlpi get the following error:

*It works if i launch from the browser https://{host}/gmsc 

 

Error while loading descriptor from https://{host}/gmsc. 
java.net.ConnectException: Connection timed out: no further information
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source)
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.loadDescriptor(Unknown Source)
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.init(Unknown Source)
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.lambda$start$0(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
	at java.net.http/jdk.internal.net.http.PlainHttpConnection$ConnectEvent.handle(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(Unknown Source)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(Unknown Source)

Thanks a lot,

Cosmin

Technical Evangelist
Posts: 148
Registered: ‎10-20-2015

Re: Launch GMSC 16.5 Update 3 from CMD

Hi Cosmin,

please replace the {host} placeholder with your server URL.

 

Example:

 

start hnlps://gmscdemo.hexagongeospatial.com/GMSC/

 

 

More information can be found at:

https://community.hexagongeospatial.com/t5/GMSC-Tutorials/GMSC-2018-3-Hexagon-App-Launcher/ta-p/2734...

 

Best Regards,

Steve

Occasional Contributor
Posts: 12
Registered: ‎10-12-2015

Re: Launch GMSC 16.5 Update 3 from CMD

I've replaced the real ip, dns used with {host} in the example.

So, the error i get when i call "start hnlps://SM09013/gmsc/" is:

 

Error while loading descriptor from https://SM09013/gmsc. 
java.net.ConnectException: Connection timed out: no further information
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source)
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.loadDescriptor(Unknown Source)
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.init(Unknown Source)
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.lambda$start$0(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
	at java.net.http/jdk.internal.net.http.PlainHttpConnection$ConnectEvent.handle(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(Unknown Source)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(Unknown Source)
Technical Evangelist
Posts: 148
Registered: ‎10-20-2015

Re: Launch GMSC 16.5 Update 3 from CMD

Do you use a proxy?

 

Maybe related to:

https://community.hexagongeospatial.com/t5/GeoMedia-Smart-Client/AppLauncher-Connection-refused-to-G...

 

Please ...

  1. open the registry
  2. export the following entry

    Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

  3. Zip it
  4. and attach it to this thread.

 

 

Best Regards,

Steve

Occasional Contributor
Posts: 12
Registered: ‎10-12-2015

Re: Launch GMSC 16.5 Update 3 from CMD

Here it is

Technical Evangelist
Posts: 148
Registered: ‎10-20-2015

Re: Launch GMSC 16.5 Update 3 from CMD

Your registry export shows, that you are using a *.pac file which Java doesn't support by default.

Can you provide us the content of the following file? http://proxyconf.u-ssi.net/technik/ero-ffm.pac

 

In addition we improved the App Launcher page article:

https://community.hexagongeospatial.com/t5/GMSC-Tutorials/GMSC-2018-3-Hexagon-App-Launcher/ta-p/2734...

 

What happens if you are using the following command?

 

start "hnlps://YOUR_SERVER/GMSC/?requesttype=hnlp"

Are you still getting a time out?

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.