Vikas Phonsa wrote:
Could someone pls explain what exactly is the difference between a container
and a classloader in Merlin.
Back me up, Steve, if more needs to be added...
A container is a software entity that manages one or more components
along with a context that those component(s) live wit
Now I am using FortressConfig this way:
final FortressConfig config = new FortressConfig();
config.setContextDirectory("");
config.setWorkDirectory("");
config.setContainerConfiguration("report.xconf");
config.setRoleManagerConfiguration("report.roles");
config.setLoggerManagerCo
Thanks, that really helped me much.
From: Berin Loritsch <[EMAIL PROTECTED]>
Reply-To: "Avalon framework users" <[EMAIL PROTECTED]>
To: Avalon framework users <[EMAIL PROTECTED]>
Subject: Re: where can I find a sample code demonstrating how to lookup a
service in fortress
Date: Mon, 12 Jan 2004 0
Sorry to initialize this issue again,but I do need help.
My problem is like this:
I m wrting a 'block' which uses only one Container to hold all the
configrations read from roles and xconf file, I did like this:
final FortressConfig config = new FortressConfig();
config.setContextDirect
And I read another post abt a similar issue by Stephen on the weekend, in
which he mentioned that " If you are thinking about invoking a method on
your component. then you should be either creating a component with a
dependency on the first, or creating a unit test".
So if I have some existing
Hi Guys,
Could someone pls explain what exactly is the difference between a container
and a classloader in Merlin.
The article "Developing with Avalon" says :
""The code that creates the Component is that Component's Container. The
Container is responsible for managing the Component's lifecycle
Vikas Phonsa wrote:
It would be great if you could supply us with that application and
instructions about how to run/use it. And also any other documentation abt
it that could help.
gimme a day or two to pull it together...
-
T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Farr, Aaron wrote:
| Rewriting "Developing with Avalon" has been on the list since we
updated the
| site back in October. It just hasn't gotten done yet. One idea we were
| kicking around is to have one "Beginning with Avalon" document which would
| b
Timothy,
It would be great if you could supply us with that application and
instructions about how to run/use it. And also any other documentation abt
it that could help.
Thanks
Vikas
-Original Message-
From: Timothy Bennett [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 2:29
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Farr, Aaron wrote:
| I agree that things are currently too 'scattered' in the wiki.
| Consolidation would be a good thing.
|
| My suggestion would be to first create/organize the new FAQ as you
suggest,
| but don't delete or remove any of the old inform
Vikas Phonsa wrote:
If any one has any other recommended learning path, or would like to add to
this then I would like to know that.
I built a simple web server using the Cornerstone library's thread and
socket manager components. It works in Merlin, and gives you the
beginning's of a hint about
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Farr, Aaron wrote:
| I agree that things are currently too 'scattered' in the wiki.
| Consolidation would be a good thing.
|
| My suggestion would be to first create/organize the new FAQ as you
suggest,
| but don't delete or remove any of the old inform
Will do!
Thanks a bunch!
Q
> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 3:29 PM
> To: 'Avalon framework users'
> Subject: RE: Are there any absolute beginners here
>
> Well then start with "Developing with Avalon" article at
> http:
Well then start with "Developing with Avalon" article at
http://avalon.apache.org/developing/introduction.html . But let me warn that
consider that articles as an overview of the framework and the technology
and not the tools. It mentions Excalibur big time but Excalibur is now
deprecated. People a
I have not. Any recommendation where to start?
Q
> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 12:50 PM
> To: 'Avalon framework users'
> Subject: RE: Are there any absolute beginners here
>
> Ok cool,
> So have u started. What are u wo
Matt Reynolds wrote:
Instead of having several seperate entries, of the types:
AvalonContainerFAQ
AvalonPhoenixFAQ
etc
Do you guys mind if I reorg these into sub-nodes below a general entry
called "FAQ"? It seems sort of weird to have these semi-redundantly
named nodes that are all the same sort
Vikas Phonsa wrote:
Hi,
Merlin webpage and the txt docs in the downloads say:
"Versions of Merlin prior to the 3.2-dev 20031210 build maintained
a local repository of jar files under the %MERLIN_HOME%/repository
directory. As of the 20031210 build the repository is maintained
under AVALON_HOM
On Jan 12, 2004, at 1:51 PM, Torsten Curdt wrote:
Do you know anything about the James guys using
the commons dbcp though a wrapper with Avalon?
Well, maybe I am better off asking them :)
ya, ask them :)
-pete
-
To unsubscribe, e-m
> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 2:44 PM
> To: 'Avalon framework users'
> Subject: RE: Documentation, Tutorials, etc
>
> I think if ECM has been deprecated then, all references to it in the
> "Developing with Avalon" tut
> -Original Message-
> From: Matt Reynolds [mailto:[EMAIL PROTECTED]
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Instead of having several seperate entries, of the types:
> AvalonContainerFAQ
> AvalonPhoenixFAQ
> etc
>
> Do you guys mind if I reorg these into sub-nodes belo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vikas Phonsa wrote:
| I think if ECM has been deprecated then, all references to it in the
| "Developing with Avalon" tutorial should be removed. Cause that article is
| the first thing that absolute beginners look at and they starting thinking
| abt ho
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Instead of having several seperate entries, of the types:
AvalonContainerFAQ
AvalonPhoenixFAQ
etc
Do you guys mind if I reorg these into sub-nodes below a general entry
called "FAQ"? It seems sort of weird to have these semi-redundantly
named nodes tha
I think if ECM has been deprecated then, all references to it in the
"Developing with Avalon" tutorial should be removed. Cause that article is
the first thing that absolute beginners look at and they starting thinking
abt how things work in Excalibur. And soon they find out its deprecated.
Then th
> -Original Message-
> From: Matt Reynolds [mailto:[EMAIL PROTECTED]
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Ok, I'm going through and trying to harvest some useful knowledge from
> this list. So far, I haven't got much, but it's here :
> http://wiki.apache.org/avalon/A
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ok, I'm going through and trying to harvest some useful knowledge from
this list. So far, I haven't got much, but it's here :
http://wiki.apache.org/avalon/AvalonForBeginners?action=show
I hijacked the link since the old link was dead. If anyone wants
Hi,
Merlin webpage and the txt docs in the downloads say:
"Versions of Merlin prior to the 3.2-dev 20031210 build maintained
a local repository of jar files under the %MERLIN_HOME%/repository
directory. As of the 20031210 build the repository is maintained
under AVALON_HOME which defaults to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sonu Vijay wrote:
| Hi,
|
| I'm literally going nuts trying to figure things out.
| All I'm trying to do is write a small component and
| run it from a main program.
|
| I think if any of the enlightened souls here could
| write just a tutorial that beg
I'm in the same situation as you joe. Would love to use Avalon, but I'm on
a short schedule and I plan on looking at merlin when I'll refactor. I
tried downloading the code when things were being moved from
jakarta.apache.org to avalon.apache.org, and there were too many broken
links to documentati
Ok cool,
So have u started. What are u working on right now in Avalon. I just
downloaded Merlin 3.2.5 and am building it and trying to run the examples.
Vikas
-Original Message-
From: Kyunam Kim [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 10:49 AM
To: 'Avalon framework user
I am wondering... Is there any relation between the
avalon excalibur datasource jdbc pool and the dbcp
from jakarta commons? What's the difference? IIUC the
guys from james are using an avalon-ized dbcp.
Two separate codebases.. the excalibur datasource predates commons dbcp.
Alright. Thanks, Pet
I am an absolute beginner.
Let me know how to help since my new year's resolution is learning this
cool stuff.
-Q
> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 12:26 PM
> To: 'Avalon framework users'
> Subject: Are there any absolut
Joe Phillips wrote:
The project I want to use Avalon for is a server so I'm considering
getting started with Phoenix (based on the recent Wiki info). Right now
it's a background deal which explains my lack of time to work on Avalon
too much.
Joe,
I was where you are about a year ago. Considerin
On Mon, 2004-01-12 at 13:26, Vikas Phonsa wrote:
> Are there any absolute beginners here who are starting up with Avalon. I've
> just started.
I am an absolute beginner to Avalon. I've been lurking the list for a
couple months now.
I've read a lot of the documentation and the concepts make total
> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 1:26 PM
> To: 'Avalon framework users'
> Subject: Are there any absolute beginners here
>
> Hi,
>
> Are there any absolute beginners here who are starting up with Avalon.
> I've
> just s
Vikas Phonsa wrote:
And if you say that fulcrum is moving towards Merlin too, then Merlin it is
for me too. I'll worry abt explaining why to others later.
LOL! I can relate...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Hi,
Are there any absolute beginners here who are starting up with Avalon. I've
just started.
I'm asking cause maybe we can document our learning process together so that
others can benefit from it.
Thanks
Vikas
-
To unsubscr
Stephen McConnell wrote:
Sounds like something we can stick in JIRA for the next release. Based
on the testing you have done against 3.2.5 is there anything you
consider to be a show stopper? If not - my feeling is that we should
move forward with 3.2.5 and a vote to release.
What do you thi
Vikas Phonsa wrote:
Well, I like Merlin too, not cause I know what it could do for me, but cause
I'm able to build and run its examples.
And if you say that fulcrum is moving towards Merlin too, then Merlin it is
for me too. I'll worry abt explaining why to others later.
So is Merlin 3.2+ only ava
On Jan 11, 2004, at 6:27 PM, Torsten Curdt wrote:
I am wondering... Is there any relation between the
avalon excalibur datasource jdbc pool and the dbcp
from jakarta commons? What's the difference? IIUC the
guys from james are using an avalon-ized dbcp.
Two separate codebases.. the excalibur dataso
Well, I like Merlin too, not cause I know what it could do for me, but cause
I'm able to build and run its examples.
And if you say that fulcrum is moving towards Merlin too, then Merlin it is
for me too. I'll worry abt explaining why to others later.
So is Merlin 3.2+ only available for CVS down
Timothy Bennett wrote:
Timothy Bennett wrote:
In merlin 3.2.5 (and possible prior 3.2.x versions), it seems the
directive for the proxy settings in
merlin's kernel.xml file are now "required". I know in the 3.0
version's the proxy credentials settings were optional, but in 3.2.5,
if it is m
Timothy Bennett wrote:
In merlin 3.2.5 (and possible prior 3.2.x versions), it seems the
directive for the proxy settings in merlin's
kernel.xml file are now "required". I know in the 3.0 version's the
proxy credentials settings were optional, but in 3.2.5, if it is missing
from the kernel.x
Vikas Phonsa wrote:
Hi,
In the getting started instructions at
http://avalon.apache.org/excalibur/fortress/getting-started.html they say
that try to get Avalon, Avalon-excalibur, logkit and Jakarta-site from CVS
and try to build those.
First of all is it really necessary to build all those at y
This was discussed last week (which thread?). Try to change
your ant.properties and get the missing jars from
ibiblio.org/maven/
regars,
hammett
---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br
-
Stephen McConnell wrote:
I would recommend setting avalon.repository.hosts to nothing, and remove
the proxy setting in the property file.
E.g.:
avalon.repository.hosts =
The declare any proxy setting at the level of the kernel.
In merlin 3.2.5 (and possible prior 3.2.x versions), it seems th
Hi,
In the getting started instructions at
http://avalon.apache.org/excalibur/fortress/getting-started.html they say
that try to get Avalon, Avalon-excalibur, logkit and Jakarta-site from CVS
and try to build those.
First of all is it really necessary to build all those at your end just to
run s
Hi.
OK, so if I really want to know what I'm doing, I probably want to know, how
many separate classloaders I have
and where they are loading from, right?
First step, would be to understand Phoenix classloaders -
I suppose there is at least one classloader per SAR and one for common jars,
perhaps
korosh afshar wrote:
Hi,
I used the template project as starting point for my own development
against merlin.
Is there a maven goal that refreshes my application jar files into
MERLIN repository or do I have to do it manually ?
For the moment - manually.
With the recent work in the repository and
Hi,
I used the template project as starting point for my own development
against merlin.
Is there a maven goal that refreshes my application jar files into
MERLIN repository or do I have to do it manually ?
The only merlin goals I see in maven is for deploy, simulate, test or
execute, none of
[EMAIL PROTECTED] wrote:
Hello,
In Merlin 3.2.5, I have proxy information ( to download the repository jars)
defined in the "avalon.properties" file. There is a copy of this file in
AVALON_HOME directory, and the file looks like below:
avalon.repository.cache=E:\download\maven\repository
avalon.r
Maybe so, but until I declared it it didn't work.
-Original Message-
From: Berin Loritsch [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 8:33 AM
To: Avalon framework users
Subject: Re: howto properly use ServiceManager.lookup(ROLE)
Ralph Goers wrote:
> I had this problem when
Ralph Goers wrote:
I had this problem when converting from ComponentManager to ServiceManager.
Adding Component to the implements clause of my class solved the problem.
In this case it should not be necessary. ServiceManager does not need
the Component interface, and that should also be implement
Hello,
In Merlin 3.2.5, I have proxy information ( to download the repository jars)
defined in the "avalon.properties" file. There is a copy of this file in
AVALON_HOME directory, and the file looks like below:
avalon.repository.cache=E:\download\maven\repository
avalon.repository.hosts=http://ww
I must say that I agree. When I first started to dig into Avalon/Excalibur
so that I could write some Cocoon components it was pretty painful. The
cocoon stuff was pretty clear but the avalon side of things was very weak.
Things have improved a little, but not much IMHO.
Ralph
-Original Mess
I had this problem when converting from ComponentManager to ServiceManager.
Adding Component to the implements clause of my class solved the problem.
Ralph
-Original Message-
From: Joerg Buchberger [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:12 AM
To: [EMAIL PROTECTED]
Subj
Stephen McConnell wrote:
Joerg Buchberger wrote:
Are you sure, that the interface and the component should
have equal hash codes,
even though the components interface is not equal to the
component itself?
Thinking about it a bit ... no I'm not sure ...
but hang on and I'll run a test.
I'm wrong.
H
Joerg Buchberger wrote:
Hi.
Thanks for the classloader/jar hint.
I'll check for that.
Stephen McConnell schrieb am 12.01.2004 um 15:14:18:
...
So, the instance of the class in the container ("there")
2730814, the one returned by lookup()
is different to
the instance of the class that you are
Joerg Buchberger wrote:
23361497, the interface defining the services for the
component that should be returned
Are you sure, that the interface and the component should
have equal hash codes,
even though the components interface is not equal to the
component itself?
Did you mean perhaps, that I s
Hi.
Thanks for the classloader/jar hint.
I'll check for that.
Stephen McConnell schrieb am 12.01.2004 um 15:14:18:
>...
>So, the instance of the class in the container ("there")
2730814, the one returned by lookup()
>is different to
>the instance of the class that you are using ("here").
23361
Mu Mike wrote:
>
> when you said " looked up via a Selector", did you mean that the
> ServiceManager does it automatically? that is, I dont need to care about
> if it is a manager or a selector is looking up a service 'component'?
Pretty much.
>
>
>
>
>
> now I need a Runner implem
Joerg Buchberger wrote:
Hi Steve.
I added the following three lines to the code suggested in your reply:
Class dummy =
Great!
here : 23361497
there: 2730814
So, the instance of the class in the container ("there") is different to
the instance of the class that you are using ("here"). This m
Hi Steve.
I added the following three lines to the code suggested in your reply:
Class dummy =
this.getClass().getClassLoader().loadClass("de.jb.compo.MyComponent");
loggerInst.debug(dummy.getName());
loggerInst.debug("isInterface(): " + dummy.isInterface());
The output:
#1st time
here
Joerg Buchberger wrote:
Hi there.
Using Sun-JDK-1.4.1_03(WinNT4SP6a), Phoenix-4.0.3,
ServiceManager.lookup(MyComponent.ROLE):
The ServiceManager always returns a $Proxy type object, which causes a
ClassCastException when I try to cast to my components service interface:
MyComponent mytest = (MyCo
Hi there.
Using Sun-JDK-1.4.1_03(WinNT4SP6a), Phoenix-4.0.3,
ServiceManager.lookup(MyComponent.ROLE):
The ServiceManager always returns a $Proxy type object, which causes a
ClassCastException when I try to cast to my components service interface:
MyComponent mytest = (MyComponent) ServiceManager.
My questions are :
1> what are the differences among these loggermanagers, which one should I
use?
LogkitLoggerManager, LogKitLoggerManager, Log4JloggerManager
2> suppose I already have a Logger object, and I have a service which
implemented Servicable,LogEnabled, then when I use a ServiceMa
[reposting with the correct subject line]
A new release candidate 3.2.5 is now available.
The RC includes the resolution of the problem identified earlier by
Timothy Bennett concerning composite components. An update to the
composition package has resolved the issue and has been tested locally
a
A new release candidate 3.2.5 is now available.
The RC includes the resolution of the problem identified earlier by
Timothy Bennett concerning composite components. An update to the
composition package has resolved the issue and has been tested locally
and by Timothy. The change involved a co
67 matches
Mail list logo