Hi everybody,
I’m trying to checkout the solutions from a remote server.
I entered:
- myServer:8080 as Server Address
- Administration page login as User
- Administration page password as Password
I’ve pressed Next. It says “Loading Solutions”. And after 20-30sec I get an error saying: “Cannot get solutions from myServer:8080. Error getting the repository from host myServer:8080”
I’ve tried with the database port instead of 8080: not working either.
I’ve tried with the login/pwd of the database: not working
I’ve checked if the database was On and if there was a solution in the repository: everything is ok
I’ve tried with myServer instead of myServer:8080: can’t connect to the server
I’ve double-checked the login/pwd of the administration page: they are ok
Do I do something wrong?
Hi FooBrother,
You need to connect to myServer:8080, so you did that right.
Also you need to have access to the RMI port (usually 1099). See if that is blocked somewhere in your firewall settings.
And to be able to checkout solutions from your Servoy server you need to have servoy.application_server.startRepositoryAsTeamProvider set to true in the servoy-admin pages.
Hope this helps.
Maybe there is a more explicit error in the log (with stack trace)?
Actually I forgot to put TeamProvider to True. However nothing changed.
I have set the it to true, then saved and restarted the server. I’ve also restart my developer. But nothing changed.
For RMI port, I can connect to other solutions on another server with my computer and the myServer also hosted solutions before and I have not changed its network settings since this period. ![Mad :x]()
Here is the error I get in the log when I try to checkout:
2009-07-06 16:21:01,455 ERROR [Worker-4] com.servoy.j2db.util.Debug - Error getting the repository from host AG-Dev:8080
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
EDIT: I can run also run the solution that I want to checkout from the server, on my computer (where I run developer)
I’ve tried with the firewall, of both my computer and the server, OFF. But no change ![Sad :(]()
Gabi Boros:
- connect to myServer**[]** where rmi_port is the server rmi port , if not specified, 1099 is used
Ah! That’s what’s wrong. So don’t use 8080.
Another question.
And if Developer is running on the server?
I have tried:
localhost
serverUserName
serverPwd
localhost:1099
serverUserName
serverPwd
localhost
dbUserName
dbPwd
localhost:5432 (db is PostgreSQL)
dbUserName
dbPwd
Always get the same message:
Application Server does not accept client connections
But the server is working normally and I can connect to the solution. Ports used are 8080 for web and 1099 for smart
Also, do I have to have the Server ON or OFF to be able to checkout? I assume ON but need a confirmation.
I don’t understand.
On another server with the same DBMS and configured the same way I use:
localhost
dbLogin
dbPwd
and it works perfectly.
But on this server it is not working. TeamProvider is ON, and the login/pwd are correct. I don’t understand
SOLVED!
Interesting, I had to put the domain name of the server instead of localhost and my servoy administration login/pwd ![Rolling Eyes :roll:]()
Could someone explain me when you have to put your db account details and when you have to put your servoy administration account details to checkout? It’s not clear for me ![Shocked :shock:]()
I’m getting crazy with this checkouts!! ![Evil or Very Mad :evil:]()
This time my details seem to be accepted when I checkout. I select the solution’s HEAD and click “Finish”. Then an error message says that the “User Login or Password is wrong”! ![Shocked :shock:]()
hi,
when connection to a Servoy team server you need to
enter the followings :
server_address[:server_rmi_port] ,where <server_address> is the name or ip of
the Servoy team server, and <server_rmi_port> is the “servoy.rmiStartPort” property of
the team server (default is 1099)
and
user, password , of an existing user from the Servoy team server.
there is a special case if you are using “localhost” as server_address; in this case
you will connect to the Servoy team server started by the developer, and you will not
need to enter a user/password
Apparently there is something wrong. I’ve tried that first:
Server: AG-DEV:1099
Server Login
Server Pwd
Result: I can select the solution’s HEAD but when I click “Finish” I get this error
Cannot Checkout ‘mySolution’
: is an invalid character in resource name ‘servoy_AG-DEV:1099_resources’
So I’ve tried:
Server: AG-DEV
Server Login
Server Pwd
Result: I can select the solution’s HEAD but when I click “Finish” I get this error
Cannot Checkout ‘mySolution’
Invalid Username or Password
However I can access the admin page of the server with exactly the same username and password.
![Rolling Eyes :roll:]()
can you check if you have this problems if you
checkout into a clean workspace, and without using the port in the server name ?
Gabi Boros:
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
Can’t checkout again ![Sad :(]()
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.(Unknown Source)
at java.net.Socket.(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?
Hi Foobrother,
Foobrother:
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)
ROCLASI:
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?
Foobrother:
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.