PROBLEM IN INSTALLING APPLICATION SERVER IN MAC.

Hi all

During installation i want to connect with my existing database ie. MySQL and checked that option , after i couldn’t able to change the driver class in the next screen, so i continue without changing anything in that screen. I think might be this will cause to not to create a service in mac. During installing products i got the following error.

/bin/chmod a+x /Applications/Servoy/application_server/service/install_service.ch

please help me to get ride of this error.

My system requirements are

Os : Mac

Hi pkb,

Open a terminal window.
Type the following:

sudo chmod a+x /Applications/Servoy/application_server/service/install_service.ch

Hit enter and type your admin password at the password prompt.
That’s it.

P.s. No need to write all caps in the subject. It’s considered shouting and there is no need to because we are all listening :)

I have tried this, but it showing " no such file is exist", it is .ch or .sh file, please let me know…

I tried this by changing .ch to .sh , but it is not asking password. Let me know weather is right or not.

sudo chmod a+x /Applications/Servoy/application_server/service/install_service_temp.sh

Hmm…I checked my own install and the file is named “install_service_temp.sh”
Are you sure you pasted the error correctly ?

Anyway, this file does nothing more than using the ServoyServer script to install Servoy Server as a service (but be aware that it doesn’t start it yet).
So you can do the following:

sudo /Applications/Servoy/application_server/service/ServoyServer install

If you simply start this script without any parameters you see what you can do with it:

Usage: ./ServoyServer [ console | start | stop | restart | condrestart | status | install | remove | dump ]

Commands:
  console      Launch in the current console.
  start        Start in the background as a daemon process.
  stop         Stop if running as a daemon or in another console.
  restart      Stop if running and then start.
  condrestart  Restart only if already running.
  status       Query the current status.
  install      Install to start automatically when system boots.
  remove       Uninstall.
  dump         Request a Java thread dump if running.

Hope this helps.

the above command gave the following output.
command not found

Hi pkb,

Do you have a service directory in your application_server directory ? And does it contain anything ?

yes, it contains the following files install_service_temp.sh , libwrapper.jnilib , ServoyServer , wrapper , wrapper.conf , wrapper.jar

Okay…perhaps the script doesn’t have the execution bit (+x)

Try this (as extra check):

sudo sh /Applications/Servoy/application_server/service/ServoyServer install

If that works then add the execution bit using the following command:

sudo chmod a+x /Applications/Servoy/application_server/service/ServoyServer

this one also not creating a service to the application server. Mainly i am interested to create a service after installation of servoy 6 's application server.

Did you do what I said in my previous post ? Because it does exactly that.
It installs it as a service. Sure it’s not running yet. You do that by typing sudo ServoyServer start , as explained in a couple of posts before.

when i am trying to install without checking the application service component, i couldn’t able to see the service folder , my requirement is to install a servoy 6 application server., but when i am trying to install with existing database and checked the application service component, it gives an error message as " /bin/chmod a+x /Applications/Servoy/application_server/service/install_service.ch "

Please let me know, the exact way to install a application server in mac.

i am having the same problems on a mac osx10.6 server.
after

sudo sh /Applications/Servoy/application_server/service/ServoyServer install
the installer runs, and returns:
detected Mac OSX:

after apparent installation, the serverdaemon won’t start:
sudo /Applications/Servoy/application_server/service/ServoyServer start

results ins:
Starting Servoy Application Server. Detected Mac OSX and installed launchd daemon.
Waiting for Servoy Application Server…

then endless waiting for the application server…