You must be logged in to do that (read scm)
Re: JRuby on JBoss: jboss-web.xml
- From: Nick Sieger <nicksieger@gmail.com>
- To: dev@warbler.kenai.com
- Subject: Re: JRuby on JBoss: jboss-web.xml
- Date: Wed, 8 Jul 2009 10:42:29 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=abZdyLQisiDHXG8pJKRLMI/UH0G+NS5iLkjD0+aYbgLqncE20fiB+AgtTxvE5rvC3V CM1VmipvttLzZwr7GWeopudG480pGlw+5gh9e+oV2a8t6dTVI+j8bOdBzhMnViB2tuO/ pl2BU2p/27KKoLQLjqHRDOLIr/QM2qufPD7rc=
On Wed, Jul 8, 2009 at 4:52 AM, Martin
Koerner<martin.koerner@objectfab.de> wrote:
> Hi,
>
> I'm using Warbler to create the war file for my application and until
> now I used it on Tomcat.
> Now my boss wants to use JBoss, what's no problem, but the configuration
> for JNDI resources is a little bit different.
> You have to put a jboss-web.xml in your WEB-INF directory, which
> translates the JNDI name of your application (which is in the web.xml)
> to the name of the JNDI binding of JBoss (typically "java:jndiname",
> while in web.xml there is "jdbc/jndiname").
>
> So, I wrote a task for writing the jboss-web.xml to my WEB-INF. But it's
> mostly the same es warblers 'war:webxml' target.
> Is it possible to make this target more configurable to put other
> xml-files in the WAR?
Sure, can you file a request at http://kenai.com/jira/browse/WARBLER
with an example showing what you want? Patches will make the process
go even faster :)
Cheers,
/Nick
| Martin Koerner | 07/08/2009 | |
|
Re: JRuby on JBoss: jboss-web.xml |
Nick Sieger | 07/08/2009 |





