(I wrote)
> 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.

It turns out that Tomcat's copy of servlet.jar moved so it wasn't in the
classpath.  I modified the readme file to add a new mlet so here's the
new, improved patch:

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/">
21a17,21
>   <ARG TYPE="java.lang.String"
VALUE="../../../jakarta-tomcat-4.0-b1/common/lib/">
> </MLET>
> 
> <MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar"
> CODEBASE="../../lib/ext/">
25c25
< 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:
57c57
< 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
59c59
<    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/catalina/ConfigMapper.java,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 ConfigMapper.java
25d24
< import org.apache.catalina.Resources;
106,107c105,110
<         } catch (Exception e) {
<           e.printStackTrace();
---
>         } catch (InstanceNotFoundException infe) {
>           infe.printStackTrace();
>         } catch (MBeanException mbe) {
>           mbe.printStackTrace();
>         } catch (ReflectionException re) {
>           re.printStackTrace();
 
 



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

Reply via email to