I am pretty new at this, but running the B5 on a Windows 2008 R2 (64 bit) box without customizing the conf files with Java JDK 1.7 51b13 as administrator seems to work just fine.
The test the port 25 using telnet on the localhost works - I was also able to configure another computer (same domain) to use Outlook Express to connect and send between two users in IMAP using SMTP - To see if I could reproduce the error at all, I tried turning on the firewall, running as an administrator (but using regular command prompt) and also removing my primary DNS server. Nothing seems to reproduce the error. Kind Regards, Aleksei On 26 February 2014 12:28, Juan Larriba <j...@jlarriba.es> wrote: > I have had Jamesv3b5 running for months and I have no "spool" table on my > database. > > El 2014-02-26 17:42, Jerry M escribió: > > Shouldn't there be a 'spool' table in the database for v3? I am >> totally grasping at straws on this now just trying to see if I can >> find anything obvious. I took at look at the database that JAMES 3 >> built. It created user tables, tables for imap mail and indexes, etc. >> But there is no SPOOL table. That's kinda curious to me. I don't >> know how the JAMES architecture has changed from v2. But I would >> think we'd still be needing a spool table. Again, just totally >> guessing... but I'm pretty sure that SMTP needs a place to put the >> inbound email. If no spool table exists, it would seem like that >> would be a really good reason for SMTP to be 'unable to process >> request'. >> >> Questions... should a 'Spool' table exist in the database? And if so, >> when is it supposed to be created, and what could possibly cause it to >> not be created, given it had no problem creating the other tables? >> >> Jerry >> >> >> On 2/26/2014 1:18 AM, Juan Larriba wrote: >> >>> Hi Jerry, >>> >>> you can find the version 3 beta 5 (wich fixes A LOT of bugs from b4) in >>> the snapshots repository: >>> >>> http://repository.apache.org/content/repositories/ >>> snapshots/org/apache/james/james-server-app/3.0.0-beta5- >>> SNAPSHOT/james-server-app-3.0.0-beta5-20140225.070129-369-app.zipPlease, >>> could you test with this new version and tell us back if it worked >>> for you? >>> >>> >>> El 2014-02-26 07:09, Jerry M escribió: >>> >>>> There are 10 errors during startup referencing *.xsd files with a >>>> completely misleading message: MalformedURLException: unknown >>>> protocol: classpath. But it appears the error is simply that the XSDs >>>> don't exist (at least not in the v3-beta4 build I downloaded). But >>>> I'm assuming that these aren't critical errors. But still, if the code >>>> expects the XSDs, why aren't they shipped in the build? I also get a >>>> warning about the AMQPersistenceAdapter ReferenceStore is not valid -- >>>> recovering.... so I assume that isn't critical either. That's with >>>> all of the options in log4j set to DEBUG. These messages do not show >>>> up with the default log4j settings. >>>> >>>> I tried setting JAMES up as a service. I get error messages that it >>>> can't send a start command to the JVM (??). I looked that one up, and >>>> it's been an open bug with JAMES for a couple of years (??). This >>>> confuses me, since I assume SOMEONE is running JAMES 3 as a service >>>> over the span of 2 years. Yet not me.... So I now just use the >>>> run.bat command (BTW... It's on Windows Server 2008). About 3 out of >>>> 4 times when I do run.bat, JAMES immediately exits with "Unexpected >>>> exception parsing.... spring-server.xml". Restart a few more times >>>> and get the same error/abort each time. Then finally one time >>>> randomly it works and starts up. Looked that error up as well. >>>> Yup... been an open bug with JAMES for a couple of years. Also, the >>>> 'source' zip file for beta 3 has been basically empty (1 java file) at >>>> least for 6 months. The beta 5 daily build snapshot folder doesn't >>>> contain any bin.zip files (maybe they are somewhere else, but if so, >>>> there's no indication as to where). I really don't know if somehow any >>>> or all of these startup problems are indirectly causing the JMX/SMTP >>>> exceptions. But those are all startup with immediate abort problems. >>>> Once I can (finally) get it to start each time, there are no critical >>>> errors occurring that I can see during startup time. Just the >>>> critical failure each time I send an SMTP request in. >>>> >>>> Critical bugs that have been open for 2 years; missing files in the >>>> build, empty source zip; missing bin zips in the beta 5 build folders; >>>> the lack of any presence of developers on this mail list.... all of >>>> this is making me wonder if JAMES has been totally abandoned. Is >>>> anyone minding the store at JAMES? Or if you can explain where the >>>> real beta4 source zip and the beta5 bin zips can be found, that would >>>> be great. >>>> >>>> Thx. >>>> >>>> Jerry >>>> . >>>> On 2/25/2014 8:30 PM, Girivaraprasad Nambari wrote: >>>> >>>>> Have you verified james-server.log and other logs just to see if any >>>>> clues >>>>> are logged while starting james? Any unusal activity there >>>>> (WARN/ERROR)? >>>>> >>>>> >>>>> On Tue, Feb 25, 2014 at 9:15 PM, Jerry M <techst...@malcolms.com> >>>>> wrote: >>>>> >>>>> Giri, >>>>>> >>>>>> I have no problem adding users and other commands using the CLI. That >>>>>> works fine. >>>>>> >>>>>> JAMES is running on my hosting company's leased server. I've set up an >>>>>> IMAP mail account on Thunderbird on my laptop. IMAP works fine from >>>>>> my >>>>>> client. I can create folders on the IMAP database from my local >>>>>> Thunderbird. I am trying to send from Thunderbird as well. It fails >>>>>> as we >>>>>> have been discussing. But Thunderbird does put the email note I'm >>>>>> trying >>>>>> to send into the IMAP 'sent' folder. So basically IMAP has zero >>>>>> problems >>>>>> that I can see at this point. Just to reduce the possible variables, >>>>>> I've >>>>>> tried using telneting to the SMTP port from the server itself. As >>>>>> soon as >>>>>> telnet tries to connect, I get an immediate "451 Unable to process >>>>>> request" >>>>>> which is the same message I see in the Wireshark TCP/IP trace when I'm >>>>>> trying to send from Thunderbird on my laptop,. And another exception >>>>>> stack >>>>>> trace appears in the log each time I try to telnet. >>>>>> >>>>>> Regarding JMX, I also was pretty sure that JMX was management. I >>>>>> assumed >>>>>> it might be also used for monitoring. But if it's solely management, >>>>>> that >>>>>> just makes it more confusing why the SMTP server has the need to >>>>>> contact >>>>>> JMX each time an SMTP request comes in. (And either it doesn't do >>>>>> that on >>>>>> IMAP requests, or it's working correctly on IMAP requests). But the >>>>>> main >>>>>> question is what JAMES is trying to do with JMX on an SMTP request. >>>>>> I can >>>>>> only assume that JAMES is trying to talk to JMX at that time since the >>>>>> exception with those JMX references is thrown each time an SMTP >>>>>> request >>>>>> starts. (???) >>>>>> >>>>>> Any ideas why JMX is involved in SMTP processing? >>>>>> >>>>>> Jerry >>>>>> >>>>>> >>>>>> On 2/25/2014 7:27 PM, Girivaraprasad Nambari wrote: >>>>>> >>>>>> *Disclaimer:* I am also new to James (fixing issues after >>>>>>> frustrating days >>>>>>> >>>>>>> of research), so my answers may be wrong too. >>>>>>> >>>>>>> JMX is management API (not really monitoring API) but being used >>>>>>> heavily >>>>>>> in >>>>>>> monitoring applications. My understanding so far is, James using >>>>>>> this api >>>>>>> while creating accounts etc., (I think same API is being executed >>>>>>> while >>>>>>> calling -adduser from jame-cli.bat). This is my guess. >>>>>>> >>>>>>> Were you able to adduser from james-cli.bat? Where is your client & >>>>>>> server? >>>>>>> >>>>>>> Thank you, >>>>>>> Giri >>>>>>> >>>>>>> >>>>>>> On Tue, Feb 25, 2014 at 8:15 PM, Jerry M <techst...@malcolms.com> >>>>>>> wrote: >>>>>>> >>>>>>> Hi Giri, >>>>>>> >>>>>>>> I tried localhost and the IP. No difference. The firewall has >>>>>>>> been off >>>>>>>> since yesterday. I tried rebooting. Again, no change. >>>>>>>> >>>>>>>> I haven't really programmed much with JMX. But it's a management >>>>>>>> and >>>>>>>> monitoring component, right? So why is the SMTP component even >>>>>>>> trying to >>>>>>>> talk to JMX while it is servicing an inbound request? I'm just >>>>>>>> trying to >>>>>>>> figure out what is going on in hopes that it might give me a clue >>>>>>>> as to >>>>>>>> what is wrong. >>>>>>>> >>>>>>>> Thx >>>>>>>> >>>>>>>> >>>>>>>> On 2/25/2014 6:43 PM, Girivaraprasad Nambari wrote: >>>>>>>> >>>>>>>> May be try with localhost instead of IP. This is strongly related >>>>>>>> to IP >>>>>>>> >>>>>>>>> (or) port. >>>>>>>>> >>>>>>>>> If you haven't done yet, restart machine, stop firewall for during >>>>>>>>> testing >>>>>>>>> (I know you said firewall is not an issue, still I will try by >>>>>>>>> stopping >>>>>>>>> firewall). >>>>>>>>> >>>>>>>>> Thank you, >>>>>>>>> Giri >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Feb 25, 2014 at 7:32 PM, Jerry M <techst...@malcolms.com> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Hi Phillip, >>>>>>>>> >>>>>>>>> Thanks for the response and info. My jmx.properties file has >>>>>>>>>> jmx.address=127.0.0.1 port=9999 (unchanged from the default >>>>>>>>>> template). >>>>>>>>>> I >>>>>>>>>> can run the james-cli with no problem. So it looks like the >>>>>>>>>> registry >>>>>>>>>> is >>>>>>>>>> happy with the host ip. >>>>>>>>>> >>>>>>>>>> It's interesting that IMAP works fine, but SMTP does not. I don't >>>>>>>>>> really >>>>>>>>>> know what all JAMES is doing with JMX. But I would expect that >>>>>>>>>> whatever >>>>>>>>>> types of connections it's trying to do on SMTP that it would be >>>>>>>>>> doing >>>>>>>>>> the >>>>>>>>>> same on IMAP. Wouldn't it? >>>>>>>>>> >>>>>>>>>> Thanks again. But no luck with the fix that worked for you. >>>>>>>>>> >>>>>>>>>> Any idea if there are any JAMES developers that monitor this >>>>>>>>>> forum any >>>>>>>>>> more? >>>>>>>>>> >>>>>>>>>> Jerry >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 2/25/2014 5:53 PM, Phillip Odam wrote: >>>>>>>>>> >>>>>>>>>> Hi Jerry >>>>>>>>>> >>>>>>>>>> Your exception below looks similar to one I came across in the >>>>>>>>>>> last >>>>>>>>>>> day >>>>>>>>>>> and resolved. >>>>>>>>>>> >>>>>>>>>>> # using the command ./james-cli.sh -h <private ip> -p 9999 >>>>>>>>>>> listusers >>>>>>>>>>> >>>>>>>>>>> Error connecting to remote JMX agent! >>>>>>>>>>> java.rmi.ConnectException: Connection refused to host: <public >>>>>>>>>>> ip>; >>>>>>>>>>> nested exception is: >>>>>>>>>>> java.net.ConnectException: Connection timed out >>>>>>>>>>> at sun.rmi.transport.tcp.TCPEndpoint.newSocket( >>>>>>>>>>> TCPEndpoint.java:619) >>>>>>>>>>> at sun.rmi.transport.tcp.TCPChannel.createConnection( >>>>>>>>>>> TCPChannel.java:216) >>>>>>>>>>> at sun.rmi.transport.tcp.TCPChannel.newConnection( >>>>>>>>>>> TCPChannel.java:202) >>>>>>>>>>> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129) >>>>>>>>>>> at javax.management.remote.rmi. >>>>>>>>>>> RMIServerImpl_Stub.newClient( >>>>>>>>>>> >>>>>>>>>>> Unknown >>>>>>>>>>> Source) >>>>>>>>>>> >>>>>>>>>>> The issue ended up being nothing to do with james, the RMI >>>>>>>>>>> registry >>>>>>>>>>> was >>>>>>>>>>> doing a lookup on the machines hostname to determine the IP to >>>>>>>>>>> advertise >>>>>>>>>>> for connecting to the JMX server. >>>>>>>>>>> >>>>>>>>>>> To resolve this all I needed to do was make the hostname of the >>>>>>>>>>> machine >>>>>>>>>>> resolve to the private ip of the server (on the server itself) >>>>>>>>>>> and not >>>>>>>>>>> the >>>>>>>>>>> public (since the public ip doesn't allow JMX connections coming >>>>>>>>>>> in). >>>>>>>>>>> Then >>>>>>>>>>> a restart of james picked up the new IP and all resolved... real >>>>>>>>>>> head >>>>>>>>>>> spinner tho as it took quite some time to realise just what was >>>>>>>>>>> going >>>>>>>>>>> on. >>>>>>>>>>> >>>>>>>>>>> Hope this helps in your investigation. Feel free to ask for more >>>>>>>>>>> detail >>>>>>>>>>> as I know I haven't gone into specifics here. >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> Phillip >>>>>>>>>>> >>>>>>>>>>> On 2/24/14, 10:30 PM, Jerry M wrote: >>>>>>>>>>> >>>>>>>>>>> After a very long day, I got James 3 installed and almost up >>>>>>>>>>> and >>>>>>>>>>> >>>>>>>>>>> running. IMAP is working and the database tables were created, >>>>>>>>>>>> etc. >>>>>>>>>>>> But I >>>>>>>>>>>> can't get anything to work on SMTP. With default log levels, i >>>>>>>>>>>> got >>>>>>>>>>>> these >>>>>>>>>>>> log entries: >>>>>>>>>>>> >>>>>>>>>>>> INFO 21:12:13,150 | james.smtpserver | Id='9288089' User='' >>>>>>>>>>>> Connection >>>>>>>>>>>> established from 99.55.143.34 >>>>>>>>>>>> DEBUG 21:12:13,150 | james.smtpserver | Id='9288089' User='' >>>>>>>>>>>> Unable >>>>>>>>>>>> to >>>>>>>>>>>> process request >>>>>>>>>>>> INFO 21:12:13,166 | james.smtpserver | Id='9288089' User='' >>>>>>>>>>>> Connection >>>>>>>>>>>> closed for 99.55.143.34 >>>>>>>>>>>> >>>>>>>>>>>> I turned on debug level in all of the logs. And it showed an >>>>>>>>>>>> exception >>>>>>>>>>>> stack dump as well: >>>>>>>>>>>> >>>>>>>>>>>> java.rmi.ConnectException: Connection refused to host: >>>>>>>>>>>> 64.34.163.186; >>>>>>>>>>>> nested exception is: >>>>>>>>>>>> java.net.ConnectException: Connection refused: >>>>>>>>>>>> connect >>>>>>>>>>>> at sun.rmi.transport.tcp.TCPEndpoint.newSocket( >>>>>>>>>>>> TCPEndpoint.java:619) >>>>>>>>>>>> at sun.rmi.transport.tcp. >>>>>>>>>>>> TCPChannel.createConnection( >>>>>>>>>>>> TCPChannel.java:216) >>>>>>>>>>>> at sun.rmi.transport.tcp.TCPChannel.newConnection( >>>>>>>>>>>> TCPChannel.java:202) >>>>>>>>>>>> at sun.rmi.server.UnicastRef. >>>>>>>>>>>> newCall(UnicastRef.java:340) >>>>>>>>>>>> at sun.rmi.registry.RegistryImpl_Stub.list(Unknown >>>>>>>>>>>> Source) >>>>>>>>>>>> >>>>>>>>>>>> I have reviewed all of my configuration settings. I'm sure I'm >>>>>>>>>>>> doing >>>>>>>>>>>> something wrong. But this exception message tells me very >>>>>>>>>>>> little >>>>>>>>>>>> other >>>>>>>>>>>> than it is refused. I'm pretty sure it's not a firewall >>>>>>>>>>>> issue. I >>>>>>>>>>>> can get >>>>>>>>>>>> through to port 25 as indicated that log entries appear. It >>>>>>>>>>>> fails >>>>>>>>>>>> when >>>>>>>>>>>> running telnet from my local client as well as running telnet >>>>>>>>>>>> on the >>>>>>>>>>>> server. And since it appears to be at the TCPIP connection >>>>>>>>>>>> level, I >>>>>>>>>>>> don't >>>>>>>>>>>> think it has anything to do with SMTP authorization. >>>>>>>>>>>> >>>>>>>>>>>> I had an earlier post about mixing v2 and v3 instances on the >>>>>>>>>>>> same >>>>>>>>>>>> server. I am doing that. But v2 is configured to listen only >>>>>>>>>>>> on one >>>>>>>>>>>> IP >>>>>>>>>>>> address, and v3 is configured to listen on a separate IP >>>>>>>>>>>> address (as >>>>>>>>>>>> far as >>>>>>>>>>>> I can tell...) v2 is still running fine. I've checked to >>>>>>>>>>>> configurations >>>>>>>>>>>> of both. But that doesn't mean I didn't miss something. >>>>>>>>>>>> >>>>>>>>>>>> Can someone explain the problem or give me something else i can >>>>>>>>>>>> look >>>>>>>>>>>> at >>>>>>>>>>>> that might indicate the problem? >>>>>>>>>>>> >>>>>>>>>>>> Thanks. >>>>>>>>>>>> >>>>>>>>>>>> Jerry >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------ >>>>>>>>>>>> --------- >>>>>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james. >>>>>>>>>>>> apache.org >>>>>>>>>>>> For additional commands, e-mail: server-user-help@james.apache. >>>>>>>>>>>> org >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------ >>>>>>>>>>>> --------- >>>>>>>>>>>> >>>>>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james. >>>>>>>>>>> apache.org >>>>>>>>>>> For additional commands, e-mail: server-user-help@james.apache. >>>>>>>>>>> org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ----- >>>>>>>>>>> No virus found in this message. >>>>>>>>>>> Checked by AVG - www.avg.com >>>>>>>>>>> Version: 2014.0.4335 / Virus Database: 3705/7124 - Release Date: >>>>>>>>>>> 02/25/14 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------ >>>>>>>>>>> --------- >>>>>>>>>>> >>>>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james. >>>>>>>>>> apache.org >>>>>>>>>> For additional commands, e-mail: server-user-help@james.apache. >>>>>>>>>> org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ----- >>>>>>>>>> >>>>>>>>> No virus found in this message. >>>>>>>>> Checked by AVG - www.avg.com >>>>>>>>> Version: 2014.0.4335 / Virus Database: 3705/7124 - Release Date: >>>>>>>>> 02/25/14 >>>>>>>>> >>>>>>>>> >>>>>>>>> --------------------------------------------------------------------- >>>>>>>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>>>>>>> For additional commands, e-mail: server-user-h...@james.apache.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ----- >>>>>>> No virus found in this message. >>>>>>> Checked by AVG - www.avg.com >>>>>>> Version: 2014.0.4335 / Virus Database: 3705/7124 - Release Date: >>>>>>> 02/25/14 >>>>>>> >>>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>>>>> For additional commands, e-mail: server-user-h...@james.apache.org >>>>>> >>>>>> >>>>>> >>>>> >>>>> ----- >>>>> No virus found in this message. >>>>> Checked by AVG - www.avg.com >>>>> Version: 2014.0.4335 / Virus Database: 3705/7124 - Release Date: >>>>> 02/25/14 >>>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>>> For additional commands, e-mail: server-user-h...@james.apache.org >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>> For additional commands, e-mail: server-user-h...@james.apache.org >>> >>> >>> >>> ----- >>> No virus found in this message. >>> Checked by AVG - www.avg.com >>> Version: 2014.0.4335 / Virus Database: 3705/7126 - Release Date: 02/26/14 >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >> For additional commands, e-mail: server-user-h...@james.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org > For additional commands, e-mail: server-user-h...@james.apache.org > >