1 Reply Latest reply on Aug 18, 2004 10:08 PM by dukehoops

    LocalStrings resource not found in jboss 4.0 rc1

      Hi,

      I've deployed a simple distributed .war which has only one jsp page. that page prints out a view counter and session id. whenever this war is deployed at start-up i get the following message:

      Can't find resource org.jboss.web.tomcat.session.LocalStrings org.jboss.web.tomcat.tc5.WebCtxLoader$ENCLoader@2fe032

      as the result, the session id prints out incorrectly (some characters are '*').

      Curiously, when a similar jsp page is placed inside jbossweb-tomcat50.sarall/deploy/jbossweb-tomcat50.sar/ROOT.war
      there are no localStrings problems and session id displays correctly. What am I missing?

      my setup:
      jboss 4.0 rc1
      jds 1 (suse linux. 2.4.21 kernel)
      java version "1.4.2_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

      thanks
      -nikita

        • 1. Re: LocalStrings resource not found in jboss 4.0 rc1

          update:

          ok seems like copying LocalStrings.properties from a tomcat50-service.jar file in jbossweb-tomcat50.sar and adding it to my .war eliminated "resource not found". note, that i had to create a org.jboss.web.tomcat.session package in my war and place LocalStrings there. Please note that package name in tomcat50-service.jar file was:


          org.jboss.web.tomcat.t5.session, whereas the error message stated WebCtxLoader was looking for:

          org.jboss.web.tomcat.session.LocalStrings

          Is this a bug? Is WebCtxLoader looking for the wrong package?

          BUT, my session id strings still look garbled:
          Session id: TtqqbaYACnRLlEjufUS8-A**.node1

          any suggestions?

          -nikita