Hi,
well the direction in the contrib module and in 
http://geocities.com/phox_2/ are the same.
But I believe these direction works with JBoss standalone, not with the 
Embedded Tomcat...
So i am still without light on that topic.

any ideas ?

Best regards,
Elouan.



Vincent Harcq wrote:

> Get the module "contrib" from the CVS.
> There is a LOG4J directory which explain you how to configure JBoss to use
> LOG4J instead of the JBoss logger.
> It is mainly used to log JBoss messages but you can also use it in your EJB.
> Vincent.
> 
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de elouan
> Envoye : jeudi 1 mars 2001 19:28
> A : JBoss-User
> Objet : [jBoss-User] log4j & jboss-embeddedTomcat
> 
> 
> Hello gurus,
> 
> I have set up a configuration jboss+embeddedtomcat+cocoon (the last
> embbeded version as of the 25 february, and cocoon 1.8.2), and i want to
> use Log4j with that.
> 
> I have followed the direction stated in http://geocities.com/phox_2/
> ( except i made the change in jboss.conf instead of jboss.jmcl )
> but it raise the Exceptions Belows, basicly it states that there is
> already a service called Log.
> 
> I have tried to figured out where there is a a service called Log that
> is definied but i couldn't find it. i had already commented the one from
> Jboss (as stated in the previous link).
> 
> I have notice that there is a log4j.jar already in the path. Could it be
> that i made a complete fool of myself trying to install log4j where it
> is already install as part of Tomcat ?
> 
> Can someone please give the light in this ?
> 
> Best Regards,
> Elouan
>  >>
> javax.management.InstanceAlreadyExistsException: DefaultDomain:service=Log
>          at
> com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.j
> ava:134)
>          at
> com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServer
> Impl.java:2352)
>          at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.ja
> va:523)
>          at javax.management.loading.MLet.getMBeansFromURL(MLet.java:523)
>          at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
>          at org.jboss.Main.<init>(Main.java:160)
>          at org.jboss.Main$1.run(Main.java:94)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at org.jboss.Main.main(Main.java:90)
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to