sample url not found

Questions and answers for all installation-related topics for Servoy products

sample url not found

Postby psb » Wed Dec 28, 2011 10:08 pm

Am new to servoy.
A. Downloaded & installed (using defaults with no issues) Version: 6.0.3 - build 1223 in MAC OS X 10.7.2 on Macbook (Intel Core i7, 2.4 GHz, 8 GB)

B. import _START_HERE and svyCore seems to work fine

C. "Start Debug Smart Client" starts as expected

D. "Start Debug Web Client" opens the following Safari page:

-----------------------
url is: http://localhost:8080/servoy-webclient/ ... ion/sample
client area is:
Not Found

The requested URL /servoy-webclient/solutions/solution/sample was not found on this server.

-----------------------

E. It must be something I have missed. Any help is appreciated.
psb
 
Posts: 7
Joined: Wed Mar 23, 2011 4:50 pm

Re: sample url not found

Postby Gordon » Thu Dec 29, 2011 10:34 am

Hi

IF you have a servoy solution of any sort running try this

http://localhost:8080/servoy-webclient/

it removes the deep link to the sample solution and should get you going.

When you create your own you can by pass the solution selector dialogue and drop the user directly into your web app by adding

/ss/s/yourappname

SO:
http://localhost:8080/servoy-webclient/ ... rsolutuion
Gordon McLean
Click Digital Media Ltd
SAN Developer
www.clickdigital.com
User avatar
Gordon
 
Posts: 265
Joined: Thu Mar 17, 2005 8:05 pm
Location: UK

Re: sample url not found

Postby psb » Thu Dec 29, 2011 3:54 pm

Hi,
Thx for the help, but I get:
"
Not Found

The requested URL /servoy-webclient/ was not found on this server.
"
smart client works, no web client works.
psb
 
Posts: 7
Joined: Wed Mar 23, 2011 4:50 pm

Re: sample url not found

Postby Gordon » Thu Dec 29, 2011 4:12 pm

I am surprised, it sounds like you don't have Tomcat running....

Can you test for this ? and perhaps send over more details of your system i.e. are you on Windows/Mac/Linux etc
Gordon McLean
Click Digital Media Ltd
SAN Developer
www.clickdigital.com
User avatar
Gordon
 
Posts: 265
Joined: Thu Mar 17, 2005 8:05 pm
Location: UK

Re: sample url not found

Postby psb » Thu Dec 29, 2011 4:20 pm

Downloaded & installed (using defaults with no issues) Version: 6.0.3 - build 1223 in MAC OS X 10.7.2 on Macbook (Intel Core i7, 2.4 GHz, 8 GB)
psb
 
Posts: 7
Joined: Wed Mar 23, 2011 4:50 pm

Re: sample url not found

Postby Gordon » Thu Dec 29, 2011 4:48 pm

psb wrote:Downloaded & installed (using defaults with no issues) Version: 6.0.3 - build 1223 in MAC OS X 10.7.2 on Macbook (Intel Core i7, 2.4 GHz, 8 GB)


I am on basically the same setup and its working fine, so I guess the issue is probably to do with Tomcat not running which Servoy relies on. I have just tried this and got a 404 error

http://localhost:8080/test

But importantly I got a Tomcat information page. If there is another service conflicting with it the chances are its failed to start. I just did a quick test to see what ports were running on my Mac using this in the terminal

lsof -i -n -P

I got a huge list and in that was:
servoy 33588 clickdigital 263u IPv6 0xffffff802bebc240 0t0 TCP *:8080 (LISTEN)

I suspect you need to start looking to see whats using 8080 and if its not Servoy perhaps consider changing your Servoy port to another perhaps 8090. see this http://wiki.servoy.com/display/public/D ... 9228AD9AE1

One other thing to try is when you type localhost into safari are you getting what you expect ? Sometimes this is problematic as it can be changed. It may be worth looking in your system prefs/sharing for the IP currently assigned to your machine and using that in my case this would be http://192.168.0.9:8080/

I would say that as a rule Servoy web client starts and works immediately, and thus far I have not seen or experienced problems with the WebClient Config, which although no help may narrow your search.

Best of luck
Gordon
Gordon McLean
Click Digital Media Ltd
SAN Developer
www.clickdigital.com
User avatar
Gordon
 
Posts: 265
Joined: Thu Mar 17, 2005 8:05 pm
Location: UK

Re: sample url not found

Postby psb » Thu Dec 29, 2011 5:30 pm

Thx!
moved to port 8095 ... success!

Interestingly, "lsof -i -n -P" does not show anything on 8080. (I did a find to make sure I did not simply not see it)

However, I am in business. Thanks so much.
psb
 
Posts: 7
Joined: Wed Mar 23, 2011 4:50 pm

Re: sample url not found

Postby Gordon » Thu Dec 29, 2011 5:37 pm

Cool well done - interesting to know what was stopping Tomcat playing on 8080.

The tunnelling feature is excellent especially if you have corporate clients who want to access Servoy behind a firewall, you can run both the smart and web clients over it and it saves lots of grief from IT department managers.

Happy new year !! :D
Gordon McLean
Click Digital Media Ltd
SAN Developer
www.clickdigital.com
User avatar
Gordon
 
Posts: 265
Joined: Thu Mar 17, 2005 8:05 pm
Location: UK

Re: sample url not found

Postby psb » Thu Dec 29, 2011 5:58 pm

Yes, would be nice to know, but it isn't obvious and as Danny Glover (on the trail & in a hurry) in Lonesome Dove said to the prostitute:
"I have the inclination and the money, but alas I haven't the time."
Thanks again & Happy New Year.
psb
 
Posts: 7
Joined: Wed Mar 23, 2011 4:50 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests