No Repository Found - Error in Server?

Running 401 and MySQL.

In Server Admin when I go to Solutions I get the following error:

Could not load solution list: No repository was found.

In Developer I’ve checked;

the repository server - exists and is accessible - changes in developer save OK

the repository database in MySQL - exists and is accessible

In Server I’ve checked;

server listings for server connections - set correctly and enabled

Additionally - Ser Status in the Server Admin - dbservers page, lists the repository server as ‘online’

This has seemingly occurred overnight - no other changes to the PC - and I was able to connect to the Server-Admin yesterday.

Is there some where else that the Server may be looking for Db Info and not finding it? Or is there some sort of refresh I can do on the Server look-up?

You get this error when a client cannot connect to a server, typically when security settings prohibit connections to the RMI port at 1099 (the default communication of client goes over this port unless changed or if you’re using the http tunnel)

Jan Aleman:
You get this error when a client cannot connect to a server, typically when security settings prohibit connections to the RMI port at 1099 (the default communication of client goes over this port unless changed or if you’re using the http tunnel)

Thanks for that feedback Jan - but after de-securing the entire PC - no firewalls, no ports blocked, no virus checking - nothing, and the RMI still set to 1099, I’m getting the same error.

Any other words of wisdom you can offer please Jan?

Additionally - under preferences (Servoy) HTTP Service is running and set to 8080 - with RMI at 1099 there to!

Need to get this up ASAP, so I think a re-install is the only possible route left to explore.

I’d appreciate any guidance or feedback on what are the essential files to back-up before I do the deed!

I see servoy.properties as a major one - anything else??

TIA

Hi Kahuna,

servoy.properties, your mysql driver and maybe extra plugins/beans you installed are the most important things I can think of.
Still it’s strange that this happend overnight. Even rebooting the machine didn’t help ?

ROCLASI:
Hi Kahuna,

servoy.properties, your mysql driver and maybe extra plugins/beans you installed are the most important things I can think of.
Still it’s strange that this happend overnight. Even rebooting the machine didn’t help ?

Yes its a bit wierd Robert. Thankfully its on a laptop rather than my main dev PC - but still its got some stuff I need to keep hold of.

Reboot has no effect on the server at all? Still - gets me to upgrade to 4.1b I suppose. Shame this always happens at the last moment though - I need to be running with this tomorrow as I’m off travelling again on Tuesday.

Wish me luck…

Hi Kahuna,

Kahuna:
Reboot has no effect on the server at all?

Are you asking me ? I was asking you. :)

Kahuna:
Wish me luck…

Good luck!

If you do AllSolutions->checkout(Server localhost) in the solution explorer tree, will the dialog show up without errors?
This definitely uses the repository from developer (normally developer does not use the repository).

Is there anything in the logs?

Rob

rgansevles:
If you do AllSolutions->checkout(Server localhost) in the solution explorer tree, will the dialog show up without errors?
This definitely uses the repository from developer (normally developer does not use the repository).

Is there anything in the logs?

Rob

Rob - doing that I get the ‘Invalid Thread Access’ An internal error occurred during: ‘Getting Solutions’

I know the access is correct because I’m logging in to the same Db with Navicat etc.

The servoy_log only hold errors from my attempts to access the solutions from the server and are not verbose!

Are there any other logs I should be looking at Rob?

