7 Replies Latest reply on Oct 24, 2007 5:15 PM by kukeltje

    smtp server configuration

    vishal423

      hi everybody,

      i am new to jboss jbpm. as per user guide 3.2.2, i have configured jbpm.cfg.xml file for smtp settings. but, i am getting error message "Unable to connect to localhost, @ port 25". As per this message it tries to connect to localhost instead of smtp server that i have configured.


      thanks & regards,

      vishal

        • 1. Re: smtp server configuration
          dleerob

          hmmmm....make sure you are editing the correct jbpm.cfg.xml file.
          Just a thought: if you are deploying the jbpm-console from the jbpm-console.war, try renaming the file to jbpm-console.zip, unzipping it, editing the file 'jbpm-console\WEB-INF\classes\jbpm.cfg.xml', and then re-zipping it with that changed file, renaming to back to jbpm-console.war, and deploying that updated .war file.

          • 2. Re: smtp server configuration
            vishal423

            if i follow your guidelines, then jbpm-console application does not work.

            regarding correct jbpm.cfg.xml file, i am editing my current project's file for smtp settings.

            thanks & regards,

            vishal

            • 3. Re: smtp server configuration
              dleerob

              hmm...worked for me when I first started. All you should be doing is updating the jbpm.cfg.xml that is being used in your webapp. Usually, the first time someone runs the jbpm-console, it is from the suppied .war file. So updating the jbpm.cfg.xml in that war file should work.

              • 4. Re: smtp server configuration
                vishal423

                after carefully analysing my application, i noticed that it does not picks up my application's jbpm.cfg.xml file. instead it is picking the default's one.

                So, can anybody tell me, steps required to include my jbpm.cfg.xml file in classpath. I also tried to include it in process archive while deploying using eclipse but it does not work.

                thanks & regards,

                vishal

                • 5. Re: smtp server configuration
                  dleerob

                  Just to finalize this thread....

                  According to your other thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121966 you have sorted out your problem. For those of you wondering, the 2nd post in this thread should work :)

                  • 6. Re: smtp server configuration
                    vishal423

                    ya its right...it works... but is not any other way to do this ;)

                    • 7. Re: smtp server configuration
                      kukeltje

                      Lots of other *JAVA* ways to do it, as long as it is on the classpath via any classloader and 'in front' of the default config.