MailListManager not installed?
lcoetzee Jun 27, 2006 6:31 AMHi,
I recently decided to try out the Collaboration (btw I am very excited about it). I have checked out the source from CVS (jboss-mail module) which I built against jboss404.GA.
I am running on Linux (with postgresql 8.1). I installed using the install.jar. I created a new install of jboss with the collab stuff in there (I have also created the database instanceas well as db user). I am running as root (and have switched off my other mta agent to allow access to port 25). When starting jboss I can see the tables being created in my db instance. However I get the following message (and don't really know where to look to solve it):
ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.mail:type=MailServices,name=MailListJMSListener State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq.destination:service=Queue,name=maillist jboss.mail:type=MailServices,name=MailListManager ObjectName: jboss.mail:type=MailServices,name=ListDeliveryChain State: CONFIGURED I Depend On: jboss.mail:type=MailServices,name=ListDelivery ObjectName: jboss.mail:type=MailServices,name=ListDelivery State: CONFIGURED I Depend On: jboss.mail:type=MailServices,name=MailListManager jboss.mail:type=MailServices,name=MailListenerChain Depends On Me: jboss.mail:type=MailServices,name=ListDeliveryChain --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.mail:type=MailServices,name=MailListManager State: NOTYETINSTALLED Depends On Me: jboss.mail:type=MailServices,name=MailListJMSListener jboss.mail:type=MailServices,name=ListDelivery
Any suggestions as to what I am missing ?
As another test (with the above error in mind) I tried to access my mailbox using mozilla's Mail client.. when trying to mail a message I see the following in the log file:
12:15:11,924 INFO [Server] Got request 12:15:11,924 INFO [Server] waiting for request 12:15:11,925 INFO [ConnectionHandler] connected: /146.64.28.3 to: /146.64.28.3 until: 1151403431924 12:15:11,980 WARN [CmdUSER] pop username set to lcoetzee 12:15:12,243 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 42601 12:15:12,243 ERROR [JDBCExceptionReporter] ERROR: syntax error at or near "b" 12:15:12,285 INFO [ConnectionHandler] ConnectionHandler finished 12:15:12,285 ERROR [STDERR] Exception in thread "Thread-31" 12:15:12,285 ERROR [STDERR] javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute native bulk manipulation query 12:15:12,285 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:567) 12:15:12,285 ERROR [STDERR] at org.hibernate.ejb.QueryImpl.executeUpdate(QueryImpl.java:46) 12:15:12,286 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl.org$jboss$mail$mailbox$MailboxServiceImpl$fastExpunge$aop(MailboxServiceImpl.java:744) 12:15:12,286 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl.access$3(MailboxServiceImpl.java) 12:15:12,286 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl$fastExpunge_1383726929380080844.invokeNext(MailboxServiceImpl$fastExpunge_1383726929380080844.java) 12:15:12,286 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) 12:15:12,286 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201) 12:15:12,286 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl$fastExpunge_1383726929380080844.invokeNext(MailboxServiceImpl$fastExpunge_1383726929380080844.java) 12:15:12,286 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl.fastExpunge(MailboxServiceImpl.java) 12:15:12,286 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl.org$jboss$mail$mailbox$MailboxServiceImpl$deleteMarked$aop(MailboxServiceImpl.java:490) 12:15:12,287 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl$deleteMarked_N734570016776585460.invokeNext(MailboxServiceImpl$deleteMarked_N734570016776585460.java) 12:15:12,287 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) 12:15:12,287 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275) 12:15:12,287 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl$deleteMarked_N734570016776585460.invokeNext(MailboxServiceImpl$deleteMarked_N734570016776585460.java) 12:15:12,287 ERROR [STDERR] at org.jboss.mail.mailbox.MailboxServiceImpl.deleteMarked(MailboxServiceImpl.java) 12:15:12,287 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 12:15:12,288 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 12:15:12,288 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 12:15:12,288 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 12:15:12,288 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 12:15:12,288 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 12:15:12,289 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) 12:15:12,289 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 12:15:12,289 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 12:15:12,289 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 12:15:12,289 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 12:15:12,290 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 12:15:12,290 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 12:15:12,290 ERROR [STDERR] at $Proxy111.deleteMarked(Unknown Source) 12:15:12,290 ERROR [STDERR] at org.jboss.mail.pop3.POP3ProtocolInstance.deleteMarked(POP3ProtocolInstance.java:427) 12:15:12,290 ERROR [STDERR] at org.jboss.mail.pop3.handlers.CmdQUIT.handleRequest(CmdQUIT.java:66) 12:15:12,291 ERROR [STDERR] at org.jboss.mail.pop3.POP3ProtocolInstance.handleRequest(POP3ProtocolInstance.java:211) 12:15:12,291 ERROR [STDERR] at org.jboss.mail.ConnectionHandler.runSocket(ConnectionHandler.java:205) 12:15:12,291 ERROR [STDERR] at org.jboss.mail.ConnectionHandler.run(ConnectionHandler.java:97) 12:15:12,291 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) 12:15:12,291 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 12:15:12,292 ERROR [STDERR] Caused by: org.hibernate.exception.SQLGrammarException: could not execute native bulk manipulation query 12:15:12,292 ERROR [STDERR] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67) 12:15:12,292 ERROR [STDERR] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) 12:15:12,293 ERROR [STDERR] at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:173) 12:15:12,293 ERROR [STDERR] at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1156) 12:15:12,293 ERROR [STDERR] at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:323) 12:15:12,293 ERROR [STDERR] at org.hibernate.ejb.QueryImpl.executeUpdate(QueryImpl.java:43) 12:15:12,293 ERROR [STDERR] ... 34 more 12:15:12,294 ERROR [STDERR] Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "b" 12:15:12,297 ERROR [STDERR] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512) 12:15:12,297 ERROR [STDERR] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297) 12:15:12,297 ERROR [STDERR] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188) 12:15:12,297 ERROR [STDERR] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430) 12:15:12,297 ERROR [STDERR] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:346) 12:15:12,297 ERROR [STDERR] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:300) 12:15:12,297 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251) 12:15:12,298 ERROR [STDERR] at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:164) 12:15:12,298 ERROR [STDERR] ... 37 more
(I have removed the provided pg74.215.jdbc3.jar and replaced it with postgresql-jdbc3-8.1.jar to allow access into my postgres8.1 installation).
Any suggestions would be appreciated.
Thanks
Louis