You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Paulo Gaspar <pa...@krankikom.de> on 2003/07/21 20:27:55 UTC
JDK1.4 dependencies on Merlin and DefaultJMXServer errors...
...using new Excetion and RuntimeException constructors on:
org.apache.avalon.composition.model.impl.DefaultClassLoaderModel
org.apache.avalon.merlin.jndi.ServiceFactory
Why not using the usual CascadinException*s ???
I am also getting a lot of errors about unimplemented MBeanServer
abstract methods on
org.apache.avalon.merlin.jmx.DefaultJMXServer
Any clues?
Thanks,
Paulo Gaspar
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: JDK1.4 dependencies on Merlin and DefaultJMXServer errors...
Posted by Stephen McConnell <mc...@apache.org>.
Paulo Gaspar wrote:
> Anyway, Eclipse helps me browse the code BUT ALSO helps detecting a
> few gliches, like unused private member fields and imports. Are you
> interested on patches for this kind of stuff? (*)
You bet!
Don't worry about the composition or activation packages - that's work
in progress and not used in the runtime.
Cheers, Steve.
--
Stephen J. McConnell
mailto:mcconnell@apache.org
http://www.osm.net
Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
RE: JDK1.4 dependencies on Merlin and DefaultJMXServer errors...
Posted by Paulo Gaspar <pa...@krankikom.de>.
Answer inline:
> -----Original Message-----
> From: Stephen McConnell [mailto:mcconnell@apache.org]
> Sent: terça-feira, 22 de Julho de 2003 5:13
> To: Avalon Developers List
> Subject: Re: JDK1.4 dependencies on Merlin and DefaultJMXServer
> errors...
>
>
> Have fixed the above two cases - the DefaultClassLoaderModel case now
> throwws a ModelException (which is a cascading exception) and the
> ServiceFactory has been updates so that the situation is handled at the
> top level.
Thanks man!
> >
> >I am also getting a lot of errors about unimplemented MBeanServer
> >abstract methods on
> > org.apache.avalon.merlin.jmx.DefaultJMXServer
> >
> ...
>
>... Could you do some more diger your end?
>
> Steve.
I Will. Maybe building with Eclipse has somethig to do with it...
=;o)
Anyway, Eclipse helps me browse the code BUT ALSO helps detecting a few
gliches, like unused private member fields and imports. Are you
interested on patches for this kind of stuff? (*)
Thanks and have fun,
Paulo Gaspar
(*) ...if I am able to keep the pace with you...
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: JDK1.4 dependencies on Merlin and DefaultJMXServer errors...
Posted by Stephen McConnell <mc...@apache.org>.
Paulo Gaspar wrote:
>...using new Excetion and RuntimeException constructors on:
> org.apache.avalon.composition.model.impl.DefaultClassLoaderModel
> org.apache.avalon.merlin.jndi.ServiceFactory
>
>Why not using the usual CascadinException*s ???
>
Have fixed the above two cases - the DefaultClassLoaderModel case now
throwws a ModelException (which is a cascading exception) and the
ServiceFactory has been updates so that the situation is handled at the
top level.
>
>I am also getting a lot of errors about unimplemented MBeanServer
>abstract methods on
> org.apache.avalon.merlin.jmx.DefaultJMXServer
>
>
I'm not getting this at all.
>Any clues?
>
>
None - I've included the build trace I have for the JMX Server that I am
seeing below. I also takebn a look locally and cannot see anything that
cause the problem. Could you do some more diger your end?
Steve.
+----------------------------------------
| Installing: Merlin JMX
| Memory: 38M/59M
+----------------------------------------
Attempting to download avalon-framework-api-SNAPSHOT.jar.
..
Attempting to download avalon-framework-impl-SNAPSHOT.jar.
..
java:prepare-filesystem:
[mkdir] Created dir:
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\classes
java:compile:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file to
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\classes
[javac] Since fork is true, ignoring compiler setting.
java:jar-resources:
[copy] Copying 1 file to
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\classes
[copy] Copying 1 file to
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\classes
[copy] Copying 1 file to
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\classes\BLOCK-INF
test:prepare-filesystem:
[mkdir] Created dir:
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\test-classes
[mkdir] Created dir:
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\test-reports
test:test-resources:
[copy] Copying 1 file to
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\test-classes
test:compile:
[javac] Compiling 4 source files to
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\test-classes
[rmic] RMI Compiling 1 class to
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\test-classes
test:test:
[junit] dir attribute ignored if running in the same VM
[junit] Running org.apache.avalon.merlin.jmx.ClientTestCase
[INFO] setup
[INFO] starting mbean server
[INFO] adding JRMP adapter
[INFO] declaring JRMP adapter to JNDI
[INFO] registering remote service
[INFO] starting remote service
My remote service started successfully
[INFO] stop
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.5 sec
jar:jar:
[jar] Building jar:
F:\dev\avalon-sandbox\merlin\merlin-extensions\merlin-jmx\target\merlin-jmx-1.0.jar
jar:install:
[echo]
id = 'merlin-jmx'
groupId = 'merlin'
artifactDirectory = 'merlin'
[copy] Copying 1 file to F:\system\maven\repository\merlin\jars
merlin-propergate:
[copy] Copying 1 file to
F:\dev\avalon-sandbox\merlin\merlin-extensions\target\inst\lib\system
>
>Thanks,
>Paulo Gaspar
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
>For additional commands, e-mail: dev-help@avalon.apache.org
>
>
>
>
>
--
Stephen J. McConnell
mailto:mcconnell@apache.org
http://www.osm.net
Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org