Re: Fwd: Updating to latest JARs, runtime problem
Michael Nash <[email protected]> Thu, 15 Dec 2005 08:19:13 -0500
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Organization | JGlobal Limited |
| Message-ID | <1134652753.20117.37.camel@139-142-200-104> |
Gene: I'm not 100% sure, but doesn't the roles file need to start with <roles> </roles> ... Mike On Thu, 2005-12-15 at 11:05, mcpadawan wrote: > Built the default project, same outcome. However, on closer inspection of logs: > ----------------------------------------- > org.xml.sax.SAXParseException: Premature end of file. > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:223) > at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:192) > at org.keel.core.container.KeelContainerFactory.buildConfigs(KeelContainerFactory.java:379) > > That line 379 in KeelContainerFactory is reading in conf/roles.xconf. > I verified that it is in the default-keel-config.jar, (code already > checks for that), and it looks valid: > > <!-- Merged Role Configuration--> > > > <role-list> > <role name="org.apache.avalon.excalibur.datasource.DataSourceComponent"> > <component shorthand="jdbc" > handler="org.apache.avalon.fortress.impl.handler.ThreadSafeComponentHandler" > class="org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource"/> > </role> > <role name="org.apache.avalon.excalibur.datasource.ids.IdGenerator"> > <component shorthand="table" > handler="org.apache.avalon.fortress.impl.handler.ThreadSafeComponentHandler" > class="org.apache.avalon.excalibur.datasource.ids.TableIdGenerator"/> > </role> > </role-list> > > Thanks for looking at that > -- > Gene McCullough > http://keelframework.org/documentation.shtml > keelgroup mailing list > [email protected] > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com http://keelframework.org/documentation.shtml keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com