geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: How to get hold of a WorkManager in a web app?
Date Sun, 18 Jan 2009 17:19:04 GMT
I think that spaces are not legal characters in the query portion of a  
URI so ?name=DefaultWorkManager# (no space after the '=') should work  
better.

thanks
david jencks

On Jan 18, 2009, at 5:20 AM, fladimir wrote:

>
> Unable to set attribute abstractNameQuery to ?name=  
> DefaultWorkManager#
> Here's the full stack trace:
>
> org.apache.geronimo.common.DeploymentException: Unable to set  
> attribute
> abstractNameQuery to ?name= DefaultWorkManager#
> 	at
> org 
> .apache 
> .geronimo 
> .deployment 
> .service.SingleGBeanBuilder.setAttribute(SingleGBeanBuilder.java:90)
> 	at
> org 
> .apache 
> .geronimo 
> .deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:113)
> 	at
> org 
> .apache 
> .geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:98)
> 	at
> org 
> .apache 
> .geronimo 
> .deployment 
> .NamespaceDrivenBuilderCollection 
> .build(NamespaceDrivenBuilderCollection.java:48)
> 	at
> org 
> .apache 
> .geronimo 
> .openejb 
> .deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:539)
> 	at
> org 
> .apache 
> .geronimo 
> .j2ee 
> .deployment 
> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
> 	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:597)
> 	at
> org 
> .apache 
> .geronimo 
> .gbean 
> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java: 
> 34)
> 	at
> org 
> .apache 
> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> 	at
> org 
> .apache 
> .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
> 	at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 
> 239)
> 	at
> org 
> .apache 
> .geronimo 
> .deployment 
> .plugin 
> .local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
> 	at
> org 
> .apache 
> .geronimo 
> .deployment 
> .plugin 
> .local 
> .RedeployCommand.redeploySameConfiguration(RedeployCommand.java:225)
> 	at
> org 
> .apache 
> .geronimo 
> .deployment.plugin.local.RedeployCommand.run(RedeployCommand.java:101)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by:
> org.apache.geronimo.common.propertyeditor.PropertyEditorException:  
> Illegal
> character in query at index 6: ?name= DefaultWorkManager#
> 	at
> org 
> .apache 
> .geronimo 
> .common 
> .propertyeditor 
> .AbstractNameQueryEditor.getValue(AbstractNameQueryEditor.java:37)
> 	at
> org 
> .apache 
> .geronimo 
> .deployment 
> .service.SingleGBeanBuilder.setAttribute(SingleGBeanBuilder.java:83)
> 	... 19 more
> Caused by: java.net.URISyntaxException: Illegal character in query  
> at index
> 6: ?name= DefaultWorkManager#
> 	at java.net.URI$Parser.fail(URI.java:2809)
> 	at java.net.URI$Parser.checkChars(URI.java:2982)
> 	at java.net.URI$Parser.parseHierarchical(URI.java:3072)
> 	at java.net.URI$Parser.parse(URI.java:3024)
> 	at java.net.URI.<init>(URI.java:578)
> 	at
> org 
> .apache 
> .geronimo 
> .common 
> .propertyeditor 
> .AbstractNameQueryEditor.getValue(AbstractNameQueryEditor.java:35)
> 	... 20 more
>
> -- 
> View this message in context: http://www.nabble.com/How-to-get-hold-of-a-WorkManager-in-a-web-app--tp21400861s134p21527752.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Mime
View raw message