ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » plugin pictures

Post new topic  Reply to topic Goto page 1, 2  Next
 plugin pictures « View previous topic :: View next topic » 
Author Message
scravr
PostPosted: Tue Jul 09, 2013 5:34 am    Post subject: plugin pictures Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

On toolkit 8002:
Anyone have an idea why plugin pictures comes nice on palette and on flow editor when testing from development workspace into 2nd workspace, but
When putting packaged plugin JAR on toolkit plugin directory and starting a fresh workspace the icon on palette is small red dot and the picture on flow editor is the default picture?
The plugin JAR has the nice pictures in it !!!
Both JAVA and Plugin are independent resources.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
mqjeff
PostPosted: Tue Jul 09, 2013 6:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

and the palette.xmi file properly references the right icons?

And you packaged the jar files using the package wizard?

Try restarting Toolkit with -clean.
Back to top
View user's profile Send private message
scravr
PostPosted: Tue Jul 09, 2013 6:17 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

Tried them all with no success
Back to top
View user's profile Send private message Send e-mail MSN Messenger
mqjeff
PostPosted: Tue Jul 09, 2013 6:21 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

errors in .metadata/.log in the workspace during toolkit startup?
Back to top
View user's profile Send private message
scravr
PostPosted: Tue Jul 09, 2013 6:49 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

I PUT THE PLUGIN JAR ON C:\Program Files\IBM\WMBT800\dropins
AND ON LIL I PUT BOTH PLUGIN AND JAVA JARs.

TOOLKIT GET ERROR ON GIF FILE NOT FOUND !!!
BUT ALL 3 GIFs ARE ON JAR FILE: 2 WITH GIF AND 1 WITH gif SUFFIX.

palette.xmi:
icon16Name="platform:/plugin/My.ID/icons/full/clcl16/com/.../.../.../plugin/MyPlugin.GIF"
icon32Name="platform:/plugin/My.ID/icons/full/obj30/com/.../.../.../plugin/MyPlugin.GIF"

toolkit error:
java.io.FileNotFoundException: /icons/full/clcl16/com/.../.../.../plugin/MyPlugin.GIF
!STACK 0
...
...

Is suffix makes a difference? GIF vs gif ?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
mqjeff
PostPosted: Tue Jul 09, 2013 7:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

scravr wrote:
I PUT THE PLUGIN JAR ON C:\Program Files\IBM\WMBT800\dropins
AND ON LIL I PUT BOTH PLUGIN AND JAVA JARs.

Please don't use all caps. Runtime lil doesn't need toolkit package, just runtime package. If I understand you, that's just the "java jar" not the plugin jar.

Runtime doesn't have any effect on Toolkit and vice versa.

scravr wrote:
Is suffix makes a difference? GIF vs gif ?

Yes, unfortunately, it could.

But I think the problem is the "/.../../" parts of the path in the palette.xmi files. I would expect that to be something like "platform:/plugin/My.ID/MyPlugin.gif" or "platform:/plugin/My.ID/plugin/MyPlugin.gif".

The paths need to be correct to the location of the actual files inside the jar file, relative to the root of the jar file directory. the "/.../.../.../" moves the path to several directories above the icons directory.
Back to top
View user's profile Send private message
scravr
PostPosted: Tue Jul 09, 2013 9:37 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

1. On V7: plugin jar should reside on toolkit C:\Program Files\IBM\WMBT800\plugins
On V8 package wizeard it says to put on C:\Program Files\IBM\WMBT800\dropins AND on broker LILPATH !!! ---- this is incorrect

Testing and more testing shows plugin JAR should be on BOTH dropins and plugins directories. No need to put on LIL.


2. Using windows CMD I renamed all 3 files from *.GIF to *.gif and all icons pictures are OK.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
lancelotlinc
PostPosted: Tue Jul 09, 2013 9:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Windows files system is not case-sensitive. GIF and gif mean the same to Windows. Unix is case-sensitive.

If you found an incorrect fact in the InfoCentre, please submit feedback on that page.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Jul 09, 2013 9:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
Windows files system is not case-sensitive. GIF and gif mean the same to Windows. Unix is case-sensitive.

If you found an incorrect fact in the InfoCentre, please submit feedback on that page.


And if this had anything to do with the file system, this would be relevant and helpful.

It doesn't.

It has to do with how the palette.xmi information is interpreted and parsed by the Toolkiit.

Which, as I said, could indeed decide that it needed to parse this in a case-sensitive manner, and look for "file.gif" when it was told to look for "file.GIF" and fail to find the image.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 09, 2013 10:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Oh my, aren't we case-SENSITIVE today mqjeff.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
scravr
PostPosted: Tue Jul 09, 2013 11:11 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

both the file name and palette reference must be same case.

The description of directories (where to put the plugin JAR) on Package wizard needs to be changed and point to both plugins and dropins directories. NOT to LIL
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Tue Jul 09, 2013 8:20 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Actually you'll probably need all three if you want to deploy to the runtime...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
scravr
PostPosted: Wed Jul 10, 2013 11:36 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

I have JAVA constructor with default values for properties.
any ideas why properties on BAR are not coming into runtime?
In debug I see the defaults.
Do I need to call get/set function for each property?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
mqjeff
PostPosted: Wed Jul 10, 2013 12:01 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Your MbNode class needs to have a getter and setter for each property.
http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.etools.mft.doc/as09970_.htm#as09970_7

You don't have to *call* them, but you have to *write* them.
Back to top
View user's profile Send private message
scravr
PostPosted: Wed Jul 10, 2013 12:15 pm    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

I do have get/set functions.
constructor has:
createOutputTerminal("failure");
createOutputTerminal("out");
createOutputTerminal("catch");
this.name="n/a";
this.acct=0;
.
.
.

in debug is see: name=n/a insteadof "MyName" that is on BAR !!!!
do I need to set default in constructor?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » plugin pictures
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.