Launch Smart Client

Questions, answers, tips and ideas on Servoy Client

Launch Smart Client

Postby Veges » Tue Nov 10, 2009 3:39 am

Hi,

Page 704 of the developers manual says I can :

To start the Servoy Sample CRM from a local computer, enter:
http://localhost:8080/servoy-client/ser ... e_crm.jnlp

As this is an example solution where do I find or how do I create the servoy_sample_crm.jnlp file, it doesn't exist in my Servoy folder. All I can find is the servoy_sample_crm.servoy file?

Apologies but I don't have a JAVA background, I assume if I want to create a solution which uses smart client I need to create this jnlp file somehow, if so how/where is this done ?

I know I can run the example through Developer but what I'm trying to understand is how to setup a solution as though its in a live scenario.

I ask as I'm getting the "cannot find dataservice" error message. I know there are posts which state you cannot run developer on the same machine (e.g. port conflict), however if Developer is down why would this still be an issue?

My question about the jnlp file still stands as I don't understand where/how it is created/used.

cheers
Veges
 
Posts: 16
Joined: Tue Oct 20, 2009 1:26 am

Re: Launch Smart Client

Postby ROCLASI » Tue Nov 10, 2009 5:08 am

Hi,

Veges wrote:Apologies but I don't have a JAVA background, I assume if I want to create a solution which uses smart client I need to create this jnlp file somehow, if so how/where is this done ?


Your assumption is incorrect. :)
When you hit the Servoy server with that URL then it will create the jnlp file (in memory) for you on the fly.
So what the manuals says is how it actually works. "To start the Servoy Sample CRM from a local computer, enter: " <the URL>

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Launch Smart Client

Postby Veges » Tue Nov 10, 2009 5:56 am

Ok thanks for the explanation.

Regarding the error message, "Cannot find dataservice, it may not be running on server" then am I correct that the error would not occur if Developer is not running (only if I start it up on the same machine as the server - previously I have run Developer on the same machine but it is not active) but the error must be caused from some other issue ?

The server is running on an XP machine in our LAN and I'm trying to access the smart client from the same machine as the server.
Veges
 
Posts: 16
Joined: Tue Oct 20, 2009 1:26 am

Re: Launch Smart Client

Postby ROCLASI » Tue Nov 10, 2009 6:10 am

Hi,

Did you check if Servoy server AND the database server are running ? Also it requires access to port 8080 and 1099. You have the firewall enabled ?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Launch Smart Client

Postby Veges » Tue Nov 10, 2009 6:23 am

yes the ports were added to the firewall
Veges
 
Posts: 16
Joined: Tue Oct 20, 2009 1:26 am

Re: Launch Smart Client

Postby ROCLASI » Tue Nov 10, 2009 6:29 am

And is the database server running ? Servoy server doesn't launch Sybase for you unlike Developer does.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Launch Smart Client

Postby Veges » Tue Nov 10, 2009 7:30 am

Yes mysql is running, I've tested the web client and it works fine.
Veges
 
Posts: 16
Joined: Tue Oct 20, 2009 1:26 am

Re: Launch Smart Client

Postby ROCLASI » Tue Nov 10, 2009 7:40 am

Do you try to run the smart client on that same machine or on another ? If on another did you also add the 2 ports on that machine ?
Servoy server uses (by default, can be disabled) a 2 way connection so the server machine has to allow incoming connections but the client machine as well.
You could try to test it without having the firewall enabled at all...just for ruling out that the firewall is the issue.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 7 guests