Re: Fwd: Updating to latest JARs, runtime problem
Sasvata Chatterjee <[email protected]> Fri, 16 Dec 2005 08:52:37 -0600
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1252170443== Content-Type: multipart/alternative; boundary="----=_Part_6565_19404109.1134744757760" ------=_Part_6565_19404109.1134744757760 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Gene, As of about two weeks or so ago, I had a version with the latest dependencies that was working. I'll try the default deployment tomorrow sometime and post what I find, unless you find a solution by then anyway. Shash On 12/15/05, Gene McCullough <[email protected]> wrote: > > 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.bui= ld > (DefaultConfigurationBuilder.java:223) > > > at > org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.bui= ld > (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=3D" > org.apache.avalon.excalibur.datasource.DataSourceComponent"> > > > <component shorthand=3D"jdbc" > > > handler=3D" > org.apache.avalon.fortress.impl.handler.ThreadSafeComponentHandler" > > > class=3D" > org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource"/> > > > </role> > > > <role name=3D"org.apache.avalon.excalibur.datasource.ids.IdGenera= tor > "> > > > <component shorthand=3D"table" > > > handler=3D" > org.apache.avalon.fortress.impl.handler.ThreadSafeComponentHandler" > > > class=3D"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 > ------=_Part_6565_19404109.1134744757760 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Gene,<br> <br> As of about two weeks or so ago, I had a version with the latest dependencies that was working. I'll try the default deployment tomorrow sometime and post what I find, unless you find a solution by then anyway.<br> <br> Shash<br><br><div><span class=3D"gmail_quote">On 12/15/05, <b class=3D"gmai= l_sendername">Gene McCullough</b> <<a href=3D"mailto:gene.mccullough@fs-= ok.com">[email protected]</a>> wrote:</span><blockquote class=3D= "gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0= pt 0pt 0pt 0.8ex; padding-left: 1ex;"> No joy. Changed role-list to roles, and also tried creating a pa= rent<br>roles element. Same error.<br>I'll try some debugging.<b= r><br>btw, windows xp, tomcat 5.5.12, sun jdk1.5.0_06<br>got same message o= n redhat es ws3, tomcat=20 5.5.10, sun jdk1.5.0<br>thanks,<br>gene<br><br>On 12/15/05, Michael Nash &l= t;<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<br>= > Gene:<br>><br>> I'm not 100% sure, but doesn't the roles file ne= ed to start with <br>> <roles><br>><br>> </roles><br>><br>> ...<b= r>><br>> Mike<br>><br>> On Thu, 2005-12-15 at 11:05, mcpadawan = wrote:<br>> > Built the default project, same outcome. How= ever, on closer inspection of logs: <br>> > -----------------------------------------<br>> > org.xm= l.sax.SAXParseException: Premature end of file.<br>> > &nb= sp; at org.apache.xerces.parsers.AbstractSAXP= arser.parse(Unknown Source)<br>> >  = ; at=20 org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build= (DefaultConfigurationBuilder.java:223)<br>> > = at org.apache.avalon.framework.configuration.Defau= ltConfigurationBuilder.build(DefaultConfigurationBuilder.java :192)<br>> > at org.k= eel.core.container.KeelContainerFactory.buildConfigs(KeelContainerFactory.j= ava:379)<br>> ><br>> > That line 379 in KeelContainerFactory is= reading in conf/roles.xconf.<br>> > I verified that it is in the=20 default-keel-config.jar, (code already<br>> > checks for that), and i= t looks valid:<br>> ><br>> > <!-- Merged Role Configuration-= -><br>> ><br>> ><br>> > <role-list><= br>> > <role name=3D" org.apache.avalon.excalibur.datasource.DataSourceComponent"><br>>= ; > <component shorthand=3D"= jdbc"<br>> > handler=3D"org.apache.avalon.fortress.impl.han= dler.ThreadSafeComponentHandler "<br>> > class=3D"org.apache.avalon.excalibur.datasource.Re= sourceLimitingJdbcDataSource"/><br>> >  = ; </role><br>> > <role name=3D"= org.apache.avalon.excalibur.datasource.ids.IdGenerator "><br>> > <component s= horthand=3D"table"<br>> > handler=3D"org.apache.avalon= .fortress.impl.handler.ThreadSafeComponentHandler"<br>> > class= =3D"org.apache.avalon.excalibur.datasource.ids.TableIdGenerator "/><br>> > </role><br>> >= </role-list><br>> ><br>> > Thanks for lookin= g at that<br>> > --<br>> > Gene McCullough<br>> > <a href= =3D"http://keelframework.org/documentation.shtml"> http://keelframework.org/documentation.shtml</a><br>> > keelgroup mai= ling list<br>> > <a href=3D"mailto:[email protected]"= >[email protected]</a><br>> > <a href=3D"http://lists= .keelframework.com/listinfo.cgi/keelgroup-keelframework.com"> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com</a>= <br>><br>> <a href=3D"http://keelframework.org/documentation.shtml">h= ttp://keelframework.org/documentation.shtml</a><br>> keelgroup mailing l= ist <br>> <a href=3D"mailto:[email protected]">keelgroup@lis= ts.keelframework.com</a><br>> <a href=3D"http://lists.keelframework.com/= listinfo.cgi/keelgroup-keelframework.com">http://lists.keelframework.com/li= stinfo.cgi/keelgroup-keelframework.com </a><br>><br><br><br>--<br>Gene McCullough<br><a href=3D"http://keelfram= ework.org/documentation.shtml">http://keelframework.org/documentation.shtml= </a><br>keelgroup mailing list<br><a href=3D"mailto:keelgroup-rI8AND0JKYMWQMcUxlM/[email protected]= mework.com"> [email protected]</a><br><a href=3D"http://lists.keelframew= ork.com/listinfo.cgi/keelgroup-keelframework.com">http://lists.keelframewor= k.com/listinfo.cgi/keelgroup-keelframework.com</a><br></blockquote></div> <br> ------=_Part_6565_19404109.1134744757760-- --===============1252170443== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline http://keelframework.org/documentation.shtml keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com --===============1252170443==--