Hi,

I tried to use Hivemind with OC4J J2EE Container from Oracle, I put everything
into a J2EE Application( EAR ) and all the libraries are the shared libraries in
J2EE Application, and I also put hivemodule.xml at a pre-defined location.  But,

I got the org.apache.hivemind.ApplicationRuntimeException "Unable to
find interface
wireless.service.framework.PortService (for service oc4j_demo.port_service)"
I attached the full stack-trace in a txt file.

My question is: should I write a new ClassResolver for OC4J since it looks like 
a classloading issue? 

Thanks a lot!

Jian
org.apache.hivemind.ApplicationRuntimeException: 
Unable to find interface wireless.service.framework.PortService 
(for service oc4j_demo.port_service)
at 
org.apache.hivemind.impl.ServicePointImpl.lookupServiceInterface(ServicePointImpl.java:104)
at 
org.apache.hivemind.impl.ServicePointImpl.getServiceInterface(ServicePointImpl.java:88)
at 
org.apache.hivemind.impl.RegistryImpl.addServicePointByInterface(RegistryImpl.java:111)
at org.apache.hivemind.impl.RegistryImpl.addServicePoint(RegistryImpl.java:106)
at 
org.apache.hivemind.impl.RegistryBuilder.addServicePoints(RegistryBuilder.java:324)
at 
org.apache.hivemind.impl.RegistryBuilder.addServiceAndConfigurationPoints(RegistryBuilder.java:287)
at 
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:405)
at 
wireless.syscfg.registry.WirelessJ2EEAppRegistryBuilder.buildRegistry(WirelessJ2EEAppRegistryBuilder.java:36)
at 
wireless.syscfg.registry.WirelessJ2EEAppRegistry.<init>(WirelessJ2EEAppRegistry.java:53)
at 
wireless.syscfg.registry.WirelessJ2EEAppRegistry.getInstance(WirelessJ2EEAppRegistry.java:40)
at 
wireless.syscfg.mbean.WirelessJ2EEAppRegistryMBeanImpl.buildRegistry(WirelessJ2EEAppRegistryMBeanImpl.java:72)
at 
wireless.syscfg.mbean.WirelessJ2EEAppRegistryMBeanImpl.<init>(WirelessJ2EEAppRegistryMBeanImpl.java:42)
... 28 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: 
Could not load class wireless.service.framework.PortService from 
default.web.admin_web:0.0.0, code-sources:
    1. /C:/oc4j0615/j2ee/home/applications/admin_web/ (from 
META-INF/manifest.mf/ 
       in C:\oc4j0615\j2ee\home\applications\admin_web):
         Missing class: wireless.service.framework.PortService
         Dependent class: org.apache.hivemind.impl.DefaultClassResolver
                 Loader: hivemind_jmx_demo7.root:0.0.0
            Code-Source: 
/C:/oc4j0615/j2ee/home/applications/hivemind_jmx_demo7/hivemind-1.0-rc-1.jar
          Configuration: <library> in 
/C:/oc4j0615/j2ee/home/applications/hivemind_jmx_demo7/

       The missing class is not available from any code-source or loader in the 
server.    
at 
org.apache.hivemind.impl.DefaultClassResolver.findClass(DefaultClassResolver.java:101)
at 
org.apache.hivemind.impl.ServicePointImpl.lookupServiceInterface(ServicePointImpl.java:100)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to