Tony!
Thanks for the help and sorry for the delay in posting this...but the change worked for us! You
the man!
----- Original Message -----
From: Tony Nelson
To:
coldspri...@googlegroups.com
Sent: Fri, 18 Sep 2009 09:25:15 -0500
Subject: [coldspring-users] Re: Bean creation exception during init()
That looks fine. What does your securityFactory bean look like?
-Tony
On Fri, Sep 18, 2009 at 9:22 AM, Gary Tharaldson <
ga...@somdjobs.com> wrote:
>
> I love it! We're getting somewhere! I do have this already, here's
> what it looks like:
>
> <bean id="pocService" class="components.services._pocService"
> singleton="true">
> <constructor-arg name="databaseConfig">
> <ref bean="databaseConfig" />
> </constructor-arg>
> <constructor-arg name="legacyIncludesGateway">
> <ref bean="legacyIncludesGateway" />
> </constructor-arg>
> <constructor-arg name="securityService">
> <ref bean="securityService" />
> </constructor-arg>
> </bean>
>
> Anything look wrong here?
>
> On Sep 18, 10:11 am, Tony Nelson <
tonynelso...@gmail.com> wrote:
> > ColdSpring appears to be running fine. You'll just need to update your
> bean
> > definition for your securityFactory to be something like:
> >
> > <bean id="securityFactory" class="com.security.SecurityFactory">
> > <constructor-arg name="POCService">
> > <ref bean="POCService" />
> > </constructor-arg>
> > </bean>
> >
> > -Tony
> >
> >
> >
> > On Fri, Sep 18, 2009 at 8:45 AM, Gary Tharaldson <
g...@somdjobs.com>
> wrote:
> >
> > > Is there mapping issue then within the coldspring framework that I
> > > need to set? And if so...where might that be?
> >
> > > On Sep 17, 5:09 pm, Brian Kotek <
brian...@gmail.com> wrote:
> > > > Your securityFactory bean is expecting a constructor argument named
> > > > POCService.
> > >
http://www.coldspringframework.org/coldspring/examples/quickstart/ind.
> ..
> >
> > > > On Thu, Sep 17, 2009 at 3:56 PM, Gary Tharaldson <
g...@somdjobs.com>
> > > wrote:
> >
> > > > > I'm SOOOO new to coldspring and I'm hoping some of you studs can
> help
> > > > > me out! I'm trying to simply set up a copy of the customers
> website
> > > > > on our internal Windows 2003 server (ColdFusion 7 (for now))...and
> > > > > I've had loads of mapping issues that I have gotten through, but
> the
> > > > > latest problem has something to do with (Bean creation exception
> > > > > during init() ).
> >
> > > > > Here's the guts (any help?):
> >
> > > > > The following information is meant for the website developer for
> > > > > debugging purposes.
> >
> > > > > Error Occurred While Processing Request
> > > > > Bean creation exception during init() of
> > > > > components.factories.securityFactory
> > > > > The parameter POCSERVICE to function init is required but was not
> > > > > passed in.:
> >
> > > > > The error occurred in C:\tecnet\Html\AIR40Pv2\production\mappings
> > > > > \coldspring\beans\DefaultXmlBeanFactory.cfc: line 539
> > > > > Called from C:\tecnet\Html\AIR40Pv2\production\mappings\coldspring
> > > > > \beans\DefaultXmlBeanFactory.cfc: line 337
> > > > > Called from C:\tecnet\Html\AIR40Pv2\production\wwwroot
> > > > > \fusebox.init.cfm: line 36
> > > > > Called from C:\tecnet\Html\AIR40Pv2\production\mappings
> > > > > \fusebox5\fusebox5.cfm: line 126
> > > > > Called from C:\tecnet\Html\AIR40Pv2\production\wwwroot\index.cfm:
> line
> > > > > 21
> >
> > > > > 537 :
> > > <cfthrow
> > > > > type="coldspring.beanCreationException"
> > > > > 538 :
> > > > > message="Bean creation exception during init() of
> > > > > #beanDef.getBeanClass()#"
> > > > > 539 :
> > > > > detail="#cfcatch.message#:#cfcatch.detail#">
> > > > > 540 : </cfcatch>
> > > > > 541 : </cftry>
> >
> > >
> --------------------------------------------------------------------------------
> >
> > > > > Resources:
> > > > > Check the ColdFusion documentation to verify that you are using the
> > > > > correct syntax.
> > > > > Search the Knowledge Base to find a solution to your problem.
> >
> > > > > Browser Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
> Trident/
> > > > > 4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30;
> > > > > MDDR; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
> > > > > Remote Address 192.168.1.48
> > > > > Referrer
> > > > > Date/Time 17-Sep-09 03:49 PM
> >
> > > > > Stack Trace (click to expand)
> > > > > at
> cfDefaultXmlBeanFactory2ecfc1637825273$funcCONSTRUCTBEAN.runFunction
> > > > > (C:\tecnet\Html\AIR40Pv2\production\mappings\coldspring\beans
> > > > > \DefaultXmlBeanFactory.cfc:539) at
> > > > > cfDefaultXmlBeanFactory2ecfc1637825273$funcGETBEAN.runFunction(C:
> > > > > \tecnet\Html\AIR40Pv2\production\mappings\coldspring\beans
> > > > > \DefaultXmlBeanFactory.cfc:337) at
> > > > > cffusebox2einit2ecfm2127148459.runPage(C:\tecnet\Html
> > > > > \AIR40Pv2\production\wwwroot\fusebox.init.cfm:36) at
> > > > >
> cffusebox52ecfm1072147970.runPage(C:\tecnet\Html\AIR40Pv2\production
> > > > > \mappings\fusebox5\fusebox5.cfm:126) at
> cfindex2ecfm1383736776.runPage
> > > > > (C:\tecnet\Html\AIR40Pv2\production\wwwroot\index.cfm:21)
> >
> > > > > coldfusion.runtime.CustomException: Bean creation exception during
> init
> > > > > () of components.factories.securityFactory
> > > > > at
> coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:124)
> > > > > at
> coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915)
> > > > > at
> > > > >
> cfDefaultXmlBeanFactory2ecfc1637825273$funcCONSTRUCTBEAN.runFunction(C:
> > > > > \tecnet\Html\AIR40Pv2\production\mappings\coldspring\beans
> > > > > \DefaultXmlBeanFactory.cfc:539)
> > > > > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344)
> > > > > at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke
> > > > > (UDFMethod.java:290)
> > > > > at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke
> > > > > (UDFMethod.java:254)
> > > > > at coldfusion.filter.FunctionAccessFilter.invoke
> > > > > (FunctionAccessFilter.java:56)
> > > > > at
> > > coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207)
> > > > > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169)
> > > > > at
> coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:1807)
> > > > > at
> > > cfDefaultXmlBeanFactory2ecfc1637825273$funcGETBEAN.runFunction(C:
> > > > > \tecnet\Html\AIR40Pv2\production\mappings\coldspring\beans
> > > > > \DefaultXmlBeanFactory.cfc:337)
> > > > > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344)
> > > > > at
> coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
> > > > > at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke
> > > > > (UDFMethod.java:290)
> > > > > at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke
> > > > > (UDFMethod.java:254)
> > > > > at coldfusion.filter.FunctionAccessFilter.invoke
> > > > > (FunctionAccessFilter.java:56)
> > > > > at
> > > coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207)
> > > > > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169)
> > > > > at
> > > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194)
> > > > > at
> > > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146)
> > > > > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634)
> > > > > at cffusebox2einit2ecfm2127148459.runPage(C:\tecnet\Html
> > > > > \AIR40Pv2\production\wwwroot\fusebox.init.cfm:36)
> > > > > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
> > > > > at
> > > coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
> > > > > at
> coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915)
> > > > > at cffusebox52ecfm1072147970.runPage(C:\tecnet\Html
> > > > > \AIR40Pv2\production\mappings\fusebox5\fusebox5.cfm:126)
> > > > > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
> > > > > at
> > > coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
> > > > > at
> coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915)
> > > > > at
> > > cfindex2ecfm1383736776.runPage(C:\tecnet\Html\AIR40Pv2\production
> > > > > \wwwroot\index.cfm:21)
> > > > > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
> > > > > at
> > > coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
> > > > > at
> > > coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
> > > > > at
> > > > > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:
> > > > > 225)
> > > > > at coldfusion.filter.RequestMonitorFilter.invoke
> > > > > (RequestMonitorFilter.java:51)
> > > > > at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
> > > > > at
> > > coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
> > > > > at coldfusion.filter.BrowserDebugFilter.invoke
> > > > > (BrowserDebugFilter.java:52)
> > > > > at coldfusion.filter.ClientScopePersistenceFilter.invoke
> > > > > (ClientScopePersistenceFilter.java:28)
> > > > > at
> coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
> > > > > at
> coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
> > > > > at
> > > coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:
> > > > > 22)
> > > > > at coldfusion.filter.RequestThrottleFilter.invoke
> > > > > (RequestThrottleFilter.java:115)
> > > > > at coldfusion.CfmServlet.service(CfmServlet.java:107)
> > > > > at coldfusion.bootstrap.BootstrapServlet.service
> > > > > (BootstrapServlet.java:78)
> > > > > at
> jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> > > > > at
> > > > > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> > > > > at jrun.servlet.JRunRequestDispatcher.invoke
> > > > > (JRunRequestDispatcher.java:257)
> > > > > at jrun.servlet.ServletEngineService.dispatch
> > > > > (ServletEngineService.java:541)
> > > > > at jrun.servlet.jrpp.JRunProxyService.invokeRunnable
> > > > > (JRunProxyService.java:204)
> > > > > at
> jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable
> > > > > (ThreadPool.java:318)
> > > > > at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable
> > > > > (ThreadPool.java:426)
> > > > > at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable
> > > > > (ThreadPool.java:264)
> > > > > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)-
> Hide
> > > quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
> >
>