[Opensource] Issue with Cactus and expresso AND custom messagebundles in JBOSS

Peter A. J. Pilgrim peterp at xenonsoft.demon.co.uk
Wed Feb 25 09:21:36 PST 2004


Eddie Lewis wrote:
> 1. Cactus
> Been able to get the generic cactus examples working running in Tomcat 
> but not using Expresso's ControllerTestCase. It keeps looking for a 
> context called "test". Even when I created a "test" database context 
> which was a copy of the default context, it did not work properly. Could 
> not run the sample from the Expresso unit-testing documentation either.
>  
> 2. MessagesBundle
> We are using a second MessageBundle properties file for application 
> specific strings and using Messages.getString() to retrieving passing 
> our own schema name as the schema class. It was placed in the 
> WEB-INF/classes folder.
>  
> This works fine in Tomcat, but when we ported to JBoss (which uses 
> Tomcat 4.1.29 internally) the keys for that MessagesBundle can no longer 
> be found.
> I tried to add a second entry in struts-config.xml under an alternative 
> key but that did not work either.
>  <message-resources null="false" key="com.x.x.OurSchema" 
> parameter="MessagesBundle"/>
> 
>  
> Any ideas on the above issues would be appreciated.
>  
> Software versions used:
> Expresso 5.3.0
> Tomcat 4.1
> JBoss 3.2.3
>  

Sounds like class loader issues possibly. UnifiedClassLoader First check that out.

Second the Struts resource loading mechanism is different to Expresso
internal MessageBundle list. You might want to search the eforums
under internationalisation or i18n.

BTW: How have you set up Expresso to work with JBoss 3.2.3 and ANT?

-- 
Peter Pilgrim
            __ _____ _____ _____
           / //__  // ___// ___/   +  Serverside Java
          / /___/ // /__ / /__     +  Struts
         / // ___// ___// ___/     +  Expresso Committer
      __/ // /__ / /__ / /__       +  Independent Contractor
     /___//____//____//____/       +  Intrinsic Motivation
On Line Resume
    ||
    \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''




More information about the Opensource mailing list