Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT standelone application over network
SWT standelone application over network [message #463566] Wed, 09 November 2005 09:43 Go to next message
Eclipse UserFriend
Originally posted by: frederic.lebeau.websurf.be

Hello,

I'v got a problem with my swt Standelone application.
My application jar file are on the enterprise network.
My workstation start the SWT application and the java classloader loads
classes when needed.

Sometimes, when the user click on a swt button, the application shut
down...
I can reproduce the problem when i remove the network cable of my
computer...

So my question is:

Is it a java problem, or an well known swt problem...

Any solutions(we can not install the application on each workstation)


Thanks in advance
Re: SWT standelone application over network [message #463569 is a reply to message #463566] Wed, 09 November 2005 10:50 Go to previous message
ted stockwell is currently offline ted stockwellFriend
Messages: 123
Registered: July 2009
Senior Member
This is a Java 'problem'.
When loading classes from .jar files Java holds the .jar file open and then reads the .classes from the .jar file as needed.
If the .jar file is suddenly made inaccessible and the application requires a .class file from the .jar that has not yet been
loaded then bad things will happen.

Using Java WebStart to deploy your application to each workstation would be a way to avoid this problem.

--------

However, I don't think there's really anything wrong with deploying your application on a network server.
The 'enterprise network' should not be suddenly becoming inaccessible, there's something goofy about that.

---------------

Another cause of the problem might be a corrupted .jar file


Frederic lebeau wrote:
> Hello,
>
> I'v got a problem with my swt Standelone application.
> My application jar file are on the enterprise network.
> My workstation start the SWT application and the java classloader loads
> classes when needed.
>
> Sometimes, when the user click on a swt button, the application shut
> down...
> I can reproduce the problem when i remove the network cable of my
> computer...
>
> So my question is:
>
> Is it a java problem, or an well known swt problem...
>
> Any solutions(we can not install the application on each workstation)
>
>
> Thanks in advance
>
Previous Topic:How to tell when scrollbar is at bottom?
Next Topic:FigureUtilities.getTextExtents
Goto Forum:
  


Current Time: Fri Mar 29 11:26:16 GMT 2024

Powered by FUDForum. Page generated in 0.03388 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top