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

Eddie Lewis ELewis at copyright.com.au
Sun Feb 8 15:23:01 PST 2004


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
 
 
____________________________________________
Eddie Lewis 
Senior Analyst Programmer  <mailto:elewis at copyright.com.au>
elewis at copyright.com.au Copyright Agency Limited Tel: +61 2 9394 7685 
Fax: +61 2 9394 7601  <http://www.copyright.com.au/> www.copyright.com.au 
Level 19, 157 Liverpool Street
Sydney NSW 2000 	
 
 
 
 
 
This electronic mail message and any attachments are confidential. If you are not the intended recipient please do not use the information, advise us immediately and destroy this message. Opinions and information in this message are those of the sender and not necessarily those of CAL. Unless expressly permitted by the sender, you may not copy, disclose or use the contents in any way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20040209/76fe7dd1/attachment-0003.htm


More information about the Opensource mailing list