Hi Toby

Maybe I can help you with the MBean issue. Can you give me the
Exception Stack Trace or is all the stuff already available on
CVS (but maybe then I need some help to set Catalina up?).

When you get an exception in MBean they mostly wrap the original
exception which you then can extract. Adjust the ServiceControl
to extract this exception.

Andy

> -----Original Message-----
> From: toby cabot [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 2:12 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-dev] patch to clean up contrib/catalina build
> 
> 
> Folks,
> 
> Here's a patch to jboss cvs that cleans up the jboss contrib/catalina
> build with Jakarta Tomcat 4.0-B6.  The tomcat folks seem to 
> have changed
> the directory structure around a little since the last time someone
> worked on this code.  With this patch things seem to build OK but I'm
> still having a problem getting the MBeanServer to load the catalina
> EmbeddedManager.  If anyone has any ideas why it would 
> (silently) refuse
> to load an mbean I'd love to hear about 'em.  Doesn't say 
> anything, just
> doesn't load the EmbeddedManager so the ConfigMapper throws an
> exception.  I'm pretty mbean-naive so I'm probably stuck at 
> this point.
> 
> Regards,
> Toby
> 
> Index: readme
> ===================================================================
> RCS file: /cvsroot/jboss/contrib/catalina/readme,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 readme
> 1,2c1
> < 1) copy embedded.jar to jboss/lib/ext, tools.jar should go to
> <    that directory too (or included in CLASSPATH)
> ---
> > 1) copy embedded.jar to jboss/lib/ext
> 4,8c3
> < 2) copy the files jaxp.jar (from catalina_home/server) to jboss/lib,
> <    delete parser.jar, copy crimson.jar (from 
> catalina_home/server) to
> <    jboss/lib/parser.jar
> < 
> < 3) add the following lines to jboss.conf changing the directories
> accordingly
> ---
> > 2) add the following lines to jboss.conf (changing the directories
> accordingly)
> 12c7
> <   <ARG TYPE="java.lang.String"
> VALUE="../../../jakarta-tomcat-4.0-b1/server/">---
> >   <ARG TYPE="java.lang.String"
> VALUE="../../../jakarta-tomcat-4.0-b1/server/lib/">
> 25c20
> < 4) there are 3 mbeans that need to be configured in jboss.jcml:
> ---
> > 3) there are 3 mbeans that need to be configured in jboss.jcml:
> 57c52
> < 5) start jboss, all war files will be deployed to localhost as
> configured in
> ---
> > 4) start jboss, all war files will be deployed to localhost as
> configured in
> 59c54
> <    To see the typcal home page http://localhost:8080 enable 
> the root 
> ---
> >    To see the typical home page http://localhost:8080 
> enable the root 
> cvs server: Diffing src
> cvs server: Diffing src/build
> Index: src/build/build.sh
> ===================================================================
> RCS file: /cvsroot/jboss/contrib/catalina/src/build/build.sh,v
> retrieving revision 1.2
> diff -r1.2 build.sh
> 10,11c10,11
> < ${TOMCAT_HOME}/server/crimson.jar:\
> < ${TOMCAT_HOME}/server/jaxp.jar:\
> ---
> > ${TOMCAT_HOME}/server/lib/crimson.jar:\
> > ${TOMCAT_HOME}/server/lib/jaxp.jar:\
> Index: src/build/build.xml
> ===================================================================
> RCS file: /cvsroot/jboss/contrib/catalina/src/build/build.xml,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 build.xml
> 14,16c14,16
> <     <property name="classpath" 
> value="${tomcat.home}/server/catalina.jar;
> <                                   ${tomcat.home}/server/crimson.jar;
> <                                   ${tomcat.home}/server/jaxp.jar;
> ---
> >     <property name="classpath"
> value="${tomcat.home}/server/lib/catalina.jar;
> >                                   
> ${tomcat.home}/server/lib/crimson.jar;
> >                                   
> ${tomcat.home}/server/lib/jaxp.jar;
> cvs server: Diffing src/main
> cvs server: Diffing src/main/org
> cvs server: Diffing src/main/org/jboss
> cvs server: Diffing src/main/org/jboss/contrib
> cvs server: Diffing src/main/org/jboss/contrib/catalina
> Index: src/main/org/jboss/contrib/catalina/ConfigMapper.java
> ===================================================================
> RCS file:
> /cvsroot/jboss/contrib/catalina/src/main/org/jboss/contrib/cat
> alina/ConfigMapper.java,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 ConfigMapper.java
> 25d24
> < import org.apache.catalina.Resources;
> 
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
> 


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to