Check the .metadata/.log file in your workspace and the ```
application_server/servoy_log.txt


You can also try version 4.1b1 which is released last week.

Rob

Rob - here is the fresh log from .metadata when running the ‘all solutions’ check-out:

!SESSION 2008-10-13 10:08:07.000 -----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments: --launcher.XXMaxPermSize 256M
Command-line arguments: -os win32 -ws win32 -arch x86 --launcher.XXMaxPermSize 256M

!ENTRY com.servoy.eclipse.core 1 0 2008-10-13 10:08:29.781
!MESSAGE Time taken to read in the solution: 2203

!ENTRY org.eclipse.ui.workbench 2 0 2008-10-13 10:08:30.421
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-10-13 10:08:30.421
!MESSAGE Conflict for ‘AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction’:
HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMenuAction),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.cheatsheets.actionSet,org.eclipse.ui.internal.WorkbenchWindow@12e43f1),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@12e43f1)),sourcePriority=16640)
HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMenuAction),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.cheatsheets.actionSet,org.eclipse.ui.internal.WorkbenchWindow@12e43f1),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@12e43f1)),sourcePriority=16640)

!ENTRY org.eclipse.core.jobs 4 2 2008-10-13 10:08:47.890
!MESSAGE An internal error occurred during: “Getting solutions”.
!STACK 0
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:326)
at org.eclipse.swt.widgets.Text.getText(Text.java:991)
at com.servoy.eclipse.team.ui.RepositoryWizardPage.getServerAddress(RepositoryWizardPage.java:69)
at com.servoy.eclipse.team.ui.NewSolutionWizard$3.runInWorkspace(NewSolutionWizard.java:262)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Seems to be all about eclipse rather than Servoy!

If I upgrade to 4.1b is it worth keeping my workspace Rob? or is that specific to the version?

This error has been fixed in 4.1b1

Rob

rgansevles:
This error has been fixed in 4.1b1

Rob

Excellent thanks Rob

In order to get back to my original set-up as easily as possible when installing the update beta - what would you recommend I back-up and restore to the Servoy installation?

After a clean install of 41b (to a completely different directory too) I getting the same error.

This time the entire Db package was installed with iAnywhere and the sample apps. So the set-up is totally standard and I’ve not modified any dbs etc.

The ‘Application Server does not accept Client Connections’ is the error when doing a commit from ‘all solutions’ on the tree.

It has to be some sort of port setting challenge as far as I can see, but if all ports are open and the Firewall turned off I’m at a loss as to how to detect it!

Here’s the log in .metadata

ANY ADVICE WOULD BE WELCOME!

Kahuna:
Here’s the log in .metadata

where?

rgansevles:
where?

OOPs - Sorry Rob thought I’d added it.

!SESSION 2008-10-13 11:46:18.125 -----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments: --launcher.XXMaxPermSize 256M
Command-line arguments: -os win32 -ws win32 -arch x86 --launcher.XXMaxPermSize 256M

!ENTRY com.servoy.eclipse.core 1 0 2008-10-13 11:47:41.437
!MESSAGE Cannot find any valid solution to activate.

!ENTRY org.eclipse.ui.workbench 2 0 2008-10-13 11:47:49.328
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-10-13 11:47:49.328
!MESSAGE Conflict for ‘AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction’:
HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMenuAction),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.cheatsheets.actionSet,org.eclipse.ui.internal.WorkbenchWindow@c639ce),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@c639ce)),sourcePriority=16640)
HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMenuAction),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.cheatsheets.actionSet,org.eclipse.ui.internal.WorkbenchWindow@c639ce),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@c639ce)),sourcePriority=16640)

!ENTRY com.servoy.eclipse.core 4 0 2008-10-13 11:50:19.875
!MESSAGE Cannot get solutions from repository
!STACK 0
com.servoy.eclipse.team.RepositoryAccessException: Application server does not accept client connections.
at com.servoy.eclipse.team.RepositoryAccessPoint.getRepository(RepositoryAccessPoint.java:79)
at com.servoy.eclipse.team.ui.NewSolutionWizard$3.runInWorkspace(NewSolutionWizard.java:239)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY com.servoy.eclipse.core 4 0 2008-10-13 11:53:27.875
!MESSAGE Cannot get solutions from repository
!STACK 0
com.servoy.eclipse.team.RepositoryAccessException: Application server does not accept client connections.
at com.servoy.eclipse.team.RepositoryAccessPoint.getRepository(RepositoryAccessPoint.java:79)
at com.servoy.eclipse.team.ui.NewSolutionWizard$3.runInWorkspace(NewSolutionWizard.java:239)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY com.servoy.eclipse.core 4 0 2008-10-13 11:53:38.437
!MESSAGE Cannot get solutions from repository
!STACK 0
com.servoy.eclipse.team.RepositoryAccessException: Application server does not accept client connections.
at com.servoy.eclipse.team.RepositoryAccessPoint.getRepository(RepositoryAccessPoint.java:79)
at com.servoy.eclipse.team.ui.NewSolutionWizard$3.runInWorkspace(NewSolutionWizard.java:239)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY com.servoy.eclipse.core 4 0 2008-10-13 11:58:26.296
!MESSAGE Cannot get solutions from repository
!STACK 0
com.servoy.eclipse.team.RepositoryAccessException: Application server does not accept client connections.
at com.servoy.eclipse.team.RepositoryAccessPoint.getRepository(RepositoryAccessPoint.java:79)
at com.servoy.eclipse.team.ui.NewSolutionWizard$3.runInWorkspace(NewSolutionWizard.java:239)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Try setting the servoy.application_server.startRepositoryAsTeamProvider property to true on the server admin page and restart.

Rob

rgansevles:
Try setting the servoy.application_server.startRepositoryAsTeamProvider property to true on the server admin page and restart.

Rob

Thats Fixed it Rob!

Though I’m surprised that this is necessary for a non-team set-up. In fact I’m sure I read as a tip (perhaps here on the forum or maybe the magazine) that turning this option off would speed-up loading of Serclipse?

Any way - thanks for the help my friend - you’re a star!

Thast actually fixed the issue that I had originally before the clean install too Rob.

So - turning off TeamProvider cause the client to fail to connect to the server!

I switched that last week and have been using the developer since then, but maybe did’nt run client etc.

Wish I’d tried that two days ago :lol:

Help, please!
I’ve got a servoy server running on a remote host, can’t connect from Servoy Developer 4 running on Mac OSX 10.4 locally.
I’ve checked port 1099 is open on the firewall
servoy.application_server.startRepositoryAsTeamProvider property is set to true (and restarted server)
However, whn I try to checkout from Developer where xxxxxx is entered as the domain name, and the appropriate username and password, I get the error 'Cannot get solutions from repository…"
(I’ve tried different variations such as upper and lowercase for the DBA password)

and this in the log - note the ‘Connection refused’ message.

com.servoy.eclipse.team.Za: Error getting the repository from host xxxxxx.com:1099
	at com.servoy.eclipse.team.RepositoryAccessPoint.Zg(RepositoryAccessPoint.java:28)
	at com.servoy.eclipse.team.RepositoryAccessPoint.Zd(RepositoryAccessPoint.java:60)
	at com.servoy.eclipse.team.RepositoryAccessPoint.Za(RepositoryAccessPoint.java:41)
	at com.servoy.eclipse.team.ui.NewSolutionWizard$4.runInWorkspace(NewSolutionWizard.java:15)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.rmi.ConnectIOException: Exception creating connection to: xxxxxxx; nested exception is: 
	java.io.IOException: Connection refused
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:587)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Naming.java:84)
	at com.servoy.eclipse.team.RepositoryAccessPoint.Zg(RepositoryAccessPoint.java:55)
	... 5 more

The only wrinkle I can think of is I’ve got SSL running on the server.
I’ve looked at the manuals, can’t see what’s wrong.