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.&nbsp; 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> &lt;<a href=3D"mailto:gene.mccullough@fs-=
ok.com">[email protected]</a>&gt; 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.&nbsp;&nbsp;Changed role-list to roles, and also tried creating a pa=
rent<br>roles element.&nbsp;&nbsp;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>&gt; wrote:<br>=
&gt; Gene:<br>&gt;<br>&gt; I'm not 100% sure, but doesn't the roles file ne=
ed to start with
<br>&gt; &lt;roles&gt;<br>&gt;<br>&gt; &lt;/roles&gt;<br>&gt;<br>&gt; ...<b=
r>&gt;<br>&gt; Mike<br>&gt;<br>&gt; On Thu, 2005-12-15 at 11:05, mcpadawan =
wrote:<br>&gt; &gt; Built the default project, same outcome.&nbsp;&nbsp;How=
ever, on closer inspection of logs:
<br>&gt; &gt; -----------------------------------------<br>&gt; &gt; org.xm=
l.sax.SAXParseException: Premature end of file.<br>&gt; &gt;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xerces.parsers.AbstractSAXP=
arser.parse(Unknown Source)<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; at=20
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build=
(DefaultConfigurationBuilder.java:223)<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.avalon.framework.configuration.Defau=
ltConfigurationBuilder.build(DefaultConfigurationBuilder.java
:192)<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.k=
eel.core.container.KeelContainerFactory.buildConfigs(KeelContainerFactory.j=
ava:379)<br>&gt; &gt;<br>&gt; &gt; That line 379 in KeelContainerFactory is=
 reading in conf/roles.xconf.<br>&gt; &gt; I verified that it is in the=20
default-keel-config.jar, (code already<br>&gt; &gt; checks for that), and i=
t looks valid:<br>&gt; &gt;<br>&gt; &gt; &lt;!-- Merged Role Configuration-=
-&gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; &lt;role-list&gt;<=
br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;role name=3D&quot;
org.apache.avalon.excalibur.datasource.DataSourceComponent&quot;&gt;<br>&gt=
; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;component shorthand=3D&quot;=
jdbc&quot;<br>&gt; &gt; handler=3D&quot;org.apache.avalon.fortress.impl.han=
dler.ThreadSafeComponentHandler
&quot;<br>&gt; &gt; class=3D&quot;org.apache.avalon.excalibur.datasource.Re=
sourceLimitingJdbcDataSource&quot;/&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp=
; &lt;/role&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;role name=3D&quot;=
org.apache.avalon.excalibur.datasource.ids.IdGenerator
&quot;&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;component s=
horthand=3D&quot;table&quot;<br>&gt; &gt; handler=3D&quot;org.apache.avalon=
.fortress.impl.handler.ThreadSafeComponentHandler&quot;<br>&gt; &gt; class=
=3D&quot;org.apache.avalon.excalibur.datasource.ids.TableIdGenerator
&quot;/&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/role&gt;<br>&gt; &gt;=
&nbsp;&nbsp; &lt;/role-list&gt;<br>&gt; &gt;<br>&gt; &gt; Thanks for lookin=
g at that<br>&gt; &gt; --<br>&gt; &gt; Gene McCullough<br>&gt; &gt; <a href=
=3D"http://keelframework.org/documentation.shtml">
http://keelframework.org/documentation.shtml</a><br>&gt; &gt; keelgroup mai=
ling list<br>&gt; &gt; <a href=3D"mailto:[email protected]"=
>[email protected]</a><br>&gt; &gt; <a href=3D"http://lists=
.keelframework.com/listinfo.cgi/keelgroup-keelframework.com">
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com</a>=
<br>&gt;<br>&gt; <a href=3D"http://keelframework.org/documentation.shtml">h=
ttp://keelframework.org/documentation.shtml</a><br>&gt; keelgroup mailing l=
ist
<br>&gt; <a href=3D"mailto:[email protected]">keelgroup@lis=
ts.keelframework.com</a><br>&gt; <a href=3D"http://lists.keelframework.com/=
listinfo.cgi/keelgroup-keelframework.com">http://lists.keelframework.com/li=
stinfo.cgi/keelgroup-keelframework.com
</a><br>&gt;<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==--