You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Nicholas Stuart (JIRA)" <hi...@jakarta.apache.org> on 2005/04/13 20:52:23 UTC

[jira] Created: (HIVEMIND-106) Problem running through web-start

Problem running through web-start
---------------------------------

         Key: HIVEMIND-106
         URL: http://issues.apache.org/jira/browse/HIVEMIND-106
     Project: HiveMind
        Type: Bug
  Components: framework  
    Versions: 1.0    
 Environment: Windows XP Service Pack 2 with Java 1.5_02
    Reporter: Nicholas Stuart


Trying to deploy a Hivemind enabled app through webstart doesn't appear to work out so well. When you go to run the app and it trys to get the register for the first time you get the following stacktrace:

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-106) Problem running through web-start

Posted by "Noel Winstanley (JIRA)" <hi...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/HIVEMIND-106?page=comments#action_12372457 ] 

Noel Winstanley commented on HIVEMIND-106:
------------------------------------------

I've done some investigating into this - as not being able to webstart my hibernate app is a real show-stopper for me.

It seems that the root cause of the failure above is this exception:
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)
	... 59 more

I did some tinkering around with the sources for hivemind and javassist - in particular I plugged in my own 'ClassPath' implementation that printed out the classes being searched for, which classloader and thread, and whether it was able to load them or not.

Some previous classes - e.g. the hivemind serialization classes, were being loaded successfully. However, the Translator class (which is in the same hivemind jar) doesn't seem to be loadable as a resource. As far as I can see, there's nothing special about this class - apart from it being the first class to be loaded that is mentioned in the hivemind.xml file.

I don't know whether this is a bug or a mistaken 'feature' in the JNLPClassLoader implementation. Anyhow, try as I might, I couldn't find any way of getting the classloader to load this class as a resource. (although it was already visible as a class object).

However, all this trouble can be fixed by the one-liner        
System.setSecurityManager(null); 
right at the start of your program -- This probably requires <all-permissions/> to do - but this isn't a problem for my webstart app - which requires this anyhow.

Straight after nulling the security manager, I also added the following line, for good measure
Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader()); 
(where 'this' is my main class, loaded by the JNLPClassLoader). I'm unsure whther this is strictly necessary, but doesn't do anyharm.

Since doing this, I've been able to webstart my app with no problems. (JRE 1.5)
So, a work-around for cases when you've the permission to zap the scurity manager.

hopefully this will be a clue on how to fix this bug properly to someone who really understands webstart/classloaders/java permissions.



> Problem running through web-start
> ---------------------------------
>
>          Key: HIVEMIND-106
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-106
>      Project: HiveMind
>         Type: Bug
>   Components: framework
>     Versions: 1.0
>  Environment: Windows XP Service Pack 2 with Java 1.5_02
>     Reporter: Nicholas Stuart

>
> Trying to deploy a Hivemind enabled app through webstart doesn't appear to work out so well. When you go to run the app and it trys to get the register for the first time you get the following stacktrace:
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-106) Problem running through web-start

Posted by "Arik Kfir (JIRA)" <hi...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/HIVEMIND-106?page=comments#action_12412683 ] 

Arik Kfir commented on HIVEMIND-106:
------------------------------------

This happens to me too, with a slight variation: it reports the NotFoundException on the java.lang.Class class! ;-)   

I'm running with <all-permissions> too.

