Can't checkout solutions

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Re: Can't checkout solutions

Postby Foobrother » Wed Jul 15, 2009 11:21 am

Gabi Boros wrote:can you check if you have this problems if you
checkout into a clean workspace, and without using the port in the server name ?

With a clean workspace it works!

Thx
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Can't checkout solutions

Postby Foobrother » Wed Jul 29, 2009 12:41 pm

Can't checkout again :(

I've tried all login/pwd. I have also tried to use a new workspace but nothing.
Here is the error I get in the logs:
2009-07-29 11:38:43,839 ERROR [Worker-2] com.servoy.j2db.util.Debug - Error getting the repository from host AG-DEV:1099
java.rmi.ConnectException: Connection refused to host: AG-DEV; nested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at com.servoy.eclipse.team.RepositoryAccessPoint.Zg(RepositoryAccessPoint.java:37)
at com.servoy.eclipse.team.RepositoryAccessPoint.Zd(RepositoryAccessPoint.java:67)
at com.servoy.eclipse.team.RepositoryAccessPoint.Za(RepositoryAccessPoint.java:101)
at com.servoy.eclipse.team.ui.NewSolutionWizard$4.runInWorkspace(NewSolutionWizard.java:2)
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.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.servoy.j2db.util.rmi.compressing.Zo.createSocket(Zo.java:2)
... 12 more

Do you think it's a problem of Login? Or a problem of firewall?
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Can't checkout solutions

Postby ROCLASI » Wed Jul 29, 2009 12:53 pm

Hi Foobrother,

Foobrother wrote:Do you think it's a problem of Login? Or a problem of firewall?

Sounds like this is a network/firewall/server problem. Is Servoy Server running ? (I assume you use Servoy server as teamserver)
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Can't checkout solutions

Postby Foobrother » Wed Jul 29, 2009 1:23 pm

ROCLASI wrote:Hi Foobrother,

Sounds like this is a network/firewall/server problem. Is Servoy Server running ? (I assume you use Servoy server as teamserver)

Hi,

Yes teamprovider is enabled on the server and the server is running: I can login into the admin page and also launch and use the solution with the smart client.

Can it be due to the HTTP Tunnel?
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Can't checkout solutions

Postby ROCLASI » Wed Jul 29, 2009 1:39 pm

Foobrother wrote:Can it be due to the HTTP Tunnel?


Is that what you changed just before it stopped working ? Or did it work before with the tunnel as well ?
If it all worked before then try to find out what has changed in your environment (your machine, network, server).

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Can't checkout solutions

Postby Foobrother » Wed Jul 29, 2009 2:07 pm

ROCLASI wrote:Is that what you changed just before it stopped working ? Or did it work before with the tunnel as well ?
If it all worked before then try to find out what has changed in your environment (your machine, network, server).

I've never tried to checkout on this configuration before. It's the same server but we have re-installed Servoy and now we use MS SQL Server 2005.
I have changed the database servers urls in Developer with the new details.

I have just tried with the HTTP Tunnel disabled but no success. However now I don't even have a timeout and get the error message just after I click.
And now I have the exception I had in the past:
Code: Select all
2009-07-29 13:03:49,566 ERROR [Worker-10] com.servoy.j2db.util.Debug - Error getting the repository from host AG-DEV:1099
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
   java.io.EOFException
   at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
   at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
   at sun.rmi.server.UnicastRef.newCall(Unknown Source)
   at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
   at java.rmi.Naming.lookup(Unknown Source)
   at com.servoy.eclipse.team.RepositoryAccessPoint.Zg(RepositoryAccessPoint.java:37)
   at com.servoy.eclipse.team.RepositoryAccessPoint.Zd(RepositoryAccessPoint.java:67)
   at com.servoy.eclipse.team.RepositoryAccessPoint.Za(RepositoryAccessPoint.java:101)
   at com.servoy.eclipse.team.ui.NewSolutionWizard$4.runInWorkspace(NewSolutionWizard.java:2)
   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.io.EOFException
   at java.io.DataInputStream.readByte(Unknown Source)
   ... 11 more


So I'll try to use a clean Workspace again as it was what fixed my problem in the past.
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Can't checkout solutions

Postby jcompagner » Wed Jul 29, 2009 4:28 pm

do you use the latest 4.1.x release?

disable compressing on both sides (so your team server admin pages and your developer admin pages and start both again), see if that matters.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Can't checkout solutions

Postby Foobrother » Wed Jul 29, 2009 4:43 pm

jcompagner wrote:do you use the latest 4.1.x release?

disable compressing on both sides (so your team server admin pages and your developer admin pages and start both again), see if that matters.

