Hi,

I would like to better integrate the jo! webserver into JBoss.
With the current jo! release the simple startup as MBean is
supported, but automatic deployment is not. I would like to
change this.

I am not familiar with the JBoss code and didn't find any
description on how to do it. Therefore I am asking you for some
hints on where to look. I assume, that I have to register a
deployer MBean somehow that can be used by the other parts of the
container. Is there an example for how to do this? Maybe in
Tomcat or jetty code?

Thanks,

-hendrik

jo! is a small, but fast Servlet 2.2 and JSP 1.1 pure java web
server. It's free and open source. You can get it at
http://www.tagtraum.com/

For those who are interested giving jo! with JBoss a try:

To start it in the same VM as JBoss you need to add the system
property JO_HOME to the VM. I.e. change the line before pause of
the JBOSS/bin/run script to somethig like this:

java -DJO_HOME=%JO_HOME% ...

Then set the environment variable JO_HOME to the base directory
of jo!. E.g. c:\jo1_0b1

In JBOSS/conf/default add the following to file jboss.conf:

<MLET CODE="org.jbos.util.ClassPathExtension" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
    <ARG TYPE="java.lang.String" VALUE="RELATIVE PATH TO
%JO_HOME%/lib/">
</MLET>

In JBOSS/conf/default add the following to jboss.jcml:

<mbean code="com.tagtraum.jo.Jo" name=":Domain=jo"></mbean>

That should be it.

Let me know if something goes wrong or doesn't work.
- - - - - - - - - - - - - - - - - - - - - - - - - - -
  tagtraum industries      http://www.tagtraum.com/
  jo!                 small&smart 2.2 servletengine
  Java Server & Servlets   The web-application book
  The WebApp Framework        http://www.webapp.de/



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

Reply via email to