« [News] Servoy engineers go on strike | Main | [Tutorial] Organization: naming conventions »

April 12, 2005

[Tip] Mac manual startup of server

by Marcel Trapman
www.it2be.com

When you are like me you really don't like working with the terminal. However when you manually want to start up servoy_server there is no other way. Or... Is there another way!?

Yes, there is. And, in fact it is quite simple to create it. Here you go:

1. Go into your Servoy folder;
2. Create a new folder and name it (like you want) with the extension .app;
3. Go into the new folder (show package contents);
4. Create a folder 'Contents';
5. Go into that folder;
6. Throw the shell script 'servoy_server.sh' into the folder and rename it with the same name as the top folder without the .app extension;

Congratulations, you created an application in the most basic way! Now double click the app and the shell script will execute and start up the server.

When you followed earlier tips/articles on creating a shell script that also starts up your database you have a way to start a server manually in a very easy and convenient way!


Cheers and have fun,

Marcel

| Posted by IT2Be on April 12, 2005 at 06:04 PM in Tips | Permalink

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/118167/2234435

Listed below are links to weblogs that reference [Tip] Mac manual startup of server:

Comments

Groovy!

Posted by: Swingman | Apr 13, 2005 11:44:41 AM

I tried with 2.1.2 and 2.2RC5, but the server doesn't start (I've the dbsrv9 daemon already running). It alwsys gives me this result, in the Console:

Exception in thread "main" java.lang.NoClassDefFoundError: com/servoy/j2db/server/ApplicationServer

Am I missing something?

Posted by: Riccardo Albieri | Apr 23, 2005 11:48:39 AM

Riccardo, what happens when you start up the server via the terminal? I am pretty sure this has nothing to do with my tip but with our shell script...

Posted by: Marcel Trapman | Apr 23, 2005 5:20:08 PM

Using terminal, Servoy Server starts regularly with ./servoy_server.sh

Posted by: Riccardo Albieri | Apr 24, 2005 2:36:57 PM

Found: I added a line in the script with
cd /Applications/Servoy/
And now it works! :-)

Maybe it could have something to do with localized systems... Anyway, great tip, Marcel :-)

Posted by: Riccardo Albieri | Apr 27, 2005 2:52:57 AM

Post a comment