portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timony, Michael" <Michael.Tim...@FMR.COM>
Subject RE: No bean named 'preferencesCache' is defined
Date Mon, 26 Feb 2007 17:01:57 GMT
Yes this is using Maven 2. 


-----Original Message-----
From: Hajo Birthelmer [mailto:Hajo@bluesunrise.com] 
Sent: Monday, February 26, 2007 11:44 AM
To: 'Jetspeed Developers List'
Subject: RE: No bean named 'preferencesCache' is defined

Michael,
Are you running Maven-2? 
If so, I just discovered a bug in the archetypes....fix will be out
there later this afternoon.

 
Hajo Birthelmer

hajo@bluesunrise.com


-----Original Message-----
From: Timony, Michael [mailto:Michael.Timony@FMR.COM]
Sent: Monday, February 26, 2007 8:22 AM
To: Jetspeed Developers List
Subject: RE: No bean named 'preferencesCache' is defined

Yes, I do have a cache.xml in the assembly directory. I've attached a
copy if you need to see it.

find . -name cache.xml
./portal/target/webapp/WEB-INF/assembly/cache.xml
./portal/target/portal-mick-1-portal-1.1/WEB-INF/assembly/cache.xml 

I'll turn on debugging and see if I can spot anything.


-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com]
Sent: Friday, February 23, 2007 5:28 PM
To: Jetspeed Developers List
Subject: Re: No bean named 'preferencesCache' is defined

We're not seeing that here in our testing.

Sounds like something is missing
Do you have a cache.xml in your assembly?

On Feb 23, 2007, at 1:20 PM, Timony, Michael wrote:

> This is from the latest code from the subversion repositories that I 
> grabbed earlier today. I created a custom Portal and then ran the 
> Tomcat goal. Any ideas?
>
> [java] DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent -

> Binding org.apache.commons.dbcp.PoolingDataSource@14a18d to name 
> jdbc/jetspeed
>      [java] ##### platform = Hsqldb
>      [java]  INFO:
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities - Merging 
> OJB respository 
> jar:file:/home/mick/.m2/repository/org/apache/portals/jetspeed-2/
> jetspee
> d-capability/2.1-dev/jetspeed-capability-2.1-dev.jar!/JETSPEED-INF/
> ojb/c
> apabilities_repository.xml for DAO class 
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities
>      [java] org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'PreferencesProviderImpl' defined in 
> file
> [/tmp/CUSTOM_PORTAL1/portal-mick-1/etc/serializer/assembly/prefs.xml]:
> Cannot resolve reference to bean 'preferencesCache' while setting 
> constructor argument with index 1; nested exception is
> org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
> bean named 'preferencesCache' is defined
>      [java] Caused by:
> org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
> bean named 'preferencesCache' is defined
>      [java]     at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.g
> et
> BeanDefinition(DefaultListableBeanFactory.java:355)
>      [java]     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getMerge
> dB
> eanDefinition(AbstractBeanFactory.java:800)
>      [java]     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> Ab
> stractBeanFactory.java:237)
>      [java]     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> Ab
> stractBeanFactory.java:223)
>      [java]     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> Ab
> stractBeanFactory.java:156)
>      [java]     at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.

> re
> solveReference(BeanDefinitionValueResolver.java:246)
>      [java]     at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.

> re
> solveValueIfNecessary(BeanDefinitionValueResolver.java:128)
>      [java]     at
> org.springframework.beans.factory.support.ConstructorResolver.resolveC
> on
> structorArguments(ConstructorResolver.java:324)
>      [java]     at
> org.springframework.beans.factory.support.ConstructorResolver.autowire
> Co
> nstructor(ConstructorResolver.java:97)
>      [java]     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> ac
> tory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:683)
>      [java]     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> ac
> tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:621)
>      [java]     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> ac
> tory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>      [java]     at
> org.springframework.beans.factory.support.AbstractBeanFactory
> $1.getObjec
> t(AbstractBeanFactory.java:245)
>      [java]     at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
> .g
> etSingleton(DefaultSingletonBeanRegistry.java:141)
>      [java]     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> Ab
> stractBeanFactory.java:242)
>      [java]     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> Ab
> stractBeanFactory.java:156)
>      [java]     at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.p
> re
> InstantiateSingletons(DefaultListableBeanFactory.java:290)
>      [java]     at
> org.springframework.context.support.AbstractApplicationContext.refresh
> (A
> bstractApplicationContext.java:348)
>      [java]     at
> org.apache.jetspeed.components.SpringComponentManager.<init>
> (SpringCompo
> nentManager.java:118)
>      [java]     at
> org.apache.jetspeed.components.jndi.SpringJNDIStarter.setUp
> (SpringJNDISt
> arter.java:90)
>      [java]     at
> org.apache.jetspeed.serializer.JetspeedSerializerApplication.main
> (Jetspe
> edSerializerApplication.java:362)
>      [java] Java Result: 1
>      [echo] END POPULATE-DB
>

--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message