I have the version 4.1.3 on both sides.
Before changing compress I have uninstalled and reinstalled Servoy (on Developer side). I have tried again (without changing the compress yet) but I got the same error.
I have disabled compress, restarted both, but I get the same error:
2009-07-29 15:39:11,552 ERROR [Worker-3] com.servoy.j2db.util.Debug - Error getting the repository from host ag-dev:1099
java.rmi.ConnectIOException: non-JRMP server at remote endpoint
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at com.servoy.eclipse.team.RepositoryAccessPoint.Zg(RepositoryAccessPoint.java:37)
at com.servoy.eclipse.team.RepositoryAccessPoint.Zd(RepositoryAccessPoint.java:67)
at com.servoy.eclipse.team.RepositoryAccessPoint.Za(RepositoryAccessPoint.java:101)
at com.servoy.eclipse.team.ui.NewSolutionWizard$4.runInWorkspace(NewSolutionWizard.java:2)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Can't checkout solutions

Postby jcompagner » Wed Jul 29, 2009 5:25 pm

if you get no jrmp endpoint that means that one of the sides talk a different protocol
So 1 of the 2 is very likely still talking compressed.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Can't checkout solutions

Postby Foobrother » Thu Jul 30, 2009 10:51 am

jcompagner wrote:if you get no jrmp endpoint that means that one of the sides talk a different protocol
So 1 of the 2 is very likely still talking compressed.

I've double-checked and on the server SocketFactory.compress is not ticked and on the developer admin page it is not ticked as well.
Here are the servoy.properties of each side (I have removed useless data and login/pwd):
-Server:
Code: Select all
#servoy
#Wed Jul 29 15:37:25 BST 2009
ApplicationServer.pingDelay=300
ServerManager.numberOfServers=2
SocketFactory.compress=false
SocketFactory.useSSL=true
SocketFactory.useTwoWaySocket=true
dbserver.skipSysTables=false
log4j.appender.configservlet=com.servoy.j2db.util.SlidingWindowAppender
log4j.appender.configservlet.layout=com.servoy.j2db.util.Log4JHTMLTableLayout
log4j.appender.configservlet.layout.dateTimeFormat=yyyy-MM-dd HH\:mm
log4j.appender.configservlet.windowSize=1000
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=%%servoy_app_server_dir%%\\servoy_log.txt
log4j.appender.file.MaxBackupIndex=1
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %p [%t] %c - %m%n
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%t] %c - %m%n
log4j.debug=false
log4j.logger.com.servoy.j2db.util.Debug=WARN
log4j.logger.org.apache.wicket=WARN
log4j.rootCategory=WARN, file, configservlet
pushLnfToMac=false
rmi.connection.timeout=120
server.0.URL=jdbc\:sqlserver\://localhost\:1433;DatabaseName\=servoy_repository;SelectMethod\=cursor
server.0.catalog=<none>
server.0.connectionValidationType=0
server.0.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
server.0.enabled=true
server.0.maxConnectionsActive=10
server.0.maxConnectionsIdle=5
server.0.maxPreparedStatementsIdle=100
server.0.schema=<none>
server.0.serverName=repository_server
server.1.URL=jdbc\:sqlserver\://localhost\:1433;DatabaseName\=db_ag;SelectMethod\=cursor
server.1.catalog=<none>
server.1.connectionValidationType=0
server.1.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
server.1.enabled=true
server.1.maxConnectionsActive=30
server.1.maxConnectionsIdle=20
server.1.maxPreparedStatementsIdle=100
server.1.schema=<none>
server.1.serverName=ag
server.1.validationQuery=
servoy.allowExistingClientActivate=true
servoy.allowSolutionBrowsing=true
servoy.application_server.startRepositoryAsTeamProvider=true
servoy.clientDesktopShortcutCreation=false
servoy.clientJarLoadOption=eager
servoy.didFirstTimeInit=true
servoy.disableDataChangeNotify=false
servoy.disableServersidePack=false
servoy.fastClientStartup=false
servoy.initialClientHeap=128
servoy.maxClientHeap=512
servoy.rmiStartPort=1099
servoy.use.client.timezone=true
servoy.useObjectPool=false
servoy.vmClientArgs=-XX\:SoftRefLRUPolicyMSPerMB\=3600000
servoy.webclient.enableAnchors=false
servoy.webclient.nice.urls=false
servoy.webclient.templates.use_local_ids=false
servoy.webclient.useAjax=true
useSystemPrintDialog=false
usedRMIRegistryPort=1099


