Re: Fwd: Updating to latest JARs, runtime problem
Gene McCullough <[email protected]> Thu, 15 Dec 2005 10:58:40 -0600
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
No joy. Changed role-list to roles, and also tried creating a parent roles element. Same error. I'll try some debugging. btw, windows xp, tomcat 5.5.12, sun jdk1.5.0_06 got same message on redhat es ws3, tomcat 5.5.10, sun jdk1.5.0 thanks, gene On 12/15/05, Michael Nash <[email protected]> wrote: > 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 > -- Gene McCullough http://keelframework.org/documentation.shtml keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com