Hi,

The setup is:
- JBoss-2.4.3_Tomcat-3.2.3.zip
- JDK 1.3
- Linux Redhat 6.2

We're programming an ejb application... everythings is ok as regard
to normal use of the EJB facilities in jboss.

But we're trying to incoporate a mbean based server within the
jboss server, which should be ok (?)

The server listens for incomming telnet connections to a TCP/IP port
where ppl. can do some command based admin stuff on the container
managed beans...

But we run into very weird problemas.
Since the mbean manipulates on the beans, it has to know of the
home and remote interfaces... but when we put the packaged interfaces
in a client.jar file into the mbeanserver.jar file, which we put
in the lib/ext (as specified in the documentation) weird stuff starts
to happen....

>From what we can debug, it seems that when the home and remote interfaces
are known in the lib/ext files, the container tries to use this jar
file... but since it lack the bean definition (and all that they
reference) the server throws unknown classdef exceptions.

We can get it to work if we package the whole project into the mbean server
jarfiles put in the lib/ext catalog but that's crazy ? we loose all the neat
features of redeployment and so on...

I know that we can get it to work somehow, since doing servlets with
the tomcat server is somethings alike our server (listening on a port,
using the home and remote interfaces to connect to server), but I also
know that it does this through its own classloader....

I would like not to use my own classloader... of course if the answer
is that this is the way... I'll manage..

We have thought of coding the server as a complete external server...
but it would be realy neat to have it inside of the jboss server, so
we can do inprocess call's ...


mvh,
Carsten Rhod Gregersen, M.Sc. CS. & Math.
Email: [EMAIL PROTECTED], Tlf: 70211360 Web: http://www.logiva.dk
Address: Logiva A/S, Klamsagervej 12, 8230 �byh�j, Denmark


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to