All the jars are signed, my JNLP file requests all permissions, and JWS accepts the signing certificate. I don't think I have a permission problem. That leaves the other JWS bug-a-boo, class loading.
My test app registers a couple of toy services (hivemindtest.Printer and hivemindtest.Tester), pulls an instance out of the registry and invokes a single method.
I've attached a console log that includes Log4J logging at debug level, and below you'll find the exception as reported on the Java console.
I see the same exception under 1.4 and 1.5 JRE's.
I'm in sort of the opposite situation as Nick. I have an app that I'm already deploying with JNLP, but I'm on the verge of starting the next major version and I'd very much like to use HiveMind as the basis for a feature composition architecture. (If this were an SWT app, I'd use Eclipse RCP, but it ain't, and that's another story :-)
Thanks,
Tom W.
--- EXCEPTION --
org.apache.hivemind.ApplicationRuntimeException: Unable to construct configuration hivemind.Startup: No translator named 'object' has been registered in configuration point hivemind.Translators.
at org.apache.hivemind.impl.ConfigurationPointImpl.processContributionElements(ConfigurationPointImpl.java:273)
at org.apache.hivemind.impl.ConfigurationPointImpl.constructElements(ConfigurationPointImpl.java:189)
at org.apache.hivemind.impl.ElementsInnerProxyList.inner(ElementsInnerProxyList.java:46)
at org.apache.hivemind.impl.ElementsInnerProxyList.size(ElementsInnerProxyList.java:62)
at org.apache.hivemind.impl.ElementsProxyList.size(ElementsProxyList.java:60)
at java.util.AbstractList$Itr.hasNext(Unknown Source)
at org.apache.hivemind.impl.StartupImpl.run(StartupImpl.java:34)
at $Runnable_10332d56fe7.run($Runnable_10332d56fe7.java)
at $Runnable_10332d56fe6.run($Runnable_10332d56fe6.java)
at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:378)
at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154)
at org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBuilder.java:194)
at hivemindtest.HiveMindTest.main(HiveMindTest.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.hivemind.ApplicationRuntimeException: No translator named 'object' has been registered in configuration point hivemind.Translators.
at org.apache.hivemind.impl.TranslatorManager.findTranslatorClass(TranslatorManager.java:146)
at org.apache.hivemind.impl.TranslatorManager.constructTranslator(TranslatorManager.java:112)
at org.apache.hivemind.impl.TranslatorManager.getTranslator(TranslatorManager.java:92)
at org.apache.hivemind.impl.RegistryInfrastructureImpl.getTranslator(RegistryInfrastructureImpl.java:477)
at org.apache.hivemind.impl.ModuleImpl.getTranslator(ModuleImpl.java:171)
at org.apache.hivemind.impl.SchemaProcessorImpl.getTranslator(SchemaProcessorImpl.java:293)
at org.apache.hivemind.impl.SchemaElement.getTranslator(SchemaElement.java:255)
at org.apache.hivemind.impl.SchemaElement.getAttributeTranslator(SchemaElement.java:262)
at org.apache.hivemind.impl.SchemaProcessorImpl.getAttributeTranslator(SchemaProcessorImpl.java:288)
at org.apache.hivemind.schema.rules.PushAttributeRule.begin(PushAttributeRule.java:37)
at org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:219)
at org.apache.hivemind.impl.SchemaProcessorImpl.processElement(SchemaProcessorImpl.java:255)
at org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement(SchemaProcessorImpl.java:235)
at org.apache.hivemind.impl.SchemaProcessorImpl.process(SchemaProcessorImpl.java:223)
at org.apache.hivemind.impl.ConfigurationPointImpl.processContributionElements(ConfigurationPointImpl.java:268)
... 23 more
--- END EXCEPTION ---
On Apr 6, 2005 10:14 AM, Nick Stuart <[EMAIL PROTECTED]> wrote:
Hello all, I've seen one other e-mail about this topic, but there was
no resultion posted. I'm trying to deploy an app that uses hivemind
1.0 and its not working out so well. I get the following exception
when I go to run the app through JNLP:
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to
construct configuration hivemind.Startup: No translator named 'object'
has been registered in configuration point hivemind.Translators.
at org.apache.hivemind.impl.ConfigurationPointImpl.constructElementsList(ConfigurationPointImpl.java:209)
at org.apache.hivemind.impl.ConfigurationPointImpl.constructElements(ConfigurationPointImpl.java:150)
at org.apache.hivemind.impl.ElementsInnerProxyList.inner(ElementsInnerProxyList.java:46)
at org.apache.hivemind.impl.ElementsInnerProxyList.size(ElementsInnerProxyList.java:62)
at org.apache.hivemind.impl.ElementsProxyList.size(ElementsProxyList.java:60)
at java.util.AbstractList$Itr.hasNext(Unknown Source)
at org.apache.hivemind.impl.StartupImpl.run(StartupImpl.java:34)
at $InnerProxy_10317d9e578_1.run($InnerProxy_10317d9e578_1.java)
at $SingletonProxy_10317d9e4ec_0.run($SingletonProxy_10317d9e4ec_0.java)
at org.apache.hivemind.impl.RegistryImpl.startup(RegistryImpl.java:323)
at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:417)
at org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBuilder.java:711)
at com.vort.ads.utils.ServiceLocator.<clinit>(ServiceLocator.java:22)
... 31 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: No
translator named 'object' has been registered in configuration point
hivemind.Translators.
at org.apache.hivemind.impl.TranslatorManager.findTranslatorClass(TranslatorManager.java:141)
at org.apache.hivemind.impl.TranslatorManager.constructTranslator(TranslatorManager.java:109)
at org.apache.hivemind.impl.TranslatorManager.getTranslator(TranslatorManager.java:89)
at org.apache.hivemind.impl.RegistryImpl.getTranslator(RegistryImpl.java:420)
at org.apache.hivemind.impl.ModuleImpl.getTranslator(ModuleImpl.java:125)
at org.apache.hivemind.impl.SchemaProcessorImpl.getTranslator(SchemaProcessorImpl.java:251)
at org.apache.hivemind.impl.SchemaElement.getTranslator(SchemaElement.java:244)
at org.apache.hivemind.impl.SchemaElement.getAttributeTranslator(SchemaElement.java:251)
at org.apache.hivemind.impl.SchemaProcessorImpl.getAttributeTranslator(SchemaProcessorImpl.java:246)
at org.apache.hivemind.schema.rules.PushAttributeRule.begin(PushAttributeRule.java:37)
at org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:209)
at org.apache.hivemind.impl.SchemaProcessorImpl.processElement(SchemaProcessorImpl.java:213)
at org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement(SchemaProcessorImpl.java:188)
at org.apache.hivemind.impl.SchemaProcessorImpl.process(SchemaProcessorImpl.java:176)
at org.apache.hivemind.impl.ConfigurationPointImpl.constructElementsList(ConfigurationPointImpl.java:202)
Running the same app locally it runs all fine and dandy. Any ideas on
the cause of this? I really would like to be able to deploy my app
using JNLP but so far this is going to stop that.
-Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Java Web Start 1.5.0_02
Using JRE version 1.4.2_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\taw
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
0-5: set trace level to <n>
----------------------------------------------------
javawsApplicationMain -- HiveMindTest [INFO] HiveMindTest starting up
javawsApplicationMain -- RegistryBuilder [DEBUG] Processing module hivemindtest
javawsApplicationMain -- RegistryBuilder [DEBUG] Processing module hivemind
javawsApplicationMain -- RegistryBuilder [DEBUG] Processing module hivemind.lib
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.RemoteExceptionCoordinator
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=impl.RemoteExceptionCoordinatorImpl
serviceModel=primitive] to service extension point
hivemind.lib.RemoteExceptionCoordinator
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.NameLookup
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=impl.NameLookupImpl]]
elements=[ElementImpl[elementName=set attributes=[AttributeImpl[name=value
value=${java.naming.factory.initial}], AttributeImpl[name=property
value=initialFactory]] elements=null content=null], ElementImpl[elementName=set
attributes=[AttributeImpl[name=value value=${java.naming.factory.url.pkgs}],
AttributeImpl[name=property value=URLPackages]] elements=null content=null],
ElementImpl[elementName=set attributes=[AttributeImpl[name=value
value=${java.naming.provider.url}], AttributeImpl[name=property
value=providerURL]] elements=null content=null],
ElementImpl[elementName=set-service attributes=[AttributeImpl[name=service-id
value=RemoteExceptionCoordinator], AttributeImpl[name=property
value=coordinator]] elements=null content=null],
ElementImpl[elementName=event-listener
attributes=[AttributeImpl[name=service-id value=RemoteExceptionCoordinator]]
elements=null content=null]] content=]] serviceModel=singleton] to service
extension point hivemind.lib.NameLookup
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.EJBProxyFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=impl.EJBProxyFactory]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=NameLookup],
AttributeImpl[name=property value=nameLookup]] elements=null content=null],
ElementImpl[elementName=set-service attributes=[AttributeImpl[name=service-id
value=hivemind.ClassFactory], AttributeImpl[name=property value=classFactory]]
elements=null content=null], ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=RemoteExceptionCoordinator],
AttributeImpl[name=property value=coordinator]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.lib.EJBProxyFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.SpringLookupFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=impl.SpringLookupFactory]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=DefaultSpringBeanFactory],
AttributeImpl[name=property value=defaultBeanFactory]] elements=null
content=null]] content=]] serviceModel=singleton] to service extension point
hivemind.lib.SpringLookupFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.DefaultSpringBeanFactoryHolder
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=impl.SpringBeanFactoryHolderImpl
serviceModel=singleton] to service extension point
hivemind.lib.DefaultSpringBeanFactoryHolder
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.DefaultSpringBeanFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=ServicePropertyFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=service-id
value=DefaultSpringBeanFactoryHolder], AttributeImpl[name=property
value=beanFactory]] elements=null content=null]] serviceModel=singleton] to
service extension point hivemind.lib.DefaultSpringBeanFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.SpringObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=impl.SpringObjectProvider]]
elements=[ElementImpl[elementName=set-object
attributes=[AttributeImpl[name=value
value=${hivemind.lib.spring-bean-factory}], AttributeImpl[name=property
value=beanFactory]] elements=null content=null]] content=]]
serviceModel=singleton] to service extension point
hivemind.lib.SpringObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.BeanFactoryBuilder
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=factory.BeanFactoryBuilder]]
elements=null content=null]] serviceModel=singleton] to service extension point
hivemind.lib.BeanFactoryBuilder
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.BeanFactoryObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=factory.BeanFactoryObjectProvider
serviceModel=singleton] to service extension point
hivemind.lib.BeanFactoryObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.DefaultImplementationBuilder
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class
value=impl.DefaultImplementationBuilderImpl]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=hivemind.ClassFactory],
AttributeImpl[name=property value=classFactory]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.lib.DefaultImplementationBuilder
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.PlaceholderFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=impl.PlaceholderFactory]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=DefaultImplementationBuilder],
AttributeImpl[name=property value=builder]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.lib.PlaceholderFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.PipelineFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=pipeline.PipelineFactory]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=hivemind.ClassFactory],
AttributeImpl[name=property value=classFactory]] elements=null content=null],
ElementImpl[elementName=set-service attributes=[AttributeImpl[name=service-id
value=DefaultImplementationBuilder], AttributeImpl[name=property
value=defaultImplementationBuilder]] elements=null content=null]] content=]]
serviceModel=singleton] to service extension point hivemind.lib.PipelineFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.ServicePropertyFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=impl.ServicePropertyFactory]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=hivemind.ClassFactory],
AttributeImpl[name=property value=classFactory]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.lib.ServicePropertyFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.AdapterRegistryFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=adapter.AdapterRegistryFactory]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=hivemind.ClassFactory],
AttributeImpl[name=property value=classFactory]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.lib.AdapterRegistryFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.ChainBuilder
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=chain.ChainBuilderImpl]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=hivemind.ClassFactory],
AttributeImpl[name=property value=classFactory]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.lib.ChainBuilder
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.ChainFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=chain.ChainFactory]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=ChainBuilder],
AttributeImpl[name=property value=chainBuilder]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.lib.ChainFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.lib.MethodInterceptorFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class
value=org.apache.hivemind.lib.impl.MethodInterceptorFactory]] elements=null
content=null]] serviceModel=singleton] to service extension point
hivemind.lib.MethodInterceptorFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemindtest.Printer
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=PrinterImpl serviceModel=singleton]
to service extension point hivemindtest.Printer
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemindtest.Tester
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=TestImpl]] elements=null
content=null]] serviceModel=singleton] to service extension point
hivemindtest.Tester
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.FactoryDefaultsSymbolSource
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=service.impl.DefaultsSymbolSource]]
elements=[ElementImpl[elementName=set-configuration
attributes=[AttributeImpl[name=configuration-id value=FactoryDefaults],
AttributeImpl[name=property value=defaults]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.FactoryDefaultsSymbolSource
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ApplicationDefaultsSymbolSource
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=service.impl.DefaultsSymbolSource]]
elements=[ElementImpl[elementName=set-configuration
attributes=[AttributeImpl[name=configuration-id value=ApplicationDefaults],
AttributeImpl[name=property value=defaults]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.ApplicationDefaultsSymbolSource
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ClassFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.ClassFactoryImpl
serviceModel=primitive] to service extension point hivemind.ClassFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.LoggingInterceptor
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class
value=service.impl.LoggingInterceptorFactory]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=ClassFactory],
AttributeImpl[name=property value=factory]] elements=null content=null]]
content=]] serviceModel=primitive] to service extension point
hivemind.LoggingInterceptor
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.BuilderFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.BuilderFactory
serviceModel=primitive] to service extension point hivemind.BuilderFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ThreadEventNotifier
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.ThreadEventNotifierImpl
serviceModel=singleton] to service extension point hivemind.ThreadEventNotifier
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ThreadLocalStorage
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class
value=service.impl.ThreadLocalStorageImpl]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=ThreadEventNotifier],
AttributeImpl[name=property value=notifier]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.ThreadLocalStorage
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ShutdownCoordinator
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=impl.ShutdownCoordinatorImpl]]
elements=[ElementImpl[elementName=log attributes=null elements=null
content=null]] content=]] serviceModel=singleton] to service extension point
hivemind.ShutdownCoordinator
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.Startup
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=impl.StartupImpl]]
elements=[ElementImpl[elementName=set-configuration
attributes=[AttributeImpl[name=configuration-id value=Startup],
AttributeImpl[name=property value=runnables]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point hivemind.Startup
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.EagerLoad
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=service.impl.EagerLoader]]
elements=[ElementImpl[elementName=set-configuration
attributes=[AttributeImpl[name=configuration-id value=EagerLoad],
AttributeImpl[name=property value=servicePoints]] elements=null content=null]]
content=]] serviceModel=primitive] to service extension point hivemind.EagerLoad
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ObjectTranslator
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class value=service.impl.ObjectTranslator]]
elements=[ElementImpl[elementName=set-configuration
attributes=[AttributeImpl[name=configuration-id value=ObjectProviders],
AttributeImpl[name=property value=contributions]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.ObjectTranslator
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ServiceObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.ServiceObjectProvider
serviceModel=singleton] to service extension point
hivemind.ServiceObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ConfigurationObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.ConfigurationObjectProvider
serviceModel=singleton] to service extension point
hivemind.ConfigurationObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ObjectInstanceObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.ObjectInstanceObjectProvider
serviceModel=singleton] to service extension point
hivemind.ObjectInstanceObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ServicePropertyObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.ServicePropertyObjectProvider
serviceModel=singleton] to service extension point
hivemind.ServicePropertyObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ClassObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.ClassObjectProvider
serviceModel=singleton] to service extension point hivemind.ClassObjectProvider
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ThreadLocale
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=ThreadLocaleFactory parameters=null
serviceModel=threaded] to service extension point hivemind.ThreadLocale
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.ThreadLocaleFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
CreateInstanceDescriptor[instanceClassName=service.impl.ThreadLocaleFactory
serviceModel=singleton] to service extension point hivemind.ThreadLocaleFactory
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating service point
hivemind.InterfaceSynthesizer
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding
InvokeFactoryDescriptor[factoryServiceId=hivemind.BuilderFactory
parameters=[ElementImpl[elementName=construct
attributes=[AttributeImpl[name=class
value=service.impl.InterfaceSynthesizerImpl]]
elements=[ElementImpl[elementName=set-service
attributes=[AttributeImpl[name=service-id value=ClassFactory],
AttributeImpl[name=property value=classFactory]] elements=null content=null]]
content=]] serviceModel=singleton] to service extension point
hivemind.InterfaceSynthesizer
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating configuration point
hivemind.SymbolSources
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating configuration point
hivemind.FactoryDefaults
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating configuration point
hivemind.ApplicationDefaults
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating configuration point
hivemind.ServiceModels
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating configuration point
hivemind.Translators
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating configuration point
hivemind.Startup
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating configuration point
hivemind.EagerLoad
javawsApplicationMain -- RegistryBuilder [DEBUG] Creating configuration point
hivemind.ObjectProviders
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions from
module hivemind.lib
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.FactoryDefaults
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.FactoryDefaults
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.ObjectProviders
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.ObjectProviders
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions from
module hivemindtest
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions from
module hivemind
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.SymbolSources
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.ServiceModels
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.Translators
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.Startup
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding contributions to
configuration point hivemind.ObjectProviders
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding module hivemind.lib to
registry
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding module hivemindtest to
registry
javawsApplicationMain -- RegistryBuilder [DEBUG] Adding module hivemind to
registry
javawsApplicationMain -- ReadAttributeRule [ERROR] Error at
jar:file:C:/Documents%20and%20Settings/taw/Application%20Data/Sun/Java/Deployment/cache/javaws/http/Dlocalhost/P80/DMhivemind/RMhivemind-1.1-alpha-3.jar!/META-INF/hivemodule.xml,
line 555: Unable to process attribute service-id (of element translator):
Unable to lookup org.apache.hivemind.schema.Translator:
org.apache.hivemind.schema.Translator
org.apache.hivemind.ApplicationRuntimeException: Unable to lookup
org.apache.hivemind.schema.Translator: org.apache.hivemind.schema.Translator
at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:126)
at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(SingletonServiceModel.java:57)
at
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:209)
at
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:222)
at
org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:170)
at org.apache.hivemind.impl.ModuleImpl.getService(ModuleImpl.java:97)
at
org.apache.hivemind.schema.rules.ServiceTranslator.translate(ServiceTranslator.java:40)
at
org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:77)
at
org.apache.hivemind.parse.ConversionDescriptor.begin(ConversionDescriptor.java:141)
at
org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:219)
at
org.apache.hivemind.impl.SchemaProcessorImpl.processElement(SchemaProcessorImpl.java:255)
at
org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement(SchemaProcessorImpl.java:235)
at
org.apache.hivemind.impl.SchemaProcessorImpl.process(SchemaProcessorImpl.java:223)
at
org.apache.hivemind.impl.ConfigurationPointImpl.processContributionElements(ConfigurationPointImpl.java:268)
at
org.apache.hivemind.impl.ConfigurationPointImpl.constructElements(ConfigurationPointImpl.java:189)
at
org.apache.hivemind.impl.ElementsInnerProxyList.inner(ElementsInnerProxyList.java:46)
at
org.apache.hivemind.impl.ElementsInnerProxyList.size(ElementsInnerProxyList.java:62)
at
org.apache.hivemind.impl.ElementsProxyList.size(ElementsProxyList.java:60)
at java.util.AbstractList$Itr.hasNext(Unknown Source)
at
org.apache.hivemind.impl.TranslatorManager.loadTranslators(TranslatorManager.java:165)
at
org.apache.hivemind.impl.TranslatorManager.getTranslator(TranslatorManager.java:86)
at
org.apache.hivemind.impl.RegistryInfrastructureImpl.getTranslator(RegistryInfrastructureImpl.java:477)
at
org.apache.hivemind.impl.ModuleImpl.getTranslator(ModuleImpl.java:171)
at
org.apache.hivemind.impl.SchemaProcessorImpl.getTranslator(SchemaProcessorImpl.java:293)
at
org.apache.hivemind.impl.SchemaElement.getTranslator(SchemaElement.java:255)
at
org.apache.hivemind.impl.SchemaElement.getAttributeTranslator(SchemaElement.java:262)
at
org.apache.hivemind.impl.SchemaProcessorImpl.getAttributeTranslator(SchemaProcessorImpl.java:288)
at
org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:72)
at
org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:219)
at
org.apache.hivemind.impl.SchemaProcessorImpl.processElement(SchemaProcessorImpl.java:255)
at
org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement(SchemaProcessorImpl.java:235)
at
org.apache.hivemind.impl.SchemaProcessorImpl.process(SchemaProcessorImpl.java:223)
at
org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:72)
at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:106)
at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:156)
at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:138)
at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68)
at $Runnable_10332d56fe7._service($Runnable_10332d56fe7.java)
at $Runnable_10332d56fe7.run($Runnable_10332d56fe7.java)
at $Runnable_10332d56fe6.run($Runnable_10332d56fe6.java)
at
org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:378)
at
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154)
at
org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBuilder.java:194)
at hivemindtest.HiveMindTest.main(HiveMindTest.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to lookup
org.apache.hivemind.schema.Translator: org.apache.hivemind.schema.Translator
at
org.apache.hivemind.service.impl.CtClassSource.getCtClass(CtClassSource.java:56)
at
org.apache.hivemind.service.impl.AbstractFab.addInterface(AbstractFab.java:51)
at org.apache.hivemind.impl.ProxyBuilder.<init>(ProxyBuilder.java:83)
at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxyClass(SingletonServiceModel.java:141)
at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:99)
... 54 more
Caused by: javassist.NotFoundException: org.apache.hivemind.schema.Translator
at javassist.ClassPool.get(ClassPool.java:301)
at
org.apache.hivemind.service.impl.CtClassSource.getCtClass(CtClassSource.java:52)
... 58 more
javawsApplicationMain -- TranslatorManager [ERROR] Error at
jar:file:C:/Documents%20and%20Settings/taw/Application%20Data/Sun/Java/Deployment/cache/javaws/http/Dlocalhost/P80/DMhivemind/RMhivemind-1.1-alpha-3.jar!/META-INF/hivemodule.xml,
line 555: Translator contribution 'object' must specify either the service-id
or class attribute.
#### Java Web Start Error:
#### Unable to construct configuration hivemind.Startup: No translator named
'object' has been registered in configuration point hivemind.Translators.--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
