Hi,
Thanks for the replies and sorry about the vagueness of my question.
I think I'll take the easy way out for now and load Trac within a portlet on JBoss. :P

Thanks again!

----- Original Message ----- From: "Matthew Good" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, May 17, 2006 7:58 PM
Subject: Re: [Trac] Trac on JBoss?


On Wed, 2006-05-17 at 13:50 +0100, Robert Hunter wrote:
On Wed, 2006-05-17 at 14:25 +0200, Manuzhai wrote:
> > Hello,
> > Has anyone tried integrating Trac on JBoss? If yes, I could really > > use some
> > insight as to how to accomplish this.
>
> I'd say this isn't really possible. Maybe JBoss has some equivalent of
> apaches mod_proxy, so you can run the tracd server behind it?

As I understand it, JBoss is normally run from behind Apache anyway, so
mod_proxy would be the obvious choice if "integration" consisted of
"have a trac site available from the JBoss app site".

For tighter integration, though -- perhaps using a JBoss portlet display
the results of a Trac report along with other Java application output --
you would either have to talk to the Trac server using XML-RPC (or just
RSS).

If you needed *really* tight integration you could look at something
like loading Trac modules from Jython.

Jython isn't going to work.  It's far behind in Python compatibility
(the latest is a beta for 2.2) and it doesn't support C Python
extensions like ClearSilver and any of the database drivers.

The easiest solution will be to either run both JBoss and Trac behind a
web server like Apache or lighttpd, or run Trac on a separate server on
a different port.

If you want a more adventurous solution, you may be able to connect
JBoss to Trac via the AJP protocol.  In the Trac trunk you can use tracd
with the option "--protocol=ajp" which will enable it to listen for
connections using the AJP protocol instead of HTTP.  JBoss uses AJP to
connect to the Tomcat process it runs, so if it's possible to get this
to connect to an external application you could hook it up to Trac
instead of Tomcat.  I don't know if this is really possible, so if you
try this solution I think you'll need to check on the JBoss forums or
mailing list for help.

--
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to