Mike,

Thanks for the quick reply. I still get the same error after replacing the
values in jdbc.properties for username, password, url, and class name both
for jdbc and hibernate.
They now have the actual values instead of the maven macros.

Something else weird is going on.  Because I had jetty:run working on
another project
without ever changing those values. Today I started with a fresh Basic JSF
AppFuse project.
I have mucked around in it some to make it build under Eclipse.

Any suggestions?  Maybe I'll start over with another fresh appfuse again.

Wayne


Mike Horwitz wrote:
> 
> Maven does some property placeholder replacement on the jdbc.properties
> file
> when you run a build. jetty:run-war and tomcat:run-war both invoke a Maven
> build in the background, I think jetty:run does not. If you want it all to
> work you need to replace the property placeholders in jdbc.properties with
> the values in the pom.xml file.
> 
> Mike
> 
> On 10/2/07, WayneFH <[EMAIL PROTECTED]> wrote:
>>
>>
>> Folks,
>>
>> mvn jetty:run fails but mvn tomcat:run-war and mvn jetty:run-war work
>> correctly.
>>
>> mvn jetty:run gives an error during startup about a circular
>> jdbc.driverClassName reference in applicationContext-resources.xml. The
>> exact error follows.
>>
>> Please, I love the hot deploy of jetty:run and want to make this work.
>> I'm using Basic JSF, AppFuse 2.0 on Windows.
>>
>> 2007-10-02 11:27:10.587::WARN:  Failed startup of context
>> [EMAIL PROTECTED]
>> /,C:\source\TestAppFuse\src\main\webapp}
>> org.springframework.beans.factory.BeanDefinitionStoreException: Error
>> registering bean with name 'dataSource' defined in class path resource
>> [applicationContext-resources.xml]: Circular placeholder reference
>> 'jdbc.driverClassName' in property definitions
>>        at
>>
>> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties
>> (PropertyPlaceholderConfigurer.java:249)
>> --
>> View this message in context:
>> http://www.nabble.com/Circular-dataSource-reference-when-running-jetty%3Arun-...-tf4555472s2369.html#a13000912
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Circular-dataSource-reference-when-running-jetty%3Arun-...-tf4555472s2369.html#a13001493
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to