10 Replies Latest reply on May 7, 2005 3:17 PM by acoliver

    Help...

      Okay, I'm probably being an idiot here but...

      Where are the config docs?

      When I go to the Wiki on how to add a user there's only a .zip file with a Win32 .exe file in there that looks to be an IM tool. Joy...

      Do I
      1 - add users in the jboss-service.xml file or do I
      2 - add users in the mail-service.xml file or
      3 - is there an HSQLDB that I add users to or
      4 - do I need MySQL installed to add users

      Do I need to modify mail-service.xml to set up the mail domains?

      Do I need to be using some other sort of domains for managing the mail users?

      Can there be more than one user specified in mail-service.xml or is that file deprecated in lieu of something else?

      I can get into the server via telnet but I have no idea of what commands are valid from the telnet interface.

      Help!

      rjsjr

        • 1. Re: Help...

          More info...

          I can telnet to my mail server.

          I have added two domains to


          I am attempting to connect with Outlook using POP3 and SMTP

          Outlook can find the POP and SMTP servers.

          My server.log file does not show any requests from Outlook but it does show the connections from telnet on port 110.

          Do I need to change the servername in:


          I am running JBoss 4.0.1sp1 on Linux w/ Java 1.4.2_08.

          And I'm kinda lost now. I *think* it's working but I can't prove it :)

          rjsjr

          • 2. Re: Help...

            Have a look at:

            http://wiki.jboss.org/wiki/Wiki.jsp?page=MailServicesInstallingM2

            It has some information for configuring users and domains. To test I normally try to send a mail to myself.

            • 3. Re: Help...

              First, I got the latest out of CVS ran "ant" to build and then "ant dev-deploy" to deploy. I edited the list of users as follows and then re-started JBoss to make sure that the changes took.

              <mbean code="org.jboss.mail.userrepository.StaticUserRepository" name="jboss.mail:type=MailServices,name=UserRepository,uimanageable=true">
              <attribute name="Users">
              <users>
               <user><id>wobbet</id><password>pwd</password></user>
              </users>
              </attribute>
              </mbean>


              I then telnet in and try to get into email using the telnet instructions from http://www.yuki-onna.co.uk/email/smtp.html. The response from the server is identical whether I'm using telnet from the machine itself or from a remote machine (WinXP Pro SP2 running Putty).

              My session looks like...

              220 localhost.localdomain.com SMTP Server (JBMAIL SMTP Server version 0.1) ready May 3, 2005 12:05:10 PM CDT

              500 localhost.localdomain.com Syntax error, command unrecognized: ￿￿
              HELO localhost.localdomain.com
              250-localhost.localdomain.com Hello wobbet-lap-01.nls.nlsholdings.com.localdomain.com (10.10.1.147 (10.10.1.147))
              250 AUTH LOGIN PLAIN
              MAIL FROM: wobbet
              501 Syntax error in MAIL command


              After I try this a couple of times I decide to go ahead and say

              RCPT TO: wobbet@mydomain.com

              And I get the 503 error saying RCPT w/o MAIL.

              After some (seemingly random) period of time the session just goes away. This corresponds with the "ConnectionHandler finished" log entry being generated.

              I have my log file set to DEBUG for the most information and I get the following in the log file from my telnet session.

              2005-05-03 11:54:21,322 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting HELO wobbet-lap-01.nls.nlsholdings.com.localdomain.com^M
              2005-05-03 11:54:21,323 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
              2005-05-03 11:54:21,323 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = HELO
              2005-05-03 11:54:21,323 DEBUG [org.jboss.mail.smtp.handlers.CmdHELO] HELO command handler called
              2005-05-03 11:54:41,365 INFO [STDOUT] socketOverride is null therefore I'm going to return false
              2005-05-03 11:58:27,688 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting MAIL FROM: wobbet^M
              2005-05-03 11:58:27,688 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
              2005-05-03 11:58:27,689 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = MAIL
              2005-05-03 11:58:27,689 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] MAIL command handler called
              2005-05-03 11:58:27,689 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg = FROM: wobbet
              2005-05-03 11:58:27,690 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg wasn't null
              2005-05-03 11:58:27,690 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] colonIndex=4
              2005-05-03 11:58:27,690 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] sender= wobbet
              2005-05-03 11:58:27,690 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg=FROM
              2005-05-03 11:58:27,690 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] Sender= wobbet **arg = FROM
              2005-05-03 11:58:27,691 INFO [STDOUT] socketOverride is null therefore I'm going to return false
              2005-05-03 11:58:27,744 DEBUG [org.jboss.mail.ConnectionHandler] ConnectionHandler finished


              Whenever I attempt to connect w/ Outlook using the 'wobbet' mailbox I get nothing in the log whatsoever even though Outlook reports that it can find both the SMTP and POP servers specified. Note that I'm specifying the server by IP Address because it doesn't currently sport a name.

              The instructions referenced from http://wiki.jboss.org/wiki/Wiki.jsp?page=MailServicesInstallingM2 don't have much in the way of configuring domains or users and I think I'm using them properly. I left the domains alone and added myself as a user. What else do I need to do?

              So I'm pretty sure that I've mis-configured something and/or am not being clueful about how to connect to the mail server. But I don't know what it is that is wrong.

              Many thanks!

              rjsjr

              • 4. Re: Help...

                Hi,

                The instructions on that site are incorrect. Try:

                > HELO localhost.localdomain.com

                > MAIL FROM:<wobbet@localhost.localdomain.com>

                > RCPT TO:<wobbet@localhost.localdomain.com>

                > DATA

                > Some random noise
                >
                > .
                >

                The empty lines after the data section are important. Also try sending a mail to yourself via Outlook.

                Mike.

                • 5. Re: Help...

                  Also download putty and use that rather than the MS telnet for testing.

                  Mike.

                  • 6. Re: Help...

                    Okay, that helped a bit...

                    Some quick notes...

                    1 - I *am* using Putty as my telnet, not the Win32 telnet. The only time I use a CLI telnet is if I'm on the Linux machine hosting the app.

                    2 - I *tried* to use Outlook to connect to the mailserver but Outlook refuses to connect. I'm trying to figure out why. Do I need to reconfigure my domains? What needs to happen?

                    So when I now go into telnet using the instructions given I am theoretically able to send email but when I check the mailbox using the LISt command there is nothing in there. It could be that I'm not sending properly for whatever reason. Here's my JBoss log for info on the sending and the receiving including a SQLException when trying to check mail that indicates that my mail store hasn't been setup.

                    Do I need to do something to change the mail store? I do *not* have mySQL installed on that machine. I *do* have PostgreSQL installed. Is there something that I need to do to get the store configured?

                    Thanks!

                    rjsjr

                    2005-05-04 16:16:02,671 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] colonIndex=4
                    2005-05-04 16:16:02,671 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] sender=<wobbet@localhost.localdomain.com>
                    2005-05-04 16:16:02,672 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg=FROM
                    2005-05-04 16:16:02,672 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] Sender= <wobbet@localhost.localdomain.com> **arg = FROM
                    2005-05-04 16:16:02,672 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:16:10,172 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting RCPT TO:<wobbet@localhost.localdomain.com>^M
                    2005-05-04 16:16:10,173 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:16:10,173 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = RCPT
                    2005-05-04 16:16:10,173 DEBUG [org.jboss.mail.smtp.handlers.CmdRCPT] RCPT command handler called
                    2005-05-04 16:16:10,174 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HANDLE AUTH
                    2005-05-04 16:16:10,175 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:16:33,729 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting RSET^M
                    2005-05-04 16:16:33,730 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:16:33,730 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = RSET
                    2005-05-04 16:16:33,730 DEBUG [org.jboss.mail.smtp.handlers.CmdRSET] RSET command handler called
                    2005-05-04 16:16:33,731 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:16:33,795 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting MAIL FROM:<wobbet@localhost.localdomain.com>^M
                    2005-05-04 16:16:33,795 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:16:33,795 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = MAIL
                    2005-05-04 16:16:33,796 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] MAIL command handler called
                    2005-05-04 16:16:33,796 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg = FROM:<wobbet@localhost.localdomain.com>
                    2005-05-04 16:16:33,796 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg wasn't null
                    2005-05-04 16:16:33,797 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] colonIndex=4
                    2005-05-04 16:16:33,797 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] sender=<wobbet@localhost.localdomain.com>
                    2005-05-04 16:16:33,797 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg=FROM
                    2005-05-04 16:16:33,797 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] Sender= <wobbet@localhost.localdomain.com> **arg = FROM
                    2005-05-04 16:16:33,798 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:16:33,855 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting RCPT TO:<wobbet@localhost.localdomain.com>^M
                    2005-05-04 16:16:33,855 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:16:33,855 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = RCPT
                    2005-05-04 16:16:33,856 DEBUG [org.jboss.mail.smtp.handlers.CmdRCPT] RCPT command handler called
                    2005-05-04 16:16:33,857 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HANDLE AUTH
                    2005-05-04 16:16:33,857 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:16:33,914 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting DATA^M
                    2005-05-04 16:16:33,914 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:16:33,915 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = DATA
                    2005-05-04 16:16:33,730 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = RSET
                    2005-05-04 16:16:33,730 DEBUG [org.jboss.mail.smtp.handlers.CmdRSET] RSET command handler called
                    2005-05-04 16:16:33,731 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:16:33,795 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting MAIL FROM:<wobbet@localhost.localdomain.com>^M
                    2005-05-04 16:16:33,795 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:16:33,795 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = MAIL
                    2005-05-04 16:16:33,796 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] MAIL command handler called
                    2005-05-04 16:16:33,796 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg = FROM:<wobbet@localhost.localdomain.com>
                    2005-05-04 16:16:33,796 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg wasn't null
                    2005-05-04 16:16:33,797 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] colonIndex=4
                    2005-05-04 16:16:33,797 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] sender=<wobbet@localhost.localdomain.com>
                    2005-05-04 16:16:33,797 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] arg=FROM
                    2005-05-04 16:16:33,797 DEBUG [org.jboss.mail.smtp.handlers.CmdMAIL] Sender= <wobbet@localhost.localdomain.com> **arg = FROM
                    2005-05-04 16:16:33,798 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:16:33,855 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting RCPT TO:<wobbet@localhost.localdomain.com>^M
                    2005-05-04 16:16:33,855 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:16:33,855 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = RCPT
                    2005-05-04 16:16:33,856 DEBUG [org.jboss.mail.smtp.handlers.CmdRCPT] RCPT command handler called
                    2005-05-04 16:16:33,857 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HANDLE AUTH
                    2005-05-04 16:16:33,857 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:16:33,914 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting DATA^M
                    2005-05-04 16:16:33,914 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:16:33,915 DEBUG [org.jboss.mail.smtp.SMTPProtocolInstance] HandleRequest called with command = DATA
                    2005-05-04 16:16:33,915 DEBUG [org.jboss.mail.smtp.handlers.CmdDATA] DATA command handler called
                    2005-05-04 16:16:33,924 DEBUG [org.jboss.mail.message.Mail] MAIL constructor called
                    2005-05-04 16:16:33,978 INFO [org.jboss.mail.message.Mail] all headers after loading: MailHeadersImpl (5): [hdr(Received = 'Received: from wobbet-lap-01.nls.nlsholdings.com.localdomain.com (10.10.1.147 10.10.1.147) by localhost.localdomain.com/JBossMail 1.0M3 (192.168.69.17)^M
                     with SMTP id 1115241393962582.6855980296583; Wed, 4 May 2005 16:16:33 -0500 (CDT)'), hdr(random noise = 'random noise'), hdr(more random noise = 'more random noise'), hdr(Content-Type = 'Content-Type: text/plain; charset=us-ascii'), hdr(Content-Transfer-Encoding = 'Content-Transfer-Encoding: 8bit')]
                    2005-05-04 16:17:08,817 INFO [org.jboss.mail.Server] Got request
                    2005-05-04 16:17:08,819 INFO [org.jboss.mail.Server] waiting for request
                    2005-05-04 16:17:10,538 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting ￿<fffb>^_￿<fffb> ￿<fffb>^X￿<fff<fffb>^C￿�
                    2005-05-04 16:17:10,538 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] Got commandString: ï¿¿<fffb>^_ï¿¿<fffb> ï¿¿<fffb>^Xï¿ï¿¿ï¿½^Aï¿¿<fffb>^C
                    2005-05-04 16:17:10,539 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:17:10,539 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] HandleRequest called with command = ï¿¿<fffb>^_ï¿¿<fffb> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    2005-05-04 16:17:10,545 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:17:18,461 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting HELO localhost.localdomain.com^M
                    2005-05-04 16:17:18,462 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:17:18,462 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] HandleRequest called with command = HELO
                    2005-05-04 16:17:18,463 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:18:05,879 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting USER wobbet^M
                    2005-05-04 16:18:05,879 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] Got commandString: USER wobbet^M
                    2005-05-04 16:18:05,880 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:18:05,880 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] HandleRequest called with command = USER
                    2005-05-04 16:18:05,880 DEBUG [org.jboss.mail.pop3.handlers.CmdUSER] USER command handler called
                    2005-05-04 16:18:05,882 WARN [org.jboss.mail.pop3.handlers.CmdUSER] pop username set to wobbet
                    2005-05-04 16:18:05,883 INFO [STDOUT] socketOverride is null therefore I'm going to return false
                    2005-05-04 16:18:34,926 DEBUG [org.jboss.mail.AbstractProtocol] ReadCommand outputting PASS testpass^M
                    2005-05-04 16:18:34,926 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] Got commandString: PASS testpass^M
                    2005-05-04 16:18:34,927 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] HandleRequest called with request = false
                    2005-05-04 16:18:34,927 DEBUG [org.jboss.mail.pop3.POP3ProtocolInstance] HandleRequest called with command = PASS
                    2005-05-04 16:18:34,927 DEBUG [org.jboss.mail.pop3.handlers.CmdPASS] PASS command handler called
                    2005-05-04 16:18:34,945 WARN [org.jboss.mail.mailbox.entity.EntityFolder] folder requested for Entityfolder=wobbet
                    2005-05-04 16:18:35,163 DEBUG [org.jboss.mail.mailbox.entity.message.MessageBean] MessageBean Entity EJB Created.
                    2005-05-04 16:18:35,189 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.EntityMessage#findByFolderName] Executing SQL: SELECT t0_a.id, t0_a.folderName, t0_a.headers, t0_a.body, t0_a.bodyType, t0_a.storeId FROM ENTITYMESSAGE t0_a WHERE (t0_a.folderName = ?)
                    2005-05-04 16:18:35,200 WARN [org.jboss.resource.security.ConfiguredIdentityLoginModule] Creating LoginModule with no configured password!
                    2005-05-04 16:18:35,214 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.EntityMessage#findByFolderName] Find failed
                    java.sql.SQLException: Column not found: T0_A.BODYTYPE in statement [SELECT t0_a.id, t0_a.folderName, t0_a.headers, t0_a.body, t0_a.bodyType, t0_a.storeId FROM ENTITYMESSAGE t0_a WHERE (t0_a.folderName = ?)]
                     at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown Source)
                     at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
                     at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
                     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:355)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:205)
                     at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:190)
                     at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:128)
                     at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:40)
                     at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:598)
                     at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:322)
                     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:321)
                    
                    
                    


                    • 7. Re: Help...

                      Okay, this is really odd...

                      I have Ciphire installed on my machine. So far it hasn't caused me any issues and often provides useful information. I think it is doing so right now.

                      When I telnet into port 25 and run through the mail sending process I eventually get a Ciphire dialog up that says that I'm trying to send a mail that has no to, from, subject or body. That's kind of odd because I *did* specify a to, from and body.

                      So I want to try something else and I telnet into my linux box that is hosting JBoss. From there I say
                      telnet 192.168.69.17 25

                      and run through the process of sending mail. I fully expect that since I'm doing the telnet via the Linux box that Ciphire won't activate. I'm wrong. I get the same result.

                      Begin showing my ignorance here...

                      That implies to me that my client machine is the one trying to send the email even though I'm directly connected to the mail server via telnet. Is this expected behavior?

                      This is a machine that I only have SSH access to. Do I need to do something different?

                      And another odd thing. When I first tried to telnet from the machine to itself I specified "localhost" instead of its IP Address. It said it couldn't find localhost. That doesn't seem quite right. Is that information of any use?

                      When I try to ping an outside server I don't even get name resolution. That implies that the DNS is screwed up somehow. Is that going to cause issues?

                      rjsjr

                      • 8. Re: Help...

                        Have you upgraded from M2 to HEAD? If so you will need to remove the JBoss Mail database tables. The default configuration from HEAD will use JBoss's internal HSQL database. If it is a non-production machine the simpliest way is to shutdown JBoss and delete the $JBOSS_HOME/server/default/data directory, then restart. I.e. the DB schema has changed from M2 to HEAD and the tables need to be rebuilt. That is why you are seeing the exceptions in the log file.

                        • 9. Re: Help...

                          So I go and delete server/default/data as explained above.

                          My telnet session goes as normal except when I get to the point where I hit the blank line, '.', blank line my Ciphire dialog pops up and says that there was an SMTP failure. I'm thinking that this is sub-optimal at best.

                          But, when I close down the telnet session (still using Putty by the way) I get another Ciphire dialog up saying "There is a message to be sent do you want to send it now, later or delete it?" Hey, this is new! I say "Now". Nothing happens so I'm guessing that it didn't work but I check anyway.

                          I telnet to port 110 to check the POP email and when I use the LIST command there's actually a message there! I read the message and it is the one I just sent!

                          WOW! IT WORKED! WOOOOOT!

                          So I go into Outlook and try to connect with Outlook. Once again Outlook can find both the POP and SMTP servers but it cannot connect. So I do a quick scan and realize that I'm a dufus and typed in the wrong IP address for the server and test again. All tests pass!

                          It looks like I now have a mail server up and running. That last tip for the HSQL tables was the winner.

                          Many, many thanks.

                          Now I'm off to start a new thread with other config questions to prevent clutter here.

                          rjsjr

                          • 10. Re: Help...
                            acoliver

                            We really should get some postgresql setup template for the gui installer