This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

DirectServerConnection

General questions regarding the development with JVx.

DirectServerConnection

Postby Garantisoft » Wed Aug 24, 2011 5:32 pm

java.lang.ClassNotFoundException: com.sibvisions.rad.server.DirectserverConnection

What is that mean?
Garantisoft
 
Posts: 16
Joined: Wed Aug 17, 2011 3:26 pm

Re: DirectServerConnection

Postby Support@SIB » Wed Aug 24, 2011 9:51 pm

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.
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm


Return to Development