1 Reply Latest reply on Oct 23, 2002 9:35 AM by alagna

    problems with struts + tomcat + jboss 3

    alagna

      I'm using jboss 3.0.3 with tomcat 1.1.14 and struts 1.0.1.

      I developed a very basic struts application with the following structure:

      strutShop.war
      index.JSP
      WEB-INF\
      struts-*.tld
      web.xml
      struts-config.xml
      classes\
      ApplicationResources.properties
      lib\
      struts.jar

      I deployed the strutShop.war dir into ${JBOSS_HOME}/server/default/deploy


      index.JSP is
      --------------------------
      <%@ page language="java" %>
      <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
      <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
      <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
      <html:html locale="true">

      <html:base/>

      <bean:message key="index.title"/>



      <h2>BookView</h2>

      </html:html>

      ApplicationResources.properties is
      --------------------------
      index.title="Home"

      web.xml contains
      --------------------
      <param-name>application</param-name>
      <param-value>ApplicationResources</param-value>


      If I go to http://localhost:8080/strutsShop/index.jsp
      I get the exception org.apache.jasper.JasperException: Missing message for key index.title
      It looks like the properties file cannot be found?
      Where am I wrong?

      If I deploy the same basic application into a standalone installation of tomcat everything works fine
      Please help me: I'm running crazy

      ciao & thanks
      Alberto

        • 1. Re: problems with struts + tomcat + jboss 3
          alagna

          All,

          I also tried to deploy the struts-blank.war into jboss and I got the same exception.

          Then I went back to the jboss 3.0.3 + tomcat 4.0.5 and everything worked fine.

          Do you know of any incompatiblity between struts 1.0.1 and tomcat 4.1.14?
          Please let me know
          ciao & thanks
          Alberto