Page 1 of 1

Client - Plug-in questions

PostPosted: Thu Feb 12, 2009 2:26 am
by otaku.com2
I aready posted some of these points and didn't get an answer as yet,
so I've re-worded them into a hopefully more logical format.

When loading Servoy client

Servoy Developer
Version 3.5.8-build 521
Java version 1.5.0_16-133 (Mac OS X 10.5.6)

One plug-in I am using is causing the client to
not load (just hangs) and causes the server to run at 100% processor
and then lockup/crash. Previous versions of the plug-in worked fine.
And the plug-in works fine on the developer/server.

So I'm guessing it's a another Mac / Java issue.

Is there a way to turn off a certain plug-in
from loading in a client?

Is there a limit to the file size of any plug-in?

Is there a limit to the file size of all the plug-ins?

On Mac OSX are there any special Java Settings
that need to be made to cope with plug-ins?

Can I get a list of the Plug-ins that are active in
any selected solution?

Looking at the previous posts, there seems to be a variety
of reasons why a plug-in can cause the client to fail to load.

Some suggest a re-intall of Servoy will
fix the problem. Is it worth trying in this case?


thanks

Alex

Re: Client - Plug-in questions

PostPosted: Thu Feb 12, 2009 10:23 am
by patrick
I think it would be helpful if you provide a bit more information on the plugin. What plugin is it? Do you get errors in the log?

Re: Client - Plug-in questions

PostPosted: Thu Feb 12, 2009 10:46 am
by IT2Be
>Is there a way to turn off a certain plug-in
>from loading in a client?

Yes you can, when the plugin is instantiated or at the initialize method you could check for certain conditions.

> Is there a limit to the file size of any plug-in?

Not that I know of (why are you asking?).

> Is there a limit to the file size of all the plug-ins?

Again, not that I know of.

> On Mac OSX are there any special Java Settings
> that need to be made to cope with plug-ins?

Not when it comes down to the interfaces.
But further this seems to me as an odd question with a million answers. This is where Patricks question comes in place.
Without any info (and possibly even with info because it really depends on many factors) it is impossible to answer this.
In general, and you know that I guess otherwise you would not have asked, there are many differences between platforms.

> Can I get a list of the Plug-ins that are active in
> any selected solution?

Where? In Servoy, in your plugin?

> Looking at the previous posts, there seems to be a variety
> of reasons why a plug-in can cause the client to fail to load.

Sure, as is the case with a solution, a Java application etc. etc. etc. Some might even call them bugs ;)

> Some suggest a re-intall of Servoy will
> fix the problem. Is it worth trying in this case?

In this case? What case?
Most of the times re-installing Servoy will not help.

Re: Client - Plug-in questions

PostPosted: Mon Feb 16, 2009 12:32 pm
by rgansevles
Alex,

If you create a case in our support system and attach the plugin and a sample solution that uses the plugin and fails to start we can investigate this.

Rob

Re: Client - Plug-in questions

PostPosted: Tue Feb 17, 2009 10:41 am
by otaku.com2
It's a custom made plugin to be used (once working) to list items on eBay
direct from Servoy.

One problem is eBay keep changing the API etc,
so we keep revising the plugin.

The programmer thinks it's a JRE problem.
I'll report back soon.

thanks for your comments.

One error we get is

"Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space"

Re: Client - Plug-in questions

PostPosted: Tue Feb 17, 2009 11:33 am
by IT2Be
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space"

So, when this is the error I would not know why it is a jre issue.

I would say that there is something in the latest version of your plug-in that creates a leak or there is a new feature that takes extra resources.
What you could try, when this is really the issue, is try to raise client memory...

Re: Client - Plug-in questions

PostPosted: Tue Mar 24, 2009 9:25 am
by otaku.com2
I did a re-install of Servoy
(I had to do one anyway)
and that fixed the problem.

thanks~