[opencms-dev] JBoss & resourcebundle
Frankinet Philippe
p.frankinet at nsi-sa.be
Wed Aug 23 15:48:12 CEST 2006
Dear gurus,
I've created a registration page (see templateone form). This works fine
if OpenCms is running under Tomcat.
Running under JBoss, label & messages are not found ( ???
form.html.start ???> ??? form.html.row.start ??? ....).
Here is the code of
/system/modules/org.opencms.frontend.templateone.form/pages/form.html
<%@page buffer="none" session="false"
import="org.opencms.i18n.*,org.opencms.frontend.templateone.form.*,
java.util.*" %><%
// initialize the form handler
CmsFormHandler cms = new CmsFormHandler(pageContext, request, response);
// get the localized messages to create the form
CmsMessages messages = cms.getMessages();
It appears that CmsMessage has no bundle and is not initialized
(isInitialized() returns false).
Our code, templates and the OpenCms pakages are the same on both
install.
Our configuration(s) :
- OpenCms 6.0.4,
- Tomcat 4 on Windows or JBoss 3.2.7 on Suse 9
- JDK 1.4.2
Best regards,
Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060823/d08d0a43/attachment.htm>
More information about the opencms-dev
mailing list