Hi Geert,

I found the following information in the Glue User Guide about war
archives:

Deploying Glue in a .WAR file

The Glue servlet container doesn't currently support deployment of .war
files, but Glue applications can be deployed as .war files into 3rd
party containers such as WebLogic and WebSphere. When Glue starts up, it
uses the servlet 2.3 method getResourcePaths() to automatically locate
all of the service descriptors and map files in WEB-INF\services and
WEB-INF\maps, respectively. Unfortunately, a problem occurs when a
servlet container does not expand .war files at execution time and does
not implement the servlet 2.3 specification correctly.

Servlet containers that currently seem to fall into this category are:

    * WebLogic 7.0

If you suspect that your servlet container falls into this category, you
can add an explicit list of the service descriptors and map files into
the configuration file and Glue will use this list to load the files at
startup in addition to the files returned by the servlet lookup method.
If Glue is deployed into a 2.3-compliant servlet container with a
configuration file that includes an explicit list of files, attempts to
load a particular file twice are ignored. Therefore, if you want to
create a Glue application that will run identically in all situations,
it is best to explicitly add a list of map files and service descriptors
into the configuration file.

The <GLUE-HOME>\app-template\WEB-INF\glue-config.xml file includes an
example of <mapFiles> and <serviceDescriptors> properties, which look
like this:

  <!--***************************************************************-->
  <!--MAP FILES-->
  <!--***************************************************************-->

  <!--list of map files to read from WEB-INF\maps-->
  <!--only needed when Glue is hosted in a 3rd-party non-2.3 servlet
engine-->
  <!--attempts to load the same file twice are benign and ignored-->
  <mapFiles>
    <path>mymap.map</path>
  </mapFiles>


  <!--***************************************************************-->
  <!--SERVICE DESCRIPTORS-->
  <!--***************************************************************-->

  <!--list of descriptors to read from WEB-INF\services-->
  <!--only needed when Glue is hosted in a 3rd-party non-2.3 servlet
engine-->
  <!--attempts to load the same file twice are benign and ignored-->
  <serviceDescriptors>
    <path>system/application.xml</path>
    <path>system/console.xml</path>
    <path>system/jndi.xml</path>
  </serviceDescriptors>

Cheers,
Lars

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin
> Sent: 24 November 2005 11:07
> To: RIFE users list : questions, bug reports and suggestions.
> Subject: Re: 
> [Rife-users]loaderconstraintsviolatedwhenlinkingcom/uwyn/rife/
> site/ValidationErrorclass
> 
> 
> IIRC you mentioned before that it didn't support war 
> archives? How do you deploy your web application on GLUE?
> 
> On 24-nov-05, at 11:01, Lars Grupe wrote:
> 
> > Hi Geert,
> >
> > I didn't know if Glue required something weird. But if I find
> > something
> > I will tell you.
> >
> > Cheers,
> > Lars
> 
> --
> Geert Bevin                       Uwyn bvba
> "Use what you need"               Avenue de Scailmont 34
> http://www.uwyn.com               7170 Manage, Belgium
> gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03
> 
> PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 
> 309F D6A9 Public PGP key  : available at servers pgp.mit.edu, 
> wwwkeys.pgp.net
> 
> 
> _______________________________________________
> Rife-users mailing list
> [email protected] http://www.uwyn.com/mailman/listinfo/rife-users
> 
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to