Hazelcast probably missing some files

403 views
Skip to first unread message

Tomáš Švikruha

unread,
Oct 6, 2015, 3:58:43 AM10/6/15
to iDempiere

Hi,


when starting server I always get below logs. I tried with Hazelcast 3.3.1 and 3.5.2 - both same issue. Tried with community version where is used 3.3.1 and there are no logs as below. When I unpacked .lib files I can see that there are these files, so maybe I am missing some configuration. Any ideas? Thanks..


Oct 06, 2015 9:34:17 AM com.hazelcast.util.ServiceLoader

WARNING: Service loader could not load 'META-INF/services/com.hazelcast.PortableHook' It may be empty or does not exist.

Oct 06, 2015 9:34:17 AM com.hazelcast.util.ServiceLoader

WARNING: Service loader could not load 'META-INF/services/com.hazelcast.DataSerializerHook' It may be empty or does not exist.

Oct 06, 2015 9:34:17 AM com.hazelcast.util.ServiceLoader

WARNING: Service loader could not load 'META-INF/services/com.hazelcast.SerializerHook' It may be empty or does not exist.

Oct 06, 2015 9:34:17 AM com.hazelcast.util.ServiceLoader

WARNING: Service loader could not load 'META-INF/services/com.hazelcast.NodeInitializer' It may be empty or does not exist.

Ladislav Nagy

unread,
Oct 7, 2015, 2:07:00 AM10/7/15
to iDempiere
Hello,

I can confirm this problem on develepment branch.



Dňa utorok, 6. októbra 2015 9:58:43 UTC+2 Tomáš Švikruha napísal(-a):

Tomáš Švikruha

unread,
Oct 7, 2015, 2:26:19 AM10/7/15
to iDempiere
Do you have only development branch or development with custom plugins? 

Because in our case I find out that BundleLoader.findResources(String) is looking for missing files in imported packages (in out case org.apache.xerces), not in required bundles. Maybe we messed up some import packages or required plugins so I am looking for fix now.

Tomáš Švikruha

unread,
Oct 7, 2015, 3:50:11 AM10/7/15
to iDempiere
Next strange thing for me was that in Thread.currentThread().getContextClassLoader() in BundleLoader was returned org.eclipse.osgi.internal.framework.ContextFinder instead of WebAppClassLoader. So I tried to deactivate all custom plugins and then BundleLoader thread was OK and also warning about missing files disappeared. 

As next I tried to turn on custom plugins one by one - almost for every plugin I used default start level and default autostart which seems to cause these problems. Then I fixed it by changing to auto start=true and reordered start levels (based on custom plugin dependencies, min value for custom level set to 5).

Is there anybody responsible who can confirm that mentioned can have impact on reported issue? :D

Thanks and believe that these notes will be useful for somebody :)

Hiep Lq

unread,
Oct 7, 2015, 7:21:05 AM10/7/15
to Mohemmed Bilal Ilyas
just notify, now auto start and level start when you run in eclipse and when you run from binary is different.
for binary, open file server.product to modify.

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/505462da-5f73-45c2-a2c0-35dd23c6b7cd%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

redhuan d. oon

unread,
Nov 19, 2015, 8:47:04 AM11/19/15
to iDempiere
Here in Slovakia with Tomáš Švikruha on this issue we finally solved it (for now) by not using the Activator class for any new plugin or bundle (that is used particularly for 2Pack auto pack in so if there is 2Pack it is only one time and should be pack in manually). Not sure why but my guess is that the services and class loading action by this class may have overtaken the main OSGi. I would investigate further to see if its a bug in the Activator class (which is quite old since Joerg Viola's time.)
Reply all
Reply to author
Forward
0 new messages