Sigh, I'm really not having any luck with receiving e-mail. Using JBossAS 4.2.0.GA (with default Hibernate installation), I now get the following problem from Meldware. Since this is a Hibernate error, I'll try upgrading to JBoss 4.2.1.GA and see how I get on.
Cheers, C. 10:37:37,633 INFO [STDOUT] DEBUG: JavaMail version 1.4ea | 10:37:37,633 INFO [STDOUT] DEBUG: java.io.FileNotFoundException: C:\bin\Java\jdk1.6.0_02\jre\lib\javamail.providers (The system cannot find the file specified) | 10:37:37,633 INFO [STDOUT] DEBUG: !anyLoaded | 10:37:37,633 INFO [STDOUT] DEBUG: not loading resource: /META-INF/javamail.providers | 10:37:37,633 INFO [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.providers | 10:37:37,633 INFO [STDOUT] DEBUG: Tables of loaded providers | 10:37:37,633 INFO [STDOUT] DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} | 10:37:37,633 INFO [STDOUT] DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} | 10:37:37,633 INFO [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map | 10:37:37,633 INFO [STDOUT] DEBUG: !anyLoaded | 10:37:37,633 INFO [STDOUT] DEBUG: not loading resource: /META-INF/javamail.address.map | 10:37:37,633 INFO [STDOUT] DEBUG: java.io.FileNotFoundException: C:\bin\Java\jdk1.6.0_02\jre\lib\javamail.address.map (The system cannot find the file specified) | 10:37:37,633 INFO [STDOUT] DEBUG: setDebug: JavaMail version 1.4ea | 10:37:37,633 INFO [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc] | 10:37:37,633 INFO [STDOUT] DEBUG POP3: connecting to host "localhost", port 11011, isSSL false | 10:37:37,633 INFO [ConnectionHandler] connected: /127.0.0.1 to: /127.0.0.1 until: 1187689177633 | 10:37:37,633 INFO [STDOUT] S: +OK POP3 Server (Meldware Mail POP3 Server version 0.7) ready <[EMAIL PROTECTED]> | 10:37:37,633 INFO [STDOUT] C: USER myname | 10:37:37,633 WARN [CmdUSER] pop username set to myname | 10:37:37,633 INFO [STDOUT] S: +OK | 10:37:37,633 INFO [STDOUT] C: PASS mypass | 10:37:37,696 ERROR [CmdPASS] Error getting MailboxMBean: java.lang.IllegalArgumentException: org.hibernate.QueryException: illegal attempt to dereference collection [mailbox0_.id.aliases] with element property reference [name] [from org.buni.meldware.mail.mailbox.Mailbox as mbox join fetch mbox.defaultInFolder where mbox.aliases.name=:alias] | java.lang.IllegalArgumentException: org.hibernate.QueryException: illegal attempt to dereference collection [mailbox0_.id.aliases] with element property reference [name] [from org.buni.meldware.mail.mailbox.Mailbox as mbox join fetch mbox.defaultInFolder where mbox.aliases.name=:alias] | at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:616) | at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:95) | at org.jboss.ejb3.entity.TransactionScopedEntityManager.createQuery(TransactionScopedEntityManager.java:134) | at org.buni.meldware.mail.mailbox.MailboxServiceImpl.org$buni$meldware$mail$mailbox$MailboxServiceImpl$getMailboxByAlias$aop(MailboxServiceImpl.java:134) | at org.buni.meldware.mail.mailbox.MailboxServiceImpl$getMailboxByAlias_2156355474417312895.invokeNext(MailboxServiceImpl$getMailboxByAlias_2156355474417312895.java) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) | at org.buni.meldware.mail.mailbox.MailboxServiceImpl$getMailboxByAlias_2156355474417312895.invokeNext(MailboxServiceImpl$getMailboxByAlias_2156355474417312895.java) | at org.buni.meldware.mail.mailbox.MailboxServiceImpl.getMailboxByAlias(MailboxServiceImpl.java) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) | at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) | at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) | at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) | at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) | at javax.management.StandardMBean.invoke(StandardMBean.java:391) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy77.getMailboxByAlias(Unknown Source) | at org.buni.meldware.mail.pop3.POP3ProtocolInstance.getMailboxForUser(POP3ProtocolInstance.java:345) | at org.buni.meldware.mail.pop3.handlers.CmdPASS.handleRequest(CmdPASS.java:97) | at org.buni.meldware.mail.pop3.POP3ProtocolInstance.handleRequest(POP3ProtocolInstance.java:210) | at org.buni.meldware.mail.ConnectionHandler.runSocket(ConnectionHandler.java:231) | at org.buni.meldware.mail.ConnectionHandler.run(ConnectionHandler.java:100) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Thread.java:619) | Caused by: org.hibernate.QueryException: illegal attempt to dereference collection [mailbox0_.id.aliases] with element property reference [name] [from org.buni.meldware.mail.mailbox.Mailbox as mbox join fetch mbox.defaultInFolder where mbox.aliases.name=:alias] | at org.hibernate.hql.ast.tree.DotNode$1.buildIllegalCollectionDereferenceException(DotNode.java:46) | at org.hibernate.hql.ast.tree.DotNode.checkLhsIsNotCollection(DotNode.java:512) | at org.hibernate.hql.ast.tree.DotNode.resolve(DotNode.java:221) | at org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:94) | at org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:90) | at org.hibernate.hql.ast.HqlSqlWalker.resolve(HqlSqlWalker.java:728) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1216) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4041) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:3525) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1762) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:776) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:577) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229) | at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228) | at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160) | at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111) | at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77) | at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56) | at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72) | at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133) | at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112) | at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623) | at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:92) | ... 28 more | 10:37:37,696 INFO [STDOUT] S: -ERR Service Unavailable | 10:37:37,696 INFO [STDOUT] C: QUIT | 10:37:37,758 INFO [STDOUT] S: +OK null Service closing transmission channel | 10:37:37,758 ERROR [MailActivation] Failed to execute folder check, spec=MailActivationSpec(mailServer=localhost, storeProtocol=pop3, mailFolder=INBOX, pollingInterval=60000, messageSelector=null, userName=myname, maxMessages=1, debug=true) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076174#4076174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076174 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user