10 Replies Latest reply on Jan 2, 2005 6:00 PM by Andrew Oliver

    Please help test M2-preview1

    Andrew Oliver Master

      I need some help testing a new installation feature for M2.

      To help:

      0. You must have ANT and the JDK as well as JBoss 3.2.6+ or 4.0+ (3.2.4+ should work but each release should target the latest for now)
      1. download: http://www.jboss.org/wiki/attach?page=MailServicesMilestoneReleases%2Fjboss-mail-1.0.M2pre1.tar.gz
      2. (optional) set JBOSS_HOME to your jboss directory
      3. unarchive (tar -xzf ... or winzip should work) and cd to the mail install pack
      4. ant gui-install
      5. cd $JBOSS_HOME;
      6. bin/run.sh (or bat)

      Then give feedback on:

      0. How hard was it to follow the directions?
      1. How easy was it to follow the directions?
      2. Did the installation process result in a runnable instance?
      3. What would have made it easier to follow?

      Please exclude from your feedback:

      0. Complaints on the cosmetics of the screens (I realize the layout is a bit messed up and they don't always appear the correct size).
      1. Discussion on whether this distribution should require source compilation - The release candidate won't.

      Help requested:

      0. Assistence with making cheese's layouts/sizing work better.
      a. from JBoss/Sourceforge CVS, checkout cheese module
      1. Other database setups
      2. Datasource setup wizard

      Thanks!

      -Andy

        • 1. Re: Please help test M2-preview1
          Heiko Rupp Master

          Andy,
          results for me with a JDK1.5

          - compile fails when no JBOSS_HOME is given:

          D:\tmp\jboss-mail>ant gui-install
          Buildfile: build.xml
          
          clean:
          
          prepare:
           [echo] jbhome=${env.JBOSS_HOME}
           [mkdir] Created dir: D:\tmp\jboss-mail\build
           [mkdir] Created dir: D:\tmp\jboss-mail\build\classes
           [mkdir] Created dir: D:\tmp\jboss-mail\build\test\classes
           [mkdir] Created dir: D:\tmp\jboss-mail\build\lib
           [mkdir] Created dir: D:\tmp\jboss-mail\build\deploy
          
          compile:
           [echo] sourcedir = D:\tmp\jboss-mail/src
           [echo] sourcejavadir = D:\tmp\jboss-mail/src/java
           [javac] Compiling 185 source files to D:\tmp\jboss-mail\build\classes
          
          BUILD FAILED
          file:D:/tmp/jboss-mail/build.xml:302: D:\tmp\jboss-mail\${env.JBOSS_HOME}\lib no
          t found.



          After setting JBOSS_HOME, build fails in main:

          main:
           [jar] Building jar: D:\tmp\jboss-mail\build\mail.jar
           [jar] Building jar: D:\tmp\jboss-mail\build\deploy\mail.sar
          
          BUILD FAILED
          file:D:/tmp/jboss-mail/build.xml:340: The <ejbjar> task doesn't support the "cmp
          version" attribute.
          

          This seems to be a problem with not having ant 1.6, but 1.5. Unfortunately, your request did not specify ant 1.6.

          Installed ant 1.6.2 .. restart ... JBOSS_HOME still needed (as expected).

          Build runs fine and the installer is shown.

          0: no problem
          1: easy
          2: yes. JBmail is listening on ports 25 and 110 as requested ( I did not want to use ssl), smtp dialog is working.
          3: It was irritating for me that the installer asks what DB I want to use but doesn't give me directions on what I should do ater I have choosen 'other'.

          Hope that helps.

          Heiko


          • 2. Re: Please help test M2-preview1
            Heiko Rupp Master

            Ah, wrt 3: the installer should perhaps ask for the ip of a dns server to use.
            But the installer is good work!

            • 3. Re: Please help test M2-preview1
              Andrew Oliver Master

              Explain, did DNS not work for you? Right now we use the default route. There is provision to add them in DNS sender but we never implemented the setDNSServers method....

              • 4. Re: Please help test M2-preview1
                Heiko Rupp Master

                Probably it is just my ignorance. I startet JBmail and tried the mxLookup() method in the jboss.mail:name=SMTPSender,type=MailServices MBean with a domain that I can lookup from command line via 'nslookup do.main mx'.

                The result is

                Caused by: java.lang.RuntimeException: Could not resolve DNS lookup
                 at org.jboss.mail.smtp.sender.SMTPSender.performMXLookup(SMTPSender.java
                :170)
                 at org.jboss.mail.smtp.sender.SMTPSender.mxLookup(SMTPSender.java:123)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                sorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:324)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:141)
                 ... 44 more
                Caused by: java.net.SocketTimeoutException: Receive timed out
                 at java.net.PlainDatagramSocketImpl.receive(Native Method)
                 at java.net.DatagramSocket.receive(DatagramSocket.java:711)
                 at org.xbill.DNS.SimpleResolver.readUDP(SimpleResolver.java:126)
                 at org.xbill.DNS.SimpleResolver.send(SimpleResolver.java:261)
                 at org.xbill.DNS.ExtendedResolver$Resolution.start(ExtendedResolver.java
                :83)
                 at org.xbill.DNS.ExtendedResolver.send(ExtendedResolver.java:345)
                 at org.jboss.mail.smtp.sender.SMTPSender.performMXLookup(SMTPSender.java
                :168)


                When writing "using the default route .." you mean that you add the ip-default-gateway as dns server? From past experience this is very often not true in professional environements.

                Heiko



                P.S.: In the installer at the point to choose the jboss -config could read the directory JBHome/server/ and display the found configurations in a drop down list. This reduces the possibility of typos.

                • 5. Re: Please help test M2-preview1
                  Heiko Rupp Master

                  Ah, what I constantly forget: this is on win2k with IP/DNS obtained over DHCP. But I know that the default GW is not able to serve DNS requests.

                  • 6. Re: Please help test M2-preview1
                    Andrew Oliver Master

                    so try sending me a mail (acoliver at jboss dot org) from your local JBMail server... If it doesn't work I want to make sure we add that.

                    • 7. Re: Please help test M2-preview1
                      Andrew Oliver Master

                      ahh just saw your next message. Okay I'll add the DNS servers specification stuff. There are many things about M2 that aren't what will be so in Final. Its just picking whats important. This is obviously important enough to make the release.

                      • 8. Re: Please help test M2-preview1
                        Andrew Oliver Master

                        Okay so I've been forced to use JIRA (though I hate it) so here is the issue for the DNS thing: http://jira.jboss.com/jira/browse/JBMAIL-2

                        • 9. Re: Please help test M2-preview1
                          Andrew Oliver Master

                          JIRA RFE for tracking the requested combo/list feature for possible configs. (Its M3 stuff not M2) http://jira.jboss.com/jira/browse/JBMAIL-4. There is a corresponding RFE presently logged for JBMail's build that is really for Cheese (but we don't have a project/module for Cheese and at present I'm not sure if there is enough interest in Cheese to warrant its own project). The Cheese issue is http://jira.jboss.com/jira/browse/JBMAIL-3 and it is basically the underlying support needed to implement 4 in JBMail M3.