Error opening solution in Servoy on Power MAC G5 OSX 10.3.7.

Hi all,

On MAC OSX after login to Servoy client I get the following error:
Can Not Load Solution
Then after clicking on OK, solution loads fine.

I tried the following to fix this problem:

  1. Logged in from the Web to load the Servoy client. Didnt fix.

  2. Moved the Servoy client from the desktop to the Trash and did the step one. Didnt fix.

  3. Download and installed Java 142, then repeat the step 1 and 2. Didnt fix.

  4. I tried to login into Servoy client from several different MAC with the same hardware and software configuration, and I didnt not get any error.

Please let me know if anyone has seen this problem and how to fix it.

Thanks,

Abrahim

Did you clear youre webstart cache?
Also don’t you have a firewall or somthing like that running?
Is 2 way socket enabled on the server and on that client?
Can you enable the webstart log so that maybe you see some stacktrace?

Q: Did you clear youre webstart cache?
A: Do you mean Temporary Internet files?

Q: Also don’t you have a firewall or somthing like that running?
A: Not at present.
Q: Is 2 way socket enabled on the server and on that client?
A: Yes.
Q: Can you enable the webstart log so that maybe you see some stacktrace?
A: How do I enable the webstart?

Abrahim

Open Java Web start appl. directly.
goto
File>Preferences>TABadvanced

-click "clear Folder " to empty cache

-output options.
Either choose show Java console
or point to a logfile

Thanks Maarten,

I’ll try it and let you know.

Regards,

Abrahim

I did what you recommended:
Open Java Web start appl. directly.
goto
File>Preferences>TABadvanced

-click "clear Folder to empty cache

-output options.
Either choose show Java console
or point to a logfile

But still getting the same error "Can Not Load Solution

Here is the “Show Java console” content:

Leave createUserClient registered:true in 952 ms
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybSQLException (no security manager: RMI class loader disabled)
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybSQLException (no security manager: RMI class loader disabled)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:217)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at com.servoy.j2db.persistence.Repository_Stub.linkCookieToUser(Unknown Source)
at com.servoy.j2db.J2DBClient.handleSolutionLogin(Unknown Source)
at com.servoy.j2db.J2DBClient$11.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Caused by: java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybSQLException (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
… 11 more

Please let me know,

Thanks,

Abrahim

ok, thanks Abrahim.
I will have dev team take a look at this.

it is a database problem. The database throws an exception (because of some error that i can’t see)

I did fix that you don’t get these type of errors anymore because you shouldn’t see database classes in the client.
In the next build you should be able to see what goes wrong much better (at the server/developer side in the log)