check out contrib and have a look in the Jetty subdirectory.
It should all be fairly simple.
If jo! is also a ServletContainer, as is Jetty, then your code should be
very similar to mine - perhaps we could share some !
Have a look through it and ask me anything you like.
Jules (jboss-jetty maintainer)
P.S.
I haven't got JAAS authentication working yet - so if you know anything
about it I would be interested,
Hendrik Schreiber wrote:
> 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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development