# E: Can't connect to the repository server specified in ...

**URL:** https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717
**Category:** Classic Servoy
**Created:** [September 8, 2005, 1:07pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717 "2005-09-08T13:07:40Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)
#### Post date: [September 8, 2005, 1:07pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/1 "2005-09-08T13:07:40Z")

</div>

Hi All

I get the third time (after a fresh install) the error: Can’t connect to the repository server specified in the application preferences.

The Detail says:

java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused

The sybase\_log.txt:

I. 09/07 18:08:49. Database server started at Wed Sep 07 2005 18:08  
I. 09/07 18:08:49. Trying to start SharedMemory link …  
I. 09/07 18:08:49. SharedMemory link started successfully  
I. 09/07 18:08:49. Trying to start TCPIP link …  
I. 09/07 18:08:49. Starting on port 2638  
I. 09/07 18:08:49. TCPIP link started successfully  
I. 09/07 18:08:49. Now accepting requests  
E. 09/08 14:55:32. Cannot open transaction log file – Can’t use log file “user\_data.log” since it is shorter than expected  
E. 09/08 14:55:32. Cannot open transaction log file – Can’t use log file “example.log” since it is shorter than expected  
E. 09/08 14:55:32. Cannot open transaction log file – Can’t use log file “log\_data.log” since it is shorter than expected  
E. 09/08 14:55:32. Cannot open transaction log file – Can’t use log file “crm.log” since it is shorter than expected  
E. 09/08 14:55:32. Cannot open transaction log file – Can’t use log file “SoaringSky.log” since it is shorter than expected

What is going on here? Everything works, but after a restart of my PowerBook (1 GHz, 2 GB RAM, OS 10.3.9) I get this message.

Best regards, Robert

---

<div class="post-metadata">

### Author: ![grahamg](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@grahamg](https://forum.servoy.com/u/grahamg)
#### Post date: [September 8, 2005, 1:52pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/2 "2005-09-08T13:52:33Z")

</div>

Robert

Have you tried deleting (or renaming) all the .log files. If a .log file doesn’t exist the db will creat a new one for you.

Regards

Graham Greensall  
Worxinfo Ltd

---

<div class="post-metadata">

### Author: ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)
#### Post date: [September 8, 2005, 2:30pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/3 "2005-09-08T14:30:55Z")

</div>

Hello Graham

I deleted the log files (what do you mean by renaming it?) and get now the following errors (in the sybase\_log.txt file):

E. 09/08 16:18:00. Cannot open transaction log file – Can’t use log file “example.log” since it is shorter than expected  
E. 09/08 16:18:00. Cannot open transaction log file – Can’t use log file “log\_data.log” since it is shorter than expected  
E. 09/08 16:18:00. Cannot open transaction log file – Can’t use log file “crm.log” since it is shorter than expected  
E. 09/08 16:18:00. Cannot open transaction log file – Can’t use log file “SoaringSky.log” since it is shorter than expected  
E. 09/08 16:25:04. Cannot open transaction log file – No such file or directory  
E. 09/08 16:25:04. Cannot open transaction log file – No such file or directory  
E. 09/08 16:25:04. Cannot open transaction log file – No such file or directory  
E. 09/08 16:25:04. Cannot open transaction log file – No such file or directory  
E. 09/08 16:25:04. Cannot open transaction log file – No such file or directory

Servoy create only for two databases (servoy\_repository.log and an example db) new log file, not for the others, like crm for example.

Best regards, Robert

> grahamg:  
> Robert
> 
> Have you tried deleting (or renaming) all the .log files. If a .log file doesn’t exist the db will creat a new one for you.
> 
> Regards
> 
> Graham Greensall  
> Worxinfo Ltd

---

<div class="post-metadata">

### Author: ![firestorm](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@firestorm](https://forum.servoy.com/u/firestorm)
#### Post date: [September 12, 2005, 3:03pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/4 "2005-09-12T15:03:38Z")

</div>

I am getting the exact same thing. I have 3 different copies installed and they are all giving me the same error message. First it would not let me include my new database into Servoy preferences, now it won’t even let me start up the repository. After I get that error message that Robert gets, I cannot even access anything! Repository under File is grayed out.

Here I am with the idea for a great new app that will change the world as we know it, and I can’t even get past square one! ![:D]( "Very Happy")

---

<div class="post-metadata">

### Author: ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)
#### Post date: [September 12, 2005, 5:03pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/5 "2005-09-12T17:03:05Z")

</div>

Guys,

Inside your sybase\_db folder there is a log file that will tell you the error. Looks like you have databases specified in your sybase.config file that don’t actually exist at the path you’ve specified.

Hope this points you in the right direction.

---

<div class="post-metadata">

### Author: ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)
#### Post date: [September 12, 2005, 7:26pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/6 "2005-09-12T19:26:02Z")

</div>

Mac OS X

I got this only the other day having created a new Sybase database using SyBase Central.

Created it OK, added it to the Sybase.config file BUT had mistakenly saved it inside the Servoy folder and NOT the ‘Sybase\_db’ folder !

Check that all your Sybase db’s are inside the ‘Sybase\_db’ folder before restart.

Cheers  
Harry

---

<div class="post-metadata">

### Author: ![firestorm](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@firestorm](https://forum.servoy.com/u/firestorm)
#### Post date: [September 12, 2005, 10:13pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/7 "2005-09-12T22:13:34Z")

</div>

Ahhhh…I was wondering where the error message was referring to. Here is the log entry.

E. 09/12 10:09:17. Database cannot be started – server must be upgraded to start “/Applications/Servoy/database/paradigm.db” (capability 35 missing).

Why does the server need to be upgraded and how do I do it? Jeez, I feel ignorant! ![:oops:]( "Embarassed")

---

<div class="post-metadata">

### Author: ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)
#### Post date: [September 12, 2005, 10:38pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/8 "2005-09-12T22:38:47Z")

</div>

Hi John,

In this forum, on the main page - click the first link (FAQ). It’s the first item on there [http://forum.servoy.com/viewforum.php?f=24](http://forum.servoy.com/viewforum.php?f=24).

Hope this helps.

---

<div class="post-metadata">

### Author: ![jim](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jim](https://forum.servoy.com/u/jim)
#### Post date: [September 13, 2005, 7:26pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/9 "2005-09-13T19:26:30Z")

</div>

Arggh! I, too am getting this…

Can’t connect to the repository server specified in the application preferences

java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused

… and deleting log files doesn’t help, nor is anything amis with the sybase.config file (as far as I can tell).

It was working just fine at the Servoy training, then I went to DevCon. Uh oh… can Servoy tell that I was “using another”?

Anyway, it worked fine for maybe a month, then _poof!_ it sucks , all of a sudden. I could probably do like I did last time, and reinstall both apps, drop my files in… but what a hassle! Plus, I get the feeling that there is something I may be missing that might keep things stable. One should not have to reinstall the app, I would think.

FWIW, I am using a 667 PB w/ 768 RAM and OS 10.3.9.

Thanks, folks…

Jim

---

<div class="post-metadata">

### Author: ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)
#### Post date: [September 14, 2005, 4:29pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/10 "2005-09-14T16:29:23Z")

</div>

OK - once again - check the sybase\_db folder for the log. It will tell you EXACTLY why it won’t start.

My guess is that you don’t have Sybase running. Use the activity monitor to make sure “dbsrv9” process is running.

---

<div class="post-metadata">

### Author: ![jim](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jim](https://forum.servoy.com/u/jim)
#### Post date: [September 14, 2005, 5:31pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/11 "2005-09-14T17:31:57Z")

</div>

… and WHAT causes Sybase NOT to launch? It used to.

Or, put another way, what ordinarily causes it to launch, and why would that stop happening when it had been opening happily many times previously?

Thanks Bob,

Jim

> OK - once again - check the sybase\_db folder for the log. It will tell you EXACTLY why it won’t start.
> 
> My guess is that you don’t have Sybase running. Use the activity monitor to make sure “dbsrv9” process is running.
> 
> * * *
> 
> Bob Cusick  
> Servoy

---

<div class="post-metadata">

### Author: ![jim](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jim](https://forum.servoy.com/u/jim)
#### Post date: [September 14, 2005, 5:45pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/12 "2005-09-14T17:45:27Z")

</div>

But wait, there’s more!

Here’s the sybase\_log:

> I. 08/26 09:42:19. Database server started at Fri Aug 26 2005 09:42  
> I. 08/26 09:42:19. Trying to start SharedMemory link …  
> I. 08/26 09:42:19. SharedMemory link started successfully  
> I. 08/26 09:42:19. Trying to start TCPIP link …  
> I. 08/26 09:42:19. Starting on port 2638  
> I. 08/26 09:42:19. TCPIP link started successfully  
> I. 08/26 09:42:19. Now accepting requests  
> I. 09/12 10:40:01. Database server started at Mon Sep 12 2005 10:40  
> I. 09/12 10:40:01. Trying to start SharedMemory link …  
> I. 09/12 10:40:01. SharedMemory link started successfully  
> I. 09/12 10:40:01. Trying to start TCPIP link …  
> I. 09/12 10:40:01. Starting on port 2638  
> I. 09/12 10:40:01. TCPIP link started successfully  
> I. 09/12 10:40:01. Now accepting requests  
> E. 09/13 11:23:07. Cannot open transaction log file – Can’t use log file “servoy\_repository.log” since it is shorter than expected  
> E. 09/13 11:27:06. Cannot open transaction log file – Can’t use log file “servoy\_repository.log” since it is shorter than expected  
> E. 09/13 14:42:29. Cannot open transaction log file – Can’t use log file “servoy\_repository.log” since it is shorter than expected

The servoy\_repository.log is anything but short. Is there a part of it that somehow can connote “shortness” regarless of its length?

Thanks again,

Jim

---

<div class="post-metadata">

### Author: ![jim](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jim](https://forum.servoy.com/u/jim)
#### Post date: [September 15, 2005, 8:31pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/13 "2005-09-15T20:31:52Z")

</div>

So… I reinstalled Servoy, and added the databases for my solution, updated the sybase config file, but did not update the repository server. The crm (example) database opens, no problem.

Next, I replaced the repository server. The problem then returned. So it seems that the repository server had been corrupted. Any thoughts on whether this is an accurate assessment, and/or why it may have been corrupted?

Jim

> Can’t connect to the repository server specified in the application preferences
> 
> java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused

---

<div class="post-metadata">

### Author: ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)
#### Post date: [September 15, 2005, 9:11pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/14 "2005-09-15T21:11:02Z")

</div>

Hmm, this looks like you move(d) around your repository WITHOUT the log file.

You can throw away the log file if you are on the machine where you created the database (at least that’s my experience). You can’t move a database from one machine to the other without log file (when created) since your database relies on the log file. And, you certainly can’t replace a database and keep the log file from the other database in your directory.

It looks like you did the last: ‘Can’t use log file “servoy\_repository.log” since it is shorter than expected’

---

<div class="post-metadata">

### Author: ![jim](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jim](https://forum.servoy.com/u/jim)
#### Post date: [September 15, 2005, 9:31pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/15 "2005-09-15T21:31:49Z")

</div>

I moved the log file with the db file.

Thanks, tho’.

> Hmm, this looks like you move(d) around your repository WITHOUT the log file.
> 
> You can throw away the log file if you are on the machine where you created the database (at least that’s my experience). You can’t move a database from one machine to the other without log file (when created) since your database relies on the log file. And, you certainly can’t replace a database and keep the log file from the other database in your directory.
> 
> It looks like you did the last: ‘Can’t use log file “servoy\_repository.log” since it is shorter than expected’
> 
> * * *
> 
> Marcel J.G. Trapman  
> IT2Be  
> [www.IT2Be.com](http://www.IT2Be.com)  
> Back

---

<div class="post-metadata">

### Author: ![firestorm](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@firestorm](https://forum.servoy.com/u/firestorm)
#### Post date: [September 16, 2005, 9:51pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/16 "2005-09-16T21:51:00Z")

</div>

> bcusick:  
> Hi John,
> 
> In this forum, on the main page - click the first link (FAQ). It’s the first item on there [http://forum.servoy.com/viewforum.php?f=24](http://forum.servoy.com/viewforum.php?f=24).
> 
> Hope this helps.

Bob,

These instructions are no longer valid. I went to replace files and there is no res folder. Inside the folders some of the files are not there like asa.cvf and dblgen9.res, so I did not replace them. I replaced all I could and now I cannot restart the repository **and** there are no log entries for my work today.

All I want to do is start a new database and begin my project. I have been at this for a week off and on and I am still no closer to beginning my project than I was Monday! Why is it so hard to even get **started** in Servoy?? Am I a little frustrated? Yeah, just a tad. ![:cry:]( "Crying or Very sad")

---

<div class="post-metadata">

### Author: ![Harriet\_Rosenberg](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@Harriet\_Rosenberg](https://forum.servoy.com/u/Harriet_Rosenberg)
#### Post date: [September 17, 2005, 12:25pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/17 "2005-09-17T12:25:49Z")

</div>

> Jim Schliestett:  
> Next, I replaced the repository server. The problem then returned. So it seems that the repository server had been corrupted. Any thoughts on whether this is an accurate assessment, and/or why it may have been corrupted?
> 
> > Can’t connect to the repository server specified in the application preferences
> > 
> > java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused

Hi Jim!

“I feel your pain.” I, too, have put in a few hours wrangling with “getting started in Servoy,” feeilng like I was in a mud wrestling match with a beast the likes of which I’d never encountered before. (I’m coming from FMP: “File/New Database”, DONE. Of course what comes after that in FMP gets harder and harder as you try to do more and more, whereas I am finding Servoy is easier to get my work accomplished.)

Anyway, here’s a suggestion, if you are using Mac OS X. I was cussin’ out Servoy, and talking to the monitor: “It ought to just work.” Finally I tried this course of action and have never seen those messages since (the below might be total overkill … you might want to _start_ by just fixing permissions, but do it off the start-up CD):

(1) Backed up the stuff that _was_ working in Servoy

(2) Trashed everything on my hard drive that was servoy-related

(3) Started up off of my disk utilities CD, verified the HD (which was OK) and fixed permissions (which were not OK, and I believe that permissions get fixed better when the volume in question is not the startup volume … but that could just be my own superstition… but, when is the last time you ran this kind of maintenance? Not accusing, just asking you to consider…)

(4) Reinstalled Sybase Central first (careful what version! use 9.0.1, nothing higher, as per the forum FAQ)

(5) Reinstalled Servoy

When you install Sybase Central it creates another “user”

---

<div class="post-metadata">

### Author: ![firestorm](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@firestorm](https://forum.servoy.com/u/firestorm)
#### Post date: [September 19, 2005, 4:46pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/18 "2005-09-19T16:46:41Z")

</div>

Harriet,

Thank you for those explicit instructions! Some of us ARE very slow in comprehension. I finally found the 9.0.1 version of Sybase Central and that was the key. I do not understand why Servoy does not either bundle Central with the program or provide the URL directly to it like this?

[http://www.sybase.com/detail?id=1036185](http://www.sybase.com/detail?id=1036185)

Thanks again. I believe I am on my way!

---

<div class="post-metadata">

### Author: ![jim](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jim](https://forum.servoy.com/u/jim)
#### Post date: [September 19, 2005, 5:56pm UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/19 "2005-09-19T17:56:04Z")

</div>

Thank you, Harriet! I am starting fresh, with a nice new G5 iMac, and am incouraged to hear your story. Perhaps I will not experience another inexplicable Servoy autodestruct.

I am still very interested in why problems such as this occur, and how to avoid them. I am thinking that a change of working habits and equipment may be necessary. FileMaker makes it easy to work in marginal conditions (e.g. old gear), but when problems do happen, that particular ease of use may bite.

Jim

---

<div class="post-metadata">

### Author: ![Providence1](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@Providence1](https://forum.servoy.com/u/Providence1)
#### Post date: [September 20, 2005, 1:19am UTC](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717/20 "2005-09-20T01:19:20Z")

</div>

What actually launches ‘dbsrv9’ on Mac OS X?

[Next page](https://forum.servoy.com/t/e-cant-connect-to-the-repository-server-specified-in/4717.md?page=2)
