Just to make sure, check with Activity Monitor (in /Applications/Utilities/) what process is running when you have Servoy running.
It is dbsrv9 or dbsrv10.
Just to make sure, check with Activity Monitor (in /Applications/Utilities/) what process is running when you have Servoy running.
It is dbsrv9 or dbsrv10.
Okay, you said you upgraded to this Intel mac. So you used Sybase Central before?
Also can you tell me what error/message Sybase Central gives? And are there any errors or messages in the sybase log ({servoy folder}/sybase_db/sybase_log.txt
ROCLASI:
Okay, you said you upgraded to this Intel mac. So you used Sybase Central before?
Also can you tell me what error/message Sybase Central gives? And are there any errors or messages in the sybase log ({servoy folder}/sybase_db/sybase_log.txt
Here is the Sybase Central Error
[Sybase][ODBC Driver][SQL Anywhere]Unable to start database server
Error code=-80
SQL state=08001
I. 11/29 05:25:25. Running Darwin 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 on X86 (X86_64)
I. 11/29 05:25:25. Server built for X86 processor architecture
I. 11/29 05:25:26. Database server started at Thu Nov 29 2007 05:25
I. 11/29 05:25:26. Trying to start SharedMemory link …
I. 11/29 05:25:26. SharedMemory link started successfully
I. 11/29 05:25:26. Trying to start TCPIP link …
I. 11/29 05:25:26. Starting on port 2638
I. 11/29 05:25:26. TCPIP link started successfully
I. 11/29 05:25:26. Now accepting requests
I. 11/29 05:26:23. Connection terminated abnormally
I. 11/29 05:26:23. Disconnected TCPIP client’s AppInfo: HOST=tommy-gills-imac.local
I. 11/29 05:34:19. Connection terminated abnormally
I. 11/29 05:34:19. Disconnected TCPIP client’s AppInfo: HOST=tommy-gills-imac.local
I. 11/29 05:36:11. Running Darwin 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 on X86 (X86_64)
I. 11/29 05:36:11. Server built for X86 processor architecture
I. 11/29 05:36:14. Database server started at Thu Nov 29 2007 05:36
I. 11/29 05:36:14. Trying to start SharedMemory link …
I. 11/29 05:36:14. SharedMemory link started successfully
I. 11/29 05:36:14. Trying to start TCPIP link …
I. 11/29 05:36:14. Starting on port 2638
I. 11/29 05:36:14. TCPIP link started successfully
I. 11/29 05:36:14. Now accepting requests
I. 11/29 06:06:44. Connection terminated abnormally
I. 11/29 06:06:44. Disconnected TCPIP client’s AppInfo: HOST=tommy-gills-imac.local
I. 11/29 06:57:09. Connection terminated abnormally
I. 11/29 06:57:09. Disconnected TCPIP client’s AppInfo: HOST=tommy-gills-imac.local
I. 11/29 07:41:56. Connection terminated abnormally
I. 11/29 07:41:56. Disconnected TCPIP client’s AppInfo: HOST=tommy-gills-imac.local
I have in the past used Sybase Central with SQLAnywhere9 and had good success.
Are you connecting to the database file or are you connecting to the repository server. When Servoy’s Instance of Sybase is running you can’t open the same database file with Sybase Central. You need to connect to dbsrv10 then.
ROCLASI:
Are you connecting to the database file or are you connecting to the repository server. When Servoy’s Instance of Sybase is running you can’t open the same database file with Sybase Central. You need to connect to dbsrv10 then.
What I am trying to do is to create a new database and I keep getting the same error.
I still cannot get Sybase Central to create a new database.
I tried a different tact. I exported a working Solution from my old computer put it along with it’s database and log on my Intel machine.
When I attempt make a connection to the database I get the following error.
Cannot setup server
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
Fresh install. Developer starts up just fine. Sybase Central 10 works fine.
But when I run servoy_server.sh it just drops me back on the command line - no output, dbsrv10 doesn’t start, nothing. Any ideas?
sybase_log.txt:
Running Darwin 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 on X86
I. 02/06 14:28:24. Server built for X86 processor architecture
I. 02/06 14:28:25. Database server started at Wed Feb 06 2008 14:28
I. 02/06 14:28:25. Trying to start SharedMemory link ...
I. 02/06 14:28:25. SharedMemory link started successfully
I. 02/06 14:28:25. Trying to start TCPIP link ...
I. 02/06 14:28:25. Starting on port 2638
I. 02/06 14:28:25. TCPIP link started successfully
I. 02/06 14:28:25. Now accepting requests
I. 02/06 14:29:26. Connection terminated abnormally
I. 02/06 14:29:26. Disconnected TCPIP client's AppInfo: HOST=SmartTrash.local
server.log:
0 [main] INFO com.servoy.j2db.util.Debug - Loading servoy.properties from /Applications/Servoy/servoy.properties
808 [main] INFO com.servoy.j2db.util.Debug - Loading - Done
Exception in thread "main" org.apache.commons.dbcp.DbcpException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:85)
at com.servoy.j2db.persistence.datasource.n.createConnection(Unknown Source)
at com.servoy.j2db.persistence.datasource.r.makeObject(Unknown Source)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:110)
at com.servoy.j2db.persistence.datasource.i.getConnection(Unknown Source)
at com.servoy.j2db.persistence.Server.getConnection(Unknown Source)
at com.servoy.j2db.persistence.Server.checkIfTableExistsInDatabase(Unknown Source)
at com.servoy.j2db.persistence.Repository.for(Unknown Source)
at com.servoy.j2db.persistence.Repository.<init>(Unknown Source)
at com.servoy.j2db.persistence.Repository.<init>(Unknown Source)
at com.servoy.j2db.persistence.Server.getRepository(Unknown Source)
at com.servoy.j2db.server.ApplicationServer.main(Unknown Source)
Caused by: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(Unknown Source)
at com.sybase.jdbc3.jdbc.ErrorMessage.raiseErrorCheckDead(Unknown Source)
at com.sybase.jdbc3.tds.Tds.a(Unknown Source)
at com.sybase.jdbc3.tds.Tds.a(Unknown Source)
at com.sybase.jdbc3.tds.Tds.login(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.a(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.a(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.<init>(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.<init>(Unknown Source)
at com.sybase.jdbc3.jdbc.SybDriver.connect(Unknown Source)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:83)
... 12 more