3 Replies Latest reply on Nov 14, 2008 10:47 AM by wachtda.scsi.gmx.ch

    Messages in

    wachtda.scsi.gmx.ch

      Hello seam users


      Maybe someone of you have a solution for my problem.
      I have a function in which I need to display some messages from my messages bundle.


      This works without any problems as long as I'm in the seam web-context.
      (e.g. I call the function from the view, xhtml sites)


      Now I have the problem, that I need this function from a job (via @Asynchronus QuartzTriggerHandle)
      After a while of testing I found out, that my messages not get loaded any more...


      Example of my messages loading:


      @In
      private Map<String,String> messages;
      messages.get("f_facilityName");




      Does anybody have any suggestions for me?
      Thanks in advance for your help!

        • 1. Re: Messages in

          be more descriptive, these two lines are not enough to find your exact problem.
          can you write your asynchronous method, without looking at it, and other places
          we can't find the solution.


          Have u configured Quartz in Components.xml

          • 2. Re: Messages in

            Have u done the following first!

            - added <async:quartz-dispatcher /> to components.xml
            - copied quartz.jar from jboss\server\default\lib to ear\lib
            - added quartz.jar as a java module to application.xml

            check these things once..
            • 3. Re: Messages in
              wachtda.scsi.gmx.ch

              i had some problems with my jboss tools and deploying...
              with the new jboss tools (beta2) and the same app the messages works now!


              sorry for the waste of time...