Client Hangs...

Has anyone run into this problem…

when connecting to a server, the client loads up the application but hangs before actually loading the solution leaving the orange icon spinning with the info bar saying…“Loading solution”.

Also, my server log from the web based admin says…
No 1.5 found for pack200

But looks fine otherwise.

Any thoughts are much appreciated!

-Jim

Hi Jim

Could be that you have Java 1.5 on both client and server - this problem has been covered in other postings.

I had same problem and was fine after rolling server & clients back to Java 1.4

HTH

Graham Greensall
Worxinfo Ltd

I’ll have to try rolling a client back…

I guess what is confusing is that I had this all working a couple of days ago, then is seemed to stop.

I had been messing with mysql database permissions but normally if servoy can’t connect to the databse, it throws up an error when starting up.

I have checked my server and client versions.
Server
Fedora Core 3
R2 2.2rc3 build 321
Java version 1.4.2_08-b03

The server log from the web admin shows a clean start but I checked the logs stored in the servor directory.

The server was running find up until the the 17th of april and I show some errors…


2005-04-17 07:16:09 Internal Error: File /WEB-INF/web.xml not found

2005-04-17 22:07:01 StandardWrapperValve[servoy_client]: Servlet.service() for servlet servoy_client threw exception
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

----- Root Cause -----
java.lang.UnsatisfiedLinkError: /usr/java/j2re1.4.2_08/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

I checked that path and do have a copy of libawt.so but not sure how to get into that file and look for libXp.so.6

Could this be causing the client to hang when loging in with the rotating orange servoy icon?

*Note this was all working fine a few days ago!
*The only thing I can think that I did was change some mysql permissions!

Should I just re install java or servoy?

Jim

Well thats strange we are not using “awt”(=Java UI lib.) at all on the server…

some questions
-is this happening for each client
-did you install any other non servoy servlet?
-what happens when you fix the lib? place it proper directory?
-did you change your solution in the last days?

-is this happening for each client

So far, every client. (Which so far is just me connecting from different computers around my house.

-did you install any other non servoy servlet?

I am not sure what those are but I havn’t installed anything java related on the server except servoy and java itself.

-what happens when you fix the lib? place it proper directory?

I am not sure, as I have not be able to fix this. I did try and got get a couple of fedora packages that contained the libXp.so.6 file and install them.

-did you change your solution in the last days?

I haven’t changed my solution from when it was working until it stopped working. That being said this is a fresh install of Fedora core 3 with a copy of the RC3 server running. I think I might have exported the solution out of my development environment with RC4 installed. Could the different versions of servoy cause this?

-Jim

Java requires X11 libraries to be installed, even on the server side.
You must make sure that this library is installed - there is no way this is going to work otherwise.

I suspect it has somthing to do with either version incompatabilities or a missing linux package.

*I looked for a package that had the mising file and installed it.
*I previously had a rc3 server hosting a rc4 created solution and bumped everything up to rc5.

I reinstalled servoy on my VPS (Basically upgraded to latest rc5 version on local linux install and copied out to my VPS adjusting for servoy.properties and servoy_server.sh files.

That seemed to do the trick.

-Jim

sebster:
Java requires X11 libraries to be installed, even on the server side.
You must make sure that this library is installed - there is no way this is going to work otherwise.

Where can I find these X11 libraries?
I get the same error!

I started out at
http://www.rpmseek.com/index.html

then did a search for a package with file…
libXp.so.6

I think I wound up here and pick my disto package
http://rpmseek.com/rpm-pl/XFree86-libs. … FN:0:0:0:0

-Jim