-Developer:
Code: Select all
#servoy
#Wed Jul 29 17:03:35 BST 2009
ApplicationServer.pingDelay=300
ServerManager.numberOfServers=2
SocketFactory.compress=false
SocketFactory.useSSL=false
SocketFactory.useTwoWaySocket=true
log4j.appender.configservlet=com.servoy.j2db.util.SlidingWindowAppender
log4j.appender.configservlet.layout=com.servoy.j2db.util.Log4JHTMLTableLayout
log4j.appender.configservlet.layout.dateTimeFormat=yyyy-MM-dd HH\:mm
log4j.appender.configservlet.windowSize=1000
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=%%servoy_app_server_dir%%\\servoy_log.txt
log4j.appender.file.MaxBackupIndex=1
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %p [%t] %c - %m%n
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%t] %c - %m%n
log4j.debug=false
log4j.logger.com.servoy.j2db.util.Debug=WARN
log4j.logger.org.apache.wicket=WARN
log4j.rootCategory=WARN, file, configservlet
rmi.connection.timeout=120
server.0.URL=jdbc\:sqlserver\://ag-dev\:1433;DatabaseName\=servoy_repository;SelectMethod\=cursor
server.0.catalog=<none>
server.0.connectionValidationType=0
server.0.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
server.0.enabled=true
server.0.maxConnectionsActive=10
server.0.maxConnectionsIdle=5
server.0.maxPreparedStatementsIdle=100
server.0.schema=<none>
server.0.serverName=repository_server
server.1.URL=jdbc\:sqlserver\://ag-dev\:1433;DatabaseName\=db_ag;SelectMethod\=cursor
server.1.catalog=<none>
server.1.connectionValidationType=0
server.1.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
server.1.enabled=true
server.1.maxConnectionsActive=10
server.1.maxConnectionsIdle=5
server.1.maxPreparedStatementsIdle=100
server.1.schema=<none>
server.1.serverName=ag
servoy.application_server.startRepositoryAsTeamProvider=true
servoy.didFirstTimeInit=true
servoy.rmiStartPort=1099


I hope it can help :roll:
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Can't checkout solutions

Postby jcompagner » Thu Jul 30, 2009 11:29 am

look at your network settings, they are not the same
Also disable ssl on both sides, after that you can also try to disable 2way on both sides but that shouldnt matter to much

Team an develop must be 'exactly' sync with the network settings.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Can't checkout solutions

Postby erdione » Thu Jul 30, 2009 11:49 am

Just one question about this server and dev configuration:
I understood that your server is "ag" running servoy repository on sql

Why does the dev conf has his own repository pointing to the ag repository (like in servoy 3.5 multi dev) ?
Fabrice
erdione
 
Posts: 112
Joined: Thu Feb 01, 2007 1:19 pm

Re: Can't checkout solutions

Postby jcompagner » Thu Jul 30, 2009 12:03 pm

the repository database sql connection that you have in your developer is something that you dont need.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Can't checkout solutions

Postby Foobrother » Thu Jul 30, 2009 12:34 pm

Fixed!

Apparently, as you said, it was because the network settings were different. Server was using SSL and Developer not.
I'm learning once again :lol:

Actually I though use SSL was only for solutions settings not when you access using developer.

By the way, you said that I don't need a connection to the server repository in developer to be able to checkout?! I'll try it next time.

Many thanks for your help!
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Can't checkout solutions

Postby Nikki Stokes » Sun Jan 17, 2010 7:29 am

I have the same problem, but none of the above solutions seems to fix it.

I'm using Developer 4.1.4 on a Windows XP box, with my repository database as a PostgresQL database running under Debian Linux on server#1 (postgres.ourbusiness) and Servoy Server running under Debian Linux on server#2 (servoy.ourbusiness), and both hostnames resolve successfully on both servers.

I've set up Servoy Server via the web GUI (http://servoy.ourbusiness:8080/servoy-admin/) and it's connecting fine to the repository database (on server#1), adding various tables and users as I create them.

I did not install the iAnywhere database or the Windows service when I installed Developer (although I did previously, and was able to checkout and view the sample solutions via the local services just fine), and so I don't have any solutions in the repository to checkout and I haven't set up a repository_server connection in Developer (although doing this still didn't seem to help).

When I try to checkout solutions, I use 'servoy.ourbusiness', and the username and password for the administrative user I set up on the Server via the web GUI.

I repeatedly get the message:
Cannot get solutions from: servoy.ourbusiness
Error getting the repository from host servoy.ourbusiness:1099

I get an almost identical message if I create a quick demo sample and try to share it (i.e. try and check it into the repository).

My servoy.application_server.startRepositoryAsTeamProvider is set to true, I've turned off SSL on both the Server abd Developer, and matched up all the network settings as much as I can see. I can't find the 'compress' settings at either end.

What am I missing and how do I get this to work?
Nikki Stokes
 
Posts: 9
Joined: Wed May 30, 2007 1:28 pm

PreviousNext

Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 6 guests

cron