svn commit: r706838 - in /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event: ServiceStreamHandler.java XmlRpcEventHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r706838 - in /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event: ServiceStreamHandler.java XmlRpcEventHandler.java

jonesde
Author: jonesde
Date: Tue Oct 21 18:25:51 2008
New Revision: 706838

URL: http://svn.apache.org/viewvc?rev=706838&view=rev
Log:
Fixed bad init parameter names for the delegator, was causing the messages on startup about a null delegator name

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceStreamHandler.java
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceStreamHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceStreamHandler.java?rev=706838&r1=706837&r2=706838&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceStreamHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceStreamHandler.java Tue Oct 21 18:25:51 2008
@@ -45,7 +45,7 @@
     protected GenericDelegator delegator;
 
     public void init(ServletContext context) throws EventHandlerException {
-        String delegatorName = context.getInitParameter("delegatorName");
+        String delegatorName = context.getInitParameter("entityDelegatorName");
         this.delegator = GenericDelegator.getGenericDelegator(delegatorName);
         this.dispatcher = GenericDispatcher.getLocalDispatcher(dispatcherName, delegator);
     }

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java?rev=706838&r1=706837&r2=706838&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java Tue Oct 21 18:25:51 2008
@@ -54,7 +54,7 @@
     protected LocalDispatcher dispatcher;
             
     public void init(ServletContext context) throws EventHandlerException {
-        String delegatorName = context.getInitParameter("delegatorName");
+        String delegatorName = context.getInitParameter("entityDelegatorName");
         this.delegator = GenericDelegator.getGenericDelegator(delegatorName);
         this.dispatcher = GenericDispatcher.getLocalDispatcher(dispatcherName, delegator);
         this.setHandlerMapping(new ServiceRpcHandler());