here's my app's web-start output:
May 21, 2006 10:24:48 PM com.sun.enterprise.appclient.MainWithModuleSupport prepareSecurity
INFO: Security Manager is ON.
May 21, 2006 10:24:48 PM com.sun.enterprise.appclient.MainWithModuleSupport setTargetServerProperties
INFO: ACC001:Using ClientContainer file: [/tmp/sunacc44287.xml].
May 21, 2006 10:24:48 PM com.sun.enterprise.appclient.MainWithModuleSupport setupIIOP
INFO: ACC014: ORB host name: [localhost]
May 21, 2006 10:24:48 PM com.sun.enterprise.appclient.MainWithModuleSupport setupIIOP
INFO: ACC013: ORB port number: [3700]
May 21, 2006 10:24:51 PM com.sun.enterprise.appclient.MainWithModuleSupport loadMainClientClass
INFO: ACC009: Load Application Class: [org.corleon.tracker.client.swing.startup.SwingLauncher]
May 21, 2006 10:24:52 PM com.sun.enterprise.appclient.MainWithModuleSupport <init>
WARNING: ACC003: Application threw an exception.
org.apache.hivemind.ApplicationRuntimeException: Unable to construct service hivemind.Startup: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 599, column 43: Unable to process attribute autowire-services (of element construct): Unable to construct configuration hivemind.Translators: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62: Unable to process attribute service-id (of element translator): Unable to lookup java.lang.Class: java.lang.Class [jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 599, column 43]
	at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:165)
	at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:139)
	at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68)
	at $Runnable_10b5868352e._service($Runnable_10b5868352e.java)
	at $Runnable_10b5868352e.run($Runnable_10b5868352e.java)
	at $Runnable_10b5868352d.run($Runnable_10b5868352d.java)
	at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:436)
	at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154)
	at org.corleon.application.Launcher.createRegistry(Launcher.java:60)
	at org.corleon.application.Launcher.main(Launcher.java:43)
	at org.corleon.tracker.client.swing.startup.SwingLauncher.main(SwingLauncher.java:67)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:232)
	at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:329)
	at com.sun.enterprise.appclient.Main.main(Main.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:148)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 599, column 43: Unable to process attribute autowire-services (of element construct): Unable to construct configuration hivemind.Translators: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62: Unable to process attribute service-id (of element translator): Unable to lookup java.lang.Class: java.lang.Class [jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 599, column 43]
	at org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
	at org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:90)
	at org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:228)
	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:107)
	at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:157)
	... 29 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to construct configuration hivemind.Translators: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62: Unable to process attribute service-id (of element translator): Unable to lookup java.lang.Class: java.lang.Class [jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62]
	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(AbstractList.java:416)
	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:535)
	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:264)
	at org.apache.hivemind.impl.SchemaElement.getAttributeTranslator(SchemaElement.java:271)
	at org.apache.hivemind.impl.SchemaProcessorImpl.getAttributeTranslator(SchemaProcessorImpl.java:288)
	at org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:72)
	... 36 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62: Unable to process attribute service-id (of element translator): Unable to lookup java.lang.Class: java.lang.Class [jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62]
	at org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
	at org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:90)
	at org.apache.hivemind.parse.ConversionDescriptor.begin(ConversionDescriptor.java:141)
	at org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:228)
	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)
	... 50 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to lookup java.lang.Class: java.lang.Class
	at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:130)
	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:207)
	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)
	... 56 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to lookup java.lang.Class: java.lang.Class
	at org.apache.hivemind.service.impl.CtClassSource.getCtClass(CtClassSource.java:56)
	at org.apache.hivemind.service.impl.AbstractFab.convertClass(AbstractFab.java:83)
	at org.apache.hivemind.service.impl.AbstractFab.convertClasses(AbstractFab.java:66)
	at org.apache.hivemind.service.impl.ClassFabImpl.addMethod(ClassFabImpl.java:280)
	at org.apache.hivemind.impl.ProxyBuilder.addServiceMethods(ProxyBuilder.java:139)
	at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxyClass(SingletonServiceModel.java:183)
	at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:103)
	... 63 more
Caused by: javassist.NotFoundException: java.lang.Class
	at javassist.ClassPool.get(ClassPool.java:301)
	at org.apache.hivemind.service.impl.CtClassSource.getCtClass(CtClassSource.java:52)
	... 69 more
