Randy,

That's what I'm trying to do.  We had the wrong
repository-datasource-spring.xml in place, which is what caused the
error.  When I put the right one in, it worked.  David had helped me
with this about a month ago.

Thanks for the followup!!


----------
Rango Keshavan
617 563 2435
 

> -----Original Message-----
> From: Randy Watler [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 13, 2006 9:52 AM
> To: Jetspeed Users List
> Subject: RE: Exception while doing a maven import
> 
> Rango,
> 
> I have not figured out what you are trying to do with the import goal
if
> you are not using the DatabasePageManager. Are you trying to import
from
> AND to a CastorXmlPageManager?
> 
> The import goal was intended to be used as a method to bootstrap the
> DatabasePageManager.
> 
> Randy
> 
> On Thu, 2006-04-13 at 07:46 -0400, Keshavan, Rango wrote:
> > I figured out what the issue was, this was due to trying to use the
db
> > page manager...  I had a wrong assembly file for the import...
> >
> > Thanks!
> >
> >
> > ----------
> > Rango Keshavan
> > 617 563 2435
> >
> >
> > > -----Original Message-----
> > > From: David Sean Taylor [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, April 13, 2006 4:10 AM
> > > To: Jetspeed Users List
> > > Subject: Re: Exception while doing a maven import
> > >
> > > I think we need to see the full stack trace.
> > > Could be a missing JDBC driver, as the JetspeedDS bean failed to
> > create
> > >
> > > Randy Watler wrote:
> > > > Rango,
> > > >
> > > > Import is a utility goal that imports the demo PSML into the
> > > > DatabasePageManager schema. This appears that your production
> > database
> > > > parameters are not setup or do not reference a valid database
> > > > connection.
> > > >
> > > > Randy
> > > >
> > > > On Wed, 2006-04-12 at 20:37 -0400, Keshavan, Rango wrote:
> > > >
> > > >>Does anyone know what this is???
> > > >>
> > > >>    [java]
org.springframework.beans.factory.BeanCreationException:
> > > >>Error creati ng bean with name 'JetspeedDS' defined in class
path
> > > >>resource [repository-dataso
> > > >>urce-spring.xml]: Initialization of bean failed; nested
exception is
> > > >>org.apache.
> > > >>ojb.broker.metadata.MetadataException: Could not get the
metadata
> > from
> > > >>the given  datasource
> > > >>    [java] org.apache.ojb.broker.metadata.MetadataException:
Could
> > not
> > > >>get the m etadata from the given datasource
> > > >>    [java]      at
> > > >>org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromD
> > > >>ataSource(JdbcMetadataUtils.java:277)
> > > >>    [java]      at
> > > >>org.apache.jetspeed.components.rdbms.ojb.ConnectionRepository
> > > >>Entry.afterPropertiesSet(ConnectionRepositoryEntry.java:320)
> > > >>    [java]      at
> > > >>org.springframework.beans.factory.support.AbstractAutowireCap
> > >
> >
>>ableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.j
> > av
> > > >>a:1072)
> > > >>    [java]      at
> > > >>org.springframework.beans.factory.support.AbstractAutowireCap
> > >
> >
>>ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343
> > )
> > > >>    [java]      at
> > > >>org.springframework.beans.factory.support.AbstractAutowireCap
> > >
> >
>>ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260
> > )
> > > >>    [java]      at
> > > >>org.springframework.beans.factory.support.AbstractBeanFactory
> > > >>.getBean(AbstractBeanFactory.java:221)
> > > >>    [java]      at
> > > >>org.springframework.beans.factory.support.AbstractBeanFactory
> > > >>.getBean(AbstractBeanFactory.java:145)
> > > >>    [java]      at
> > > >>org.springframework.beans.factory.support.DefaultListableBean
> > >
> >
>>Factory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
> > > >>    [java]      at
> > > >>org.springframework.context.support.AbstractApplicationContex
> > > >>t.refresh(AbstractApplicationContext.java:317)
> > > >>    [java]      at
> > > >>org.springframework.context.support.ClassPathXmlApplicationCo
> > > >>ntext.<init>(ClassPathXmlApplicationContext.java:80)
> > > >>    [java]      at
> > > >>org.apache.jetspeed.page.PageImporter.main(PageImporter.java:
> > > >>69)
> > > >>    [java] Caused by: java.lang.UnsupportedOperationException
> > > >>    [java]      at
> > > >>org.apache.commons.dbcp.PoolingDataSource.getConnection(Pooli
> > > >>ngDataSource.java:116)
> > > >>    [java]      at
> > > >>org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDa
> > > >>taSource.java:554)
> > > >>    [java]      at
> > > >>org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromD
> > > >>ataSource(JdbcMetadataUtils.java:257)
> > > >>    [java]      ... 10 more
> > > >>
> > > >>
> > > >>
> > > >>THANKS!
> > > >>
> > > >>----------
> > > >>Rango Keshavan
> > > >>617 563 2435
> > > >>
> > > >>
> > >
> >
>>---------------------------------------------------------------------
> > > >>To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > > >>For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > David Sean Taylor
> > > Bluesunrise Software
> > > [EMAIL PROTECTED]
> > > [office] +01 707 773-4646
> > > [mobile] +01 707 529 9194
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > > For additional commands, e-mail:
[EMAIL PROTECTED]
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail:
[EMAIL PROTECTED]
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to