Ok I’ve been playing with servoy for a little while and am at a stage where I have access to another machine where i can install the server and see how that works in the network.
So I’ve done what I think the manual says and installed servoy on that machine but I can’t access the web-client, I get to the servoy logo but then when I click on the client from another pc in the network it says - “error starting of webclients not possible …” ? Its obviously starting and gettign through to servoy but servoy has restricted its access.
So if the try and start the servoy server without developer running the servoy server simply runs for 2 secs then closes down. Tried starting it as a service as well and it stops as well.
I then installed Apache 6, twice in fact as I found apache was conflicting with servoy on port 8080
So I guess question is how do I start the servoy server when I followed what the manual says, it wont start unless developer is running yet developer stops clients connecting
you can either run it as an exe using the batch “C:\Program Files\servoy5…\application_server\servoy_server.bat” or use the service start
if you have a port conflict, you can change this in the dev config, but not in the server one afaik. I guess you could do it, but this probably requires to change on servoy and tomcat side, and I don’t know where are the files to alter, this parameter is not available in the web admin tool. maybe you can change this in your developer prefs, and track what file has been altered, and do the same on server?
Server does not start the database (Developer does), when server starts and cannot login in the repository server it quits.
Check the servoy_log.txt file in the application_server directory.
Server does not start the database (Developer does), when server starts and cannot login in the repository server it quits.
Check the servoy_log.txt file in the application_server directory.
Rob
ok, I start developer and run the server manually. Both start ok.
I run from a remote pc, I get the servoy client splash and when I try and connect i get the "Starting of webstart clients not possible " error.
I then stop developer only, the server is still running.
I then repeat and try to connect again from the remote pc I get a broken url … it fails to can’t connect, no splash … nothing.
There are no error messages written to the logs suggested above.
Do I need to have a separate instance of Apache or IIS running on the server, am going round in circles …
Lesouef - Changing the default port I discovered is documented in the manual, goto app-server\server\conf and amend server.xml
you shouldnt start the server and developer both at the same time on the same server.
then you will have port conflicts.
You can do that but then you do need 2 installs and change the port numbers tomcat uses on 1 of them (for example change 8080 to 8081 on one)
What you should do is start the database and then start the server
Then it should work fine.
Currently you connect to a developer instance with webstart, that is not supported.
You dont need apache, because tomcat can do that all by him self.
I just imported a solution and I can access it from the web client, same for the examples but the smart client has a greyed out link to open the solutions hence I can’t open any solution.
Just got a pop up which says can’t find dataservice it may not be running on server
Also noted the followign error from the SC when openign the details of the error :
NLParseException[ Could not parse launch file. Error at line 0.]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
va.io.EOFException: encoding.error.not.xml
at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)