Error attempting to launch JWSACCMain.main
java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:851)
	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1257)
	at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:109)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.javaws.Launcher.executeApplication(Launcher.java:1154)
	at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1101)
	at com.sun.javaws.Launcher.continueLaunch(Launcher.java:944)
	at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:515)
	at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
	at com.sun.javaws.Launcher.run(Launcher.java:165)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:150)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:148)
	... 7 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:340)
	at com.sun.enterprise.appclient.Main.main(Main.java:180)
	... 12 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:232)
	at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:329)
	... 13 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to construct service hivemind.Startup: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 599, column 43: Unable to process attribute autowire-services (of element construct): Unable to construct configuration hivemind.Translators: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62: Unable to process attribute service-id (of element translator): Unable to lookup java.lang.Class: java.lang.Class [jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 599, column 43]
	at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:165)
	at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:139)
	at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68)
	at $Runnable_10b5868352e._service($Runnable_10b5868352e.java)
	at $Runnable_10b5868352e.run($Runnable_10b5868352e.java)
	at $Runnable_10b5868352d.run($Runnable_10b5868352d.java)
	at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:436)
	at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154)
	at org.corleon.application.Launcher.createRegistry(Launcher.java:60)
	at org.corleon.application.Launcher.main(Launcher.java:43)
	at org.corleon.tracker.client.swing.startup.SwingLauncher.main(SwingLauncher.java:67)
	... 19 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 599, column 43: Unable to process attribute autowire-services (of element construct): Unable to construct configuration hivemind.Translators: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62: Unable to process attribute service-id (of element translator): Unable to lookup java.lang.Class: java.lang.Class [jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 599, column 43]
	at org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
	at org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:90)
	at org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:228)
	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:107)
	at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:157)
	... 29 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to construct configuration hivemind.Translators: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62: Unable to process attribute service-id (of element translator): Unable to lookup java.lang.Class: java.lang.Class [jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62]
	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(AbstractList.java:416)
	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:535)
	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:264)
	at org.apache.hivemind.impl.SchemaElement.getAttributeTranslator(SchemaElement.java:271)
	at org.apache.hivemind.impl.SchemaProcessorImpl.getAttributeTranslator(SchemaProcessorImpl.java:288)
	at org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:72)
	... 36 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62: Unable to process attribute service-id (of element translator): Unable to lookup java.lang.Class: java.lang.Class [jar:file:/tmp/acc-RMcorleon-trackerClient.jar44289/hivemind-1.1.jar!/META-INF/hivemodule.xml, line 555, column 62]
	at org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
	at org.apache.hivemind.schema.rules.ReadAttributeRule.begin(ReadAttributeRule.java:90)
	at org.apache.hivemind.parse.ConversionDescriptor.begin(ConversionDescriptor.java:141)
	at org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:228)
	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)
	... 50 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to lookup java.lang.Class: java.lang.Class
	at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:130)
	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:207)
	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)
	... 56 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to lookup java.lang.Class: java.lang.Class
	at org.apache.hivemind.service.impl.CtClassSource.getCtClass(CtClassSource.java:56)
	at org.apache.hivemind.service.impl.AbstractFab.convertClass(AbstractFab.java:83)
	at org.apache.hivemind.service.impl.AbstractFab.convertClasses(AbstractFab.java:66)
	at org.apache.hivemind.service.impl.ClassFabImpl.addMethod(ClassFabImpl.java:280)
	at org.apache.hivemind.impl.ProxyBuilder.addServiceMethods(ProxyBuilder.java:139)
	at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxyClass(SingletonServiceModel.java:183)
	at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:103)
	... 63 more
Caused by: javassist.NotFoundException: java.lang.Class
	at javassist.ClassPool.get(ClassPool.java:301)
	at org.apache.hivemind.service.impl.CtClassSource.getCtClass(CtClassSource.java:52)
	... 69 more
May 21, 2006 10:24:52 PM com.sun.enterprise.appclient.MainWithModuleSupport$Cleanup run
INFO: Clean-up starting





The "setSecurityManager" helped me a bit too, though it generated other problems, but that's outside of this scope.

> Problem running through web-start
> ---------------------------------
>
>          Key: HIVEMIND-106
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-106
>      Project: HiveMind
>         Type: Bug

>   Components: framework
>     Versions: 1.0
>  Environment: Windows XP Service Pack 2 with Java 1.5_02
>     Reporter: Nicholas Stuart

>
> Trying to deploy a Hivemind enabled app through webstart doesn't appear to work out so well. When you go to run the app and it trys to get the register for the first time you get the following stacktrace:
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-106) Problem running through web-start

Posted by "Achim Hügen (JIRA)" <hi...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/HIVEMIND-106?page=comments#action_12412832 ] 

Achim Hügen commented on HIVEMIND-106:
--------------------------------------

Could somebody assemble a small example application which demonstrates the problem?

> Problem running through web-start
> ---------------------------------
>
>          Key: HIVEMIND-106
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-106
>      Project: HiveMind
>         Type: Bug

>   Components: framework
>     Versions: 1.0
>  Environment: Windows XP Service Pack 2 with Java 1.5_02
>     Reporter: Nicholas Stuart

>
> Trying to deploy a Hivemind enabled app through webstart doesn't appear to work out so well. When you go to run the app and it trys to get the register for the first time you get the following stacktrace:
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Updated: (HIVEMIND-106) Problem running through web-start

Posted by "Thomas Recloux (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-106?page=all ]

Thomas Recloux updated HIVEMIND-106:
------------------------------------

    Attachment: jws-testcase-ko.zip

Zip file containig a jws application binaries nor working, jars are not signed
codebase in the testcase.jnlp file should be updated 

> Problem running through web-start
> ---------------------------------
>
>          Key: HIVEMIND-106
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-106
>      Project: HiveMind
>         Type: Bug

>   Components: framework
>     Versions: 1.0
>  Environment: Windows XP Service Pack 2 with Java 1.5_02
>     Reporter: Nicholas Stuart
>  Attachments: jws-testcase-ko.zip
>
> Trying to deploy a Hivemind enabled app through webstart doesn't appear to work out so well. When you go to run the app and it trys to get the register for the first time you get the following stacktrace:
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org