A big +1 from me to finding a way to avoid the "No repository found"
message.

I don't know exactly why thats happening, but its related to Tuscany not
using any Axis2 repository as all the services are defined programatically,
and suspect its to do with the way the Tuscany customized axis2.xml file
which is handled by the Tuscany class
o.a.t.s.binding.axis2.TuscanyAxisConfigurator. probably just need to step
through the code in a debugger to work out where the warning message is
coming from and then finding some thing like an axis2.xml or Axis
configuration property that needs to be set differently.

  ...ant

On 5/14/07, Simon Nash <[EMAIL PROTECTED]> wrote:

Are the "No repository found" messages a consequence of this change?
I am asking because in looking though a recent maven build log,
I don't see both the log4j messages and the "No repository found"
messages together for the same tests.

I think both of these are pretty irritating.  If fixing one causes
the other, then I don't think this is an improvement.  If we can
fix both, that would be great.  Does anyone know how we could
remove the "No repository found" messages as well?

   Simon

Luciano Resende wrote:

> Today, when we run some samples or test cases, we get an annoying log4j
> warnings
>
> log4j:WARN No appenders could be found for logger (
> org.apache.axiom.om.util.StAXUtils).
> log4j:WARN Please initialize the log4j system properly.
>
> I have found a way to fix that, basically by adding a project called
> log4j-props inside modules, that has a log4j.properties file only, to be
> packaged in a jar file, then make the projects that are seeing the
annoying
> log4j warning messages to include this dependency as <scope>test</scope>
>
>        <dependency>
>            <groupId>org.apache.tuscany.sca</groupId>
>            <artifactId>tuscany-log4j-props</artifactId>
>            <version>1.0-incubating-SNAPSHOT</version>
>            <scope>test</scope>
>        </dependency>
>
> After the changes, you would see something like :
>
> URLBasedAxisConfigurator.getAxisConfiguration (68) : No repository found
,
> module will be loaded from classpath
> URLBasedAxisConfigurator.getAxisConfiguration (68) : No repository found
,
> module will be loaded from classpath
>
> If people are OK with this, please let me know and I can commit this
> changes, and we could start adding the dependencies on demand.
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to