Actually what I was interested in is the log when debug is enabled. If
you're running with merlin from the command line just add the -debug
switch (and -info would be interesting to), or alternatively add the
following property to your merlin.properties file:

  merlin.debug = true
  merlin.info = true

This will provide info about what is happening in your environment.  The
info switch will provide a listing of the initial kernel parameters.
The debug switch will show what merlin is doing with those params.

Cheers, Steve.


> -----Original Message-----
> From: S V Subramonian [mailto:[EMAIL PROTECTED]
> Sent: 26 August 2004 18:41
> To: [EMAIL PROTECTED]
> Subject: RE: Embedding Merlin in Main method
> 
> 
> Hi Steve,
> 
> I don't know whether you got my log message or not. I
> am sending this to you again.
> 
> 
> Stack trace is
> 
> 
> [DEBUG  ] (): Can't find 'tahiti' in model repository:
> {}
> java.lang.Exception: ---- runtime exception report
> --------------------------------------------------
> Exception: java.lang.IllegalArgumentException
> Message: Unable to locate a container with name
> [tahiti] within the container [[/]].
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.IllegalArgumentException: Unable to locate a
> container with name [tahiti] within the container
> [[/]].
>
org.apache.avalon.composition.model.impl.DefaultContainmentModelNavigati
on
> Helper.getModel(DefaultContainmentModelNavigationHelper.java:194)
>
org.apache.avalon.composition.model.impl.DefaultContainmentModel.getMode
l(
> DefaultContainmentModel.java:741)
>
org.apache.avalon.composition.model.impl.DefaultContainmentModelNavigati
on
> Helper.getModel(DefaultContainmentModelNavigationHelper.java:93)
>
org.apache.avalon.composition.model.impl.DefaultContainmentModel.getMode
l(
> DefaultContainmentModel.java:741)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:
> 39)
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Im
> pl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> com.slb.sis.tahiti.Framework.resolve(Framework.java:2683)
> merlin.component.Test.main(Test.java:29)
>
------------------------------------------------------------------------
--
> ------
> 
>       at
> com.slb.sis.tahiti.Framework.resolve(Framework.java:2690)
>       at merlin.component.Test.main(Test.java:29)
> 
> 
> 
> 
> 
> regards,
> Subbu
> 
> 
> 
> 
> 
> --- Stephen McConnell <[EMAIL PROTECTED]> wrote:
> 
> >
> > What does the debug log say?
> >
> > Steve.
> >
> > > -----Original Message-----
> > > From: S V Subramonian
> > [mailto:[EMAIL PROTECTED]
> > > Sent: 26 August 2004 18:11
> > > To: [EMAIL PROTECTED]
> > > Subject: Embedding Merlin in Main method
> > >
> > >
> > > All,
> > >
> > > I am following the example of Merlin embedded in a
> > > main method in combination with
> > > AbstractMerlinTestCase.
> > >
> > > I have a container called tahiti and a component
> > > called  simple that I have mentioned in block.xml.
> > >
> > > I have a resolve method just like the one in
> > > AbstractMerlinTestCase which takes the path of the
> > > component. The path that I have given is
> > > "/tahiti/simple". For some reason Merlin is
> > > complaining that  "Can't find 'tahiti' in model
> > > repository: {}"
> > >
> > > Could any one help me to find out what could be an
> > > issue.
> > >
> > > Thanks and regards,
> > > Subbu
> > >
> > >
> > > [DEBUG  ] (): Can't find 'tahiti' in model
> > repository:
> > > {}
> > > java.lang.Exception: ---- runtime exception report
> > > --------------------------------------------------
> > > Exception: java.lang.IllegalArgumentException
> > > Message: Unable to locate a container with name
> > > [tahiti] within the container [[/]].
> > > ---- stack trace
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> 
> _______________________________
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to