Client - Plug-in questions

Questions, answers, tips and ideas on Servoy Client

Client - Plug-in questions

Postby otaku.com2 » Thu Feb 12, 2009 2:26 am

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
otaku.com2
 
Posts: 23
Joined: Mon Jun 09, 2008 8:59 am

Re: Client - Plug-in questions

Postby patrick » Thu Feb 12, 2009 10:23 am

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?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Client - Plug-in questions

Postby IT2Be » Thu Feb 12, 2009 10:46 am

>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.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Client - Plug-in questions

Postby rgansevles » Mon Feb 16, 2009 12:32 pm

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
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Client - Plug-in questions

Postby otaku.com2 » Tue Feb 17, 2009 10:41 am

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"
otaku.com2
 
Posts: 23
Joined: Mon Jun 09, 2008 8:59 am

Re: Client - Plug-in questions

Postby IT2Be » Tue Feb 17, 2009 11:33 am

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...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Client - Plug-in questions

Postby otaku.com2 » Tue Mar 24, 2009 9:25 am

I did a re-install of Servoy
(I had to do one anyway)
and that fixed the problem.

thanks~
otaku.com2
 
Posts: 23
Joined: Mon Jun 09, 2008 8:59 am


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 12 guests