Page 1 of 1

DirectServerConnection

PostPosted: Wed Aug 24, 2011 5:32 pm
by Garantisoft
java.lang.ClassNotFoundException: com.sibvisions.rad.server.DirectserverConnection

What is that mean?

Re: DirectServerConnection

PostPosted: Wed Aug 24, 2011 9:51 pm
by Support@SIB
A ClassNotFoundException means that the class is not available in your classpath. Do you get this Exception during development or when the application is used with an application server?

The DirectServerConnection is included in jvx.jar and this is the server library. Don't use it on the client side! The jvxclient.jar does not contain server classes!

If you got this Exception with an application server, it is ok because you should use a HttpConnection!
A documentation is available for the difference between the connection classes.

If you develop with the DirectServerConnection and don't want to change your source code for deployment, use application parameters to change the connection dynamically.