It seems your last problem is indeed in the permissions of your servoy_server.sh.
This is probably due to the fact that you copied this file from the package you downloaded.
Normally Servoy Installer sets the correct permissions.
-rwxr-xr-x 1 admin admin 773 Jan 22 2005 servoy_server.sh
Last login: Mon Feb 20 15:45:23 on console
Welcome to Darwin!
s-power-mac-g4:~ 466$ cat /Applications/Servoy/.log.txt
2006-02-16 16:51 : Loading servoy.properties from /Applications/Servoy/servoy.properties
2006-02-16 16:51 : Loading - Done
2006-02-16 16:51 : Using RMI registry on port 1099
2006-02-16 16:53 : Error occured informing client plugin udp, error: java.lang.NullPointerException
2006-02-16 17:17 : Error occured informing client plugin udp, error: java.lang.NullPointerException
2006-02-16 17:17 : ConversionError: The undefined value has no properties calling register. (onSolutionOpen; line 6)
onSolutionOpen
at com.servoy.j2db.scripting.e.call(Unknown Source)
at com.servoy.j2db.develop.debugger.k.a(Unknown Source)
at com.servoy.j2db.develop.debugger.k.executeFunction(Unknown Source)
at com.servoy.j2db.FormManager.do(Unknown Source)
at com.servoy.j2db.develop.ad.do(Unknown Source)
at com.servoy.j2db.FormManager$3.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2006-02-16 17:17 : TypeError: Cannot convert null to an object. (updateCalendar; line 4)
yak_cal_calWelcome.updateCalendar
yak_cal_calWelcome.onShow
at com.servoy.j2db.scripting.e.call(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1254)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2031)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:94)
at com.servoy.j2db.scripting.e.call(Unknown Source)
at com.servoy.j2db.develop.debugger.k.a(Unknown Source)
at com.servoy.j2db.develop.debugger.k.executeFunction(Unknown Source)
at com.servoy.j2db.FormPanel.a(Unknown Source)
at com.servoy.j2db.FormPanel.a(Unknown Source)
at com.servoy.j2db.FormPanel.cO(Unknown Source)
at com.servoy.j2db.dataui.SpecialTabPanel$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2006-02-16 17:17 : ConversionError: The undefined value has no properties calling isServoyClient. (onShow; line 4)
secWelcome.onShow
at com.servoy.j2db.scripting.e.call(Unknown Source)
at com.servoy.j2db.develop.debugger.k.a(Unknown Source)
at com.servoy.j2db.develop.debugger.k.executeFunction(Unknown Source)
at com.servoy.j2db.FormPanel.a(Unknown Source)
at com.servoy.j2db.FormPanel.a(Unknown Source)
at com.servoy.j2db.FormPanel.cO(Unknown Source)
at com.servoy.j2db.FormManager$7.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at com.servoy.j2db.util.b.setVisible(Unknown Source)
at com.servoy.j2db.util.gui.h.a(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.reportDetailMessage(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.reportError(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.reportError(Unknown Source)
at com.servoy.j2db.FormPanel.a(Unknown Source)
at com.servoy.j2db.FormPanel.cO(Unknown Source)
at com.servoy.j2db.dataui.SpecialTabPanel$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2006-02-16 17:20 : ConversionError: The undefined value has no properties calling resetMenuBar. (onQuit; line 15)
onQuit
at com.servoy.j2db.scripting.e.call(Unknown Source)
at com.servoy.j2db.develop.debugger.k.a(Unknown Source)
at com.servoy.j2db.develop.debugger.k.executeFunction(Unknown Source)
at com.servoy.j2db.ClientState.closeSolution(Unknown Source)
at com.servoy.j2db.J2DBClient.closeSolution(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.closeSolution(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.shutDown(Unknown Source)
at com.servoy.j2db.J2DBClient$6.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:291)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:291)
at java.awt.Window.processWindowEvent(Window.java:1121)
at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
at java.awt.Window.processEvent(Window.java:1079)
at java.awt.Component.dispatchEventImpl(Component.java:3681)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2006-02-16 17:20 : Error occured informing client plugin udp, error: java.lang.NullPointerException
s-power-mac-g4:~ 466$
These errors are from when you opened the solution (maybe the batch processor did). Anyway it doesn’t tell me much about the launch problems.
Can you check the console.log when you launch Servoy server?
You can do that with Console.app. (make sure you select the console.log from the left pane).
Here’s what I did. Shut down Sybase, shut down the Mac, let it settle. Started it up again. Gave it about 10 minutes to complete whatever startup processes it might initiate. Activity Monitor is showing Sybase is running. Checked out Servoy-Admin and couldn’t go there.
I then checked out the Console. The Console log is brief but the System log is voluminous.
Console:
Mac OS X Version 10.4.5 (Build 8H14)
2006-02-21 09:04:21 -0500
2006-02-21 09:04:24.684 SystemUIServer[170] lang is:en
System:
Feb 21 03:16:38 s-power-mac-g4 cp: error processing extended attributes: Operation not permitted
Feb 21 08:59:06 s-power-mac-g4 kernel[0]: USBF: 62069.265 [0x1339300] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 1 of hub @ location: 0x18000000)
Feb 21 08:59:06 s-power-mac-g4 kernel[0]: USBF: 62069.687 [0x1339300] The IOUSBFamily has successfully enumerated the device.
Feb 21 09:02:02 s-power-mac-g4 shutdown: halt by 466:
Feb 21 09:02:03 s-power-mac-g4 SystemStarter[366]: authentication service (378) did not complete successfully
Feb 21 09:04:04 localhost kernel[0]: standard timeslicing quantum is 10000 us
Feb 21 09:04:04 localhost mDNSResponder-107.4 (Nov 15 2005 21: 34:38)[39]: starting
Feb 21 09:04:04 localhost kernel[0]: vm_page_bootstrap: 125997 free pages
Feb 21 09:04:04 localhost kernel[0]: mig_table_max_displ = 70
Feb 21 09:04:04 localhost kernel[0]: 65 prelinked modules
Feb 21 09:04:04 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
Feb 21 09:04:04 localhost kernel[0]: The Regents of the University of California. All rights reserved.
Feb 21 09:04:04 localhost kernel[0]: using 1310 buffer headers and 1310 cluster IO buffer headers
Feb 21 09:04:04 localhost kernel[0]: FireWire (OHCI) Lucent ID 5811 built-in now active, GUID 003065ff febd1efa; max speed s400.
Feb 21 09:04:04 localhost kernel[0]: Security auditing service present
Feb 21 09:04:04 localhost kernel[0]: BSM auditing present
Feb 21 09:04:04 localhost kernel[0]: disabled
Feb 21 09:04:04 localhost kernel[0]: rooting via boot-uuid from /chosen: 6B752BDD-3A93-3629-A9F7-640C6C54A8C7
Feb 21 09:04:04 localhost kernel[0]: Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media
Feb 21 09:04:04 localhost kernel[0]: Got boot device = IOService:/MacRISC2PE/pci@f2000000/AppleMacRiscPCI/mac-io@17/AppleKeyLargo/ata-4@1f000/KeyLargoATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/ST3120213A Media/IOApplePartitionScheme/Apple_HFS_Untitled_1@10
Feb 21 09:04:04 localhost kernel[0]: BSD root: disk0s10, major 14, minor 9
Feb 21 09:04:04 localhost kernel[0]: Jettisoning kernel linker.
Feb 21 09:04:04 localhost kernel[0]: Resetting IOCatalogue.
Feb 21 09:04:04 localhost kernel[0]: Matching service count = 0
Feb 21 09:04:04 localhost lookupd[44]: lookupd (version 369.2) starting - Tue Feb 21 09:04:04 2006
Feb 21 09:04:04 localhost kernel[0]: Matching service count = 2
Feb 21 09:04:04 localhost kernel[0]: Matching service count = 2
Feb 21 09:04:04 localhost kernel[0]: Matching service count = 2
Feb 21 09:04:04 localhost kernel[0]: Matching service count = 2
Feb 21 09:04:04 localhost kernel[0]: ROM ndrv for ATY,Rage128Pd is too old (0xb6246498)
Feb 21 09:04:04 localhost kernel[0]: obtaining ID
Feb 21 09:04:04 localhost kernel[0]: from Registry
Feb 21 09:04:04 localhost kernel[0]: ATIRage128: using AGP
Feb 21 09:04:05 localhost kernel[0]: UniNEnet: Ethernet address 00:30:65:bd:1e:fa
Feb 21 09:04:05 localhost launchd: Server 296b in bootstrap 1103 uid 0: “/usr/sbin/lookupd”[44]: exited abnormally: Hangup
Feb 21 09:04:05 localhost diskarbitrationd[32]: disk0s10 hfs 6B752BDD-3A93-3629-A9F7-640C6C54A8C7 DemoServe /
Feb 21 09:04:06 localhost lookupd[59]: lookupd (version 369.2) starting - Tue Feb 21 09:04:06 2006
Feb 21 09:04:08 localhost kernel[0]: ATY,Rage128Pd: vram [96000000]
Feb 21 09:04:08 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
Feb 21 09:04:08 s-power-mac-g4 kernel[0]: UniNEnet::monitorLinkStatus - Link is up at 100 Mbps - Full Duplex
Feb 21 09:04:08 s-power-mac-g4 configd[30]: setting hostname to “s-power-mac-g4.local”
Feb 21 09:04:09 s-power-mac-g4 loginwindow[63]: Login Window Started Security Agent
Feb 21 09:04:11 s-power-mac-g4 mDNSResponder: Adding browse domain local.
Feb 21 09:04:12 s-power-mac-g4 launchd: Server 0 in bootstrap 1103 uid 0: “/usr/sbin/lookupd”[59]: exited abnormally: Hangup
Feb 21 09:04:12 s-power-mac-g4 configd[30]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-network
Feb 21 09:04:12 s-power-mac-g4 configd[30]: posting notification com.apple.system.config.network_change
Feb 21 09:04:12 s-power-mac-g4 configd[30]: setting hostname to “s-power-mac-g4”
Feb 21 09:04:12 s-power-mac-g4 lookupd[73]: lookupd (version 369.2) starting - Tue Feb 21 09:04:12 2006
Feb 21 09:04:14 s-power-mac-g4 configd[30]: target=enable-network: disabled
Feb 21 09:04:19 s-power-mac-g4 SQLAnywhere(servoy_repository): Database server started at Tue Feb 21 2006 09:04
Feb 21 09:04:19 s-power-mac-g4 SQLAnywhere(servoy_repository): Trying to start SharedMemory link …\n
Feb 21 09:04:19 s-power-mac-g4 SQLAnywhere(servoy_repository): SharedMemory link started successfully\n
Feb 21 09:04:19 s-power-mac-g4 SQLAnywhere(servoy_repository): Trying to start TCPIP link …\n
Feb 21 09:04:49 s-power-mac-g4 SQLAnywhere(servoy_repository): Starting on port 2638\n
Feb 21 09:04:49 s-power-mac-g4 SQLAnywhere(servoy_repository): TCPIP link started successfully\n
Now I forced Servoy Server to start with```
sudo /Library/StartupItems/Servoy/Servoy start
I can now successfully launch Servoy-Admin.
Here's the Console log at this stage:
> Mac OS X Version 10.4.5 (Build 8H14)
> 2006-02-21 09:04:21 -0500
> 2006-02-21 09:04:24.684 SystemUIServer[170] lang is:en
> kextload: /System/Library/Extensions/smbfs.kext loaded successfully
> mount_smbfs: no shares found
> Feb 21 09:24:53 s-power-mac-g4 SQLAnywhere(servoy_repository): A database server with that name has already started\n
System log now adds these lines:
> Feb 21 09:19:20 s-power-mac-g4 kernel[0]: netsmb_dev: loaded
> Feb 21 09:19:25 s-power-mac-g4 kernel[0]: smbfs_smb_qfsattr: (fyi) share 'NTFS', attr 0xb, maxfilename 255
> Feb 21 09:19:25 s-power-mac-g4 kernel[0]: smbfs_aclsflunksniff: (fyi) user sid S-1-5-21-1799154541-2205054822-463352737-2002 didnt map
> Feb 21 09:24:53 s-power-mac-g4 sudo: 466 : TTY=ttyp1 ; PWD=/Users/466 ; USER=root ; COMMAND=/Library/StartupItems/Servoy/Servoy start
> Feb 21 09:24:53 s-power-mac-g4 SQLAnywhere(servoy_repository): A database server with that name has already started\n
Have you just tried to do a ‘manual’ launch of Servoy Server first? In other words, start Developer so that Sybase is running successfully, then in terminal wander over to the Servoy directory and type ./servoy_server.sh followed by a return.
If the Servoy server is located ‘locally’ I like to do this anyway because I like to know if the server goes down and I like to be there if I’m going to install updates, etc. So most of the time this is how I’ve been running Servoy Server from a Mac. But in any case I would start with this and see if it works and what the feedback is in Terminal.
Have you just tried to do a ‘manual’ launch of Servoy Server first? In other words, start Developer so that Sybase is running successfully, then in terminal wander over to the Servoy directory and type ./servoy_server.sh followed by a return.
If the Servoy server is located ‘locally’ I like to do this anyway because I like to know if the server goes down and I like to be there if I’m going to install updates, etc. So most of the time this is how I’ve been running Servoy Server from a Mac. But in any case I would start with this and see if it works and what the feedback is in Terminal.
John
That works. But I’m puzzled why Robert Ivens, Marcel Trapman and others have no difficulties getting Servoy to launch automatically from boot up. I went through a similar odyssey last spring in setting up an Xserve. It was eventually solved but not in a way that’s easy to reproduce. Sigh.
Well at least I guess you have it going and it sounds as though this is just a test server for a demo so perhaps in this case it might not be worth mucking with that much. I know it is kind of irritating not to have something working perfectly (and not to know exactly why something is working perfectly when it didn’t before!). But sometimes life’s too short
It so happens that I run our production server on a PC where supposedly it is much easier to have it do an automatic start up. Now admittedly I’m pretty clueless about PC’s but it was very straight forward to set it up and in theory everything works fine. I also tested it by doing a shut down. However the two times I really wanted it to work on automatic start up (when some bozos literally pulled the plug) in fact it didn’t work for some reason. So I’m little wary of automatic start ups in general (at least in terms of having the server in some place where it isn’t easily accessible by someone knowledgeable).
The funny thing is that I also have Sybase/Servoy starting up automatically on several windows machines without any issues… And, to make life even better… Linux too…
I’m attempting to set up a iMac MacOS X 10.4.8 Intel Core Duo as a Servoy Server. I’ve followed Marcel Trapman’s tutorial on Servoy Magazine, copy and paste. It does not recognize the file Servoy.
Nov 23 11:34:01 iMac SystemStarter[170]: execl(“/Library/StartupItems/Servoy/Servoy”): No such file or directory
I have tried it of the two ways and it has not worked to me (Users Agents and System Agents). I have followed the instructions of the Servoy Server Administrator’s Guide and works correctly.
Tomorrow I will try to connect itself remotely, I have opened the ports 8080, 1099 and Sybase 2638.