1 Reply Latest reply on Jan 21, 2008 5:44 AM by Pete Muir

    Mail example error used Seam2.0.0GA and JBoss AS 4.2.2GA

    Sean Wu Newbie

      Hi all,

      I can not run the mail example of jboss-seam2.0.0GA at Jboss AS 4.2.2GA
      both default config and smtp of gmail are not OK.
      My config for gmail is:
      <mail:mail-session host="smtp.gmail.com" port="465" username="xxx" password="xxx" ssl="true" />

      Here is error info for the default config of mail example:
      Anyone can help? Thanks!

      -----------------------------------------------
      2008-01-20 23:31:06,656 WARN [org.buni.meldware.mail.usereditor.db.DBUserEditorImpl] could not create user or role table
      2008-01-20 23:31:06,687 ERROR [STDERR] java.lang.RuntimeException: java.sql.SQLException: Table already exists: MAIL_USERS in statement [CREATE TABLE MAIL_USERS]
      2008-01-20 23:31:06,765 ERROR [STDERR] at org.buni.meldware.mail.usereditor.db.DBUserEditorImpl.executeStatement(DBUserEditorImpl.java:189)
      2008-01-20 23:31:06,843 ERROR [STDERR] at org.buni.meldware.mail.usereditor.db.DBUserEditorImpl.start(DBUserEditorImpl.java:156)
      2008-01-20 23:31:06,906 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-01-20 23:31:06,984 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-01-20 23:31:07,062 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-01-20 23:31:07,125 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      2008-01-20 23:31:07,203 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2008-01-20 23:31:07,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2008-01-20 23:31:07,359 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2008-01-20 23:31:07,421 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2008-01-20 23:31:07,500 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2008-01-20 23:31:07,578 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2008-01-20 23:31:07,656 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2008-01-20 23:31:07,718 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2008-01-20 23:31:07,796 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
      2008-01-20 23:31:07,875 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      2008-01-20 23:31:07,906 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      2008-01-20 23:31:07,984 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      2008-01-20 23:31:08,046 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      2008-01-20 23:31:08,125 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      2008-01-20 23:31:08,203 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      2008-01-20 23:31:08,281 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      2008-01-20 23:31:08,343 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      2008-01-20 23:31:08,421 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-01-20 23:31:08,500 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      2008-01-20 23:31:08,578 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2008-01-20 23:31:08,640 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2008-01-20 23:31:08,718 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      2008-01-20 23:31:08,796 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2008-01-20 23:31:08,859 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2008-01-20 23:31:08,937 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2008-01-20 23:31:09,015 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      2008-01-20 23:31:09,046 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      2008-01-20 23:31:09,125 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-01-20 23:31:09,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-01-20 23:31:09,281 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-01-20 23:31:09,343 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      2008-01-20 23:31:09,421 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2008-01-20 23:31:09,500 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2008-01-20 23:31:09,578 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2008-01-20 23:31:09,640 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2008-01-20 23:31:09,718 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2008-01-20 23:31:09,796 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2008-01-20 23:31:09,859 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2008-01-20 23:31:09,937 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2008-01-20 23:31:10,015 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2008-01-20 23:31:10,078 ERROR [STDERR] at $Proxy43.start(Unknown Source)
      2008-01-20 23:31:10,125 ERROR [STDERR] at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
      2008-01-20 23:31:10,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      2008-01-20 23:31:10,265 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      2008-01-20 23:31:10,343 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      2008-01-20 23:31:10,421 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
      2008-01-20 23:31:10,500 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-01-20 23:31:10,578 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)