geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: svn commit: r476126 - /geronimo/server/trunk/modules/geronimo-naming-builder/src/main/java/org/apache/geronimo/naming/deployment/CorbaRefBuilder.java
Date Sat, 18 Nov 2006 19:04:03 GMT
I'll have to think about how to fix this..... however the original change is essential for
corba to work and it needs to be reinstated for tck work to proceed.  I haven't been able
to tell whether or not you did this and I probably wont be able to until monday.

I opened http://issues.apache.org/jira/browse/GERONIMO-2580 to track this problem.  I'm not
sure what the best way to actually fix this is.  I guess we could move the corba-ref-builders
to a corba-builder module that we don't start in a corba-free server, but this means you have
to start more modules to enable corba deployments.  I'm not thrilled with that.

thanks
david jencks


----- Original Message ----
From: Kevan Miller <kevan.miller@gmail.com>
To: dev@geronimo.apache.org
Cc: David Jencks <david_jencks@yahoo.com>
Sent: Friday, November 17, 2006 7:24:39 PM
Subject: Re: svn commit: r476126 - /geronimo/server/trunk/modules/geronimo-naming-builder/src/main/java/org/apache/geronimo/naming/deployment/CorbaRefBuilder.java

David,This change seems to have broken the console. Server (and console) start ok. However,
if you login and click on something like Server Information, the console fails and we get
exceptions. 


I accidentally reverted your change in svn (I didn't mean to, but I forgot it was in my src
tree when committing license header changes).


Failure information is below...


--kevan

On Nov 17, 2006, at 7:55 AM, djencks@apache.org wrote:

Author: djencks
Date: Fri Nov 17 04:55:08 2006
New Revision: 476126


URL: http://svn.apache.org/viewvc?view=rev&rev=476126
Log:
GERONIMO-2499 missed a use of the extra-stuff bucket


Modified:
    geronimo/server/trunk/modules/geronimo-naming-builder/src/main/java/org/apache/geronimo/naming/deployment/CorbaRefBuilder.java


Modified: geronimo/server/trunk/modules/geronimo-naming-builder/src/main/java/org/apache/geronimo/naming/deployment/CorbaRefBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-naming-builder/src/main/java/org/apache/geronimo/naming/deployment/CorbaRefBuilder.java?view=diff&rev=476126&r1=476125&r2=476126
==============================================================================
--- geronimo/server/trunk/modules/geronimo-naming-builder/src/main/java/org/apache/geronimo/naming/deployment/CorbaRefBuilder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-naming-builder/src/main/java/org/apache/geronimo/naming/deployment/CorbaRefBuilder.java
Fri Nov 17 04:55:08 2006
@@ -53,8 +53,9 @@
             AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
             if (corbaName != null) {
                 Artifact moduleId = localConfiguration.getId();
-                componentContext.put("ORB", new ORBReference(moduleId, corbaName));
-                componentContext.put("HandleDelegate", new HandleDelegateReference(moduleId,
corbaName));
+                Map context = getJndiContextMap(componentContext);
+                context.put("ORB", new ORBReference(moduleId, corbaName));
+                context.put("HandleDelegate", new HandleDelegateReference(moduleId, corbaName));
             }
         }
     }




 


Failure:


[INFO] 13:40:03,082 ERROR [PortletFragment] Error in Portlet
[INFO] java.lang.RuntimeException: javax.naming.NameNotFoundException: Error getting ORB attribute
from CORBAGBean: name query =[?name=Server#] [Root exception is org.apache.geronimo.kernel.GBeanNotFoundException:
Name query [?name=Server#] not satisfied in kernel, matches: []]
[INFO]  at org.apache.xbean.naming.context.ContextUtil$ReadOnlyBinding.getObject(ContextUtil.java:194)
[INFO]  at org.apache.xbean.naming.context.ContextFederation.getFederatedBindings(ContextFederation.java:81)
[INFO]  at org.apache.xbean.naming.context.AbstractFederatedContext.getBindings(AbstractFederatedContext.java:63)
[INFO]  at org.apache.xbean.naming.context.AbstractContext.getBinding(AbstractContext.java:86)
[INFO]  at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:128)
[INFO]  at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:607)
[INFO]  at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:151)
[INFO]  at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:593)
[INFO]  at javax.naming.InitialContext.lookup(InitialContext.java:351)
[INFO]  at org.apache.geronimo.console.util.PortletManager.createHelper(PortletManager.java:83)
[INFO]  at org.apache.geronimo.console.util.PortletManager.getManagementHelper(PortletManager.java:107)
[INFO]  at org.apache.geronimo.console.util.PortletManager.getCurrentJVM(PortletManager.java:146)
[INFO]  at org.apache.geronimo.console.infomanager.ServerInfoPortlet.doView(ServerInfoPortlet.java:71)
[INFO]  at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
[INFO]  at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
[INFO]  at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
[INFO]  at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
[INFO]  at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
[INFO]  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
[INFO]  at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:103)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
[INFO]  at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
[INFO]  at org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:283)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
[INFO]  at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
[INFO]  at org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73)
[INFO]  at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:119)
[INFO]  at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(PortletContainerWrapperImpl.java:70)
[INFO]  at org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:168)
[INFO]  at jsp.WEB_002dINF.aggregation.ColumnFragment_jsp._jspService(jsp.WEB_002dINF.aggregation.ColumnFragment_jsp:60)
[INFO]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
[INFO]  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
[INFO]  at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:103)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
[INFO]  at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
[INFO]  at org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:283)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
[INFO]  at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
[INFO]  at jsp.WEB_002dINF.aggregation.RowFragment_jsp._jspService(jsp.WEB_002dINF.aggregation.RowFragment_jsp:57)
[INFO]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
[INFO]  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
[INFO]  at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:103)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
[INFO]  at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
[INFO]  at org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:283)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
[INFO]  at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
[INFO]  at jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(jsp.WEB_002dINF.aggregation.PageFragment_jsp:61)
[INFO]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
[INFO]  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
[INFO]  at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:103)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
[INFO]  at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
[INFO]  at org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:283)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
[INFO]  at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
[INFO]  at jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(jsp.WEB_002dINF.aggregation.PageFragment_jsp:61)
[INFO]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
[INFO]  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
[INFO]  at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:103)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
[INFO]  at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
[INFO]  at org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:283)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
[INFO]  at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
[INFO]  at jsp.WEB_002dINF.aggregation.RootFragment_jsp._jspService(jsp.WEB_002dINF.aggregation.RootFragment_jsp:102)
[INFO]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
[INFO]  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
[INFO]  at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:103)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
[INFO]  at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
[INFO]  at org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:283)
[INFO]  at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
[INFO]  at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
[INFO]  at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:254)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
[INFO]  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
[INFO]  at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:103)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
[INFO]  at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
[INFO]  at org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
[INFO]  at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
[INFO]  at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
[INFO]  at org.apache.geronimo.jetty.JettyWebAppContext.handle(JettyWebAppContext.java:329)
[INFO]  at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
[INFO]  at org.apache.geronimo.jetty.JettyWebAppContext.handle(JettyWebAppContext.java:313)
[INFO]  at org.mortbay.http.HttpServer.service(HttpServer.java:909)
[INFO]  at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
[INFO]  at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
[INFO]  at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
[INFO]  at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
[INFO]  at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
[INFO]  at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
[INFO] Caused by: javax.naming.NameNotFoundException: Error getting ORB attribute from CORBAGBean:
name query =[?name=Server#] [Root exception is org.apache.geronimo.kernel.GBeanNotFoundException:
Name query [?name=Server#] not satisfied in kernel, matches: []]
[INFO]  at org.apache.geronimo.naming.reference.ORBReference.getContent(ORBReference.java:46)
[INFO]  at org.apache.xbean.naming.context.ContextUtil.resolve(ContextUtil.java:61)
[INFO]  at org.apache.xbean.naming.reference.CachingReference.getContent(CachingReference.java:66)
[INFO]  at org.apache.xbean.naming.context.ContextUtil.resolve(ContextUtil.java:61)
[INFO]  at org.apache.xbean.naming.context.ContextUtil$ReadOnlyBinding.getObject(ContextUtil.java:192)
[INFO]  ... 121 more
[INFO] Caused by: org.apache.geronimo.kernel.GBeanNotFoundException: Name query [?name=Server#]
not satisfied in kernel, matches: []
[INFO]  at org.apache.geronimo.naming.reference.ConfigurationAwareReference.resolveTargetName(ConfigurationAwareReference.java:70)
[INFO]  at org.apache.geronimo.naming.reference.ORBReference.getContent(ORBReference.java:43)
[INFO]  ... 125 more
[INFO] Caused by: org.apache.geronimo.kernel.GBeanNotFoundException: No matches for referencePatterns:
[?name=Server#]
[INFO]  at org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configuration.java:661)
[INFO]  at org.apache.geronimo.kernel.config.Configuration.findGBean(Configuration.java:632)
[INFO]  at org.apache.geronimo.naming.reference.ConfigurationAwareReference.resolveTargetName(ConfigurationAwareReference.java:64)
[INFO]  ... 126 more




Mime
View raw message