On Fri, 2004-03-26 at 19:31, J Aaron Farr wrote:
> Leandro Rodrigo Saad Cruz wrote:
> > Hi all. I couldn 't find any docs on Fortress configuration.
> > I'm using ECM and would like to migrate my configuration to use
> >
> > roles.xconf, system.xconf.xml and logkit.xconf
> >
> > but I can't find waht I must put on these files. Any help ?
> >
>
> Your logkit file should be just fine.
Can I use log4j only ?
>
> There will be slight changes to the roles.xconf and system.xconf files.
Np. Why I should have a roles.xconf file describing my roles, if that
info is present on my system.xconf.xml file ?
>
> If you want, you can post them to the list or send them to me personally
> and I'll see what I can do.
May I paste an example ?
<my-system>
<component id="1"
role= "br.com.ibnetwork.xingu.logging.LoggerFactory"
class="br.com.ibnetwork.xingu.logging.impl.Log4JLoggerFactoryImpl">
<log4j.properties>log4.properties</log4j.properties>
</component>
<component id="2"
role= "br.com.ibnetwork.xingu.ojb.OJBComponent"
class="br.com.ibnetwork.xingu.ojb.impl.OJBComponentImpl">
<jcd-alias>@PERSISTENCE_JCD-ALIAS@</jcd-alias>
</component>
</my-system>
Q1) Can I use numeric ids ?
Q2) Do I have to use @tags on my Java files ? or this is optional ?
I get a lot of warnings starting fortress.
WARN 2004-03-27 09:55:39.676 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.datasource.JdbcDataSource.
Skipping.
WARN 2004-03-27 09:55:39.705 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.datasource.J2eeDataSource.
Skipping.
WARN 2004-03-27 09:55:39.711 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.datasource.InformixDataSource.
Skipping.
WARN 2004-03-27 09:55:39.718 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.monitor.ActiveMonitor. Skipping.
WARN 2004-03-27 09:55:39.724 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.monitor.PassiveMonitor. Skipping.
WARN 2004-03-27 09:55:39.732 [fortress.system.roles.de] (): Unable to
load class org.apache.excalibur.xml.xpath.XPathProcessorImpl. Skipping.
WARN 2004-03-27 09:55:39.740 [fortress.system.roles.de] (): Unable to
load class org.apache.excalibur.xml.xpath.JaxenProcessorImpl. Skipping.
WARN 2004-03-27 09:55:39.757 [fortress.system.roles.de] (): Unable to
load class org.apache.excalibur.xml.impl.JaxpParser. Skipping.
WARN 2004-03-27 09:55:39.764 [fortress.system.roles.de] (): Unable to
load class org.apache.excalibur.xml.impl.XercesParser. Skipping.
Q3) Can I get rid of these messages without changing the log level ?
>
> I'll also make sure we have an example in the wiki. I know we have
> examples in CVS, but I don't think we have an easily downloadable release.
>
> http://cvs.apache.org/viewcvs.cgi/avalon/fortress/examples/
>
> I have some related examples that might help at:
>
> http://cvs.apache.org/~farra/avalon-examples.tar.gz
>
> Also, do you know how to bootstrap Fortress?
not sure. can I send you the class I'm using to do that ?
>
> jaaron
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Leandro Rodrigo Saad Cruz
InterBusiness Tecnologia e Servi�os
IB - www.ibnetwork.com.br
DB - www.digitalbrand.com.br
OJB - db.apache.org/ojb
XINGU - xingu.sf.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]