Error: cannot find repository on client after upgrading

Hi everyone!

I upgraded my apps server and clients to java 1.5.0_06-b05.

When I tried connecting my client to my solution, it gives me a “cannot find repository, it may not be running on server” error.

Even tho for sure it’s running on the server, i’ve made no other changes to the repisitory settings and the DEVELOPER version logs in to my solution just fine. Please help.

I hope this is a minor thing.

thanks,
sammy

Hi Sammy

Had similar problem some time ago with a Client on OSX - solution was to clear out the old Java Webstart caches/folders and create a new connection from the Client computer. Worked fine after that so worth a try.

Regards

Graham Greensall
Worxinfo Ltd

grahamg:
Hi Sammy

Had similar problem some time ago with a Client on OSX - solution was to clear out the old Java Webstart caches/folders and create a new connection from the Client computer. Worked fine after that so worth a try.

Regards

Graham Greensall
Worxinfo Ltd

I cleared out my old Java folder (in my c:\program files\java) that’s not version 1.5, and I still get the same message. Again, my developer can log in just fine. just the client.

is there another webstart cache folder somewhere else?

What version of java on the client?

What version of Servoy?

Did you restart the Application Server (service)?

bcusick:
What version of java on the client?

What version of Servoy?

Did you restart the Application Server (service)?

1)Developer is running servoy R2 2.2.3, build 335
2) Client is running servoy R2 2.2.3-build 335

Java version 1.5.0_06-b05

Again, the funny thing is, my developer logs in no problem, but the client can’t.

Exact error message is “Cannot find repository, it may not be running on server”

anybody out there experience the same thing? This is really worrisome becuase our computers eventually will get java updates, i can’t have the clients not connect when java gets updated.

Sammy:

  1. clear the Java cache on the client.

  2. Make SURE the app server IS running and that IT can connect to the repository.

  3. Check the “Servoy” folder on the server in the .log.txt file to see if there are errors.

  4. Connect with Developer ON THE SERVER to make sure the repository settings are correct.

this just doesn’t make any sense.

I did everything you said Bob

  1. i cleared the java cache from the C:\Documents and Settings<user_name>\Application Data\Sun\Java\Deployment\cache\

folder of my client

  1. app is running, repository servers settings are correct, servoy developer can connect.

The kicker is that I uninstalled Java version 1.5.0_06-b05 , and put back java 1.429 on the client, and EVERYTHING WORKED!!!

it’s gotta be a java thing. Is anyone out there using Java version 1.5.0_06-b05 on a PC?? this issue is killing me, my clients won’t be able to get back into the servoy solution unless i downgrade everything to java 1.429, which i don’t want to do. HELP!

Can’t tell you for sure but from the version you mention I suppose it is a beta… I NEVER use beta stuff for production…

I remember to have seen something similar… is the server running on Java 5? If I remember well if both the server and client are running on java5 there could be problems with the proxy settings of java (on wintel).
Check which java the server is using and try to change the java proxy settings on the client machine.

Hope it helps.

so what version of java 1.5 is everyone using? which is the recommended version?

I’m using 1.4.2 on servers (linux and MacOS X) and 1.5 on clients (Mac/Win/Linux).

If you point one of the problematic clients to demo.servoy.com, does that work or do you get the same error?

On my problem PC, When I point to demo.servoy.com using the pc with java 1.5.0_06-b05 , it doesn’t load up the solutions.

When i use my pc with java 1.429, demo.servoy.com , everything loads up fine.

I hope others out there can tell me what java 1.5 version they are using? and where i would able to get them since Sun’s website only has version 1.5.0_06-b05

I’m using Java version 1.5.0_05-b05 (Windows XP) on both Server & laptop.

Can’t find the download for it but do have download files for:

jdk-1_5_0_04-windows-i586-p.exe
and
jre-1_4_2_08-windows-i586-p.exe

Graham Greensall
Worxinfo Ltd

We use both 1.5.0_05-b05 and 1.5.0_06-b05, while we see some particularly strange paiting issues with 06 it does not have the problem Sammy describes. Sammy I suspect in your case you have to check your proxy settings: Java 1.5 uses your system/ie proxy settings, can you test disabling the proxy to see if that makes a difference?

We have also run into painting issues. What version of Java does Servoy recommend for use with Windows?

So far 1.5.0_05-b05 appears to be the best version to run Servoy on.

jaleman:
So far 1.5.0_05-b05 appears to be the best version to run Servoy on.

AH HA! Jan, thank you!!! it is the proxy server setting. Our company goes thru a proxy server. I unchecked that option, and the repository problem went away!

HOWEVER, i got new problems.

  1. Where can i get java 1.5.0_05-b05, i can only find b06 out now.

**2) Bigger issue, I used to have a lot of color “flags” that flags highlights whether a part is out of specification or not. in JAVA 1.5, ALL my color flags disappear!? Below is the code that I use.

I would make a calculated text field, the on the form, attach the field to a label. why would it work on Java 1.4 but not java 1.5??!

if (rrf < spec_rrf_min || rrf > spec_rrf_max)
{
return ‘

 
’;
}
else
{
return ‘
 
’;
}

sammyzheng:
Where can i get java 1.5.0_05-b05, i can only find b06 out now.

Yes, I need this also.